This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with Gstreamer - Thread switching

Hi,

 

Iam trying to play .mp4 file (contains h264 and AAC) in Davinci 6446 using ti's gstreamer.

Iam able to play video and audio separately, the output is good

when I tried to play both audio and video, its getting decoded for the first frame and the decoder also returning true, then its going into  the g_main_context_iteration function and hanging.

the pipeline command used:

gst-launch-0.10 filesrc location=$1 ! qtdemux name=t ! gdecoder Codec=0 ! fbvideosink device=/dev/fb/3 t. ! adecoder Codec=1 ! osssink  and also tried

gst-launch-0.10 filesrc location=$1 ! qtdemux name=t ! queue max-size-buffers=60 ! gdecoder Codec=0 ! fbvideosink device=/dev/fb/3 t. ! queue max-size-buffers=180 ! adecoder Codec=1 ! osssink

 

I couldn't judge where is the wrong,

so if any one knows any clues plz share with me.

 

Thanks a lot.

  • Hi,

     

    I tried to play .mp4 (both audio-AAC and video-H264), but its not working.

    gst-launch-0.10 filesrc location=$1 ! qtdemux name=t ! gdecoder Codec=0 ! fbvideosink device=/dev/fb/3 t. ! adecoder Codec=1 ! osssink

    when I tried : gst-launch-0.10 filesrc location=$1 ! qtdemux name=t ! adecoder Codec=1 ! osssink ! gdecoder Codec=0,

    There is audio output and the video decoder also returning success, If I try to enable any sink (fbvideosink or filesink), its hanging

    Where I did mistake I don't know, or is the problem with gstreamer ?

    how can I come out of this.

     

    Thanks a lot

     

  • Kumar,

    You probably received an e-mail that these two threads have been merged; I assume this is the same issue since they both appeared to have originated from you.  Please let us know if this is not so.

    As far as the issue is concerned, can you give us more specific information on where it is getting stuck.  As you may already know, GStreamer is not a TI product and hence it is not supported directly by TI, but by the open source community; however, if you can trace this a bit further and tells us which call it is getting stuck in, we may be able to provide useful feedback.