Hi,
I am using Ubuntu10.10, bellagio-openmax0.9.1 and the newest gst-openmax plugin.
I can use omx_mp3dec decode MP3 files well, but when I try to decode avi or mp4 files with omx_mpeg4dec , it will be stuck. If I change the decoder to ffdec_mpeg, it works well.
So I am confused.
use this command to play avi file:
gst-launch filesrc location=Sometimes.avi ! avidemux name=demux demux.video_00 ! omx_mpeg4dec ! ffmpegcolorspace ! ximagesink demux.audio_00 ! mad ! alsasink
terminal display information like this:
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
and it is stuck here.
If I set bellagio-openmax debug -level to #define DEBUG_LEVEL (DEB_LEV_ERR | DEB_LEV_FULL_SEQ),terminal display like this:
gst-launch filesrc location=Sometimes.avi ! avidemux name=demux demux.video_00 ! omx_mpeg4dec ! ffmpegcolorspace ! ximagesink demux.audio_00 ! mad ! alsasink
OMX-libname: /home/guo/omx/lib/bellagio/libomxvideosrc.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_src
OMX-libname: /home/guo/omx/lib/bellagio/libomxfbdev.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.fbdev.fbdev_sink
OMX-libname: /home/guo/omx/lib/bellagio/libomxcamera.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.v4l.camera_source
OMX-libname: /home/guo/omx/lib/bellagio/libomxaudio_effects.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.volume.component
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio.mixer
OMX-libname: /home/guo/omx/lib/bellagio/libomxclocksrc.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.clocksrc
OMX-libname: /home/guo/omx/lib/bellagio/libomxmad.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_decoder.mp3.mad
OMX-libname: /home/guo/omx/lib/bellagio/libomxparser3gp.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.parser.3gp
OMX-libname: /home/guo/omx/lib/bellagio/libomxffmpeg.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_decoder
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_decoder
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_colorconv.ffmpeg
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_encoder
OMX-libname: /home/guo/omx/lib/bellagio/libomxalsa.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.alsa.alsasink
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.alsa.alsasrc
OMX-libname: /home/guo/omx/lib/bellagio/libomxfilereader.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_filereader
OMX-libname: /home/guo/omx/lib/bellagio/libomximagejpeg.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.image_decoder.jpeg
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.image_encoder.jpeg
OMX-libname: /home/guo/omx/lib/bellagio/libomxvorbis.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_decoder.ogg.single
OMX-Template OMX.st.video_decoder.mpeg4 found returning from OMX_GetHandle
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 0
OMX-In omx_base_component_SendCommand messageSem up param=2
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 0
OMX-running callback in omx_base_component_MessageHandler
OMX-running callback in omx_base_component_MessageHandler
OMX-In omx_base_component_SendCommand messageSem up param=3
OMX-New Buffer FilledLen = 3573
OMX-One output buffer b13bd008 nLen=0 is full returning in video decoder
OMX-Waiting for next input/output buffer
OMX-Waiting for next input/output buffer
OMX-Waiting for next input/output buffer
OMX-Waiting for next input/output buffer
stuck here
Will you please tell why this happened?
Best Regard!
Liang Guo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
the Bellagio component that implements the ffmpeg video decoding is aligned to an obsolete version of ffmpeg.
It is supposed to be used with a File reader input component and I'm not sure it is used in the gstreamer pipeline.
The update of ffmpeg support is on going on a devoted git branch,
Regards,
Giulio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am using Ubuntu10.10, bellagio-openmax0.9.1 and the newest gst-openmax plugin.
I can use omx_mp3dec decode MP3 files well, but when I try to decode avi or mp4 files with omx_mpeg4dec , it will be stuck. If I change the decoder to ffdec_mpeg, it works well.
So I am confused.
use this command to play avi file:
gst-launch filesrc location=Sometimes.avi ! avidemux name=demux demux.video_00 ! omx_mpeg4dec ! ffmpegcolorspace ! ximagesink demux.audio_00 ! mad ! alsasink
terminal display information like this:
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
and it is stuck here.
If I set bellagio-openmax debug -level to #define DEBUG_LEVEL (DEB_LEV_ERR | DEB_LEV_FULL_SEQ),terminal display like this:
gst-launch filesrc location=Sometimes.avi ! avidemux name=demux demux.video_00 ! omx_mpeg4dec ! ffmpegcolorspace ! ximagesink demux.audio_00 ! mad ! alsasink
OMX-libname: /home/guo/omx/lib/bellagio/libomxvideosrc.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_src
OMX-libname: /home/guo/omx/lib/bellagio/libomxfbdev.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.fbdev.fbdev_sink
OMX-libname: /home/guo/omx/lib/bellagio/libomxcamera.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.v4l.camera_source
OMX-libname: /home/guo/omx/lib/bellagio/libomxaudio_effects.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.volume.component
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio.mixer
OMX-libname: /home/guo/omx/lib/bellagio/libomxclocksrc.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.clocksrc
OMX-libname: /home/guo/omx/lib/bellagio/libomxmad.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_decoder.mp3.mad
OMX-libname: /home/guo/omx/lib/bellagio/libomxparser3gp.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.parser.3gp
OMX-libname: /home/guo/omx/lib/bellagio/libomxffmpeg.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_decoder
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_decoder
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_colorconv.ffmpeg
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.video_encoder
OMX-libname: /home/guo/omx/lib/bellagio/libomxalsa.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.alsa.alsasink
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.alsa.alsasrc
OMX-libname: /home/guo/omx/lib/bellagio/libomxfilereader.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_filereader
OMX-libname: /home/guo/omx/lib/bellagio/libomximagejpeg.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.image_decoder.jpeg
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.image_encoder.jpeg
OMX-libname: /home/guo/omx/lib/bellagio/libomxvorbis.so
OMX-In BOSA_ST_InitComponentLoader comp name=OMX.st.audio_decoder.ogg.single
OMX-Template OMX.st.video_decoder.mpeg4 found returning from OMX_GetHandle
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 0
OMX-In omx_base_component_SendCommand messageSem up param=2
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 0
OMX-running callback in omx_base_component_MessageHandler
OMX-running callback in omx_base_component_MessageHandler
OMX-In omx_base_component_SendCommand messageSem up param=3
OMX-New Buffer FilledLen = 3573
OMX-One output buffer b13bd008 nLen=0 is full returning in video decoder
OMX-Waiting for next input/output buffer
OMX-Waiting for next input/output buffer
OMX-Waiting for next input/output buffer
OMX-Waiting for next input/output buffer
stuck here
Will you please tell why this happened?
Best Regard!
Liang Guo
Hi,
the Bellagio component that implements the ffmpeg video decoding is aligned to an obsolete version of ffmpeg.
It is supposed to be used with a File reader input component and I'm not sure it is used in the gstreamer pipeline.
The update of ffmpeg support is on going on a devoted git branch,
Regards,
Giulio