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

Clément Bœsch ubitux at gmail.com
Tue Oct 2 09:24:46 CEST 2012


On Tue, Oct 02, 2012 at 08:16:43AM +0100, Christian Ebert wrote:
> * 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
> 

You shoule be able to skip the qt-faststart step using the muxer option
-movflags +faststart.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121002/8b43f3b6/attachment.asc>


More information about the ffmpeg-user mailing list