How best to compress a yuv420p image to a common picture format?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Please forgive the broad mailing.  I am using a modified ffmpeg (I pulled in 
motion detection stuff from the motion project, and insert text into the 
image before compression) to read 30 fps from a v4l device (bt878) and render 
to MPEG.  The chip is initialized in yuv420p format, which is what the mpeg 
encoder wants to see so the real-time encoding process can keep up with the 
frame rate (i.e., no conversions).  However, I need to periodically (once or 
twice per second) create a snapshot and save it as a commonly recognizable 
compressed file format such as jpeg.  I am trying hard to avoid the rather 
expensive yuv->rgb conversions.  Can anyone recommend a compressed output 
file format (such as jpeg) that most browsers can recognize & decode, and if 
it is possible to create it from a yuv420p image (without the compressor 
converting to rgb first)?  Thanks!

Joe Briggs





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux