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 2nd March 2013, 14:05   #1  |  Link
pokazene_maslo
Registered User
 
Join Date: Apr 2009
Location: Martin, Slovakia
Posts: 79
encoding prores 4:2:2 10bit with lav input

Hi.

I'm encoding prores file and i don't know which input color space and level should be selected.
input file info by mediainfo:
Code:
Format                                   : ProRes
Format version                           : Version 0
Codec ID                                 : apcn
Duration                                 : 5mn 52s
Bit rate mode                            : Variable
Bit rate                                 : 58.3 Mbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 2.530
Stream size                              : 2.39 GiB (89%)
Title                                    : Core Media Video
Writing library                          : Apple
Encoded date                             : UTC 2012-10-19 21:39:27
Tagged date                              : UTC 2012-10-19 21:45:27
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Do i have to setup lav decoder somehow?
my encoding parameters are so far like this:
x264.exe --qp 0 --preset placebo --profile high422 --level 3.1 --ref 5 --merange 32 --output-csp i422 --demuxer lavf
any suggestions?

Thanks
pokazene_maslo is offline   Reply With Quote
Old 2nd March 2013, 17:40   #2  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 959
Quote:
Originally Posted by pokazene_maslo View Post
Hi.

I'm encoding prores file and i don't know which input color space and level should be selected.
You shouldn't need to "select" one. The decoder can see what colourspace the prores file has.
__________________
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.

Last edited by J_Darnley; 2nd March 2013 at 22:48.
J_Darnley is offline   Reply With Quote
Old 2nd March 2013, 18:00   #3  |  Link
pokazene_maslo
Registered User
 
Join Date: Apr 2009
Location: Martin, Slovakia
Posts: 79
Could you please be more specific? Where can I find what color space decoder sees?
pokazene_maslo is offline   Reply With Quote
Old 2nd March 2013, 22:48   #4  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 959
Sorry I made a typo in my post (soon to be edited). I meant to write: "you shouldn't need..."

You shouldn't need to do anything. Set the output options to get the kind of stream you want and forget about the input. x264 will take care of transforming the input into what you asked for. Why do you want to know what the input is? If it is just for you own curiosity, Mediainfo just told you: yuv422.
__________________
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 14th July 2017, 10:53   #5  |  Link
P.J
🎸
 
Join Date: Jun 2008
Posts: 513
I had similar question too, anyway to know the right bit depth of a prores video?
P.J is offline   Reply With Quote
Old 14th July 2017, 12:47   #6  |  Link
dipje
Registered User
 
Join Date: Oct 2014
Posts: 270
prores (decoded by LAV anyway) is always 10 bit. And it's either 4:2:2 or 4:4:4. Prores files I've found in the field were always bt709 / tv-range (limited-range).

The question to ask is where you want to preserve the 10bit-nature or (maybe more importantly) do you want to preserve the 4:2:2 or 4:4:4 nature, or do you want to create 'a regular normal h264 file' (which I describe as 4:2:0 8bit bt709 / tv-range)
dipje 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 09:24.


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