There are raw anime episodes being uploaded to torrent websites. A raw episode is nearly 800mb. Anime streaming websites are compressing those raw files and adding subtitles to them and they are uploading them online. I downloaded an episode from an anime streaming website and https://mega.nz/file/YLR2WKwQ#KmL_yMpFHx5MZ4Uo--X632PgsezIhEUnWMFQOVpiobg is tree view in MediaInfo. It says that it was encoded by using Lavf61.0.100 and I think that's ffmpeg. If you scroll down to the encoder settings then you will see the settings that are used. https://mega.nz/file/AKhXiYCJ#09lnm1qgd-zc1hU9NeXH5Bdxu4LRK7lP35mDwFJJuN8 is a picture of the subtitles that are in the encoded episode.
If the raw file is called 561raw.mp4 and the subtitle file is called 561.srt and the output file is 561en.mp4 then I think that the ffmpeg settings are:
Are those settings ok and they will make an encoded video that has the same settings as the text file?Code:ffmpeg -i 561raw.mp4 -vf "subtitles=561.srt:force_style='Fontname=Arial,Fontsize=20,PrimaryColour=&HFFFFFF&,OutlineColour=&H000000&,BorderStyle=1,Outline=0.5,Shadow=0,Spacing=2'" -c:v libx264 -preset medium -crf 24 -profile:v high -level:v 4.0 -pix_fmt yuv420p -x264-params "keyint=120:min-keyint=61:scenecut=0:vbv-maxrate=3000:vbv-bufsize=15000" -c:a aac -b:a 132k -ar 44100 -movflags +faststart 561en.mp4
https://mega.nz/file/wPZzzZxb#VLDQsZeHHiimYwL-EgtrGr9_ICNZvelrN76_FvMdxh0 is a picture of the subtitles that I got. Does it match the previous picture or no? If it doesn't match then please modify the style settings for me.
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by cns00; 26th Jan 2025 at 10:34.
Similar Threads
-
Capturing with Startech USB3 HD Cap, ffmpeg, dshow, correct settings
By nickandre in forum Capturing and VCRReplies: 0Last Post: 25th Oct 2022, 12:50 -
Find the correct audio stream with FFmpeg
By FFtvuser in forum Newbie / General discussionsReplies: 5Last Post: 1st Dec 2021, 02:40 -
Best settings using Virtual Dub to correct dark VHS capture
By DMS in forum RestorationReplies: 69Last Post: 6th Oct 2021, 05:30 -
Correct syntax for downloading video and audio with ffmpeg
By dzigelbaum in forum Video Streaming DownloadingReplies: 1Last Post: 15th Mar 2021, 06:47 -
Is my x265 settings are correct?
By megapro17 in forum Video ConversionReplies: 2Last Post: 12th Apr 2020, 08:48