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.

 
Save Video In Jpg File..., Save video in jpg file...
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
gboudro
Posted: Dec 17 2002, 01:37 PM


Unregistered









Is there a way to save a sequence of pictures in JPG?

I know I can save it in BMP...

Thanks
 
  Top
fccHandler
Posted: Dec 17 2002, 05:59 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



It can't be done with VirtualDub, and it's not a good idea anyway since JPEG is a lossy format.

--------------------
May the FOURCC be with you...
 
     Top
gboudro
Posted: Dec 17 2002, 06:18 PM


Unregistered









Thanks
 
  Top
Morsa
Posted: Dec 17 2002, 07:24 PM


Moderator of the Vdub support board


Group: Moderators
Posts: 640
Member No.: 246
Joined: 9-September 02



There are many tools out there that lets you covert a whole directory of i ages to the format you want.Make yor search!
BTW , you can use Vdubmod to save PNG sequences.They need less space, and aren't lossy.
 
     Top
S_O
Posted: Dec 17 2002, 10:09 PM


Vdubmod Alpha Testing Team


Group: Vdubmod Alpha Testing Team
Posts: 102
Member No.: 57
Joined: 25-July 02



Can it be done the other way round? Several times I tried to load a set of JPEG-files, but I had to convert them to bmp before.
I know VirtualDub has an internal MJPEG-Decoder, so why could these decoder not also decode several JPEG-files? It would be great if VirtualDub could lossless convert these jpeg-image-sequence to a MJPEG-stream. Or is that to difficult?
 
     Top
phaeron
Posted: Dec 18 2002, 12:37 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Motion JPEG, or rather, MJPEG in AVI, is a subset of JPEG -- in particular, the Huffman tables for MJPEG are fixed and thus omitted from the frames. You can convert an MJPEG field image to a baseline JPEG, but not the other way around.
 
    Top
S_O
Posted: Dec 18 2002, 12:53 PM


Vdubmod Alpha Testing Team


Group: Vdubmod Alpha Testing Team
Posts: 102
Member No.: 57
Joined: 25-July 02



QUOTE
Motion JPEG, or rather, MJPEG in AVI, is a subset of JPEG -- in particular, the Huffman tables for MJPEG are fixed and thus omitted from the frames. You can convert an MJPEG field image to a baseline JPEG, but not the other way around.

Huffman is lossless compression, so it could be decompressed and recompressed lossless? The file may be bigger with a non-optimized table, but there is no loss and it should be possible.

Edit: I have some files which are looking like JPEG, but my picture-viewer (irfanview) gives me an error message like "Bogus Huffman table definition", "Bogus Marker length", "JPEG Datastream contains no image" or "Unsupported JPEG process: SOF type 0xc7". Other program just say it´s not a valid file, but what does that exactly mean?

 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
6 replies since Dec 17 2002, 01:37 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum