Active Topics

 


Reply
Thread Tools
Posts: 669 | Thanked: 433 times | Joined on May 2010
#1
I'm trying to convert a 720p video file on the N900 itself using ffmpeg with no success - how can i see the list of supported codecs to use with -vcodec?
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#2
Originally Posted by impeham View Post
I'm trying to convert a 720p video file on the N900 itself using ffmpeg with no success - how can i see the list of supported codecs to use with -vcodec?
For our Fremantle build you can check by

ffmpeg -formats
ffmpeg -codecs
Official support page
http://www.ffmpeg.org/general.html#Video-Codecs
 

The Following User Says Thank You to anthonie For This Useful Post:
Posts: 669 | Thanked: 433 times | Joined on May 2010
#3
thanks - but i still got problems - which strings can i use for -vcodec and -acodec?

i'm trying to do simple conversion to work:

ffmpeg -i "test.mp4" -vcodec flv -acodec libfaad -s 176:144 -b 200000 -pass 1 outfile.avi

i am trying to convert it to maybe xvid/divx with aac/mp3 (something to play smooth)
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#4
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 Following 2 Users Say Thank You to anthonie For This Useful Post:
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#5
Bumped into this:

http://rodrigopolo.com/ffmpeg/

Which is supposed to help you "compose" the command line arguments for ffmpeg. Have a look to see if it might bring you something.

The same guy also has a cheat cheet on his webpage

http://rodrigopolo.com/ffmpeg/cheats.php
 

The Following User Says Thank You to anthonie For This Useful 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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:08.