Interesting update -
I tried recording the stream into a file using the following pipeline
gst-launch gstrtpbin name=rtpbin latency=200 udpsrc caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=MP2T-ES, payload=33" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpmp2tdepay ! filesink location=video.ts
Then playback using
gst-launch filesrc location=video.ts ! video/mpegts ! aiurdemux ! queue ! vpudec low-latency=true ! mfw_v4lsink
Playback starts immediately, so the problem is not in the data-stream itself. The only difference in the logs (see below) are that the "Live" and "Seekable" flags are different, so it appears to have something do to with that. Is there something else I could try ?
Thanks and have a great weekend,
/Otto
Log with instant playback
--------------------------------
Aiur: 3.0.7
Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.14 build on Jun 25 2013 14:37:53
mime: video/mpeg, mpegversion=(int)[1,2]; video/mpegts, systemstream=true; video/x-cdxa
file: /usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1
Content Info:
URI:
file:///root/video.ts
Idx File:
/root/.aiur/.root.video.ts.aidx
Seekable : Yes
Size(byte): 1443652
Mpeg2CreateParser:parser created successfully
xc_v4l2_output mxc_v4l2_output.0: Bypass IC.
[1;34mMovie Info:
Seekable : Yes
Live : No
Duration : 0:00:09.130667000
ReadMode : File
programs : 1
Track : 2
Track 00 [audio_001034] Enabled
ppid: 1, ppid 52
Duration: 0:00:09.130667000
Language: und
Mime:
audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)127875, framed=(boolean)true
Track 01 [video_001031] Enabled
ppid: 1, ppid 49
Duration: 0:00:09.111278000
Language: und
Mime:
video/x-h264, parsed=(boolean)true, width=(int)1920, height=(int)1088, framerate=(fraction)30/1, codec_data=(buffer)000001674d00299a6280f0088fbc05a808080a000007d20001d4c1d0c01ba00001dcd6577971a18037400003b9acaef2e14000
----------------------------------
Log with 15 second delay
--------------------------------
Aiur: 3.0.7
Core: BLN_MAD-MMLAYER_MPG2PARSER_04.04.14 build on Jun 25 2013 14:37:53
mime: video/mpeg, mpegversion=(int)[1,2]; video/mpegts, systemstream=true; video/x-cdxa
file: /usr/lib/imx-mm/parser/lib_mpg2_parser_arm11_elinux.so.3.1
Content Info:
Seekable : No
Size(byte): -1
Mpeg2CreateParser:parser created successfully
Movie Info:
Seekable : No
Live : Yes
Duration : 0:00:00.000000000
ReadMode : File
programs : 1
Track : 2
Track 00 [audio_001034] Enabled
ppid: 1, ppid 52
Duration: 0:0mxc_v4l2_output mxc_v4l2_output.0: Bypass IC.
0:00.000000000
Language: und
Mime:
audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)127875, framed=(boolean)true
Track 01 [video_001031] Enabled
ppid: 1, ppid 49
Duration: 0:00:00.000000000
Language: und
Mime:
video/x-h264, parsed=(boolean)true, width=(int)1920, height=(int)1088, framerate=(fraction)30/1, codec_data=(buffer)000001674d00299a6280f0088fbc05a808080a000007d20001d4c1d0c01ba00001dcd6577971a18037400003b9acaef2e14000
-----------------------