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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote:
-- http://www.linkedin.com/in/kapilagrawal www.mediamagictechnologies.com (Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android) _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: Ashwini, -- http://www.linkedin.com/in/kapilagrawal www.mediamagictechnologies.com (Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android) _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: ooops sorry this was an inappropriate answer, answering in hurry is bad :( _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |