Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Libjpeg-turbo/turbojpeg Support
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
zcream
Posted: Dec 17 2013, 06:06 AM


Member


Group: Members
Posts: 17
Member No.: 22447
Joined: 17-November 07



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.
 
     Top
raffriff42
Posted: Jan 27 2014, 03:33 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



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? FFmpeg supports device capture:
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...
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
1 replies since Dec 17 2013, 06:06 AM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion