Hi,

About 1), the log (adb logcat or dmesg) may help to find out some clue.

About 2), WebM is only decoded by SW codec now and for MP4 you can refer to the 
link
          as below. Currently we force video decoding to be done by HW codec 
only.
          You can set that flag to SW for testing.

  
https://mxr.mozilla.org/mozilla-central/source/content/media/omx/OmxDecoder.cpp#283

Sincerely yours.
----- Original Message -----
From: "Hiroyuki KOHARA" <[email protected]>
To: [email protected]
Sent: 2013年6月7日 星期五 9:52:37
Subject: Re: [b2g] Video-play Problems on the Firefox OS enabled PandaboardES

Hi Thomas,

Thanks for your quick response. I have some relative questions.

1) Regarding MP4 files, I confirmed that there were some 
libraries relative to H.264 decoders as follows;
  B2G/out/target/product/panda/system/lib
   - libOMX.TI.DUCATI1.VIDEO.H264E.so
   - libstagefright_soft_h264dec.so

I would like to know the reason why MP4 files can't be played on
 the "Firefox OS" enabled Pandaboard, but on the "Android" 
enabled Pandaboard successfully and smoothly.

2) Please teach me how to switch back and forth between the 
hardware decoder and the software decoder on Firefox OS enabled 
devices such as the phones and the Pandaboard.

For your information, I tried to play the following video files 
in B2G/gaia/test_media/Movies;
   - elephants-dream.webm
     - Google/On2's V8 Video(VP80)
     - 540x360
     - Vorbis Audio(vorb)
        
   - gizmo2.mp4
     - H264-MPEG4-AVC(part10) (avc1)
     - 320x240
     - MPEG AAC Audio(mp4a)

Best regards,
Hiro


On Thu, 06 Jun 2013 10:19:42 +0200
Thomas Zimmermann <[email protected]> wrote:
> Hi Hiro,
> 
> Thanks for the feedback. WebM files are software decoded (afaik) and the 
> graphics on the Pandaboard is quite slow. Maybe the board just cannot 
> handle the amount of data. Does it improve if you reduce the resolution 
> of the video?
> 
> MP4 is just the container format. I guess that the video codec is not 
> supported on Pandaboard. For some video codecs, we can use the decoder 
> libraries that come with the phones. But we don't have such support 
> available on the pandas.
> 
> Best regards
> Thomas
> 
> 
> On 06.06.2013 08:29, Hiroyuki KOHARA wrote:
> > Hi there,
> >
> > I have some video-play problems on the Firefox OS enabled
> > Pandaboard ES. The problems are both that I can't replay any
> > WebM files "smoothly" and that I can't replay any MP4 files at
> > all. Would you teach me how to resolve the problems?
> >
> > In comparison, I confirmed the logs in the two following
> > conditions.
> > 1) When I started the "CrystalSkull" application on the same "
> > Firefox OS" enabled Pandaboard ES;
> > D/libEGL  ( 1543): loaded /system/lib/egl/libGLES_android.so
> > D/libEGL  ( 1543): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_
> > 120.so
> > D/libEGL  ( 1543): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_
> > SGX540_120.so
> > D/libEGL  ( 1543): loaded /vendor/lib/egl/libGLESv2_POWERVR_
> > SGX540_120.so
> >
> > 2) When I started to play the "WebM file" with the video player
> > on the "Android" enabled Pandaboard ES;
> > D/libEGL  (  842): loaded /system/lib/egl/libGLES_android.so
> > D/libEGL  (  842): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_
> > 120.so
> > D/libEGL  (  842): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_
> > SGX540_120.so
> > D/libEGL  (  842): loaded /vendor/lib/egl/libGLESv2_POWERVR_
> > SGX540_120.so
> >
> > On the other hand, I couldn't find any loaded logs when starting
> >   to play the "WebM file" with the video player on the same "
> > Firefox OS" enabled Pandaboard ES.
> >
> > Thank you.
> > Hiro
> > _______________________________________________
> > dev-b2g mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-b2g
> 
> 
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to