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 5th August 2011, 07:47   #1  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Can x264 output a (reusable for AviSynth) uncompressed stream?

Is there a way to have x264 output a truly uncompressed stream that can be used again in AviSynth?

I need to do a 2-pass job, in which I first do the upper half (540p, with some overlap), and then the lower half of the movie. For that I need to output both streams to an uncompressed format first, so I can use a second AviSynth pass for (compressed) x264, in which I concatenate the two uncompressed output streams.

Thanks.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 5th August 2011, 09:16   #2  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Use avs2yuv or VirtualDub for uncompressed output. Or encode losslessly (--qp 0) with x264 to save disk space.
nm is offline   Reply With Quote
Old 5th August 2011, 10:48   #3  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by nm View Post
Use avs2yuv or VirtualDub for uncompressed output. Or encode losslessly (--qp 0) with x264 to save disk space.
Thanks!

I tried --qp 0, but I'm getting a steam that's unusable: tsMuxeR can convert it to m2ts, but eac3to can't turn it into an mkv (if I don't do the latter, FFVideoSource tells me the input stream isn't cut on packet boundaries). And both streams are entirely black on playback. :(
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 5th August 2011, 11:25   #4  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 957
If you want an mkv, make x264 output an mkv.
__________________
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.
J_Darnley is offline   Reply With Quote
Old 5th August 2011, 12:31   #5  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by J_Darnley View Post
If you want an mkv, make x264 output an mkv.
Doh on me

That worked flawlessly, btw. Even though Windows 7 doesn't seem to be able to playback the resultant lossless streams natively, it doesn't matter: x264 itself can handle the streams for input just fine. As a result, I now have a flawlessly denoised full movie!

Thanks for all your help, guys!
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 5th August 2011, 12:53   #6  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Lossless H.264, as implemneted in x264, uses Predictive Lossless Coding, which requires a H.264 decoder capable of the "High 4:4:4" profile

The Microsoft decoder doesn't support that profile, I guess. But libavcodec (ffdshow, FFmpegSource, etc) does! CoreAVC does too, if that matters for you.

So not really a problem, as "lossless" video is usually used for intermediate storage, which means you can simply use a supported decoder for your work.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 5th August 2011 at 12:59.
LoRd_MuldeR 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 14:29.


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