[FFmpeg-user] ASI over IP with ffmpeg?
Stefan Hofmeir
stefan1 at hofmeir.de
Sat Apr 2 00:40:11 CEST 2016
Hello,
Am Samstag, 2. April 2016 um 00:20 schrieb Carl Eugen Hoyos:
> Stefan Hofmeir <stefan1 <at> hofmeir.de> writes:
>> is it possible to decode ASI over IP streams (udp) with ffmpeg?
> What is ASI?
ASI = asynchronous serial interface
DVB-ASI: The ASI carrier transport can contain a number of different
bit-rate single (SPTS) or multiprogram transport streams (MPTS).
Good description of ASI:
http://www.tvtechnology.com/expertise/0003/asynchronous-interfaces-for-video-servers/183969
>> I receive only errors like this:
> Please always provide the command line that shows issues together
> with the complete, uncut console output
ffmpeg version 2.7 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab --enable-swscale --enable-version3 --enable-shared --disable-yasm --enable-filter=movie --enable-frei0r --enable-libdc1394 --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvpx --enable-libvo-amrwbenc --enable-libvo-aacenc --enable-libaacplus --enable-libxavs --enable-bzlib --enable-openssl --enable-gnutls --enable-openal --enable-libv4l2 --enable-libpulse --enable-libmodplug --enable-libass --enable-libcdio --enable-vdpau --enable-libbluray --cpu=native --enable-nvenc
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
[mpegts @ 0x23fe800] PES packet size mismatch
[mp3 @ 0x2425060] Header missing
[mp3 @ 0x24239e0] Header missing
[mp3 @ 0x2425060] Header missing
Last message repeated 4 times
[mpeg2video @ 0x2422ea0] Warning MVs not available
[mpeg2video @ 0x2422ea0] concealing 5 DC, 5 AC, 5 MV errors in I frame
[mp3 @ 0x2425060] Header missing
Last message repeated 34 times
[mpegts @ 0x23fe800] decoding for stream 3 failed
[mpegts @ 0x23fe800] Could not find codec parameters for stream 3 (Audio: mp3 ([6][0][0][0] / 0x0006), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'udp://239.101.17.3:5026?fifo_size=1000000':
Duration: N/A, start: 29361.981500, bitrate: N/A
Program 100
Metadata:
service_name : Program XY
service_provider: Provider
Stream #0:0[0x1ff]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x200](ger): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x205](ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:3[0x206]: Audio: mp3 ([6][0][0][0] / 0x0006), 0 channels, s16p
-async is forwarded to lavfi similarly to -af aresample=async=10:min_hard_comp=0.100000:first_pts=0.
Output #0, mpegts, to 'udp://192.168.1.10:10020?pkt_size=1316':
Metadata:
encoder : Lavf56.36.100
Stream #0:0: Video: h264 (nvenc), nv12, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 1450 kb/s, 25 fps, 90k tbn, 25 tbc
Metadata:
encoder : Lavc56.41.100 nvenc
Stream #0:1(ger): Audio: aac, 48000 Hz, stereo, fltp, 96 kb/s
Metadata:
encoder : Lavc56.41.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (nvenc))
Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[mp2 @ 0x24c1060] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0x24c0bc0] Warning MVs not available
[mpeg2video @ 0x24c0bc0] concealing 5 DC, 5 AC, 5 MV errors in I frame
[mpeg2video @ 0x24c0bc0] Warning MVs not available
[mpeg2video @ 0x24c0bc0] concealing 4 DC, 4 AC, 4 MV errors in P frame
[mpeg2video @ 0x24c0bc0] Warning MVs not available00:01.16 bitrate=1733.5kbits/s dup=15 drop=0
[mpeg2video @ 0x24c0bc0] concealing 19 DC, 19 AC, 19 MV errors in P frame
[mpeg2video @ 0x24c0bc0] Warning MVs not available
[mpeg2video @ 0x24c0bc0] concealing 6 DC, 6 AC, 6 MV errors in I frame
[mpeg2video @ 0x24c0bc0] Warning MVs not available00:01.64 bitrate=1768.0kbits/s dup=15 drop=0
[mpeg2video @ 0x24c0bc0] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0x24c0bc0] Warning MVs not available00:02.13 bitrate=1739.9kbits/s dup=15 drop=0
[mpeg2video @ 0x24c0bc0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0x24c0bc0] Warning MVs not available
[mpeg2video @ 0x24c0bc0] concealing 4 DC, 4 AC, 4 MV errors in I frame
frame= 65 fps= 23 q=0.0 size= 5
...
[mpeg2video @ 0xd187e0] ac-tex damaged at 31 1500:02:52.92 bitrate=1697.2kbits/s dup=25 drop=0
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] ac-tex damaged at 33 17
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in I frame
[mpeg2video @ 0xd187e0] ac-tex damaged at 29 9=00:02:53.40 bitrate=1698.0kbits/s dup=25 drop=0
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] invalid mb type in P Frame at 44 26
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 87 DC, 87 AC, 87 MV errors in P frame
[mpeg2video @ 0xd187e0] slice mismatch5kB time=00:02:53.84 bitrate=1698.6kbits/s dup=25 drop=0
[mpeg2video @ 0xd187e0] ac-tex damaged at 7 22
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 135 DC, 135 AC, 135 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:54.32 bitrate=1698.7kbits/s dup=25 drop=0
[mpeg2video @ 0xd187e0] concealing 27 DC, 27 AC, 27 MV errors in P frame
[mpeg2video @ 0xd187e0] invalid cbp -1 at 38 2900:02:54.80 bitrate=1698.6kbits/s dup=25 drop=0
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 5 DC, 5 AC, 5 MV errors in I frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:55.28 bitrate=1699.1kbits/s dup=25 drop=0
[mpeg2video @ 0xd187e0] concealing 21 DC, 21 AC, 21 MV errors in P frame
[mpeg2video @ 0xd187e0] ac-tex damaged at 12 1400:02:55.76 bitrate=1698.8kbits/s dup=25 drop=0
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:56.24 bitrate=1699.2kbits/s dup=26 drop=0
[mpeg2video @ 0xd187e0] concealing 4 DC, 4 AC, 4 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 16 DC, 16 AC, 16 MV errors in P frame
[mpeg2video @ 0xd187e0] ignoring pic cod ext after 0
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 3 DC, 3 AC, 3 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:56.72 bitrate=1696.4kbits/s dup=27 drop=0
[mpeg2video @ 0xd187e0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd187e0] ac-tex damaged at 33 3000:02:57.20 bitrate=1696.4kbits/s dup=27 drop=0
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in I frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:57.68 bitrate=1696.7kbits/s dup=27 drop=0
[mpeg2video @ 0xd187e0] concealing 28 DC, 28 AC, 28 MV errors in P frame
[mpeg2video @ 0xd187e0] ac-tex damaged at 34 23
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] ac-tex damaged at 18 13
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] invalid mb type in P Frame at 10 4
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:58.16 bitrate=1696.5kbits/s dup=27 drop=0
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] ac-tex damaged at 16 15
[mpeg2video @ 0xd187e0] Warning MVs not available
[mpeg2video @ 0xd187e0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:58.64 bitrate=1697.0kbits/s dup=27 drop=0
[mpeg2video @ 0xd187e0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0xd187e0] Warning MVs not available:02:59.12 bitrate=1696.6kbits/s dup=27 drop=0
[mpeg2video @ 0xd187e0] concealing 90 DC, 90 AC, 90 MV errors
...
--
Stefan
More information about the ffmpeg-user
mailing list