Sunday, September 13, 2009

ffmpeg - verizon cell phone video test.

(1.0)
( cellphones .) generic test!
( -t 00:03:13 ) video length!
(1.1)
CODE:





$ ./ffmpeg -i *.wmv -f 3gp -vcodec mpeg4 -b 150000 -s 320x240 -r 18 -acodec libfaac -ab 64000 -ar 24000 -ac 2 test-video-outpute.3gp

-----------------
---------------
(2.)
(smaller file) cellphones.
(-acodec libamr_nb) ; fubar i don't have that codec.
( -t 00:00:20)
(2.1)
CODE:





$ ./ffmpeg -i *.wmv -f 3gp -vcodec h263 -b 100000 -s 128x96 -r 12 -acodec libamr_nb -ab 12200 -ar 8000 -ac 1 -t 00:00:20 smal20second-video-mono-test.3gp


------------------
-----------------
(3)
verizon network.
(-ar 8'000)
(3.1)
CODE:





$ ./ffmpeg -i *.wmv -f 3g2 -vcodec mpeg4 -b 79kb -s 176x144 -r 16.1 -acodec libfaac -ab 12200 -ar 8000 -ac 2 -t 00:03:13 stereo-small-3g2-video-test.3g2

XXXXXXXXXXXXXXXXXXXXXX
[h263 @ 0x97ef850]The specified picture size of 400x226 is not valid for the H.263 codec.
Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.

Xxxxxxxxxxxxxxxxxxxx
XXxxxxxxxxxxxxx
XXXXxxxxx
(4)
CODE:

$
mencoder *.mp4 \
-oac mp3lame -lameopts abr:br=128:vol=0 \
-aid 0 \
-ovc lavc \ -ofps 16000/1001 \
-vf scale=176:144 \

-lavcopts vcodec=mpeg4:trell:mbd=2:sc_threshold=1000000000:cgop:vbitrate=79:aspect=16/9 \

-o "test2.3gp"



test them by sending them out with gmail.
video have to be short are else mms will reject them.