Re: [FFmpeg-user] Add subtitles and chapter metadata in one pass?

2020-10-13 Thread George Welch
Thank you John.  Your command works. And actually, I now see that my command (which was functionally identical to yours) is also working, so I apologize to the list for adding the noise. The reason that I thought the command was failing is because of the way ffmpeg logs it progress to the

Re: [FFmpeg-user] Add subtitles and chapter metadata in one pass?

2020-10-13 Thread Moritz Barsnick
On Mon, Oct 12, 2020 at 15:29:53 -0400, George Welch wrote: > However, I would like to skip the intermediate file.  Here is the > command I am trying which does *not* work: > > $ ffmpeg -i avfile.mkv -i srtfile.srt -i metadata.txt \ >     -map 0:v -map 0:a -map 1:s -map_metadata 2 \ >         

Re: [FFmpeg-user] Add subtitles and chapter metadata in one pass?

2020-10-12 Thread John Finlay via ffmpeg-user
I have used a command like the below with success in the past: $ ffmpeg -i avfile.mkv -i srtfile.srt -i metadata.txt \     -map 0:0 -map 0:1 -map 1 -map_metadata 2 \         -c:v libx264 [ various options ] \         -c:a copy \         -c:s srt \          -c:d copy \     out.mkv

[FFmpeg-user] Add subtitles and chapter metadata in one pass?

2020-10-12 Thread George Welch
Howdy, I need to start with a movie file that has audio and video, and to reencode the video and add subtitles and chapter markers. I can add the chapters in a first pass, and then add the subtitles in a second pass, and that works fine.  But I can't seem to find the right command to add