[FFmpeg-trac] #5896(undetermined:new): Single quote in file name causes subtitle extract to fail

FFmpeg trac at avcodec.org
Tue Oct 18 07:09:39 EEST 2016


#5896: Single quote in file name causes subtitle extract to fail
-------------------------------------+-------------------------------------
             Reporter:  Reed97123    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: Files with a single quote "'" can't be used when
 extracting subtitles syntax (movie="file's.ts"[out+subcc]).

 I've tried:
 - Single quote syntax in the first example.
   - movie='file'\''s.ts'[out+subcc]
 - Double quote around the whole name in the second example.
   - movie="file's.ts"[out+subcc]
 - Escaping the single quote in the last example.
   - movie=file\'s.ts[out+subcc]
 - Various other combinations I'm not listing out here.

 Notice in the error output:
 - First:  ffmpeg refers to "files.ts" (incorrect name) twice.
 - Second: ffmpeg refers to "file's.ts" (correct name) in the final line of
 the error output.
 {{{
 [Parsed_movie_0 @ 0x3d85ea0] Failed to avformat_open_input
 'files.ts[out+subcc]'
 [lavfi @ 0x3d845c0] Error initializing filter 'movie' with args
 'files.ts[out+subcc]'
 movie=file's.ts[out+subcc]: No such file or directory
 }}}

 How to reproduce (Example 1):
 {{{
 root at NAS:~/bin/test_ffmpeg/bug_report# ffmpeg -f lavfi -i
 movie="file's.ts"[out+subcc] -map 0:1 test.srt
 ffmpeg version N-81950-g7ba7b96 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include --extra-
 ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-
 libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
 --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libx265 --enable-nonfree
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 61.100 / 57. 61.100
   libavformat    57. 51.103 / 57. 51.103
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 [Parsed_movie_0 @ 0x24c7ea0] Failed to avformat_open_input
 'files.ts[out+subcc]'
 [lavfi @ 0x24c65c0] Error initializing filter 'movie' with args
 'files.ts[out+subcc]'
 movie=file's.ts[out+subcc]: No such file or directory
 root at NAS:~/bin/test_ffmpeg/bug_report# ffmpeg -f lavfi -i
 }}}

 How to reproduce (Example 2):
 {{{
 movie='file'\''s.ts'[out+subcc] -map 0:1 test.srt
 ffmpeg version N-81950-g7ba7b96 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include --extra-
 ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-
 libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
 --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libx265 --enable-nonfree
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 61.100 / 57. 61.100
   libavformat    57. 51.103 / 57. 51.103
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 [Parsed_movie_0 @ 0x309aea0] Failed to avformat_open_input
 'files.ts[out+subcc]'
 [lavfi @ 0x30995c0] Error initializing filter 'movie' with args
 'files.ts[out+subcc]'
 movie=file's.ts[out+subcc]: No such file or directory
 }}}

 How to reproduce (Example 3):
 {{{
 root at NAS:~/bin/test_ffmpeg/bug_report# ffmpeg -f lavfi -i
 movie=file\'s.ts[out+subcc] -map 0:1 test.srt
 ffmpeg version N-81950-g7ba7b96 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include --extra-
 ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-
 libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
 --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libx265 --enable-nonfree
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 61.100 / 57. 61.100
   libavformat    57. 51.103 / 57. 51.103
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 [Parsed_movie_0 @ 0x3d85ea0] Failed to avformat_open_input
 'files.ts[out+subcc]'
 [lavfi @ 0x3d845c0] Error initializing filter 'movie' with args
 'files.ts[out+subcc]'
 movie=file's.ts[out+subcc]: No such file or directory
 }}}

 ffmpeg version
 {{{
 Built on:
 Distributor ID: Ubuntu
 Description:    Ubuntu 16.04.1 LTS
 Release:        16.04
 Codename:       xenial

 built on date: 10.9.2016 exactly following the instructions from ffmpeg's
 Ubuntu compiling guide:
 https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
 ffmpeg version N-81950-g7ba7b96
 }}}

 File Information:
 {{{
 root at NAS:~/bin/test_ffmpeg/bug_report# ffmpeg -v 9 -loglevel 99 -i
 'file'\''s.ts'
 ffmpeg version N-81950-g7ba7b96 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
   configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
 --extra-cflags=-I/root/ffmpeg_build/include --extra-
 ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-
 libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
 --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libx265 --enable-nonfree
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 61.100 / 57. 61.100
   libavformat    57. 51.103 / 57. 51.103
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-i' ... matched as input file with argument 'file's.ts'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input file file's.ts.
 Successfully parsed a group of options.
 Opening an input file: file's.ts.
 [file @ 0x2f21e20] Setting default whitelist 'file,crypto'
 Probing mp3 score:1 size:2048
 Probing mpegts score:50 size:2048
 [mpegts @ 0x2f21520] Format mpegts probed with size=2048 and score=50
 score: 44, dvhs_score: -2, fec_score: -2
 [mpegts @ 0x2f21520] Filter: pid=0x11 type=1
 [mpegts @ 0x2f21520] Filter: pid=0x0 type=1
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] sid=0x3 pid=0x30
 [mpegts @ 0x2f21520] new_program: id=0x0003
 [mpegts @ 0x2f21520] Filter: pid=0x30 type=1
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] sid=0x3 sec_num=0/0 version=1 tid=2
 [mpegts @ 0x2f21520] pcr_pid=0x31
 [mpegts @ 0x2f21520] program tag: 0x05 len=4
 [mpegts @ 0x2f21520] program tag: 0x87 len=18
 [mpegts @ 0x2f21520] Filter: pid=0x31 type=0
 [mpegts @ 0x2f21520] stream=0 stream_type=2 pid=31 prog_reg_desc=GA94
 [mpegts @ 0x2f21520] tag: 0x11 len=1
 [mpegts @ 0x2f21520] tag: 0x10 len=6
 [mpegts @ 0x2f21520] tag: 0x06 len=1
 [mpegts @ 0x2f21520] tag: 0x86 len=13
 [mpegts @ 0x2f21520] Filter: pid=0x34 type=0
 [mpegts @ 0x2f21520] stream=1 stream_type=81 pid=34 prog_reg_desc=GA94
 [mpegts @ 0x2f21520] tag: 0x05 len=4
 [mpegts @ 0x2f21520] reg_desc=AC-3
 [mpegts @ 0x2f21520] tag: 0x81 len=10
 [mpegts @ 0x2f21520] tag: 0x0a len=4
 [mpegts @ 0x2f21520] Filter: pid=0x35 type=0
 [mpegts @ 0x2f21520] stream=2 stream_type=81 pid=35 prog_reg_desc=GA94
 [mpegts @ 0x2f21520] tag: 0x05 len=4
 [mpegts @ 0x2f21520] reg_desc=AC-3
 [mpegts @ 0x2f21520] tag: 0x81 len=10
 [mpegts @ 0x2f21520] tag: 0x0a len=4
 [mpegts @ 0x2f21520] tuning done
 [mpegts @ 0x2f21520] Before avformat_find_stream_info() pos: 0 bytes
 read:32768 seeks:0 nb_streams:3
 [mpegts @ 0x2f21520] Skipping after seek
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] sid=0x3 pid=0x30
 [mpegts @ 0x2f21520] new_program: id=0x0003
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] sid=0x3 sec_num=0/0 version=1 tid=2
 [mpegts @ 0x2f21520] pcr_pid=0x31
 [mpegts @ 0x2f21520] program tag: 0x05 len=4
 [mpegts @ 0x2f21520] program tag: 0x87 len=18
 [mpegts @ 0x2f21520] tag: 0x11 len=1
 [mpegts @ 0x2f21520] tag: 0x10 len=6
 [mpegts @ 0x2f21520] tag: 0x06 len=1
 [mpegts @ 0x2f21520] tag: 0x86 len=13
 [mpegts @ 0x2f21520] tag: 0x05 len=4
 [mpegts @ 0x2f21520] reg_desc=AC-3
 [mpegts @ 0x2f21520] tag: 0x81 len=10
 [mpegts @ 0x2f21520] tag: 0x0a len=4
 [mpegts @ 0x2f21520] tag: 0x05 len=4
 [mpegts @ 0x2f21520] reg_desc=AC-3
 [mpegts @ 0x2f21520] tag: 0x81 len=10
 [mpegts @ 0x2f21520] tag: 0x0a len=4
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] Continuity check failed for pid 49 expected 12 got 0
 [mpegts @ 0x2f21520] Continuity check failed for pid 49 expected 3 got 6
 [mpegts @ 0x2f21520] Continuity check failed for pid 49 expected 7 got 8
 [mpegts @ 0x2f21520] Continuity check failed for pid 49 expected 11 got 13
 [mpegts @ 0x2f21520] Continuity check failed for pid 49 expected 15 got 0
 [mpegts @ 0x2f21520] Continuity check failed for pid 49 expected 1 got 12
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid frame dimensions 0x0.
 [mpegts @ 0x2f21520] Continuity check failed for pid 53 expected 13 got 8
 [mpegts @ 0x2f21520] Continuity check failed for pid 52 expected 15 got 4
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 1 18
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 2 35
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 0 36
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 2 37
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 0 38
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 1 39
 [mpeg2video @ 0x2f25fe0] skipped MB in I-frame at 2 40
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 0 41
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 4 42
 [mpeg2video @ 0x2f25fe0] ac-tex damaged at 4 43
 [mpeg2video @ 0x2f25fe0] Invalid mb type in I-frame at 0 44
 [mpeg2video @ 0x2f25fe0] Warning MVs not available
 [mpeg2video @ 0x2f25fe0] concealing 2208 DC, 2208 AC, 2208 MV errors in I
 frame
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] PES packet size mismatch
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] PES packet size mismatch
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 5 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 5 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 7 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 5 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] PAT:
     Last message repeated 1 times
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 6 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 5 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 5 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 5 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 8 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 7 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 4 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 3 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 3 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 6 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 2 times
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] Probe buffer size limit of 5000000 bytes reached
 [mpegts @ 0x2f21520] rfps: 60.000000 0.004012
     Last message repeated 1 times
 [mpegts @ 0x2f21520] rfps: 120.000000 0.016048
 [mpegts @ 0x2f21520] rfps: 59.940060 0.000000
     Last message repeated 1 times
 [mpegts @ 0x2f21520] Skipping after seek
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=31 pes_code=0x1e0
     Last message repeated 1 times
 [mpegts @ 0x2f21520] PMT: len 134
 [mpegts @ 0x2f21520] sid=0x3 sec_num=0/0 version=1 tid=2
 [mpegts @ 0x2f21520] pcr_pid=0x31
 [mpegts @ 0x2f21520] program tag: 0x05 len=4
 [mpegts @ 0x2f21520] program tag: 0x87 len=18
 [mpegts @ 0x2f21520] tag: 0x11 len=1
 [mpegts @ 0x2f21520] tag: 0x10 len=6
 [mpegts @ 0x2f21520] tag: 0x06 len=1
 [mpegts @ 0x2f21520] tag: 0x86 len=13
 [mpegts @ 0x2f21520] tag: 0x05 len=4
 [mpegts @ 0x2f21520] reg_desc=AC-3
 [mpegts @ 0x2f21520] tag: 0x81 len=10
 [mpegts @ 0x2f21520] tag: 0x0a len=4
 [mpegts @ 0x2f21520] tag: 0x05 len=4
 [mpegts @ 0x2f21520] reg_desc=AC-3
 [mpegts @ 0x2f21520] tag: 0x81 len=10
 [mpegts @ 0x2f21520] tag: 0x0a len=4
 [mpegts @ 0x2f21520] pid=35 pes_code=0x1bd
 [mpegts @ 0x2f21520] PAT:
 [mpegts @ 0x2f21520] pid=34 pes_code=0x1bd
 [mpegts @ 0x2f21520] PES packet size mismatch
     Last message repeated 1 times
 [mpegts @ 0x2f21520] stream 0: start_time: 78407.695 duration: 16.483
 [mpegts @ 0x2f21520] stream 1: start_time: 78407.212 duration: 16.512
 [mpegts @ 0x2f21520] stream 2: start_time: 78407.386 duration: 16.352
 [mpegts @ 0x2f21520] format: start_time: 78407.212 duration: 16.966
 bitrate=10511 kb/s
 [mpegts @ 0x2f21520] After avformat_find_stream_info() pos: 0 bytes
 read:5460112 seeks:2 frames:433
 Input #0, mpegts, from 'file's.ts':
   Duration: 00:00:16.97, start: 78407.212344, bitrate: 10511 kb/s
   Program 3
     Stream #0:0[0x31], 215, 1/90000: Video: mpeg2video (Main), 1 reference
 frame ([2][0][0][0] / 0x0002), yuv420p(tv, left), 1280x720 [SAR 1:1 DAR
 16:9], 0/1, Closed Captions, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
     Stream #0:1[0x34](eng), 109, 1/90000: Audio: ac3 (AC-3 / 0x332D4341),
 48000 Hz, 5.1(side), fltp, 384 kb/s
     Stream #0:2[0x35](spa), 109, 1/90000: Audio: ac3 (AC-3 / 0x332D4341),
 48000 Hz, stereo, fltp, 192 kb/s
 Successfully opened the file.
 At least one output file must be specified
 [AVIOContext @ 0x2f2a0c0] Statistics: 5460112 bytes read, 2 seeks
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5896>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list