<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<small><font face="Arial">Hi, all.<br>
<br>
<br>
I'm looking for good MPEG transport stream demuxer and made some tests
with mpegtsdemux and at first glance it looks appropriate but is under
gst-plugun-bad so I tried ffdemux_mpegts also. File that I play
contains 3 programs - 2 (0x21 PID video, 0x24 PID AC3 audio), 3 (</font></small><small><font
face="Arial">0x31 PID video, 0x34 PID AC3 audio</font></small><small><font
face="Arial">), 4 (</font></small><small><font face="Arial">0x41 PID
video, no audio</font></small><small><font face="Arial">); all programs
about 4.5 sec long. That what I got:<br>
<br>
gst-launch -v filesrc location=football.ts ! mpegtsdemux
program-number=3 ! mpeg2dec ! xvimagesink - fine<br>
<br>
</font></small><small><font face="Arial">gst-launch -v filesrc
location=football.ts ! ffdemux_mpegts .video_01 ! mpeg2dec !
xvimagesink - I see first frame, then pipeline is frozen for more than
70 sec, then is playing normally so overall time is 81 sec. video_01
here is actually the same as </font></small><small><font face="Arial">program-number=3
above.<br>
<br>
But </font></small><small><font face="Arial">gst-launch -v filesrc
location=football.ts ! ffdemux_mpegts .video_02 ! mpeg2dec !
xvimagesink - is fine; this channel has no audio. So tried to test
audio output, also added queues:<br>
<br>
</font></small><small><font face="Arial">gst-launch -v filesrc
location=football.ts ! ffdemux_mpegts .video_01 ! queue ! mpeg2dec !
xvimagesink<br>
</font></small><small><font face="Arial">gst-launch -v filesrc
location=football.ts ! ffdemux_mpegts name=d d.video_01 ! queue !
mpeg2dec ! xvimagesink d.audio_01 ! queue ! a52dec ! audioconvert !
audioresample ! fakesink<br>
</font></small><small><font face="Arial">gst-launch -v filesrc
location=football.ts !
ffdemux_mpegts name=d d.video_01 ! queue ! mpeg2dec ! xvimagesink
d.audio_01 ! queue ! a52dec ! audioconvert ! audioresample ! alsasink -
all are delayed first then played normally, total time 81 sec.<br>
<br>
At the same time<br>
<br>
gst-launch -v filesrc location=football.ts ! mpegtsdemux
program_number=3 name=d d. ! queue ! mpeg2dec ! xvimagesink d. ! queue
! a52dec ! audioconvert ! audioresample ! fakesink - fine<br>
<br>
</font></small><small><font face="Arial">gst-launch -v filesrc
location=football.ts !
mpegtsdemux program_number=3 name=d d. ! queue ! mpeg2dec ! xvimagesink
d. ! queue ! a52dec ! audioconvert ! audioresample ! alsasink - starts
playing immediately but very slowly and then more and more slower;
total time 169 sec.<br>
<br>
Any ideas what's going on?<br>
<br>
Also, what are quality of ffmpeg plugin elements? I'm particularly
interesting in ffdec_ac3, ffdec_aac, ffdec_mpeg2video, ffdec_h264,
ffdec_vc1.<br>
<br>
Thanks in advance.</font></small>
</body>
</html>