On 2020-02-09T01:59:53+0100, Robin A. Jensen via ffmpeg-user 
<ffmpeg-user@ffmpeg.org> wrote:
> ffmpeg -txt_format text -txt_page 599 -ss 00:04:45 -i 'Beck_ _je for _je 
> (4).ts' -to 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:2 language=dan 
> 'Beck _je for _je (4).srt'
> The -txt_page number i get by using VLC. So now i have the .srt file. Don't 
> know how else to get ffmpeg to pick that one subtitle.
> Then i encode my video as i always do.
> Then i combine it with:
> ffmpeg -i 'Beck _je for _je (4).mp4' -i 'Beck _je for _je (4).srt' -c:v copy 
> -c:a copy -c:s mov_text 'test.mp4'
> This seems to be working. But is a long way to go.

ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 
-map 0:0 -c:v h264_omx -b:v 4800k -map 0:2 -map 0:3 -c:a copy -map 0:1 
-txt_format text -txt_page 599 -c:s mov_text -metadata:s:s language=dan 'Beck 
Øje for øje (4).mp4'

Wouldn't this work? But again, without a sample we can't verify.

-- Reino
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to