VideoHelp Forum

+ Reply to Thread
Results 1 to 25 of 25
Thread
  1. Hello! What is the best way to burn / hardcode subtitles to a .mkv file ?

    Thanks
    Quote Quote  
  2. Originally Posted by videobruger View Post
    I would use FFmpeg.
    Yes, but how ? What strings you use ?

    Thanks.
    Quote Quote  
  3. In the simplest form it would be (provided FFmpeg is installed in your PATH) and the format of your subtitles is .srt

    Code:
    FFmpeg -i in.mkv -vf subtitles=subs.srt HCout.mkv
    Quote Quote  
  4. Or you could use Subtitle Edit.

    Drop your subtitle on it. If the video has the same name it loads automatically. Else use "Video -> Open video file"

    Then use "Video -> Generate video with burned-in subs" and you can give some settings.

    Image
    [Attachment 65447 - Click to enlarge]


    As far as I remember SE will download FFmpeg if it's not installed
    Quote Quote  
  5. Originally Posted by ProWo View Post
    You can also use clever Ffmpeg-GUI
    I downloaded but i dont see how can i do it! Any help please?

    Originally Posted by videobruger View Post
    Or you could use Subtitle Edit.

    Drop your subtitle on it. If the video has the same name it loads automatically. Else use "Video -> Open video file"

    Then use "Video -> Generate video with burned-in subs" and you can give some settings.

    Image
    [Attachment 65447 - Click to enlarge]


    As far as I remember SE will download FFmpeg if it's not installed
    Great idea! I make it and work fine but the problem is for example if my video are 1.40GB the new video file is 900MB! How can i get the same size ?

    Originally Posted by dfisher052 View Post
    VidCoder.
    VidCoder re-endocde the video so its not good for me!
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    You have to re-encode if want the subtitles burned in
    Quote Quote  
  7. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Originally Posted by Mohamet View Post
    Hello! What is the best way to burn / hardcode subtitles to a .mkv file ?

    Thanks
    Do you actually need them to be burned in or how about switchable and making the subtitles both "the default and forced" assuming your media player recognises those flags? If you really need to burn in the subs into the video then that always involves re-encoding the video with some loss of quality.
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 7 Ultimate, QNAP NAS TS851
    Quote Quote  
  8. Great idea! I make it and work fine but the problem is for example if my video are 1.40GB the new video file is 900MB! How can i get the same size ?
    By ticking the "File size"checkbox and use 2-pass encoding,

    As already said hardcoding requires re-encoding.
    Last edited by videobruger; 21st Jun 2022 at 05:26. Reason: Spelling
    Quote Quote  
  9. Originally Posted by Mohamet View Post
    Originally Posted by ProWo View Post
    You can also use clever Ffmpeg-GUI
    I downloaded but i dont see how can i do it! Any help please?
    Here your go:

    Image
    [Attachment 65528 - Click to enlarge]
    Quote Quote  
  10. Originally Posted by videobruger View Post
    Great idea! I make it and work fine but the problem is for example if my video are 1.40GB the new video file is 900MB! How can i get the same size ?
    By ticking the "File size"checkbox and use 2-pass encoding,

    As already said hardcoding requires re-encoding.
    I try it, but again have less size and not the same! From 1.44GB i get 900MB.

    Originally Posted by ProWo View Post
    Originally Posted by Mohamet View Post
    Originally Posted by ProWo View Post
    You can also use clever Ffmpeg-GUI
    I downloaded but i dont see how can i do it! Any help please?
    Here your go:

    Image
    [Attachment 65528 - Click to enlarge]

    Again i dont see this screen to my app!

    Originally Posted by netmask56 View Post
    Originally Posted by Mohamet View Post
    Hello! What is the best way to burn / hardcode subtitles to a .mkv file ?

    Thanks
    Do you actually need them to be burned in or how about switchable and making the subtitles both "the default and forced" assuming your media player recognises those flags? If you really need to burn in the subs into the video then that always involves re-encoding the video with some loss of quality.
    Yes, i need thems hardcoded and not as a second part to my video file
    Quote Quote  
  11. Originally Posted by Mohamet View Post
    Again i dont see this screen to my app!
    Load your file, wait until analysis is done, click main, click convert Videostream, click keep size and voilą, you are there.
    Quote Quote  
  12. Originally Posted by ProWo View Post
    Originally Posted by Mohamet View Post
    Again i dont see this screen to my app!
    Load your file, wait until analysis is done, click main, click convert Videostream, click keep size and voilą, you are there.
    I do it but the size again are smaller! I get 700MB from 1.44GB!
    Quote Quote  
  13. Originally Posted by ProWo View Post
    Use crf 18
    Where ?
    Quote Quote  
  14. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Mohamet View Post
    Originally Posted by ProWo View Post
    Use crf 18
    Where ?
    Right here
    Image Attached Thumbnails Click image for larger version

Name:	pw.png
Views:	9
Size:	205.6 KB
ID:	65544  

    Quote Quote  
  15. Originally Posted by davexnet View Post
    Originally Posted by Mohamet View Post
    Originally Posted by ProWo View Post
    Use crf 18
    Where ?
    Right here

    I do it but again get 800MB! I dont wanna change my size!

    I need something like the AVIRecomp but for MKV files!
    Quote Quote  
  16. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Mohamet View Post
    Originally Posted by davexnet View Post
    Originally Posted by Mohamet View Post
    Originally Posted by ProWo View Post
    Use crf 18
    Where ?
    Right here

    I do it but again get 800MB! I dont wanna change my size!

    I need something like the AVIRecomp but for MKV files!
    I don't know Prowo's software that well, but to achieve video of a certain size, you need to do a 2-pass encode.
    I have not see anywhere in Clever ffmpeg GUI that 2-pass is implemented.

    Try Vidcoder. On the video encoding tab select target size, 2-pass and select "burn in" for the subtitle (main screen)
    Quote Quote  
  17. You can also use Handbrake. But Vidcoder is a good alternative.
    Quote Quote  
  18. Originally Posted by davexnet View Post
    I have not see anywhere in Clever ffmpeg GUI that 2-pass is implemented.
    2 pass encoding is not implemented because the contant rate factor (CRF) encoding provides the best quality and an exact file size is uninteresting for most users.
    Quote Quote  
  19. I try it, but again have less size and not the same! From 1.44GB i get 900MB.
    I don't know your settings.

    But using this:

    Image
    [Attachment 65550 - Click to enlarge]


    The result is:

    Image
    [Attachment 65551 - Click to enlarge]


    The subtitles are .srt and embedded in the file Video.mkv.
    Quote Quote  
  20. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by ProWo View Post
    Originally Posted by davexnet View Post
    I have not see anywhere in Clever ffmpeg GUI that 2-pass is implemented.
    2 pass encoding is not implemented because the contant rate factor (CRF) encoding provides the best quality and an exact file size is uninteresting for most users.
    That's cool; I'm not judging it, but the person I was trying to help specifically asked for a file of a certain size ...
    Quote Quote  
  21. Originally Posted by videobruger View Post
    I try it, but again have less size and not the same! From 1.44GB i get 900MB.
    I don't know your settings.

    But using this:

    Image
    [Attachment 65550 - Click to enlarge]


    The result is:

    Image
    [Attachment 65551 - Click to enlarge]


    The subtitles are .srt and embedded in the file Video.mkv.
    Awesome! Work perfect with this way!

    Big thank to everyone to to try help me
    Quote Quote  



Similar Threads