hallo Pavion,
habe es: ich habe 2 playlisten mit dem ich entertain schauen kann. habe mit den ip-adressen rumgespielt und mit der hier scheint es zu klappen:
ffmpeg -i rtp://@239.35.10.4:10000 -t 3503 -acodec copy -vcodec copy /volume1/video/test.mpg
Dann warte ich 10 Sekunden und bekomme folgende Ausgabe:
skStation> ffmpeg -i rtp://@239.35.10.4:10000 -t 3503 -acodec copy -vcodec cop
y /volume1/video/test.mpg
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 18 2012 22:35:55 with gcc 4.2.1
configuration: --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --cc=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ccache-gcc
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.120. 0 / 52.120. 0
libavformat 52.108. 0 / 52.108. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 77. 0 / 1. 77. 0
libswscale 0. 14. 0 / 0. 14. 0
[mp1 @ 0x39520] Header missing
Last message repeated 3 times
[NULL @ 0x4b2e0] non-existing PPS referenced
[h264 @ 0x4b2e0] non-existing PPS 0 referenced
[h264 @ 0x4b2e0] decode_slice_header error
[h264 @ 0x4b2e0] no frame!
[mp1 @ 0x39520] Header missing
[h264 @ 0x4b2e0] mmco: unref short failure
Last message repeated 1 times
[h264 @ 0x4b2e0] number of reference frames exceeds max (probably corrupt input), discarding one
[mp1 @ 0x39520] Header missing
Last message repeated 25 times
[rtp @ 0x33fc0] probed stream 6 failed
[mp1 @ 0x39520] Header missing
Last message repeated 94 times
[rtp @ 0x33fc0] max_analyze_duration reached
[rtp @ 0x33fc0] Estimating duration from bitrate, this may be inaccurate
Seems stream 2 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, rtp, from 'rtp://@239.35.10.4:10000':
Duration: N/A, start: 24319.067156, bitrate: 768 kb/s
Stream #0.0: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
Stream #0.1: Audio: mp1, 0 channels, s16
Stream #0.2: Video: h264 (High), yuv420p, 720x576 [PAR 16:11 DAR 20:11], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.3: Data: [0][0][0][0] / 0x0000
Stream #0.4: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.5: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.6: Data: [0][0][0][0] / 0x0000
[mpeg @ 0x12eb40] VBV buffer size not set, muxing may fail
Output #0, mpeg, to '/volume1/video/test.mpg':
Metadata:
encoder : Lavf52.108.0
Stream #0.0: Video: [0][0][0][0] / 0x0000, yuv420p, 720x576 [PAR 16:11 DAR 20:11], q=2-31, 90k tbn, 25 tbc
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Stream mapping:
Stream #0.2 -> #0.0
Stream #0.4 -> #0.1
Press [q] to stop encoding
frame= 1034 fps=100 q=-1.0 Lsize= 6118kB time=22.68 bitrate=2210.2kbits/s
video:5589kB audio:484kB global headers:0kB muxing overhead 0.742378%
die Datei wird angelegt. Allerdings gibt vlc bei der Wiedergabe der Datei nur die Sprache aus.
Woran kann das liegen???
Gruß, Michael