Log in

View Full Version : yuv to x264


Dave1024
3rd April 2012, 18:34
Hi,

I had a yuv 420 file with 720x480 resolution. I would like to encode this file fully to 264 without loss of quality. I would also like to attach different SEI messages in my output bitstream.

can help me to suggest ffmpeg setting for my requirement.

Thanks
Dave

LoRd_MuldeR
3rd April 2012, 21:50
Use the x264 CLI encoder with:
x264.exe -cq 0 -o "C:\Some Folder\encoded.264" "C:\Some Folder\input.720x480.yuv"

Dave1024
10th April 2012, 18:59
Hi,

I am able to encode using x264 encoder, but i still don't know how i will pack different SEI messages in the compressed bit stream?. Is it possible to encode SEI using this encoder ? please help

Thanks
Dave

nm
10th April 2012, 19:11
I am able to encode using x264 encoder, but i still don't know how i will pack different SEI messages in the compressed bit stream?

What SEI messages do you want to write there? Something from the source stream or messages that you generate yourself? How do you create them and what do they contain?

LoRd_MuldeR
10th April 2012, 19:15
I don't think the x264 command-line front-end is able to add any user-defined SEI messages. It is possible, if you write your own application that makes use of the x264 API (libx264).

Groucho2004
10th April 2012, 21:51
Use the x264 CLI encoder with:
x264.exe -cq 0 -o "C:\Some Folder\encoded.264" "C:\Some Folder\input.720x480.yuv"

Huh? Do you mean "-qp 0"?

LoRd_MuldeR
10th April 2012, 22:04
Huh? Do you mean "-qp 0"?

Yes :)