I think I and jagabo are saying the same thing
question is - what's in the buffer? A HxW array of Y values then a HxW/4 array of U then V then repeat?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 61 to 90 of 160
Thread
-
-
Originally Posted by rallymax
<edit> Oops, no, it's Y then V then U.
http://www.fourcc.org/yuv.php#YV12
</edit> -
and one last question. YUV12 is unsigned 8 bit right?
ie: BT.601 is 0...255 and BT.709 is 16...235 -
Originally Posted by rallymax
For interlaced YV12 the the first row of U and V values applies to the first and third row of Y values, the second row of U and V values applies to the second and fourth row of Y values. Etc. I believe technically, YV12 is always progressive and that interlaced YV12 should have a different fourcc. But as far as I can tell, no software does this. -
ah. good to know. I was going to ignore the interlace for now but I can design the converter to cater for it now I know it is x+1 for progressive and x+2 for interlace.
-
Hi all. a quick update to say I'm making progress. Rgb to yv12 was hard to get right but I think I have it now. Anyhow I hope to get more done this weekend.
-
Hey rallymax, the libx264 API is changing somewhat:
x264 official announcement: major API change
Not sure if it'll affect you much, but do take note. -
thx for the note.
I've been trying to work on it but I'm slammed with work and a newborn so I'm running out of time.
But it is getting close -
just a note to say that this isn't forgotten - just on a little pause.
I've also been talking to an Adobe engineer and am changing the plugin from being a "custom compiler" to the new "encoder" plugin that plugs into Adobe Media Encoder. That way x264 rendering will work for Premiere, After Effects and in Media Encoder for transcoding. More importantly - it will work in CS4 since the "custom compiler" type has been end of lifed (so it would have only worked in versions 2.0 to cs3). -
Hi all,
I have some good news! I have the dialog box working and am in the process of pushing frames to the x264 encoder. One quick little question... Has there been any major or significant changes since the slice support was added that I should be aware of? -
Heya rallymax. They've put a feature called weighted p-prediction into x264, so there's a new 'weightp' argument now. It's on (=1) by default, I believe, but I don't know if that's the case for libx264. It apparently isn't compatible with Apple TV and possibly other decoders. They've also gotten b-pyramid working with mb-tree (it wasn't before). I don't really know how these recent changes affect your project, since you're dealing with the API.
MeGUI has become problematic as a project partly because it was hard to keep up with the rapid changes in x264's options. That's the trouble with dialogue boxes that attempt to present every possible option. I don't know if you'll face the same trouble, but to make it easier to maintain, I suggest focusing on the main profiles, presets and tunings instead of offering all possible options (if you aren't already doing that).
Good luck. -
good to know.
I'm trying to not get distracted by playing with the window too much. the real challenge right now is good RGBA444 to YUV12 and then getting the "GetFrame" from Adobe to play nice with the x264 "p_read_frame".
Once that's working I can start to nice-up the window.
'fortunately it was easier to "borrow" heavily from the command line parser. eg if you choose the tuning drop down box to be "film" it passes the equivalent command line argument to command line parser. It made it so that I didn't have to keep up with the lib changes since the command line gui code is just one file (x264.c + libx264.a = x264.exe) and presumably that is still working with each new feature. All I have to do is keep up with the changing the window to match what's possible on the command line.
anyhow, it's close and I'm working on getting result instead of making it sexy right now. -
I have created my first output from Premiere!
lots of small things to clean up but it works! -
Sounds interesting. Look forward to the CS4 plugin.
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Hi guys,
sometime last year I came across a tool that would give me the info about the container and it's streams. I can't find that post anywhere. Does anyone know what that tool is? I'm trying to work out what has gone wrong with my mpegts and m2v outputs. -
Thx for that.
Can someone have a look at this attached file and tell me what's wrong with it.
It's playing fine (we except that the image is falling apart - presumably because the datarate is too low) on the PC I'm developing on but isn't working on my Windows 7 Ultimate laptop (which has Micrsoft's bundled H.264 decoder).
The development machine is decoding using Main Concept's H.264 decoder (I think).
myoutput.m2v -
Originally Posted by jagabo
pls explain.
Premiere gives out BGRA8:8:8:8 in BT601.
I'm yet to find a library that will change BT601 to BT709 so it's the same for now.
is that why the black is "off" -
Originally Posted by poisondeathray
Also what is the standard PCM? There are dozens in the list to choose from.
little endian 16bit unsigned?
other... -
better - especially the datarate.... (using "m4v" output format)..... but can't hear the AC3 tone sweep.
can any of you?
myoutput.mp4 -
I can hear it. You need a splitter that supports AC3 audio in .mp4 container. This was added to .mp4 spec about a year ago. You can use MPCHC or KMplayer for example. AC3 is completely compliant in .mp4, but some old software still have not been updated to the new specs.
I'm not sure what the standard PCM is, there are small differences between platforms, like MAC vs. PC prefer small variations, big vs. small endian etc.. a lot of it has to do with just the order of bytes. My understanting is that they are all basically the same thing besides order, and can be losslessly converted. http://wiki.multimedia.cx/index.php?title=PCM
Standard containers for h.264 video are transport streams (.e.g .m2ts, .ts, .mts) , .mp4, .mkv, .flv. x264 internally supports .mkv, .mp4, .flv muxing , although a lot of 3rd party tools use other muxers -
well, I found some other color charts online. that Macbeth one wasn't helping since it's borders are grey not black. but it did help me get a basic frame out.
So anyhow this video is using pictures from here http://tirnanog.fate.jp/tmp/sample/ITU-R/
The first 2 seconds is 1080_arcb_pcscale.png which I think is BT709. The next is 1080_arcb_tvscale.png for 2 seconds then a grade. Since all the black is washed out in the second I'm thinking that the tvscale.png is BT601 and is coming out of Adobe as BT601 but needs to be colorspace converted before it's encoded.
What do you think?
Anyhow, it looks good, but I'm not sure if it's colorspace correct "great".
'lots of gui tweaks to do yet, most of the parameters are hard coded right now.
Can you play this file and hear the AC3 tone sweep? I still can't hear it but can see the video.
myoutput2.mp4 -
Originally Posted by poisondeathray
Similar Threads
-
How to have Adobe Flash Encoder CS3 accept x264 AVIs
By Gargalash in forum Video ConversionReplies: 10Last Post: 23rd Aug 2010, 22:19 -
Adobe Premiere H.264 Encoding
By Priapism in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 70Last Post: 27th Aug 2009, 02:24 -
Adobe Premiere 1.5: Adobe Media Encoder: Frame size and scaling?
By vid83 in forum EditingReplies: 2Last Post: 30th Nov 2008, 03:17 -
Raw .264 as input for x264-encoder
By e_i_s_t in forum Blu-ray RippingReplies: 0Last Post: 11th Nov 2008, 04:27 -
MainConcept H.264 Encoder Error
By cowboysroy31 in forum Newbie / General discussionsReplies: 0Last Post: 22nd Jun 2007, 19:06