View previous topic :: View next topic |
Author |
Message |
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1709
|
Posted: Wed Dec 07, 2016 7:52 pm Post subject: mencoder AVFrame error |
|
|
I'm trying to convert a series of AVI files to MP4 files. My specific code is (the following is a subset of a script to process all AVI files in a directory):
Code: | mencoder "${inputFile}" -o "${inputFile%.*}.mp4" -oac copy -ovc lavc -lavcopts vcodec=mpeg1video -of mpeg |
However, running this code produces:
Code: | [mpeg1video @ 0x7fbac44f5c00]AVFrame.format is not set
[mpeg1video @ 0x7fbac44f5c00]AVFrame.width or height is not set |
This is repeated constantly until the whole video is complete. The AVI is from a DVD ripped by dvd::rip. Looking for the problem online has so far shown mostly internal (and non dvd::rip) related issues on bugzillas. |
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Wed Jan 25, 2017 7:49 pm Post subject: |
|
|
I'd use ffmpeg to convert them instead.
Also, using MPEG1 for video? I'm curious why.
Code: |
ffmpeg -i source.avi -acodec copy -vcodec mpeg1video testing.mp4
|
_________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1709
|
Posted: Thu Jan 26, 2017 12:13 am Post subject: |
|
|
I'm afraid I can't recall where i found it now. I'm far from even an amateur on working with a/v and came across it somewhere (I'm thinking the code used by dvd::rip, which I've since found to be a fairly antiquated application). I found Handbrake has suited my needs well (though I had to re-rip). I'll keep this in mind for future use, though. Thanks! |
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Thu Jan 26, 2017 6:44 am Post subject: |
|
|
Yeah, HandBrake is great. Let us know if you have any issues there, as well. Have fun. _________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
|
|