hello.. i am trying to make something like this but is not working
i need the hardsub+watermak in 1 encode or a profile to encode the same video without change quality..Code:ffmpeg -i /root/Desktop/097.mkv -vf subtitles=097.mkv -i /root/watermark.png -filter_complex \ "overlay=(W-w)/2:(H-h)/2" -c:v libx264 -crf 23 -preset faster -tune animation -c:a aac /root/Desktop/097v1.mp4
and better profile to encode anime 720 pixel?? thanks!!!
+ Reply to Thread
Results 1 to 4 of 4
-
-
I use avisynth to create the logo script because you can custom make it for the whole movie or just part of it.
Code:v1 = Directshowsource("C:\Users\Bud\Desktop\[dp]Manjandani-1.mp4").ConvertToRGB32.Lanczosresize(864, 368) img1 = ImageSource("C:\Users\Bud\Desktop\Image.001.png", pixel_type="RGB32", fps=23.976, end=999).converttoRGB32.LanczosResize(160,90) clip1 = v1.trim(0, -999).Overlay(img1, 10, 10,Opacity=1.0, img1.ShowAlpha()) \ ++ v1.trim(999, 0) return clip1
Code:ffmpeg -i "C:\Users\Bud\Desktop\CreateLogo.avs" -ss 00:00:00.000 -to 99:00:00.000 -vf "subtitles='C\:\\Users\\Bud\\Desktop\\Various test Formats\\Get times ProjectX settings\\tron.srt'",scale=864:368,pad=864:368:0:0 -vcodec libx264 -crf 22 -r 23.976 -acodec aac -ac 2 -ar 44.1k -b:a 128k "C:\Users\Bud\Desktop\[dp]Manjandani-1_Timed_1.mp4"
[Attachment 44580 - Click to enlarge]
And I encoded successfully:
[Attachment 44581 - Click to enlarge] -
Just dont use this, is you dont want to encode
that encode video and sound.
scale=864:368,pad=864:368:0:0 -vcodec libx264 -crf 22 -r 23.976 -acodec aac -ac 2 -ar 44.1k -b:a 128k -
AFAIK: (Courtesy Elder Geek)
The whole video will get re-encoded if you overlay an image on part of it. One way you could avoid re-encoding the entire thing would be to clip out the portion you wish to overlay and only re-encode that piece (see the -t duration switch and the -ss position switch in the documentation
The scale and pad settings were because my video was anamorphic (resolution 1.91 but displayed as 2.35).
Similar Threads
-
Hardsub on Mac
By Crimson123 in forum SubtitleReplies: 4Last Post: 2nd Oct 2016, 07:52 -
Can I HardSub Multiple Subtitles??
By anime12345 in forum Video ConversionReplies: 11Last Post: 23rd Jan 2015, 13:31 -
What is the best way to hardsub MKV files?
By ROBO731 in forum Video ConversionReplies: 19Last Post: 8th Nov 2014, 13:56 -
Any hardsub program?
By ricesniffer in forum SubtitleReplies: 7Last Post: 8th Aug 2014, 07:05 -
Hardsub Encoding 3D Subtitle!
By KeKeGeNKaY in forum SubtitleReplies: 0Last Post: 16th Aug 2013, 09:13