Log in

View Full Version : Use FFMBC to Transcode ProRes422 to h.264


Aegwyn11
22nd March 2012, 00:29
Hi there...looking for a little help from a FFMBC expert. I'm new to it and kind of lost.

I have a clip that is ProRes422 in a MOV container. It is 1080i 29.97, YUV. MediaInfo labels it as ProRes with a format profile of high. The clip also has 8 services of LPCM audio.

I'd like it to end up as h.264 video, 4:2:2, 10-bit (Hi422P). If it can do this, I'd like to tinker with different bitrates too. So first question...can FFMBC encode Hi422P?

I need it to end up in a Mpeg-2 TS and the audios are fine as is...just need them muxed into the final file.

So, assuming FFMBC can do Hi422P, can someone help me get started with the commands necessary to do what I'm looking to do?

Thanks in advance.

Blue_MiSfit
22nd March 2012, 03:13
It certainly should be able to do this - seeing how it uses libx264.

I'm new to ffmbc myself, and am not familiar with the correct syntax; specially how one would translate something as simple as the below into ffmbc:

x264 input.mov --preset faster --tune film --crf 18 --output-csp i422


There are other bits involved like getting the audio channels transcoded / mapped properly.

I'd suggest hopping into #ffmbc on Freenode IRC and asking some questions. The devs are quite friendly!

Derek

smok3
22nd March 2012, 10:21
i'am doing similar with ffmpeg - compiled with 10bit x264, the following example will work for video part:

ffmpeg -i file.mov -pix_fmt yuv422p10le -an -vcodec libx264 -preset medium -tune film -crf 21 -threads 0 "somevideo.ts"

not sure how to go about with audio.

Aegwyn11
22nd March 2012, 18:09
i'am doing similar with ffmpeg - compiled with 10bit x264, the following example will work for video part:

ffmpeg -i file.mov -pix_fmt yuv422p10le -an -vcodec libx264 -preset medium -tune film -crf 21 -threads 0 "somevideo.ts"

not sure how to go about with audio.

When I give this a try (obviously swapping ffmpeg for ffmbc), I get an error:
Incompatible pixel format 'yuv422p10le' for codec 'libx264', auto-selecting form at 'yuv420p'

This would seem to tell me that its converting my 4:2:2 10 bit content to 4:2:0 8 bit. Any ideas on what I'm doing wrong?

Atak_Snajpera
22nd March 2012, 18:17
ffmbc has not been compiled with 10bit libx264

Aegwyn11
22nd March 2012, 21:05
I recompiled x264 for 10-bit, then recompiled FFMBC with that. Now I still get the same incompatible pixel format message as before saying yuv422p10le is incompatible for libx264 and its using yuv420p, but it errors out at the end saying:

[libx264 @ 02da7e00] This build of x264 requires high depth input. Rebuild to support 8-bit input.

Aegwyn11
22nd March 2012, 22:15
Oki, according to the guys on the #ffmbc IRC channel, FFMBC doesn't support it yet, hence why I'm getting the error.