You are not logged in.

#1 2010-09-03 16:35:52

behemothy
Member
Registered: 2010-09-03
Posts: 6

Convert video with mencoder for PSP

Hello. I want to convert video for PSP with a mencoder's command line interface. What options I have to use?

The parameters of output file must be: AVC; mp4 container; mp3 or aac; 480x272 resolution.
Example, I have a input file: x264; aac; 1280x720; mp4 container.

I try:

mencoder movie.mp4 -ovc lavc -oac lavc -vf scale=480:-3 -o hotd.mp4

But I have:

[mpeg4 @ 0x9fbf3a0] timebase not supported by mpeg 4 standard
Could not open codec.
FATAL: Cannot initialize video driver.

Exiting...

How the command line should look? And is it possible to copy audio-stream (don't convert. "-aoc copy" don't work) and make hard subtitles from .ass file?

Thank you and sorry for my bad English.

Offline

#2 2010-09-03 18:15:07

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Convert video with mencoder for PSP

I recommend you to use h264enc, which you can find in the AUR. It's a cli script which also supports profiles for several players, among which the sony psp can be found. It's really an amazing script, I use this for all my conversions.

Offline

#3 2010-09-03 18:22:43

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Convert video with mencoder for PSP

handbrake is also really good for this; it has presets, one of which i believe is PSP.

to get a proper mencoder line might take a few hours cuddled up with `man mplayer`...

Offline

#4 2010-09-03 19:48:46

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: Convert video with mencoder for PSP

Unless you are really in need to automate a lot of encodings manually I would go for frontend in the first place.
WinFF is a good option also with presets:
http://aur.archlinux.org/packages.php?ID=17026

WinFF has the advantage that you can see and edit the ffmpeg commandline. So making a shell script to encode your stuff with ffmpeg should be an easy thing.

Yeah, handbrake was already mentioned and there is also a CLI module.

Beside this there is also avidemux which can be a nice option to encode to MP4. The mencoder resize filter helps to meet a specific output res wink

Last edited by Darksoul71 (2010-09-03 20:11:07)


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

Board footer

Powered by FluxBB