Opened 2 years ago

Closed 21 months ago

#7942 closed defect (duplicate)

ac3 descriptor issue when converting to mpegts

Reported by: Pat Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: patricefournier17@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (3)

comment:1 by Pat, 2 years ago

Cc: patricefournier17@gmail.com added

comment:2 by Pat, 2 years ago

Status: newopen

comment:3 by Carl Eugen Hoyos, 21 months ago

Keywords: mpegts ac3 removed
Priority: importantnormal
Resolution: duplicate
Status: openclosed

See #2162.

Note: See TracTickets for help on using tickets.