The pipeline freezes, but is in PLAYING state.

Ashwini Sharma ak.ashwini at gmail.com
Tue Nov 15 20:13:07 PST 2011


Hi Kapil,

This pipe works for me when I launch it thru command line. But when I
implement the same thru C APIs, i get the issue.

rgds,
Ashwini

On Tue, Nov 15, 2011 at 7:47 PM, Kapil Agrawal <kapil.agl at gmail.com> wrote:

> ooops sorry this was an inappropriate answer, answering in hurry is bad :(
>
> Maybe ashwini, if you could attach some logs or the actual file, I might
> be able to help ?
>
> Kapil
>
>
> On Tue, Nov 15, 2011 at 7:44 PM, Kapil Agrawal <kapil.agl at gmail.com>wrote:
>
>> Ashwini,
>>
>> You should make use of queue more logically. Following pipeline should
>> work.
>>
>> *gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
>> mpegtsparse ! mpegtsdemux name=demux es-pids="65:52:65" ! video/mpeg !
>> decodebin ! queue ! ffmpegcolorspace ! xvimagesink  demux. ! queue !
>> decodebin ! queue ! audioconvert ! volume ! alsasink*
>>
>> Best
>> Kapil
>>
>> On Tue, Nov 15, 2011 at 7:10 PM, Ashwini Sharma <ak.ashwini at gmail.com>wrote:
>>
>>>
>>> Hi All,
>>>
>>> I have a very awkward problem.
>>>
>>> I have a transport stream, which when I play only the video, it works
>>> fine.
>>> When I play the Audio separately works fine. But when I play the stream
>>> Audio/Video together, I see few frames (5~10) and after wards it freezes.
>>>
>>> When I check the pipeline state, it shows as PLAYING state.
>>>
>>> Can some one please help.
>>> The pipelines I used are as follows.
>>>
>>> For VIDEO only:
>>>
>>> *gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
>>> mpegtsparse ! mpegtsdemux name=demux es-pids="65:68:65" ! video/mpeg !
>>> queue ! decodebin ! ffmpegcolorspace ! xvimagesink*
>>> *
>>> *
>>> For AUDIO only:
>>>
>>> *gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
>>> mpegtsparse ! mpegtsdemux name=demux es-pids="65:68:65" !  queue !
>>> decodebin ! audioconvert ! queue ! volume ! alsasink*
>>> *
>>> *
>>> The complete pipe is:
>>>
>>> *gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
>>> mpegtsparse ! mpegtsdemux name=demux es-pids="65:52:65" ! video/mpeg !
>>> queue ! decodebin ! ffmpegcolorspace ! xvimagesink  demux. ! queue !
>>> decodebin ! audioconvert ! queue ! volume ! alsasink*
>>> *
>>> *
>>> *In this case when I used fakesink in place of alsasink, the number of
>>> frames displayed is increased to 20~25.*
>>> *
>>> *
>>> Please give me some hint, where I am missing something.
>>>
>>> regards,
>>> Ashwini
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> --
>> http://www.linkedin.com/in/kapilagrawal
>> www.mediamagictechnologies.com
>> (Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms-
>> linux, windows, TI, android)
>>
>>
>>
>
>
> --
> http://www.linkedin.com/in/kapilagrawal
> www.mediamagictechnologies.com
> (Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms-
> linux, windows, TI, android)
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111116/47b641e0/attachment.html>


More information about the gstreamer-devel mailing list