Den 09-02-2020 kl. 02:19 skrev Reino Wijnsma:
On 2020-02-09T01:59:53+0100, Robin A. Jensen via ffmpeg-user 
<[email protected]> 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
_______________________________________________
I can give it a try, when the encoding is finished. It runs right now. But i will first be tomorrow. It could be nice if its working, so it could be done in one operation. I dont have 15 sec sample. I have 1:42:01 .TS file. I just use those 15 seconds cut out for testing, so i don't have to wait 1:30:00 hour to se the result.
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to