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

FFmpeg trac at avcodec.org
Fri Dec 14 11:28:10 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
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 I also tested "N-37915-g6cb2085" and it produces the same output as
 current git head:
 {{{
 $ ffmpeg -i test.ts -vcodec copy -acodec copy -ss 30 -t 15 out2.ts
 ffmpeg version N-37915-g6cb2085 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Dec 14 2012 11:23:53 with gcc 4.7.1 20120723 [gcc-4_7-branch
 revision 189773]
   configuration:
   libavutil      51. 39.100 / 51. 39.100
   libavcodec     54.  3.100 / 54.  3.100
   libavformat    54.  1.100 / 54.  1.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 62.100 /  2. 62.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  6.100 /  0.  6.100
 [mpegts @ 0x1ada3e0] 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], 15000 kb/s, 25 fps, 25 tbr, 90k
 tbn, 50 tbc
     Stream #0:1[0x101](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16, 256 kb/s
 [mpegts @ 0x1adce60] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt
 every 40 pkts
 Output #0, mpegts, to 'out2.ts':
   Metadata:
     encoder         : Lavf54.1.100
     Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p,
 720x576 [SAR 64:45 DAR 16:9], q=2-31, 15000 kb/s, 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 q=-1.0 Lsize=    7246kB time=00:00:15.00
 bitrate=3957.0kbits/s
 video:6214kB audio:469kB global headers:0kB muxing overhead 8.418032%
 }}}
 {{{
 $ md5sum out2.ts
 762cfa9d19ce82144417ee620d698966  out2.ts
 }}}

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


More information about the FFmpeg-trac mailing list