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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd April 2018, 03:07   #1  |  Link
iSeries
Registered User
 
Join Date: Jan 2009
Posts: 625
Blank video

Hi,

I'd like to create a bluray audio disc, wondered how I go about creating a blank (black) video track with x264?
iSeries is offline   Reply With Quote
Old 22nd April 2018, 03:37   #2  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
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
Avisynth (off top of head, not tested)
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)
The AviSynth script could be opened in any compatible encoding software (too many to list here - like I said, what do you use now?)
raffriff42 is offline   Reply With Quote
Old 22nd April 2018, 23:25   #3  |  Link
iSeries
Registered User
 
Join Date: Jan 2009
Posts: 625
Ffmpeg worked perfect, thanks
iSeries is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.