Closed Bug 920344 Opened 11 years ago Closed 7 years ago

[OPEN_][Camera]: Support VGA for Camera Recording.

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vliu, Unassigned)

Details

Attachments

(2 files)

This issue is opened from partner's requirement.
With some hackings, the video clips with vga format can be generated and stored in /sdcard. But there is an issue raised that we can't see this recorded file in Gallery app. Tried to push this file into computer and it played normally. For the issue I found, I will keep tracking.
Tried to check the |ro.moz.omx.hw.max_width| and |ro.moz.omx.hw.max_height| and it turned out to be 640 and 480. I think there is no any problem on these two values. ro.moz.omx.hw.max_width=640 ro.moz.omx.hw.max_height=480 Dumped logcat and attached it. There were some points about omx_vdec need to be checked. Welcome to any input comment to figure out the issue.
Accroding to log, IOMX::fillBuffer() fails and OMXCodec::onEvent() gets OMX_EventError on OMX.qcom.video.decoder.avc decoder. The following messages might indicate the decoder encounters some memory allocation failure: ============================================================================================ E/vdec ( 116): allocating pmem for input only - usebuffer case E/vdec ( 116): Calling vdec_pmem_alloc E/vdec_pmem( 116): pmem_alloc1 called for input Buffers E/vdec ( 116): vdec: failed to allocate pmem arena (2621440 bytes) E/omx_vdec( 116): ERROR!!! vdec_open failed E/omx_vdec( 116): Empty this buffer in Invalid State ============================================================================================
Flags: needinfo?(ikumar)
(In reply to Bruce Sun [:brsun] from comment #3) > Accroding to log, IOMX::fillBuffer() fails and OMXCodec::onEvent() gets > OMX_EventError on OMX.qcom.video.decoder.avc decoder. > > The following messages might indicate the decoder encounters some memory > allocation failure: > ============================================================================= > =============== > E/vdec ( 116): allocating pmem for input only - usebuffer case > E/vdec ( 116): Calling vdec_pmem_alloc > E/vdec_pmem( 116): pmem_alloc1 called for input Buffers > E/vdec ( 116): vdec: failed to allocate pmem arena (2621440 bytes) > E/omx_vdec( 116): ERROR!!! vdec_open failed > E/omx_vdec( 116): Empty this buffer in Invalid State > ============================================================================= > =============== Thanks for your reply. I think memory allocation fail seems the right way to track because I also see other log pointing out this. 02-08 01:18:23.980: E/vdec(119): vdec: failed to allocate pmem arena (2621440 bytes) 02-08 01:18:23.980: E/omx_vdec(119): ERROR!!! vdec_open failed 02-08 01:18:23.980: E/omx_vdec(119): Empty this buffer in Invalid State I tried to trace the code but couldn't find any place for these messages printing.
vliu, which hardware are you using? And can you upload the video file?
Flags: needinfo?(vliu)
Attached video vga recorded video clip
Through I checked |ro.board.platform|, it sets to msm7627a. The video clip is also attached.
Flags: needinfo?(vliu)
> Through I checked |ro.board.platform|, it sets to msm7627a. The video clip > is also attached. On my master hamachim, attachment 810319 [details] can be playback. My question of "which hardware" was expected b2g phone's name like "hamachi" or "ikura". Are you using b2g phone? or other phone like debug board? vliu, can you answer the question?
Flags: needinfo?(vliu)
(In reply to Sotaro Ikeda [:sotaro] from comment #7) > > Through I checked |ro.board.platform|, it sets to msm7627a. The video clip > > is also attached. > > On my master hamachim, attachment 810319 [details] can be playback. My > question of "which hardware" was expected b2g phone's name like "hamachi" or > "ikura". Are you using b2g phone? or other phone like debug board? > > vliu, can you answer the question? The device is inari.
Flags: needinfo?(vliu)
is this still an issue? we may be running out of pmem and i guess require pre-allocating more pmem.
Flags: needinfo?(ikumar)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: