<div>Hi ,</div>
<div> </div>
<div>Try following ;</div>
<div> </div>
<div>gst-launch filesrc location=Das\ Erste.ts  ! decodebin ! xvimagesink</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Jul 14, 2010 at 12:23 AM, <span dir="ltr">&lt;<a href="mailto:th.tom@gmx.de">th.tom@gmx.de</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br><br>I try to figure that out from the net, but with no success :(, so I gonna ask here (I am really a newby at gstreamer):<br>
<br>I have a file containing only the ts video stream (PID 0x1111 in that special case), which is an mpeg2 stream from dvb-t.<br><br>When I try to play that with mplayer ( SVN-r1.0~rc3+svn20090426-4.4.3 - Ubuntu 10.4) It says (see 1-- below) and the video is displayed.<br>
<br>So I tried to play it with gstreamer and it fails:<br><br>--- snipp ------<br>gst-launch-0.10 -v filesrc location=Das\ Erste.ts ! mpegtsdemux name=demux demux.video_4369 ! mpeg2dec ! xvimagesink<br>Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>ERROR: from element /GstPipeline:pipeline0/GstMpegTSDemux:demux: Could not determine type of stream.<br>Additional debug info:<br>gstmpegtsdemux.c(2679): gst_mpegts_demux_sink_event (): /GstPipeline:pipeline0/GstMpegTSDemux:demux:<br>
No valid streams found at EOS<br>ERROR: pipeline doesn&#39;t want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br>--- snipp ------<br><br>When I tried typefind, it recognizes the stream:<br><br>--- snipp ------<br>
gst-launch-0.10 -v filesrc location=Das\ Erste.ts ! typefind ! mpegtsdemux ! fakesink<br>Setting pipeline to PAUSED ...<br>/GstPipeline:pipeline0/GstTypeFindElement:typefindelement0.GstPad:src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188<br>
Pipeline is PREROLLING ...<br>/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188<br>ERROR: from element /GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0: Could not determine type of stream.<br>
Additional debug info:<br>gstmpegtsdemux.c(2679): gst_mpegts_demux_sink_event (): /GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0:<br>No valid streams found at EOS<br>ERROR: pipeline doesn&#39;t want to preroll.<br>Setting pipeline to NULL ...<br>
/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink: caps = NULL<br>/GstPipeline:pipeline0/GstTypeFindElement:typefindelement0.GstPad:src: caps = NULL<br>Freeing pipeline ...<br>--- snipp ------<br><br>Is this the correct way to use the mpegts pipe?<br>
What am I doing wrong? I do not find any proper information for mpegtsdemux :-(<br><br><br><br><br>1--<br><br>#mplayer Das\ Erste.ts<br><br>MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team<br>mplayer: could not connect to socket<br>
mplayer: No such file or directory<br>Failed to open LIRC support. You will not be able to use your remote control.<br><br>Playing Das Erste.ts.<br>TS file format detected.<br>VIDEO MPEG2(pid=4369) NO AUDIO!  NO SUBS (yet)!  PROGRAM N. 0<br>
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  7000.0 kbps (875.0 kbyte/s)<br>open: No such file or directory<br>[MGA] Couldn&#39;t open: /dev/mga_vid<br>open: No such file or directory<br>[MGA] Couldn&#39;t open: /dev/mga_vid<br>
[VO_TDFXFB] Can&#39;t open /dev/fb0: Permission denied.<br>[VO_3DFX] Unable to open /dev/3dfx.<br>==========================================================================<br>Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough<br>
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)<br>Could not find matching colorspace - retrying with -vf scale...<br>Opening video filter: [scale]<br>The selected video_out device is incompatible with this codec.<br>
Try appending the scale filter to your filter list,<br>e.g. -vf spp,scale instead of -vf spp.<br>VDecoder init failed :(<br>Opening video decoder: [ffmpeg] FFmpeg&#39;s libavcodec codec family<br>Unsupported PixelFormat -1<br>
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)<br>==========================================================================<br>Audio: no sound<br>Starting playback...<br>VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)<br>
VDec: using Planar YV12 as output csp (no 0)<br>Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.<br>VO: [xv] 720x576 =&gt; 1024x576 Planar YV12<br>V:31652.7  77/ 77  7%  0%  0.0% 0 0<br>Exiting... (Quit)<br><br>
------------------------------------------------------------------------------<br>This SF.net email is sponsored by Sprint<br>What will you do first with EVO, the first 4G phone?<br>Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>