If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Encode to the same specs (video res, framerate, audio sample rate, etc.). Join using say VirtualDubMod, then remux your subs, chapters, etc. using divxmux since I guess they would be lost. Not sure if there is any specific .divx appending app. If you have menus, then that would complicate things further.
Or u can use some editing software like Ulead Video Studio.Drag ur JPEG & AVI to the timeline and place them where u want.Then produce ur final file.However,this will reencode ur AVI.
DivX is an extension to avi, allowing for subs, tags, chapters, menus, etc. If it is a divx file, then it must use some/all of those features or it wouldn't be a divx file, it would be an avi file.
@Frank,the second reply made more sense to u bcos the person making the first reply is way more knowledgable than simple mortals like u & me.But just stay a while in this fantastic forum and u will gradually get a hang of some of the things that Celtic say.He is one of the most learned people regarding digital video stuff.
@Celtic,though it may cause u some annoyance bcos of our ignorance,plz explain how to encode the JPEG to AVI(at same sample rate,fps etc.).
Well the first thing you need to do is get the specs for the original avi, using GSpot, VDub, MediaInfo, MPEG4Modifier, etc. Then you just need to match them. I would recommend AVISynth, you can load the jpg, resize, crop, loop, add blank audio, etc.
To help you get started.
ImageSource("image.jpg", end=250, fps=25)
#This loads the image and repeats 250 times, so 10secs if you are joining with PAL.
converttoYV12()
#converts to YV12 colourspace. You would need to do this after resizing if your image is say an odd pixel dimension.
lanczosresize(640,480)
Plenty of other options like fadein/out. You could also generate the audio using say tone(type="silence").
Last edited by celtic_druid; 3 Feb 2006, 12:09 AM.
Thnx Celtic.But AVISynth is a command line editor,slightly difficult for beginners.Is there a GUI where it can b done?Can it b done in Virtualdub without first creating the .avs file?
Well VDubMod can read jpg's, don't know about duplicating to achieve more than 1 frame length, also it can't generate audio or do fades.
AVISynth comes with docs which explain internal filters, plus basic usage. It is hard to use to write really complex stuff, but for a simple script it is easy enough.
Yes.I was going to edit my post.But u have already corrected me.Thnx again.One question though Celtic.After the first script(about image source, frames,fps) can't I load it in Virtualdub and proceed with rest of the parameters?As u said ,VDub's only problem seems to be not being able to load more than 1 frame of image.
Well,to answer my own question ,I have done it.I produced an AVI with music from a JPEG .I only wrote the first script as told by Celtic.Rest I did in Virtualdub.I think it is easier in Virtualdubmod.
Comment