Video Compression > New and Alternative Video Codecs
YUV streams from a Sony DFW-v500
(1/1)
openfly:
I just got my hands on a Sony DFW-v500. This is a Firewire A CCD camera. It's older but pretty badass.
Working under Ubuntu Natty ( Linux ).
I've accessed the camera controls via Coriander. And from there I can pull camera video to digital in 2 ways... one direct capture to raw file. Or I can setup a v4l2 loopback.
Now the issue I have is that the format modes this camera support are:
YUV 4:4:4 @ 160x120
YUV 4:2:2 @ 320x240
YUV 4:1:1 @ 640x480
YUV 4:2:2 @ 640x480
Mono 8 bpp @ 640x480
With FPS rates of 3.75 7.5 15 and 30
From what I can gather nothing i want to use can do anything with that format over the v4l2 loopback directly.
I need to convert the format to something that streaming apps can deal with. I assume that means transcoding the YUV feed. I am just curious what people would recommend for this?
ffmpeg from one v4l2 loopback to another v4l2 loopback?
Heck I'd love to know how to convert the raw video files to something else...
I've tried:
ffmpeg -f rawvideo -s 640x480 -pix_fmt uyvy422 -i test.raw -pix_fmt yuv420p -f yuv4mpegpipe - | x264 --demuxer y4m - -o output.264
But the video that comes out of that is messed up. Green tiled and horribly distorted.
Does anyone have any documentation ( links / caveats / angry name calling ) that would assist me in this effort?
Thanks for reading if you got this far. You didn't have to do that. But you did, and you'll never get those wasted seconds back ever again.
Navigation
[0] Message Index
Go to full version