View Single Post
Posts: 669 | Thanked: 433 times | Joined on May 2010
#6
Originally Posted by anthonie View Post
Please, be more specific: Define "problems". Elaborate on the source file you are using and what you're trying to achieve with the converted one.

Use "-ab" to tell acodec the audio bitrate to use.

Either way: ffmpeg -h is your friend...
the command builder does not work good for N900 - the main problem is to know which encoders are available on the device and what is the string to use with the "-vcodec" parameter (and encoders' strings for audio to use with "-acodec".

the help of ffmpeg does not display these strings - just the formats names which doesn't help...

the problems i mainly get are output of "Unknown encoder".

it would be great if someone who succeeded to encode a video on the device can post his command line.

the source file is an mp4 of 720p but the problem at the moment does not seem to relate to that since i cannot set a working encoders for audio video in the command line.

[Edit]
i've found the following working from debian:

ffmpeg -i "test.mp4" -vcodec mpeg4 -r 65535/2733 -s 848x480 -acodec libfaac -b 500000 -y outfile.avi

from maemo i get:

"Unknown encoder 'mpeg4'" - which package in repositories can add this support?

Last edited by impeham; 2013-04-12 at 12:37.