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 > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th June 2017, 05:11   #1  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 648
x264vfw and audio encoding

I mainly use x264vfw to encode Blu-rays to x264 backups. The video part is fine - excellent - even, but I can't seem to encode both x264 and audio simultaneously, the audio is always missing - simply not present.

Is there something about x264vfw which precludes simultaneous audio encoding?

Using TMPGEnc Video Mastering Works 6.2.2.29 (latest) and Windows 10 Pro v1607.
JimmyBarnes is offline   Reply With Quote
Old 26th June 2017, 07:44   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,674
x264vfw does not handle audio (this includes the file output) but it does not hinder software to encode audio in any way. But it's the job of the encoding software. x264vfw has nothing to do with it.
sneaker_ger is offline   Reply With Quote
Old 26th June 2017, 10:23   #3  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,278
Like sneaker_ger say x264vfw is only a video encoder.

I'm not use TMPGEnc but it must do the complete job.

If you want free soft you can use MeGUI, Staxrip, Handbrake, ...
than can use x264 (and x265) video encoders and also audio encoders to do the full job.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 26th June 2017, 12:25   #4  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 648
I found the answer...!

I've always accepted its better to encode video separately anyway from audio, esp. for blu-ray backups.

But for short e.g. YouTube clips where one might like to reencode to save space or just cut the relevant bits, its useful to be able to encode x264+MP3 say, then just join the bits.

The answer to my original problem is that x264vfw offers a "VFW" and a "File" Output mode. I invariably used File, but that meant audio was probably sent to TVMW6's "Output File Name", which I would usually discard as a useless stub.

Selecting VFW Output mode results in an "Output File Name" which includes both video and audio. One problem though: In the resulting output file, video start is delayed for a few seconds, whereas audio is not, resulting in them being out-of-sync. Can anyone suggest why this is so?

TIA
JimmyBarnes is offline   Reply With Quote
Old 26th June 2017, 13:01   #5  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,674
Try zero latency tuning of x264vfw.
sneaker_ger is offline   Reply With Quote
Old 27th June 2017, 05:02   #6  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 648
Quote:
Originally Posted by sneaker_ger View Post
Try zero latency tuning of x264vfw.
Yes, ZL fixes sync but increases final filesize some 30 % as expected.

Anyway worse comes to worse one could resync manually which is a PITA...

Thanks for yer help
JimmyBarnes is offline   Reply With Quote
Old 27th June 2017, 07:41   #7  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,674
That's why the "File" output mode exists. Basically, you are supposed to use that and then afterwards mux x264vfw's "File" output and the .avi file with the audio (created by TVMW6's "Output File Name") using e.g. mkvmerge.
sneaker_ger 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 01:08.


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