[Libav-user] Problem with Codec ID

Cafuné Ometepe cafunen.fq at gmail.com
Fri Aug 20 11:19:35 EEST 2021


Hi to the community,

I try to transcode with the Codec ID as a Spec for my output file.
The Specs are: .ts, Codec ID 6, AC3 Audio. I detect Coded IDs with Media
Info.
I Successfully transcode to .ts, but my Codec ID ends up as „129“ in Media
Info.
If I change things up to E-AC3 I’ll end up with Codec ID 135, but nothing
like Codec ID 6.

If I compare media .ts media with codec ID 6 and mine with 129 or 126,
Stream ID
and Codec ID seem to be the Only features differing.

So I’d like to ask, what is a suitable prompt for ffmpeg to transcode .ts
files that are analyzed
withCodec ID 6? I don’t know where else to ask so I refer to this community.

My ffmpeg prompt is:

./ffmpeg  -c:a ac3 -i ~/Desktop/INPUT.mp4 -i ~/Desktop/INPUT1.mp4 -i
~/Desktop/INPUT2.mp4 -i ~/Desktop/INPUT3.mp4 -map 0:v -map 1:a -map 2:a  -map
3:a -metadata:s:a:0 codecid=6 -metadata:s:a:0 language=deu -metadata:s:a:1
codecid=6 -metadata:s:a:1 language=eng -metadata:s:a:2 codecid=6
-metadata:s:a:2 language=ara -streamid 1:512 -streamid 2:513 -streamid 3:514
 -c:v libx264 -crf 0 -refs 2 -preset veryfast -pix_fmt yuv420p -strict -2
-y -level:v 4.0 -f mpegts -c:a ac3 Output.ts

Please assist me on this.


Cafune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210820/09521125/attachment.htm>


More information about the Libav-user mailing list