[Libav-user] Not all subtitles of video.ts file available

Irene & Peter Laponder p.laponder at canaldigitaal.nl
Wed Sep 3 18:30:06 CEST 2014


>You can try -probesize 2G -analyzeduration 2G (smaller values if you are
not just testing) or consider uploading a sample.
>
>Carl Eugen

My reply was blocked because of the 3MB sample. Son ow without attachement:

It looks like the extra subtitle streams are decoded as MP3 streams.
----------------------------------------------------

C:\ffmpeg\bin>ffmpeg -i sample.ts -probesize 2G -analyzeduration 2G ffmpeg
version N-65991-g8c63a0d Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 30 2014 22:02:13 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab le-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca -- enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-lib modplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrw b --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinge r --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame --en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis  --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  3.100 / 56.  3.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.103 /  5.  0.103
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Trailing options were found on the commandline.
[mpeg2video @ 028fa880] Invalid frame dimensions 0x0.
    Last message repeated 10 times
[mp3 @ 03c8f060] Header missing
[mpegts @ 028fdfe0] probed stream 9 failed [mpegts @ 028fdfe0] decoding for
stream 8 failed [NULL @ 03797120] start time for stream 7 is not set in
estimate_timings_from_pt s [mpegts @ 028fdfe0] PES packet size mismatch
[mpegts @ 028fdfe0] Could not find codec parameters for stream 7 (Audio:
mp3, 0
channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options [mpegts @ 028fdfe0] Could not find codec parameters for stream 8
(Audio: mp3, 0 channels, s16p): unspecified frame size Consider increasing
the value for the 'analyzeduration' and 'probesize' options [mpegts @
028fdfe0] Could not find codec parameters for stream 9 (Unknown: none)
: unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options Input #0, mpegts, from 'sample.ts':
  Duration: 00:00:07.86, start: 10603.358822, bitrate: 3632 kb/s
  Program 1
    Stream #0:0[0x267]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420 p(tv), 720x576 [SAR 64:45 DAR 16:9], 3200 kb/s, 25 fps, 25 tbr, 90k
tbn, 50 tbc
    Stream #0:1[0x27b](fra): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
stere o, s16p, 191 kb/s
    Stream #0:2[0x3a7](rus): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:3[0x3a8](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:4[0x3ab](esl): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:5[0x3a9](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:6[0x343](000): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
  No Program
    Stream #0:7[0x3ac]: Audio: mp3, 0 channels
    Stream #0:8[0x3aa]: Audio: mp3, 0 channels, s16p
    Stream #0:9[0x3ae]: Unknown: none
At least one output file must be specified
----------------------------------------

Peter Laponder





More information about the Libav-user mailing list