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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd July 2011, 22:23   #1  |  Link
cppc
Registered User
 
Join Date: Jun 2011
Posts: 1
Convert yuv video to png images losslessly

Hi all,

I use ffmpeg to convert yuv (420) video to images using this command:

ffmpeg -f rawvideo -s size -i input.yuv -f image2 -vcodec png img%03d.png

It works, but my question is: is this lossless? Thanks
cppc is offline   Reply With Quote
Old 22nd July 2011, 22:34   #2  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 957
It is in the sense that png only uses lossless compression, but because a YUV->RGB conversion is needed, you probably can't get the exact YUV video back again.
__________________
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
Reply


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 06:42.


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