LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   avi to mpg conversion (https://www.linuxquestions.org/questions/linux-software-2/avi-to-mpg-conversion-299033/)

Seifer 03-08-2005 03:46 AM

avi to mpg conversion
 
when i try to convert avi to mpg, after running this line:
$ lav2yuv +p foo.avi | yuvdenoise | yuvmedianfilter | mpeg2enc -B 35 -f 0 -q 5 -b 320 -a 1 -o foo.m1v

there are alot of failure in decoding of frames:
INFO: [mpeg2enc] Frame end 2586 P quant=4.00 total act=163236.00000
INFO: [mpeg2enc] Frame end 2587 P quant=4.00 total act=163248.00000
INFO: [yuvmedianfilter] frames=2588 avg=1169486144
INFO: [mpeg2enc] Signaling last frame = 2587
INFO: [mpeg2enc] Frame end 2588 P quant=4.00 total act=163260.00000
INFO: [mpeg2enc] Guesstimated final muxed size = 2174519

[itsox01@x01 itsox01]$ ++ WARN: [lav2yuv] Decoding of Frame 2587 failed
bash: ++: command not found
[itsox01@x01 itsox01]$ INFO: [mpeg2enc] Frame end 2586 P quant=4.00 total act
=163236.00000
bash: INFO:: command not found
[itsox01@x01 itsox01]$ INFO: [mpeg2enc] Frame end 2587 P quant=4.00 total act
=163248.00000
bash: INFO:: command not found
[itsox01@x01 itsox01]$ INFO: [yuvmedianfilter] frames=2588 avg=1169486144
bash: INFO:: command not found
[itsox01@x01 itsox01]$ INFO: [mpeg2enc] Signaling last frame = 2587
bash: INFO:: command not found
[itsox01@x01 itsox01]$ INFO: [mpeg2enc] Frame end 2588 P quant=4.00 total act
=163260.00000
bash: INFO:: command not found
[itsox01@x01 itsox01]$ INFO: [mpeg2enc] Guesstimated final muxed size = 21745
19
bash: INFO:: command not found

The m1v output i had only gave mi a green screen instead of what should be showing.
anyone know what could be the problem and any possible solution?
thanx in advance

scuzzman 03-08-2005 03:54 AM

Quote:

MEncoder
A decent media player is one of the prerequisites of a good desktop. Sometimes you may want more than that. For example, you may have backed up the hard-to-watch Robotech series to the .rm format, but now you would like to watch it on your vcd player. MPlayer also has a solution for this: it can crosscode nearly all media files. If you have compiled the MPlayer package, MEncoder is also present.
http://www.linuxdevcenter.com/pub/a/...6/mplayer.html

Seifer 03-08-2005 09:23 PM

oh ya, i forgot to add that when converting, it suppose to compress the avi file to a smaller mpg file.


All times are GMT -5. The time now is 01:49 PM.