[FFmpeg-trac] #7942(undetermined:new): ac3 descriptor issue when converting to mpegts

FFmpeg trac at avcodec.org
Wed Jun 5 17:15:24 EEST 2019


#7942: ac3 descriptor issue when converting to mpegts
-------------------------------------+-------------------------------------
             Reporter:  patman       |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  mpegts, ac3  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:when converting files to vod using -f mpegts and AC3 as
 audio, the metadata audio descriptor for AC3 which is supposed to be (AC-3
 / 0x332D4341) is replaced for ([129][0][0][0] / 0x0081) which causes
 problems
 How to reproduce:This happens every time that -f mpegts and AC3 are used
 no matter what script is used. Is there a fix for it?
 {{{
 % ffmpeg ^
 -y ^
 -i video1.mpg ^
 -i video2.mpg ^
 -itsoffset 20 ^
 -i logo.png ^
 -filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[vv][aa];
 [aa]volume=5dB[a]; [vv][2:v]overlay=W-w-10:10[v]" ^
 -map "[v]" ^
 -map "[a]" ^
 -c:s "copy" ^
 -pix_fmt yuv420p ^
 -c:v libx264 ^
 -x264-params "nal-hrd=cbr:force-cfr=1" ^
 -x264opts keyint=60:min-
 keyint=1:bframes=3:ref=4:scenecut=-1:interlaced=1:colorprim=bt709:transfer=bt709:colormatrix=bt709
 :force-cfr ^
 -b:v 4500k ^
 -minrate 4500k ^
 -maxrate 4500K ^
 -bufsize 8500000 ^
 -f mpegts ^
 -streamid 0:255 ^
 -streamid 1:457 ^
 -mpegts_start_pid 255 ^
 -mpegts_pmt_start_pid 64 ^
 -muxrate 5480k ^
 -preset medium ^
 -tune film ^
 -profile:v high ^
 -level:v 4.0 ^
 -metadata:s:a:0 language=eng ^
 -s 1920x1080 ^
 -r 30000/1001 ^
 -vsync 1 ^
 -c:a ac3 ^
 -b:a 448K ^
 -ar 48000 ^
 -dialnorm -24 ^
 -ac 6 ^
 video.ts
 ffmpeg version
 ffmpeg version N-93461-g6e42021128 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 8.2.1 (GCC) 20190212
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list