lossless realtime video capturing codec, take 2
please also reply directly to me as I'm not subscribed to this list. Michel, you forgot to apply a lossless codec, such as huffyuv or ffv1, with ffv1 I can get 20000MByte/hour which makes ~5.5MByte/sec (or ~1:18 compression on raw RGB frames), but that's still too much. I think I'll have to rescale the frames.. :( My harddrive should be able to handle this, but not the network. My cache size is 1MByte. tom
Tomas Carnecky wrote:
please also reply directly to me as I'm not subscribed to this list.
Michel, you forgot to apply a lossless codec, such as huffyuv or ffv1, with ffv1 I can get 20000MByte/hour which makes ~5.5MByte/sec (or ~1:18 compression on raw RGB frames), but that's still too much. I think I'll have to rescale the frames.. :(
Yes. But remember that if you downsize frames, the lossless compression ratio will go down.
My harddrive should be able to handle this,
Just dont forget to call sync(2) often. Otherwise there will be bursts of HD activity and they will almost certainly cause you to miss frames.
but not the network.
I'm not sure you wont miss some frames because the HD or the network will be in contention with the grabber for the PCI bus.
My cache size is 1MByte.
That should be enough... after downsizing.
tom
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
Michel Bardiaux wrote:
My harddrive should be able to handle this,
Just dont forget to call sync(2) often. Otherwise there will be bursts of HD activity and they will almost certainly cause you to miss frames.
Thanks for this tip.
but not the network.
I'm not sure you wont miss some frames because the HD or the network will be in contention with the grabber for the PCI bus.
The graphic card is on a PCI-Express bus, this frame capturing is why I bought a new PC ;) I'm wondering how fraps saves the frames. From what I've seen FPS1 v1 and v2 is just uncompressed RGB and YUV frames, and that's for sure too much for even the HD if you capture at full resolution... that would make ~50MByte/s for YV12. OTOH which compression codec do they use if their software can capture at half-size 1280x1024 and 20fps in realtime without interfering with the game? tom
Tomas carnecky wrote:
Michel Bardiaux wrote:
My harddrive should be able to handle this,
Just dont forget to call sync(2) often. Otherwise there will be bursts of HD activity and they will almost certainly cause you to miss frames.
Thanks for this tip.
but not the network.
I'm not sure you wont miss some frames because the HD or the network will be in contention with the grabber for the PCI bus.
The graphic card is on a PCI-Express bus, this frame capturing is why I bought a new PC ;)
I'm wondering how fraps saves the frames. From what I've seen FPS1 v1 and v2 is just uncompressed RGB and YUV frames, and that's for sure too much for even the HD if you capture at full resolution... that would make ~50MByte/s for YV12. OTOH which compression codec do they use if their software can capture at half-size 1280x1024 and 20fps in realtime without interfering with the game?
Could you describe what you call YV12 precisely? I do the math as 1280x1024x20x1.5=39MB/sec for YUV420P, which is 1 luma byte per pixel and 2 chroma bytes for every 2x2 cell of pixels. At half-size that would be 9.8MB/sec, which sounds reasonable. But what is 'their software' capturing? I dont know fraps... but capturing frames from a display would be a different animal altogether w.r.t. capturing from a TV card.
tom
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
participants (2)
-
mbardiaux@mediaxim.be -
tom@dbservice.com