[FFmpeg-trac] #2028(undetermined:new): No Audio in output file if -ss is specified after -i in newer builds

FFmpeg trac at avcodec.org
Thu Dec 13 23:39:07 CET 2012


#2028: No Audio in output file if -ss is specified after -i in newer builds
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  regression   |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => regression


Comment:

 I am unable to reproduce this problem:
 {{{
 $ ffmpeg -i test.ts -vcodec copy -acodec copy -ss 30 -t 15 out.ts
 ffmpeg version N-47781-g4391262 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Dec 13 2012 00:29:04 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 12.100 / 52. 12.100
   libavcodec     54. 79.102 / 54. 79.102
   libavformat    54. 49.101 / 54. 49.101
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 27.101 /  3. 27.101
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mpegts @ 0x2fbc280] max_analyze_duration 5000000 reached at 5016000
 Input #0, mpegts, from 'test.ts':
   Duration: 00:02:00.06, start: 1.400000, bitrate: 4219 kb/s
   Program 1
     Metadata:
       service_name    : CBBC Channel
       service_provider: CBBC Channel
     Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x101](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 256 kb/s
 Output #0, mpegts, to 'out.ts':
   Metadata:
     encoder         : Lavf54.49.101
     Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p,
 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
     Stream #0:1(eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, 256 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame=  356 fps=0.0 q=-1.0 Lsize=    7246kB time=00:00:15.02
 bitrate=3951.7kbits/s
 video:6214kB audio:469kB subtitle:0 global headers:0kB muxing overhead
 8.418032%
 }}}
 {{{
 $ ffmpeg -i out.ts
 ffmpeg version N-47781-g4391262 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Dec 13 2012 00:29:04 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 12.100 / 52. 12.100
   libavcodec     54. 79.102 / 54. 79.102
   libavformat    54. 49.101 / 54. 49.101
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 27.101 /  3. 27.101
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mpegts @ 0x22d3280] max_analyze_duration 5000000 reached at 5016000
 Input #0, mpegts, from 'out.ts':
   Duration: 00:00:15.06, start: 1.400000, bitrate: 3941 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x101](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 256 kb/s
 At least one output file must be specified
 }}}
 Audio is recognized in the remuxed file and playback works fine.
 Or do I miss something?
 {{{
 $ md5sum test.ts out.ts
 4777c5a4371585955527cec8d7805446  test.ts
 762cfa9d19ce82144417ee620d698966  out.ts
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2028#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list