I appreciate you putting together this guide! I followed the steps and was able to replicate what you did. Only problem is that it appears the output doesn't have any associated audio. Is there something that needs to be added to the script to retain the audio?
You're welcome. Unfortunately, I haven't dealt with audio through VapourSynth, which I believe would add more complication (you've got to import the audio and hand it off in the script). The simplest way, and how I've done it before, is to add it to the encoding .bat file: "PATH\vspipe" -c y4m script.vpy - | ffmpeg -i - *-i "INPUT.mkv" -map 0:0 -map 1:a* -c:v libx264 -crf 18 *-c:a copy* "OUTPUT.mp4" As you can see, I've added the parts in bold, taking the original file as an additional input and copying the audio to the output without re-encoding. Alternatively, you could use MKVToolNix or mkvmerge to mux the audio with the processed video file. For final MKV files, I recommend muxing with this tool. For MP4, FFmpeg is all right.
@@luxtrabs9808 It could be a Windows issue, because if it was an error in the script, it would say something else. Try running the script with admin privilege and see if that helps. Right-click, then Run as Administrator. Or try moving the VapourSynth folder elsewhere, to another drive perhaps. Are python.exe and vsrepo.py in the folder?
Thank you very much
@@deinnameyt It's a pleasure.
I appreciate you putting together this guide! I followed the steps and was able to replicate what you did. Only problem is that it appears the output doesn't have any associated audio. Is there something that needs to be added to the script to retain the audio?
You're welcome. Unfortunately, I haven't dealt with audio through VapourSynth, which I believe would add more complication (you've got to import the audio and hand it off in the script). The simplest way, and how I've done it before, is to add it to the encoding .bat file:
"PATH\vspipe" -c y4m script.vpy - | ffmpeg -i - *-i "INPUT.mkv" -map 0:0 -map 1:a* -c:v libx264 -crf 18 *-c:a copy* "OUTPUT.mp4"
As you can see, I've added the parts in bold, taking the original file as an additional input and copying the audio to the output without re-encoding. Alternatively, you could use MKVToolNix or mkvmerge to mux the audio with the processed video file. For final MKV files, I recommend muxing with this tool. For MP4, FFmpeg is all right.
how to vsrepo? it doesnt work
What does it say?
@@GeoffreyAngapa nvm it forgot to run it inside portablefolder
@@luxtrabs9808 It could be a Windows issue, because if it was an error in the script, it would say something else. Try running the script with admin privilege and see if that helps. Right-click, then Run as Administrator. Or try moving the VapourSynth folder elsewhere, to another drive perhaps.
Are python.exe and vsrepo.py in the folder?
@@GeoffreyAngapa yes it worked, i forgot to run python inside the path 😅
@@luxtrabs9808 It happens :)
Is everything up and running?