[FFmpeg-user] Video rotated with ffmpeg not playing in flowplayer

Christian Ebert blacktrash at gmx.net
Tue Oct 2 09:16:43 CEST 2012


* dasinfo on Monday, October 01, 2012 at 04:12:21 -0700
> I am Creating one web services of video upload for iPhone app. 
> So when User upload video from iphone then they getting horizontal video on
> site.so that not good so i have use the mecoder command for rotation of
> video like this way: 
> 
> "mencoder -vf rotate=1 -o $output -oac pcm -ovc lavc $input" 

1) This is the ffmpeg list, maybe you want
http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

2) With a filter you have to reencode, and you don't specify good
codecs for iphone etc. etc.

In ffmpeg there is the transpose filter, so something like this
should get you started:

ffmpeg -i $in-landscape -vf transpose=1,scale=360:480 \
       -c:v libx264 -preset fast -crf 22 \
       -c:a libfaac -b:a 128k out-portrait.mp4

qt-faststart out-portrait.mp4 out.mp4

> then video will rotate 90 degree successful and also video will upload on
> Amazon S3 and all the information will store in the database table.that all
> stuff work completely.but when user want to see the video on site then it
> will show on error like:200,paly stream not found clip[]..full URL of
> video.. 
> 
> If i don't rotate the video and upload video from app then it will open
> normally with out any error like above.. 

This sounds more like a permissions (not public) or metadata
(wrong content-type) problem in the s3 bucket for the files in
question. Double check in the aws console.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies       --->>> http://www.blacktrash.org/underdogma
http://itunes.apple.com/podcast/underdogma-movies/id363423596


More information about the ffmpeg-user mailing list