Log in

View Full Version : strip mpeg out of avi? (using ffvfw for mpeg)


Mug Funky
30th March 2004, 16:07
hmm... looks like the search wasn't my friend in this instance, but it looks like a question that's probably been answered before, so don't flame :)

when using the latest ffdshow/ffvfw (they're now the same thing evidently), the save-to-mpeg1 option seems broken. so i'm wondering if it's possible to extract mpeg from an avi container, even if vfw is unable to decode it?

[edit]

by the way, i'm currently playing with nic's QuEnc (that guy rocks), which also uses libavcodec for mpeg-2, but i'm liking the huge morass of options that i get from the ffdshow frontend, so i'd prefer to use that for now.

tickey
30th March 2004, 16:37
I think you can do this:
In output
uncheck store frames in avi
check store frames in external file, choose raw frames in box beside it
below it set path+name eg: D:\output.m1v
vdub save as avi, call it dummy.avi.

When done you have 2 files
dummy.avi
output.m1v
six the dummy file and do whatever with your .m1v
I just tested it with a small huffyuv.avi source and I anylysed the output.m1v file with a couple of proggies and both said it was mpeg1.

Mug Funky
30th March 2004, 16:38
ah, okay. i'll try that.

i was under the impression that "store raw frames" would create a new file for each frame (the example cited in the GUI says this).

[edit]

cheers, it works :)

Amnon82
30th March 2004, 17:53
to get a realy raw m1v You must select raw instead of mpg in ffvfw.
If You don't do it then You'll get a MPEG-file with a m1v-extension.