[FFmpeg-user] ffmpeg don't writes metadata in file (but shows it correctly)

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jan 11 00:08:19 EET 2019


2019-01-10 23:00 GMT+01:00, Felix Muster <felixjan.muster at icloud.com>:

> For the first command the metadata (handler, language) is stored correctly.
> The second keeps the metadata from temp.mkv.
>
>
>
> What am I doing wrong?
>
>
>
> Works:
>
>
>
> ffmpeg^
>
> -i video.h264 -i audio1.dts -i audio2.dts -i sbtl1.srt -i sbtl2.srt^
>
> -map 0:0 -map 1:0 -map 2:0 -map 3:0 -map 4:0^
>
> -metadata:s:v:0 handler="AVC"^
>
> -metadata:s:a:0 language=deu -metadata:s:a:0 handler="DTS-HD Master Audio"^
>
> -metadata:s:a:1 language=kor -metadata:s:a:1 handler="DTS-HD Master Audio"^
>
> -metadata:s:s:0 language=ger -metadata:s:s:0 handler="Deutsch (forced)"^
>
> -metadata:s:s:1 language=ger -metadata:s:s:1 handler="Deutsch"^
>
> -movflags disable_chpl^
>
> -c:s mov_text -c:v copy -c:a alac -sample_fmt:a s16p^
>
> output.m4v

First thing: Please test current FFmpeg git head, the only
version supported here.

Please provide both the complete, uncut console output for this
command (please try not to separate command line from console
output and please try to avoid these funny linebreaks, maybe
set your mailer to text-only) and provide "ffmpeg -i output.m4v"
console output.

Carl Eugen


More information about the ffmpeg-user mailing list