New submission from Marco Berizzi <[email protected]>:

ffmpeg -i mm2.m2ts -vn  -an -sn /titles.mkv -scodec copy -newsubtitle -scodec
copy -newsubtitle -scodec copy -newsubtitle -scodec copy -newsubtitle
FFmpeg version SVN-r24103, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul  8 2010 10:28:42 with gcc 4.4.4
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--enable-avfilter --enable-shared --disable-static --enable-gpl --enable-nonfree
--enable-postproc --enable-pthreads --enable-x11grab --enable-gray
--enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfaac
  libavutil     50.20. 0 / 50.20. 0
  libavcodec    52.80. 0 / 52.80. 0
  libavformat   52.73. 0 / 52.73. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.22. 0 /  1.22. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpegts @ 0x2597470] max_analyze_duration reached
[NULL @ 0x259d500] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x259ddb0] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x259e660] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x259ef10] start time is not set in av_estimate_timings_from_pts
Input #0, mpegts, from 'mm2.m2ts':
  Duration: 01:35:30.08, start: 600.000000, bitrate: 23992 kb/s
  Program 1 
    Stream #0.0[0x1011]: Video: vc1, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],
23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
    Stream #0.1[0x1100](eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
    Stream #0.2[0x1101](ita): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0.3[0x1200](eng): Subtitle: pgssub
    Stream #0.4[0x1201](eng): Subtitle: pgssub
    Stream #0.5[0x1202](ita): Subtitle: pgssub
    Stream #0.6[0x1203](ita): Subtitle: pgssub
[matroska @ 0x25b8620] Codec for stream 0 does not use global headers but
container format requires global headers                                       
            
[matroska @ 0x25b8620] Codec for stream 1 does not use global headers but
container format requires global headers                                       
            
[matroska @ 0x25b8620] Codec for stream 2 does not use global headers but
container format requires global headers                                       
            
[matroska @ 0x25b8620] Codec for stream 3 does not use global headers but
container format requires global headers                                       
            
Output #0, matroska, to '/titles.mkv':                                          
   
  Metadata:
    encoder         : Lavf52.73.0
    Stream #0.0(eng): Subtitle: [144][0][0][0] / 0x0090
    Stream #0.1(eng): Subtitle: [144][0][0][0] / 0x0090
    Stream #0.2(ita): Subtitle: [144][0][0][0] / 0x0090
    Stream #0.3(ita): Subtitle: [144][0][0][0] / 0x0090
Stream mapping:
  Stream #0.3 -> #0.0
  Stream #0.4 -> #0.1
  Stream #0.5 -> #0.2
  Stream #0.6 -> #0.3
Press [q] to stop encoding
size=       1kB time=10000000000.00 bitrate=   0.0kbits/s    
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Received signal 2: terminating.


the resulting file (/titles) is about ~600 byte: it is a valid
mkv file with the four subtitles track, but nothing is wrote
inside it.

ffmpeg  -i /titles.mkv 
FFmpeg version SVN-r24103, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul  8 2010 10:28:42 with gcc 4.4.4
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--enable-avfilter --enable-shared --disable-static --enable-gpl --enable-nonfree
--enable-postproc --enable-pthreads --enable-x11grab --enable-gray
--enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfaac
  libavutil     50.20. 0 / 50.20. 0
  libavcodec    52.80. 0 / 52.80. 0
  libavformat   52.73. 0 / 52.73. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.22. 0 /  1.22. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[matroska @ 0x2017470] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska, from '/titles.mkv':                                         
   
  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Subtitle: pgssub
    Stream #0.1(eng): Subtitle: pgssub
    Stream #0.2(ita): Subtitle: pgssub
    Stream #0.3(ita): Subtitle: pgssub

----------
messages: 11151
priority: normal
status: new
substatus: new
title: empty pgssub subtitles
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2080>
________________________________________________

Reply via email to