Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-09 Thread Moritz Barsnick
On Mon, Aug 08, 2016 at 20:38:53 -0400, Tim Hiles wrote: > This has worked for me in the past. c:\ffmpeg.exe -loglevel error -i > inputfile.wmv -vf "transpose=0" -vf "hflip" "converted.mp4" My apologies This most certainly won't do what you *expect*, because ffmpeg will respect only one "-vf" op

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Tim Hiles
Hi Elie, This has worked for me in the past. c:\ffmpeg.exe -loglevel error -i inputfile.wmv -vf "transpose=0" -vf "hflip" "converted.mp4" My apologies in advance if this is a n00b answer to your question. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Elie Grouchko
] Rotating an mp4 video on Windows Hi! 2016-08-08 20:08 GMT+02:00 Elie Grouchko : > The transposed video can be played back with VLC. > With WPM I can hear the sound, but no video. This is unexpected. Could you test the following command lines? $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Carl Eugen Hoyos
Hi! 2016-08-08 20:08 GMT+02:00 Elie Grouchko : > The transposed video can be played back with VLC. > With WPM I can hear the sound, but no video. This is unexpected. Could you test the following command lines? $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -t 10 out1.mp4 $ ffmpeg -f lavfi -i tests

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Elie Grouchko
any key to continue . . . -Original Message- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Peter White Sent: August-08-16 1:34 AM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Rotating an mp4 video on Windows Elie Grouchko wrote: > I have been tryi

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Carl Eugen Hoyos wrote: 2016-08-08 15:26 GMT+02:00 Peter White : Carl Eugen Hoyos wrote: WMP does not support lossless h264. LOL, another "surprise". ;) Not really: I forgot to mention that nothing except x264 and FFmpeg supports lossless h264 afaik, especially no hardware decoders. Oh,

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Carl Eugen Hoyos
Hi! 2016-08-08 15:26 GMT+02:00 Peter White : > Carl Eugen Hoyos wrote: >> 2016-08-08 10:34 GMT+02:00 Peter White : >>> >>> But for completeness' sake, a command that rotates and >>> compresses the video losslessly: >>> >>> $ ffmpeg -i input.mp4 -vf "transpose=2" -c:v libx264 -crf 0 target.mp4 >> >

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Carl Eugen Hoyos wrote: 2016-08-08 13:43 GMT+02:00 Peter White : Kieran O Leary wrote: WMP 12 does not. What a huge surprise! ;) Of course, WMP won't respect this. It only tolerates mp4 and other formats with the least amount of effort, so users don't go running away in masses: WMP 12 sup

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Carl Eugen Hoyos wrote: Hi! 2016-08-08 10:34 GMT+02:00 Peter White : But for completeness' sake, a command that rotates and compresses the video losslessly: $ ffmpeg -i input.mp4 -vf "transpose=2" -c:v libx264 -crf 0 target.mp4 WMP does not support lossless h264. LOL, another "surprise". ;

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Carl Eugen Hoyos
2016-08-08 13:43 GMT+02:00 Peter White : > Kieran O Leary wrote: >> WMP 12 does not. > > What a huge surprise! ;) Of course, WMP won't respect this. It only > tolerates mp4 and other formats with the least amount of effort, so > users don't go running away in masses: WMP 12 supports many useful t

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Carl Eugen Hoyos
Hi! 2016-08-08 10:34 GMT+02:00 Peter White : > But for completeness' sake, a command that rotates and compresses the > video losslessly: > > $ ffmpeg -i input.mp4 -vf "transpose=2" -c:v libx264 -crf 0 target.mp4 WMP does not support lossless h264. Carl Eugen _

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Kieran O Leary wrote: On Mon, Aug 8, 2016 at 10:07 AM, Peter White wrote: $ ffmpeg -i input.mp4 -c copy -metadata:s:v rotate=270 target.mp4 But this obviously needs to be respected by the playback application, so YMMV. VLC does work with this. WMP 12 does not. What a huge surprise! ;) Of

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Kieran O Leary
Hi, On Mon, Aug 8, 2016 at 10:07 AM, Peter White wrote: > $ ffmpeg -i input.mp4 -c copy -metadata:s:v rotate=270 target.mp4 > > But this obviously needs to be respected by the playback application, so > YMMV. VLC does work with this. > I tested this with windows 7. VLC does indeed respect the r

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Peter White wrote: Elie Grouchko wrote: I have been trying to rotate an mp4 video file on Windows, without affecting the quality, encoding, etc. ... I believe that is not possible. At least I cannot think of a way of doing it without re-encoding. Huh, apparently it is possible to do this los

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Peter White
Elie Grouchko wrote: > I have been trying to rotate an mp4 video file on Windows, without > affecting the quality, encoding, etc. ... I believe that is not possible. At least I cannot think of a way of doing it without re-encoding. > ... but the output file is not compatible with WMP. Yikes! Th

Re: [FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Kieran O Leary
Hi Elie On 8 Aug 2016 8:49 a.m., "Elie Grouchko" wrote: > > Hi, > > I am new to ffmpeg. > > I have been trying to rotate an mp4 video file on Windows, without affecting the quality, encoding, etc., but the output file is not compatible with WMP. > > The command I have been using: > ffmpeg -i sou

[FFmpeg-user] Rotating an mp4 video on Windows

2016-08-08 Thread Elie Grouchko
Hi, I am new to ffmpeg. I have been trying to rotate an mp4 video file on Windows, without affecting the quality, encoding, etc., but the output file is not compatible with WMP. The command I have been using: ffmpeg -i source.mp4 -vf "transpose=2" target.mp4 I tried all the options I have bee