[FFmpeg-user] Capture RTP-Stream into file
night4awk
cccppp at t-online.de
Fri Sep 14 17:52:31 CEST 2012
Roger Pack wrote
>
> This version seems quite old, could you re-test with trunk?
> -r
>
I've upgraded my ffmpeg version to 0.11.1
The result is unfortunately the same as before (still a lot of pixel errors
and interrupts every several seconds).
The "-r" doens't fix it.
With the new version also comes another problem: The Stream-Numers (#0.0,
#0.1,...) don't keep the same input-connections (so that #0.0 sometimes is
the video-stream, but sometimes #0.0 is one of the audio-streams)???
Here's the output:
ffmpeg -i rtp://@239.35.10.4:10000 -map 0:0 -map 0:2 -vcodec copy -acodec
copy -t 30 -y -r 50 test_r30.mkv
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 14 2012 16:19:43 with gcc 4.2.1
configuration: --prefix=/ffmpeg-0.11.1/ --logfile=lol.log --enable-static
--enable-gpl
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[NULL @ 0x8ed9e60] non-existing PPS referenced
[h264 @ 0x8ed9e60] non-existing PPS 0 referenced
[h264 @ 0x8ed9e60] decode_slice_header error
[h264 @ 0x8ed9e60] no frame!
[h264 @ 0x8ed9e60] left block unavailable for requested intra4x4 mode -1 at
0 0
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (59738)
[h264 @ 0x8ed9e60] mmco: unref short failure
Last message repeated 1 times
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 35 4, bytestream (2831)
[h264 @ 0x8ed9e60] mmco: unref short failure
Last message repeated 1 times
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 1, bytestream (2473)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (2034)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 36 9, bytestream (2154)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (1505)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 37 3, bytestream (1290)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (13867)
[h264 @ 0x8ed9e60] mmco: unref short failure
Last message repeated 1 times
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 1, bytestream (10988)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 1, bytestream (1591)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (1462)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 32 3, bytestream (1381)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (2461)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 21 1, bytestream (2541)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (15571)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 1, bytestream (11689)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (2241)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 1, bytestream (2579)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 0 0, bytestream (1830)
[h264 @ 0x8ed9e60] Reference 6 >= 2
[h264 @ 0x8ed9e60] error while decoding MB 2 1, bytestream (1441)
[rtp @ 0x8ed53c0] PES packet size mismatch
Last message repeated 4 times
[rtp @ 0x8ed53c0] max_analyze_duration 5000000 reached at 5000000
[rtp @ 0x8ed53c0] Could not find codec parameters (Unknown: none)
[rtp @ 0x8ed53c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtp, from 'rtp://@239.35.10.4:10000':
Duration: N/A, start: 7401.270200, bitrate: 640 kb/s
Program 28106
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
720x576 [SAR 16:11 DAR 20:11], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
s16, 192 kb/s
Stream #0:2(AC3): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo,
s16, 448 kb/s
Stream #0:3(deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
No Program
Stream #0:4: Unknown: none
Output #0, matroska, to 'test_r30.mkv':
Metadata:
encoder : Lavf54.6.100
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR
16:11 DAR 20:11], q=2-31, 50 fps, 1k tbn, 90k tbc
Stream #0:1(AC3): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo,
448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[rtp @ 0x8ed53c0] PES packet size mismatch
RTP: missed 1 packets=-1.0 size= 2238kB time=00:00:07.56
bitrate=2424.7kbits/s
[rtp @ 0x8ed53c0] PES packet size mismatch
RTP: missed 1 packets
PES packet size mismatch.0 size= 2428kB time=00:00:08.04
bitrate=2473.6kbits/s
RTP: missed 1 packets=-1.0 size= 2588kB time=00:00:08.52
bitrate=2488.1kbits/s
RTP: missed 1 packets=-1.0 size= 2766kB time=00:00:09.00
bitrate=2517.3kbits/s
[rtp @ 0x8ed53c0] PES packet size mismatch
RTP: missed 1 packets=-1.0 size= 7413kB time=00:00:22.60
bitrate=2686.9kbits/s
RTP: missed 1 packets=-1.0 size= 7509kB time=00:00:22.92
bitrate=2683.7kbits/s
[rtp @ 0x8ed53c0] PES packet size mismatch
RTP: missed 1 packets=-1.0 size= 9716kB time=00:00:29.38
bitrate=2708.9kbits/s
frame= 1437 fps= 60 q=-1.0 Lsize= 9978kB time=00:00:29.99
bitrate=2724.8kbits/s
video:8374kB audio:1586kB global headers:0kB muxing overhead 0.179536%
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Capture-RTP-Stream-into-file-tp4653415p4653455.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list