Hi all,
I am writing an application to play a media file. 1. The audio doesn't play at all when both audio & video pads generated by demuxer are connected to separate bins called audio & video bins. 2. when I discard the video pad and connect only audio pad to audio bin I am able to hear the audio. The same file plays well with playbin. And I am using the elements as in playbin. Observation: 1. On catching bus messages for warning I get this message "Compensating for audio synchronisation problems" 2. The video pad is generated first & then the audio pad The playbin elements are as below: filesrc->mpegtsdemux ->ffdec_h264->ffmpegcolorspace->videoscale->xvimagesink ->mad->audioconvert->audioresample->alsasink Can someone please suggest some ideas on this? Thanks, Jyoti ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Try using queue between demuxer and decoders .
On Wed, Aug 19, 2009 at 11:09 AM, Jyoti <[hidden email]> wrote: Hi all, -- Regards, Sudarshan Bisht ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks for your suggestion.
1. I added a queue between demuxer & the decoders. Now some files play video well but without audio. I still get the same result. 2. And for some files with audio - video content the pipeline doesn't change to playing. The pipeline changes to GST_STATE_CHANGE_ASYNC state when I wait for pipeline to change to PLAYING in gst_element_get_state(). Observation: The state change problem much occurs with files of type H2.64 video & AAC audio. On Wed, Aug 19, 2009 at 12:02 PM, sudarshan bisht <[hidden email]> wrote: Try using queue between demuxer and decoders . ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Set GST_DEBUG=3 and try to see the logs , you may get some clue .
On Thu, Aug 20, 2009 at 10:16 AM, Jyoti <[hidden email]> wrote: Thanks for your suggestion. -- Regards, Sudarshan Bisht ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |