Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii
WiiMC-SS - GameCube controller support and more
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="HandsomeJack" data-source="post: 10316075" data-attributes="member: 577188"><p>The ffmpeg command uses H.264:</p><p></p><p>c:\ffmpeg\bin\ffmpeg.exe -i input.mp4 -acodec libmp3lame -qscale:a 4 -vcodec libx264 -profile:v main -crf 14 -maxrate 1600k -bufsize 2M -vf scale=720:576 output.mp4</p><p></p><p>That's what the "-vcodec libx264" bit is. For all 1080p files I've tested, this works, ffmpeg seems to have more difficulty with 4K files, which Handbrake handles better.</p><p></p><p>If you're on Linux, there is a couple of example shell scripts on how to get the script to run ffmpeg on multiple files:</p><p></p><p><a href="https://stackoverflow.com/questions/21184846/ffmpeg-transcoding-multiple-input-files-to-multiple-output-files-with-single-co" target="_blank">https://stackoverflow.com/questions/21184846/ffmpeg-transcoding-multiple-input-files-to-multiple-output-files-with-single-co</a></p><p>[automerge]1703174692[/automerge]</p><p>I've been looking into the process of hard burning subtitles with ffmpeg using this approach. With ffmpeg you need to first extract subtitles out of an MKV file into SRT:</p><p></p><p>ffmpeg -i input.mkv -map 0:s:0 subs.srt</p><p></p><p>Double check the srt file in Notepad.</p><p></p><p>Then:</p><p></p><p>c:\ffmpeg\bin\ffmpeg.exe -i input.mkv -acodec libmp3lame -qscale:a 4 -vcodec libx264 -profile:v main -crf 14 -maxrate 1600k -bufsize 2M -vf "crop=1920-236-234:816,scale=720:576,subtitles=subs.srt:original_size=1920x1080:force_style='Fontsize=26,PrimaryColour=&HFFEF00&'" -pix_fmt yuv420p output.mp4</p><p></p><p>Here, there are three things going on in -vf</p><p></p><p>1. Left / right cropping is being done on a 1920x816 file (236 right, 234 left).</p><p>2. Scaling to 720x576.</p><p>3. Subtitling <em>after </em>scaling, where the subs.srt file is used, they're marked as having been intended originally for 1920x1080, a large font size of 26 is applied with what works out in the end result as a blue tint. The font size can be reduced, however, not too much for 576p video.</p><p></p><p>What I've found with this is it's more difficult to target a low CRF (higher quality, here 14) without dropping frames when hard burning subtitles. I have a Wii U, so overclocking the app gets around that problem. Raising the CRF (lowering quality) to say 18 to 23 would probably get around that problem on a regular Wii.</p><p>[automerge]1703181090[/automerge]</p><p>I've asked Bard AI about a Powershell script to do a batch of files in a directory and it says this:</p><p></p><p>$ffmpegPath = "c:\ffmpeg\bin\ffmpeg.exe" # Adjust the path if needed</p><p>$inputDirectory = "C:\path\to\input\files" # Replace with the actual input directory</p><p>$outputDirectory = "C:\path\to\output\files" # Replace with the desired output directory</p><p></p><p>Get-ChildItem $inputDirectory -Filter *.mp4 | ForEach-Object {</p><p> $inputFile = $_.FullName $outputFile = Join-Path $outputDirectory ([io.path]::GetFileNameWithoutExtension($_) + "_processed.mp4")</p><p> & $ffmpegPath -i $inputFile -acodec libmp3lame -qscale:a 4 -vcodec libx264 -profile:v main -crf 14 -maxrate 1600k -bufsize 2M -vf scale=720:576 $outputFile</p><p>}</p></blockquote><p></p>
[QUOTE="HandsomeJack, post: 10316075, member: 577188"] The ffmpeg command uses H.264: c:\ffmpeg\bin\ffmpeg.exe -i input.mp4 -acodec libmp3lame -qscale:a 4 -vcodec libx264 -profile:v main -crf 14 -maxrate 1600k -bufsize 2M -vf scale=720:576 output.mp4 That's what the "-vcodec libx264" bit is. For all 1080p files I've tested, this works, ffmpeg seems to have more difficulty with 4K files, which Handbrake handles better. If you're on Linux, there is a couple of example shell scripts on how to get the script to run ffmpeg on multiple files: [URL]https://stackoverflow.com/questions/21184846/ffmpeg-transcoding-multiple-input-files-to-multiple-output-files-with-single-co[/URL] [automerge]1703174692[/automerge] I've been looking into the process of hard burning subtitles with ffmpeg using this approach. With ffmpeg you need to first extract subtitles out of an MKV file into SRT: ffmpeg -i input.mkv -map 0:s:0 subs.srt Double check the srt file in Notepad. Then: c:\ffmpeg\bin\ffmpeg.exe -i input.mkv -acodec libmp3lame -qscale:a 4 -vcodec libx264 -profile:v main -crf 14 -maxrate 1600k -bufsize 2M -vf "crop=1920-236-234:816,scale=720:576,subtitles=subs.srt:original_size=1920x1080:force_style='Fontsize=26,PrimaryColour=&HFFEF00&'" -pix_fmt yuv420p output.mp4 Here, there are three things going on in -vf 1. Left / right cropping is being done on a 1920x816 file (236 right, 234 left). 2. Scaling to 720x576. 3. Subtitling [I]after [/I]scaling, where the subs.srt file is used, they're marked as having been intended originally for 1920x1080, a large font size of 26 is applied with what works out in the end result as a blue tint. The font size can be reduced, however, not too much for 576p video. What I've found with this is it's more difficult to target a low CRF (higher quality, here 14) without dropping frames when hard burning subtitles. I have a Wii U, so overclocking the app gets around that problem. Raising the CRF (lowering quality) to say 18 to 23 would probably get around that problem on a regular Wii. [automerge]1703181090[/automerge] I've asked Bard AI about a Powershell script to do a batch of files in a directory and it says this: $ffmpegPath = "c:\ffmpeg\bin\ffmpeg.exe" # Adjust the path if needed $inputDirectory = "C:\path\to\input\files" # Replace with the actual input directory $outputDirectory = "C:\path\to\output\files" # Replace with the desired output directory Get-ChildItem $inputDirectory -Filter *.mp4 | ForEach-Object { $inputFile = $_.FullName $outputFile = Join-Path $outputDirectory ([io.path]::GetFileNameWithoutExtension($_) + "_processed.mp4") & $ffmpegPath -i $inputFile -acodec libmp3lame -qscale:a 4 -vcodec libx264 -profile:v main -crf 14 -maxrate 1600k -bufsize 2M -vf scale=720:576 $outputFile } [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii
WiiMC-SS - GameCube controller support and more
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
D
diamondsofmayhem
Loading…
Xdqwerty
Loading…
what are you looking at?
Psionic Roshambo
Loading…
@
BakerMan
:
whale-come to gbatemp
+3
Today at 1:44 AM
@
Sonic Angel Knight
:
Why do we have a baker man when he don't bake stuff? GBATemp cookies, or cake, or something.
59 minutes ago
@
Sonic Angel Knight
:
PIZZA
58 minutes ago
@
K3Nv2
:
Smokies came out gud
58 minutes ago
D
@
diamondsofmayhem
:
Something tells me posting pics of the stuff that comes out of my smoker might go over well here
58 minutes ago
D
@
diamondsofmayhem
:
anyway, I could use a hand, if anyone can point me in the right direction
57 minutes ago
@
Xdqwerty
:
https://www.youtube.com/watch?v=VKqmsCtbKA8
55 minutes ago
D
@
diamondsofmayhem
:
I'll take that as a "no" then...
53 minutes ago
@
Xdqwerty
:
@diamondsofmayhem
, ?
51 minutes ago
@
Xdqwerty
:
@Sonic Angel Knight
, he does bake stuff
50 minutes ago
D
@
diamondsofmayhem
:
sorry, beein trying to find this file that's been right in front of me for a month now, only to find broken links, and google to prove that it's completely worthless.
50 minutes ago
D
@
diamondsofmayhem
:
It's proven quite frustrating.
49 minutes ago
D
@
diamondsofmayhem
:
don't get me wrong, it's just a cheat plugin, but one for a game I want to absolutely destroy
45 minutes ago
@
Xdqwerty
:
@diamondsofmayhem
, what game?
44 minutes ago
D
@
diamondsofmayhem
:
Hyrule Warriors legends
44 minutes ago
D
@
diamondsofmayhem
:
The only link I've been able to find for my version is here:
https://gbatemp.net/threads/release-hyrule-warriors-legends-save-editor-ntr-plugin.411349/
the US/EUR version, but the link is dead.
38 minutes ago
D
@
diamondsofmayhem
:
and, I'll be honest, I don't even know if I'm in the right spot to be asking for help.
36 minutes ago
@
Xdqwerty
:
@diamondsofmayhem
, try making a thread
35 minutes ago
D
@
diamondsofmayhem
:
in which forum? there's several.
35 minutes ago
@
Psionic Roshambo
:
Having every channel is fun lol
35 minutes ago
D
@
diamondsofmayhem
:
Actually, finally found someone who was looking for the same thing.
https://gbatemp.net/threads/lost-hyrule-warriors-legends-v1-6-0-ntr-plugin.628141/
to no avail.
31 minutes ago
D
@
diamondsofmayhem
:
well, sorry for bugging yall with this.
30 minutes ago
@
Xdqwerty
:
@diamondsofmayhem
, dont worry
29 minutes ago
@
Xdqwerty
:
good night
25 minutes ago
D
@
diamondsofmayhem
:
G'night!
25 minutes ago
Submit
D
@
diamondsofmayhem
:
G'night!
25 minutes ago
Chat
3