Menu

I need to hard code sub on batch mode

2023-01-06
2023-01-09
  • raul barbosa

    raul barbosa - 2023-01-06

    Hi, first of all thanks for develop this tool works fine. but i need to hard sub a bunch of files and am kinda newbie into this.

    Heres the preset i found on some place

    -c:v libx264 -crf 27 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a aac -ar 44100 -b:a 64k -map 0
    

    i tick "burn in subtitles" i got the subs on the same folder with the videos, same name. i tried various ways and just add the subs as separated files (soft subs) but i want em hard coded. on subs tabs i see i can add a parameter but whenever i paste when change and retornm to tab. its always the preset code above.

    can you help me please. i was searching solutions but still cant make it work. sorry for my english, im not a native speaker.

    btw my subs are .ass. thx.

    Edit: i found this code in another topic: -vf subtitles=%ff:stream_index=0 works fine with subs inside the video. but how to do it with external files?

     

    Last edit: raul barbosa 2023-01-07
  • Abel

    Abel - 2023-01-08

    Hi, I have performed some test with batch subtitles, checking hard coded (burnt), using a .SRT file.
    I have not tested ASS, but it should work too.

    You could also try:

    -vf subtitles=%fn.ass

    if subtitle files are placed at the same folder, with the same name as source files (also tested successfully with .SRT subtitles).

    Also fixed a bug converting to UTF8, and parameters reseting after switching tab, for next release.

     

    Last edit: Abel 2023-01-08
  • raul barbosa

    raul barbosa - 2023-01-09

    Thanks Abels works fine with .ass subs.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.