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

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

2016-08-08 Thread Elie Grouchko
Hi Carl, I tried the two commands, they do produce valid WMP videos with no sound. Thanks! Elie -Original Message- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Carl Eugen Hoyos Sent: August-08-16 12:45 PM To: FFmpeg user questions

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 $

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

2016-08-08 Thread Elie Grouchko
Thank you Peter and all the other contributors. Here is some more information: WMP doesn't respect the metadata rotate flag, I tried that. Please see below the command line output. The transposed video can be played back with VLC. With WPM I can hear the sound, but no video. I also tried the

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

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

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.

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

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.

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

Re: [FFmpeg-user] resolution of the waterfall diagram of typical mp3 file

2016-08-08 Thread Nicolas George
Le primidi 21 thermidor, an CCXXIV, Florin Andrei a écrit : > Using python/numpy or some other tools, I calculate the spectrum of the > whole song, either all at once if possible, or using a reasonably large, > shifting time window. > > I store that spectrum in a matrix. And stop right here. If

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

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!

Re: [FFmpeg-user] Stream Channel With ٍSubtitle

2016-08-08 Thread Moritz Barsnick
On Mon, Aug 08, 2016 at 00:19:54 +, Eng.Hany Ahmed wrote: > root@iptv:~# ffmpeg -i "http://85:5454@159.8.154.85:5455/RTL8; -map 0:0 -map > 0:1 -scodec text -txt_page -txt_format -vcodec libx264 -maxrate 1300k > -bufsize 1500k -vprofile high -vf yadif,hqdn3d=1.5:1.5:6:6 -threads 12 >

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

[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