[FFmpeg-user] capturing television rtp

juan carlos Rebate nerus492 at gmail.com
Tue Feb 2 00:41:34 CET 2016


Hello, how are you friends?
my Internet provider also offers me television (rtp), I have used
ffmpeg to capture a documentary with a duration of one hour,
transmitted atraves of one of these channels.
I have tried to preserve the codec of video and the quality, have
tried to select the audio codec like mp3, I have tried to eliminate
the audio track that was not of interest and have tried to eliminate
the subtitles track to reduce the size of the file, nevertheless I
obtain multiple bugs that I believe they are related to the audio, I
have realized the input of the following departure:

>ffmpeg -i imput1.ts -vcodec libxvid -b:v 2282 -acodec mp3 -ac 0 -sn output1.avi
ffmpeg version N-77137-gff6dd58 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libdcadec
--enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs
--enable-libxvid --enable-libzimg --enable-lzma --enable-decklink
--enable-zlib
  libavutil      55. 10.100 / 55. 10.100
  libavcodec     57. 17.100 / 57. 17.100
  libavformat    57. 19.100 / 57. 19.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 20.100 /  6. 20.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] non-existing SPS 0 referenced in buffering period
[h264 @ 0000005d32a21620] non-existing PPS 0 referenced
[h264 @ 0000005d32a21620] decode_slice_header error
[h264 @ 0000005d32a21620] no frame!
[h264 @ 0000005d32a21620] mmco: unref short failure
    Last message repeated 1 times
[mpegts @ 0000005d329fa840] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from 'imput1.ts':
  Duration: 01:05:00.66, start: 73624.381267, bitrate: 2304 kb/s
  Program 105
    Stream #0:0[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt470bg), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr,
90k tbn, 50 tbc
    Stream #0:1[0xc9](esp): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, s16p, 192 kb/s (clean effects)
    Stream #0:2[0xca](VO): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, s16p, 128 kb/s (clean effects)
    Stream #0:3[0x191](esp): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, avi, to 'output1.avi':
  Metadata:
    ISFT            : Lavf57.19.100
    Stream #0:0: Video: mpeg4 (libxvid) (xvid / 0x64697678), yuv420p,
720x576 [SAR 16:11 DAR 20:11], q=2-31, 2 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.17.100 libxvid
    Stream #0:1(esp): Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055),
48000 Hz, stereo, s16p (clean effects)
    Metadata:
      encoder         : Lavc57.17.100 libmp3lame
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (libxvid))
  Stream #0:1 -> #0:1 (mp2 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[h264 @ 0000005d3347fb80] co located POCs unavailable
[h264 @ 0000005d33480000] reference picture missing during reorder
[h264 @ 0000005d33480000] Missing reference picture, default is 65660
[h264 @ 0000005d3347fb80] mmco: unref short failure
[h264 @ 0000005d33480000] mmco: unref short failure
[mpegts @ 0000005d329fa840] PES packet size mismatch4:59.28 bitrate=
515.2kbits/s
[h264 @ 0000005d32e60a80] error while decoding MB 23 32, bytestream -48
[h264 @ 0000005d32e60a80] concealing 206 DC, 206 AC, 206 MV errors in P frame
frame=97480 fps=128 q=31.0 Lsize=  249395kB time=01:05:00.64 bitrate=
523.8kbits/s
video:182308kB audio:60936kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 2.528838%


More information about the ffmpeg-user mailing list