[FFmpeg-trac] #2712(undetermined:new): avi to mpegts with reencoding mp3 audio to ac3

FFmpeg trac at avcodec.org
Tue Jun 25 19:52:50 CEST 2013


#2712: avi to mpegts with reencoding mp3 audio to ac3
-------------------------------------+-------------------------------------
             Reporter:  kla960       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by kla960):

 console output:

 ffmpeg version N-54178-gbbe26ef Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun 24 2013 17:15:47 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
 --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
 --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
 libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      52. 37.101 / 52. 37.101
   libavcodec     55. 17.100 / 55. 17.100
   libavformat    55.  9.100 / 55.  9.100
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 77.101 /  3. 77.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Splitting the commandline.
 Reading option '-threads' ... matched as AVOption 'threads' with argument
 '4'.
 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 '-fflags' ... matched as AVOption 'fflags' with argument
 '+genpts'.
 Reading option '-i' ... matched as input file with argument
 '.\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi'.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '341.04'.
 Reading option '-t' ... matched as option 't' (record or transcode
 "duration" seconds of audio/video) with argument '1353.8'.
 Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
 ('copy' to copy stream)) with argument 'copy'.
 Reading option '-acodec' ... matched as option 'acodec' (force audio codec
 ('copy' to copy stream)) with argument 'ac3'.
 Reading option '-ac' ... matched as option 'ac' (set number of audio
 channels) with argument '2'.
 Reading option '-ab' ... matched as AVOption 'ab' with argument '192k'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option
 '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts'
 ... matched as output file.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '2233'.
 Reading option '-t' ... matched as option 't' (record or transcode
 "duration" seconds of audio/video) with argument '712.68'.
 Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
 ('copy' to copy stream)) with argument 'copy'.
 Reading option '-acodec' ... matched as option 'acodec' (force audio codec
 ('copy' to copy stream)) with argument 'ac3'.
 Reading option '-ac' ... matched as option 'ac' (set number of audio
 channels) with argument '2'.
 Reading option '-ab' ... matched as AVOption 'ab' with argument '192k'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option
 '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts'
 ... matched as output file.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '3578.32'.
 Reading option '-t' ... matched as option 't' (record or transcode
 "duration" seconds of audio/video) with argument '353.4'.
 Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
 ('copy' to copy stream)) with argument 'copy'.
 Reading option '-acodec' ... matched as option 'acodec' (force audio codec
 ('copy' to copy stream)) with argument 'ac3'.
 Reading option '-ac' ... matched as option 'ac' (set number of audio
 channels) with argument '2'.
 Reading option '-ab' ... matched as AVOption 'ab' with argument '192k'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option
 '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts'
 ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Applying option y (overwrite output files) with argument 1.
     Last message repeated 2 times
 Successfully parsed a group of options.
 Parsing a group of options: input file
 .\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.
 Successfully parsed a group of options.
 Opening an input file:
 .\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.
 [avi @ 0000000004064700] Format avi probed with size=2048 and score=100
 [avi @ 0000000004077600] use odml:1
 [avi @ 0000000004064700] File position before avformat_find_stream_info()
 is 9988
 [h264 @ 0000000004060ae0] no picture
 [avi @ 0000000004064700] All info found
 rfps: 24.750000 0.013325
     Last message repeated 1 times
 rfps: 24.833333 0.005922
     Last message repeated 1 times
 rfps: 24.916667 0.001481
     Last message repeated 1 times
 rfps: 25.000000 0.000000
 rfps: 25.083333 0.001481
     Last message repeated 1 times
 rfps: 25.166667 0.005922
     Last message repeated 1 times
 rfps: 25.250000 0.013325
     Last message repeated 1 times
 rfps: 49.750000 0.013325
     Last message repeated 1 times
 rfps: 49.833333 0.005922
     Last message repeated 1 times
 rfps: 49.916667 0.001481
     Last message repeated 1 times
 rfps: 50.000000 0.000000
 rfps: 50.083333 0.001481
     Last message repeated 1 times
 rfps: 50.166667 0.005922
     Last message repeated 1 times
 rfps: 50.250000 0.013325
     Last message repeated 1 times
 [avi @ 0000000004064700] File position after avformat_find_stream_info()
 is 178098
 Input #0, avi, from
 '.\CutOriginale\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi':
   Metadata:
     encoder         : Lavf54.17.100
   Duration: 01:15:48.10, start: 0.000000, bitrate: 1234 kb/s
     Stream #0:0, 41, 1/25: Video: h264 (High) (H264 / 0x34363248),
 yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/50, 25 fps, 25 tbr, 25 tbn, 50
 tbc
     Stream #0:1, 64, 3/125: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz,
 stereo, s16p, 192 kb/s
 Successfully opened the file.
 Parsing a group of options: output file
 .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts.
 Applying option ss (set the start time offset) with argument 341.04.
 Applying option t (record or transcode "duration" seconds of audio/video)
 with argument 1353.8.
 Applying option vcodec (force video codec ('copy' to copy stream)) with
 argument copy.
 Applying option acodec (force audio codec ('copy' to copy stream)) with
 argument ac3.
 Applying option ac (set number of audio channels) with argument 2.
 Successfully parsed a group of options.
 Opening an output file:
 .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts.
 Successfully opened the file.
 Parsing a group of options: output file
 .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts.
 Applying option ss (set the start time offset) with argument 2233.
 Applying option t (record or transcode "duration" seconds of audio/video)
 with argument 712.68.
 Applying option vcodec (force video codec ('copy' to copy stream)) with
 argument copy.
 Applying option acodec (force audio codec ('copy' to copy stream)) with
 argument ac3.
 Applying option ac (set number of audio channels) with argument 2.
 Successfully parsed a group of options.
 Opening an output file:
 .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts.
 Successfully opened the file.
 Parsing a group of options: output file
 .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts.
 Applying option ss (set the start time offset) with argument 3578.32.
 Applying option t (record or transcode "duration" seconds of audio/video)
 with argument 353.4.
 Applying option vcodec (force video codec ('copy' to copy stream)) with
 argument copy.
 Applying option acodec (force audio codec ('copy' to copy stream)) with
 argument ac3.
 Applying option ac (set number of audio channels) with argument 2.
 Successfully parsed a group of options.
 Opening an output file:
 .\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts.
 Successfully opened the file.
 detected 4 logical cores
 [graph 0 input from stream 0:1 @ 000000000265eee0] Setting 'time_base' to
 value '1/48000'
 [graph 0 input from stream 0:1 @ 000000000265eee0] Setting 'sample_rate'
 to value '48000'
 [graph 0 input from stream 0:1 @ 000000000265eee0] Setting 'sample_fmt' to
 value 's16p'
 [graph 0 input from stream 0:1 @ 000000000265eee0] Setting
 'channel_layout' to value '0x3'
 [graph 0 input from stream 0:1 @ 000000000265eee0] tb:1/48000
 samplefmt:s16p samplerate:48000 chlayout:0x3
 [audio format for output stream 0:1 @ 0000000004278240] Setting
 'sample_fmts' to value 'fltp'
 [audio format for output stream 0:1 @ 0000000004278240] Setting
 'channel_layouts' to value '0x3'
 [audio format for output stream 0:1 @ 0000000004278240] auto-inserting
 filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and
 the filter 'audio format for output stream 0:1'
 [AVFilterGraph @ 0000000004077e80] query_formats: 5 queried, 12 merged, 3
 already done, 0 delayed
 [auto-inserted resampler 0 @ 00000000042786e0] ch:2 chl:stereo fmt:s16p
 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
 [graph 1 input from stream 0:1 @ 000000000409b5a0] Setting 'time_base' to
 value '1/48000'
 [graph 1 input from stream 0:1 @ 000000000409b5a0] Setting 'sample_rate'
 to value '48000'
 [graph 1 input from stream 0:1 @ 000000000409b5a0] Setting 'sample_fmt' to
 value 's16p'
 [graph 1 input from stream 0:1 @ 000000000409b5a0] Setting
 'channel_layout' to value '0x3'
 [graph 1 input from stream 0:1 @ 000000000409b5a0] tb:1/48000
 samplefmt:s16p samplerate:48000 chlayout:0x3
 [audio format for output stream 1:1 @ 000000000427b6a0] Setting
 'sample_fmts' to value 'fltp'
 [audio format for output stream 1:1 @ 000000000427b6a0] Setting
 'channel_layouts' to value '0x3'
 [audio format for output stream 1:1 @ 000000000427b6a0] auto-inserting
 filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and
 the filter 'audio format for output stream 1:1'
 [AVFilterGraph @ 0000000004076c80] query_formats: 5 queried, 12 merged, 3
 already done, 0 delayed
 [auto-inserted resampler 0 @ 000000000427bb80] ch:2 chl:stereo fmt:s16p
 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
 [graph 2 input from stream 0:1 @ 0000000004072460] Setting 'time_base' to
 value '1/48000'
 [graph 2 input from stream 0:1 @ 0000000004072460] Setting 'sample_rate'
 to value '48000'
 [graph 2 input from stream 0:1 @ 0000000004072460] Setting 'sample_fmt' to
 value 's16p'
 [graph 2 input from stream 0:1 @ 0000000004072460] Setting
 'channel_layout' to value '0x3'
 [graph 2 input from stream 0:1 @ 0000000004072460] tb:1/48000
 samplefmt:s16p samplerate:48000 chlayout:0x3
 [audio format for output stream 2:1 @ 00000000040730c0] Setting
 'sample_fmts' to value 'fltp'
 [audio format for output stream 2:1 @ 00000000040730c0] Setting
 'channel_layouts' to value '0x3'
 [audio format for output stream 2:1 @ 00000000040730c0] auto-inserting
 filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and
 the filter 'audio format for output stream 2:1'
 [AVFilterGraph @ 0000000004077ba0] query_formats: 5 queried, 12 merged, 3
 already done, 0 delayed
 [auto-inserted resampler 0 @ 0000000004072640] ch:2 chl:stereo fmt:s16p
 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
 [mpegts @ 00000000042a4c20] muxrate VBR, pcr every 2 pkts, sdt every 200,
 pat/pmt every 40 pkts
 [mpegts @ 0000000002658be0] muxrate VBR, pcr every 2 pkts, sdt every 200,
 pat/pmt every 40 pkts
 [mpegts @ 000000000265bd40] muxrate VBR, pcr every 2 pkts, sdt every 200,
 pat/pmt every 40 pkts
 Output #0, mpegts, to
 '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part1.ts':
   Metadata:
     encoder         : Lavf55.9.100
     Stream #0:0, 0, 1/90000: Video: h264 (H264 / 0x34363248), yuv420p,
 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
     Stream #0:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
 Output #1, mpegts, to
 '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part2.ts':
   Metadata:
     encoder         : Lavf55.9.100
     Stream #1:0, 0, 1/90000: Video: h264 (H264 / 0x34363248), yuv420p,
 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
     Stream #1:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
 Output #2, mpegts, to
 '.\Cut\Navy_CIS__L_A__13.06.23_21-15_sat1_60_TVOON_DE.mpg.HQ.avi.Part3.ts':
   Metadata:
     encoder         : Lavf55.9.100
     Stream #2:0, 0, 1/90000: Video: h264 (H264 / 0x34363248), yuv420p,
 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
     Stream #2:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (mp3 -> ac3)
   Stream #0:0 -> #1:0 (copy)
   Stream #0:1 -> #1:1 (mp3 -> ac3)
   Stream #0:0 -> #2:0 (copy)
   Stream #0:1 -> #2:1 (mp3 -> ac3)
 Press [q] to stop, [?] for help
 [avi @ 0000000004064700] first_dts 0 but no packet with dts in the queue
 [avi @ 0000000004064700] first_dts 0 not matching first dts 40 in the
 queue
 [avi @ 0000000004064700] first_dts 0 but no packet with dts in the queue
 [avi @ 0000000004064700] first_dts 0 not matching first dts 65 in the
 queue
 .
 .
 .
 .
 .
 [avi @ 0000000004064700] first_dts 0 not matching first dts 98294 in the
 queue
 [avi @ 0000000004064700] first_dts 0 but no packet with dts in the queue
 [avi @ 0000000004064700] first_dts 0 not matching first dts 163822 in the
 queue
 [avi @ 0000000004064700] first_dts 0 not matching first dts 98295 in the
 queue
 [output stream 2:1 @ 0000000004072580] EOF on sink link output stream
 2:1:default.
 [output stream 1:1 @ 000000000427b5e0] EOF on sink link output stream
 1:1:default.
 [output stream 0:1 @ 00000000040645e0] EOF on sink link output stream
 0:1:default.
 No more output streams to write to, finishing.
 frame=33845 fps=600 q=-1.0 Lq=-1.0 q=-1.0 size=  220357kB time=00:22:33.81
 bitrate=1333.4kbits/s

 video:276816kB audio:56717kB subtitle:0 global headers:0kB muxing overhead
 -33.932432%
 163823 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0000000004449ec0] Statistics: 0 seeks, 48216 writeouts
 [AVIOContext @ 00000000042a5ee0] Statistics: 0 seeks, 25333 writeouts
 [AVIOContext @ 000000000265c440] Statistics: 0 seeks, 12593 writeouts
 [AVIOContext @ 0000000004064c80] Statistics: 563059276 bytes read, 4 seeks

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


More information about the FFmpeg-trac mailing list