Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Codec Discussion > Libjpeg-turbo/turbojpeg Support


Posted by: zcream Dec 17 2013, 06:06 AM
Has anyone tried to include libjpeg-turbo/TurboJPEG support within virtualdub ?
I want to record 2x streams of 3K video in realtime - and this seems like a good candidate.

Posted by: raffriff42 Jan 27 2014, 03:33 AM
Hi zcream, this library sounds interesting - although compiled-in support for it in VirtualDub is unlikely to happen. Someone would have to create a Video for Windows wrapper - that writes AVI files, since libjeg-turbo only writes images. The JPEG images *should* be muxable into an MJPEG AVI stream.

If external encoders become available in capture mode, there might be a way to use the command line cjpeg.exe:
CODE
Virtualdub.exe > BMP sequence > cjpeg.exe > JPEG sequence > ffmpeg.exe: mux to MJPEG AVI


But wait - why not try doing everything with command line tools? http://www.ffmpeg.org/ffmpeg-devices.html#Examples-8:
CODE
device > ffmpeg.exe: capture > BMP sequence on RAMdisk  > cjpeg.exe > JPEG sequence > ffmpeg.exe: mux to MJPEG AVI


However moving all that data between processes might be slow; it might be faster to do everything with ffmpeg:
CODE
device > ffmpeg.exe: capture & write AVI
(for max speed you may want some other codec such as FFvHuff)

...just thinking out loud here...

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)