views:

83

answers:

2

Hi There,

I am facing problem in properly converting the video for iphone & Android phones.

I have converted the video to mp4 using following command:

ffmpeg -i Chili.wmv -s 432x320 -b 384k -vcodec libx264 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -bf 0 -flags2 +mixed_refs -coder 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -acodec libfaac -r 15 Chili_40.mp4

Video information: Seems stream 0 codec frame rate differs from container frame rate: 30.00 (30/1) -> 15.00 (15/1)

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Chili_50.mp4':

Duration: 00:09:54.00, start: 0.000000, bitrate: 472 kb/s

Stream #0.0(eng): Video: h264, yuv420p, 432x320, 15 tbr, 15 tbn, 30 tbc

Stream #0.1(eng): Audio: aac, 48000 Hz, 2 channels, s16

I am able to play this video on my laptop & apple ipod. But it is not playing on iphone & Android phone.

Struggling with this problem since few days.

Any help would be much appreciated.

Regards,

Sumeet

A: 

See this answer.

DarkDust
that didn't help.. :(
Sumeet Anand
A: 

use this and keep it simple dont change any of the settings except for the in.avi and the output name if you like

ffmpeg -i in.avi -acodec libmp3lame -ab 128k -vcodec mpeg4 -b 1200k -mbd 2 -flags +mv4+aic -trellis 1 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X out.mp4

Let me know if this helps thanks

*Pk *

Pavan
sorry, still now working. :(
Sumeet Anand
*sorry, still not working..
Sumeet Anand