WTF FFMPEG

  • Thread starter pasc
  • Start date
  • Views 1,327
  • Replies 3
P

pasc

Guest
OP
So, I call out to all FFmpeg veterans here.

M goal is to burn the subtitles from a mkv file into a mp4 or alternatively m4v.

My script looks like this.
Code:
set ffmpeg=C:\ffmpeg.exe
ffmpeg -i input.mkv -an -vn -map 0:s:0 -c:s:0 srt subtitles.srt
ffmpeg -i input.mkv -vcodec copy -acodec copy -absf aac_adtstoasc input.mp4
 
ffmpeg -i input.mp4 -c:v copy -c:a copy -c:s mov_text -map 0 out.mp4


Using the "ffmpeg -i input.mp4 -c:v copy -c:a copy -c:s mov_text -map 0 out.mp4"
will return:
Code:
unknown encoder mov_text

This alternative: "ffmpeg -i video.mkv -vf subtitles=video.mkv out.avi"
outputs filter subtitles not found


I'll add that I used FFmpegs latest Windows distribution straight from the FFMPEG website.
(http://ffmpeg.zeranoe.com/builds/)

Thanks for any help in advance.

NOTE:
Please DO NOT suggest using other software like Handbrake or whatever there is.
I DO want to do with with FFMPEG.
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
12,999
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,075
Country
United States
Eventhough you don't want to use Handbrake, it DOES use FFMPEG as it's backend for the encoding... Handbrake is basically just a GUI for FFMPEG. So why not do it that way if the options are there for what you need? Any person reason you need to use the script/command line for this?
 
P

pasc

Guest
OP
You are right. Handbrake CLI is a treat.

This thread can be closed.

On another note.
The matter was solved, but it IS weird that ffmpeg fails so hard by itself.
There seems to be no version available that has mov_text or the filters built in.
 
  • Like
Reactions: JayRo

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: With other peoples couches