Log in

View Full Version : M2V -> BMP sequence -> Edit BMP files -> M2V again


drako
19th March 2005, 09:21
Hello people,

I would like split my M2V file into a sequence of BMP images, modify the images and then reconvert back to M2V again. Please advise me on how to do it.

The movie it's not too long, around 30 secs to 1 min.

Any way to do it without losing quality ?

Thanks in advance...

M7S
19th March 2005, 10:48
You will always loose some quality when reencoding but it mustn't be that much. Here's how to do it.

Programs needed:
DGIndex
Avisynth
Any encoder that can read .avs files.

Open our file with DGIndex and the save project.

Make an .avs file that looks like this.

mpeg2source("your_file_here.d2v")
ImageWriter("your_folder_here","bmp")

Load your avsfile into a player of your choise and play the clip.You will now have a folder with at least 750 pictures to edit. Have fun :)

Now make a .avs file
Imagesource("your_folder_here\%000001d.bmp",end=number_of_your_last_picture,fps=25_or_29.97)

If your avisynth version is 2.55 or older use your .avs file should look like this instead:
Imagereader("your_folder_here\%000001d.bmp",end=number_of_your_last_picture,fps=25)
Or if you live in a NTSC-land and use avisynth 2.55 or older
Imagereader("your_folder_here\%000001d.bmp",end=number_of_your_last_picture)
AssumeFPS(29.97)

Load your avs file into your encoder and encode. Good luck.


What do you plan to do? In some cases there might be smarter things to do than change every picture by hand.

Regards,
M7S

drako
19th March 2005, 13:34
Thanks 4 the input...

Just what I needed...

Perfect... Thanks again...


What I am trying to accomplish is that I want to completely erase an option from a motion menu.

I have a motion menu that displays 3 languages to choose from (English, Spanish and Chinese). I want to erase completely the chinese option from that menu, so it only displays the English and Spanish option.

What I am going to do is, take every image and batch process it and then put them all back together again...

If there is an easier way to do it, I'll be happy to hear about it...

Thanks again 4 your help...

M7S
20th March 2005, 12:01
Search on the avisynth forum for dekafka logoremover. Buttons can be removed the same ways as logos ;). I have done it a couple of times. But maybe batch processing is just as easy?

IronmonkY
10th January 2007, 05:34
Okay guys, I have been looking all over, tried alot of diffrent things but can't seem to get a m2v file out of my bmp's <-- notice the 's. Thats right, I got lots of bmp's I want to turn into a m2v file but so far without any luck, can someone explain to me how to make a m2v file out of ALOT of bmp's?

Thanks in advanced

Mtz
10th January 2007, 09:09
Why don't you make a one frame (still) menu? Save as BMP from VobBlanker, edit it, and then reimport (replace) the bmp edited by you. All this in 10 minutes.

enjoy,
Mtz

IronmonkY
10th January 2007, 15:54
Why don't you make a one frame (still) menu? Save as BMP from VobBlanker, edit it, and then reimport (replace) the bmp edited by you. All this in 10 minutes.

enjoy,
Mtz

Sure I can make a still image easy, but I really want to make an reencoded video menu, so there is movement. Thats what I am trying to do :-)

I just need to convert these images to m2v. Maybe I will just make them to an avi and then maybe convert from there, but I don't know how big a quality loss there will be