mencoder and ffmpeg ruin videos

Asked by samuel

I am certain I am using the correct commands to convert a .ogv to a .avi, (I am using a script described on OMGUbuntu, and several other ubuntu sites), however, when I use either mencoder or ffmpeg to convert, random grey and black squares get added to my video.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ffmpeg Edit question
Assignee:
No assignee Edit question
Solved by:
samuel
Solved:
Last query:
Last reply:
Revision history for this message
samuel (samuel-h) said :
#1

edit, the ogv's are ones recorded using gtk-recordMyDesktop, and the squares don't move relative to the windows they are on in the video, IE if there was a grey square at the center of nautilus, even when nautilus is moved in the recording, the square remains in the center of the window.

Revision history for this message
samuel (samuel-h) said :
#2

edit, the thing about them staying with the window is not completely true, they do morph and change to different combinations of squares making different shapes, however they stay in roughly the same place.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What are you converting, from-to?

Revision history for this message
samuel (samuel-h) said :
#4

Ogv to avi, sorry I forgot to say

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Yes you should. Details are useful.....

tried:

mencoder "$1" -o $filename.avi -oac mp3lame -lameopts fast:preset=standard -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000

or

mencoder -idx input.ogv -ovc lavc -oac mp3lame -o output.avi

or

ffmpeg -i input.ogv output.avi

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

or

ffmpeg -sameq -i /home/xxxx/x.ogv /home/xxx/x.avi

Revision history for this message
samuel (samuel-h) said :
#7

yes, those are all the commands I have tried, they all give the same result

Revision history for this message
samuel (samuel-h) said :
#8

Oh well, turns out conversion isn't nesscary, despite what everyone says, I just tried uploading an ogv and it worked fine.

Revision history for this message
samuel (samuel-h) said :
#9

forgot to say, thanks for the help