serpentine_bull
October 4th, 2008, 11:36 PM
after about a week of trying to burn through countless man files and forum posts, i'm ready to smash things. lots of things.
I've set up a dlna server using Ushare, which works beautifully with mpeg files, but refuses to play avi files (on my ps3, which doesn't support avi files) naturally, i hit google and looked for a conversion tool. FFmpeg will convert files, but the resolution is terrible and the audio loses sync after about 15 minutes. The videos i'm trying to convert are encoded in xvid video and mp3 audio; I compiled ffmpeg with xvid support and mp3lame support. Avidemux and mencoder are more difficult to find decent conversion commands for. is there some awesome program that I'm missing, or is failure to convert avi to mpeg under linux with reasonable ease just another reason i should give up, hate life, and use windows?
I know, since i'm all about linux, i'm supposed to be calm, collected, cool, and able to solve problems with a relentless observation/evaluation/method_adaptation/repeat method, but at this point i just want to smash things.
here's my ffmpeg command:
ffmpeg -i x.avi -ab 128k -s 1280x1024 x.mpg
(the source file has a 139 audio bitrate, the same audio sampling rate as ffmpeg defaults to, and the resolution is retarded low at 512x384. all the same, video is sketchy at 1280x1024)
the mencoder command
mencoder x.avi -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_options -o output.mpg
(returns error
videocodec: libavcodec (512x384 fourcc=3167706d [mpg1])
[mpeg1video @ 0x8814710]MPEG1/2 does not support 2997/125 fps
Could not open codec.
FATAL: Cannot initialize video driver.)
mencoder was installed via apt-get, ffmpeg was custom installed from the source. Should I ./configure mencoder with additional codec support? hammer through avidemux and try to figure out something there? smash more things? My problem solving skills are exhausted.....(except for smashing things, of course.)
I've set up a dlna server using Ushare, which works beautifully with mpeg files, but refuses to play avi files (on my ps3, which doesn't support avi files) naturally, i hit google and looked for a conversion tool. FFmpeg will convert files, but the resolution is terrible and the audio loses sync after about 15 minutes. The videos i'm trying to convert are encoded in xvid video and mp3 audio; I compiled ffmpeg with xvid support and mp3lame support. Avidemux and mencoder are more difficult to find decent conversion commands for. is there some awesome program that I'm missing, or is failure to convert avi to mpeg under linux with reasonable ease just another reason i should give up, hate life, and use windows?
I know, since i'm all about linux, i'm supposed to be calm, collected, cool, and able to solve problems with a relentless observation/evaluation/method_adaptation/repeat method, but at this point i just want to smash things.
here's my ffmpeg command:
ffmpeg -i x.avi -ab 128k -s 1280x1024 x.mpg
(the source file has a 139 audio bitrate, the same audio sampling rate as ffmpeg defaults to, and the resolution is retarded low at 512x384. all the same, video is sketchy at 1280x1024)
the mencoder command
mencoder x.avi -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_options -o output.mpg
(returns error
videocodec: libavcodec (512x384 fourcc=3167706d [mpg1])
[mpeg1video @ 0x8814710]MPEG1/2 does not support 2997/125 fps
Could not open codec.
FATAL: Cannot initialize video driver.)
mencoder was installed via apt-get, ffmpeg was custom installed from the source. Should I ./configure mencoder with additional codec support? hammer through avidemux and try to figure out something there? smash more things? My problem solving skills are exhausted.....(except for smashing things, of course.)