Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
22nd April 2018, 03:37 | #2 | Link |
Retried Guesser
Join Date: Jun 2012
Posts: 1,373
|
x264 can't generate video, so you will need some other software (maybe a GUI like Movie Studio, or an ffmpeg command, or an AviSynth script).
What software do you know and use now? Knowing that, someone here can tell you the best way for you to create a blank track. For example, ffmpeg (stolen from here) Code:
ffmpeg -f lavfi -i color=c=black:s=640x480 -i audio.ogg -c:v libx264 -tune stillimage -pix_fmt yuv420p -shortest -c:a aac -b:a 128k output-with-audio.mp4 Code:
## 2 hours of black BlankClip(width=640, height=480, fps=30000, fps_denominator=1001, pixel_type="YV12", length=30*60*60*2) ## add audio AudioDub(DirectShowSource("audio.ogg")) ## trim to audio duration AudioTrim(0.0, length=AudioDuration) |
Thread Tools | Search this Thread |
Display Modes | |
|
|