Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trying to rotate movies with ffmpeg produces crashes

134 views
Skip to first unread message

Andreas Ludwig

unread,
Feb 28, 2011, 4:40:27 AM2/28/11
to
Hi all,

did anyone sucessfully rotate movies with ffmpeg? I took a few short videos
with a Canon G12 and thought it be a nice idea to take them in portrait
mode... No they are played 90 degree rotated.

Tried to rotate them using ffmpeg with

ffmpeg.exe -vf "transpose=1" -i input.mov output.mov

The latest version of ffmpeg on hobbes (ffmpeg-os2-r26099-fix1r2.zip
4.589.273 04.01.11 ) crashes (crash report below).

The version ported by Paul Smedley (ffmpeg-svn-r25157-os2-20100923.zip)
exists without doing anything but producing the comment:

No such filter: 'transpose'
Error opening filters!

Does anybody have any success rotating videos with ffmpeg? Or any more
recent/improved port to try out?

Thanks a lot
Andreas

============================================================

ffmpeg.exe -vf "transpose=1" -i E:\Bilder\__EyeFi_In\G12\MVI_0392.MOV E:\B...

FFMPEG Output:

FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 3 2011 20:54:40 with gcc 4.4.4
configuration: --disable-debug --samples=/fate/fate-suite
--extra-ldflags=-Zhigh-mem --extra-cflags=-D_GNU_SOURCE --en
able-gpl --enable-libxvid --enable-libx264 --enable-libmp3lame
--enable-postproc --enable-libvpx --enable-libtheora
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.100. 0 / 52.100. 0
libavformat 52.89. 0 / 52.89. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.70. 2 / 1.70. 2
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 48000.00
(48000/1) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'E:\Bilder\__EyeFi_In\G12\MVI_0392.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2011-02-12 11:04:15
Duration: 00:00:21.98, start: 0.000000, bitrate: 19079 kb/s
Stream #0.0(eng): Video: h264, yuvj420p, 1280x720, 17507 kb/s, 23.98 fps,
23.98 tbr, 24k tbn, 48k tbc
Metadata:
creation_time : 2011-02-12 11:04:15
Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Metadata:
creation_time : 2011-02-12 11:04:15
File 'E:\Bilder\__EyeFi_In\G12\MVI_0392_r.MOV' already exists. Overwrite ?
[y/N] y
[buffer @ 0x2073f9c0] w:1280 h:720 pixfmt:yuvj420p
[transpose @ 0x2073fd20] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'Filter
0 transpose'
[scale @ 0x2073fc80] w:1280 h:720 fmt:yuvj420p -> w:1280 h:720 fmt:yuv420p
flags:0xa0000004
[transpose @ 0x2073fd20] w:1280 h:720 dir:1 -> w:720 h:1280
rotation:clockwise vflip:0

Killed by SIGFPE
pid=0x2ba2 ppid=0x2b07 tid=0x0001 slot=0x00d8 pri=0x0200 mc=0x0001
F:\ANWENDUNGEN\FFMPEG\BIN\FFMPEG.EXE
FFMPEG_G 0:005a07e9
cs:eip=005b:005b07e9 ss:esp=0053:009cf000 ebp=00000000
ds=0053 es=0053 fs=150b gs=0000 efl=00210246
eax=00000000 ebx=00000000 ecx=00000000 edx=bfe99999 edi=20564f60 esi=00000000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

============================================================

--

Andreas Ludwig
Gauting, Bavaria, Germany
using PMINews 2 on eCS 1.2R German!
http://andreas-ludwig.info/

Andreas Ludwig

unread,
Feb 28, 2011, 4:43:42 AM2/28/11
to
On Mon, 28 Feb 2011 10:40:27 +0100 (CET), Andreas Ludwig wrote:

>The latest version of ffmpeg on hobbes (ffmpeg-os2-r26099-fix1r2.zip
>4.589.273 04.01.11 ) crashes (crash report below).

PS.: This is on my old dual Opteron 244 system with eCS 1.2R.
KMP says:

KMP v0.6.3 based on FFplay SVN-r26402, Copyright (c) 2007-2010 KO Myung-Hun.
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
SwScaler CPUflags : MMX MMX2 3DNow

Dave Yeo

unread,
Feb 28, 2011, 10:36:46 AM2/28/11
to
Andreas Ludwig wrote:
> Hi all,
>
> did anyone sucessfully rotate movies with ffmpeg? I took a few short videos
> with a Canon G12 and thought it be a nice idea to take them in portrait
> mode... No they are played 90 degree rotated.
>
> Tried to rotate them using ffmpeg with
>
> ffmpeg.exe -vf "transpose=1" -i input.mov output.mov
>
> The latest version of ffmpeg on hobbes (ffmpeg-os2-r26099-fix1r2.zip
> 4.589.273 04.01.11 ) crashes (crash report below).
>
> The version ported by Paul Smedley (ffmpeg-svn-r25157-os2-20100923.zip)
> exists without doing anything but producing the comment:
>
> No such filter: 'transpose'
> Error opening filters!
>
> Does anybody have any success rotating videos with ffmpeg? Or any more
> recent/improved port to try out?
>
[...]
>
> Killed by SIGFPE
[...]

Can you try using
http://applewoodbbs.mine.nu/files/gfd/sys/tool/cpu2v110.zip to only run
FFmpeg on your boot cpu to see if that helps?
Dave

Franz Bakan

unread,
Feb 28, 2011, 1:49:33 PM2/28/11
to
On 2011-02-28, Andreas Ludwig <And...@web.de> wrote:

> did anyone sucessfully rotate movies with ffmpeg?

...

I use

mencoder %1 -o mpg4-%1 -oac mp3lame -ovc lavc -srate 11025 -channels 1 -lavcopts vcodec=mpeg4:vbitrate=1231:mbd=1:lumi_mask=0.5:scplx_mask=0.1:cmp=256:vqmin=2:vqmax=6:mbqmin=2:mbqmax=10 -ffourcc DX50 -vf rotate=1:pp=lb:quality=25

(one line) for my canon videos.

Good luck
Franz


Andreas Ludwig

unread,
Mar 3, 2011, 1:40:58 PM3/3/11
to
On Mon, 28 Feb 2011 07:36:46 -0800, Dave Yeo wrote:

>Can you try using
>http://applewoodbbs.mine.nu/files/gfd/sys/tool/cpu2v110.zip to only run
>FFmpeg on your boot cpu to see if that helps?

Does not help. Switched off CPU 2, but still get

[scale @ 0x2073fc80] w:1280 h:720 fmt:yuvj420p -> w:1280 h:720 fmt:yuv420p
flags:0xa0000004
[transpose @ 0x2073fd20] w:1280 h:720 dir:1 -> w:720 h:1280
rotation:clockwise vflip:0

Killed by SIGFPE
pid=0x29f2 ppid=0x29d7 tid=0x0001 slot=0x010b pri=0x0200 mc=0x0001


F:\ANWENDUNGEN\FFMPEG\BIN\FFMPEG.EXE
FFMPEG_G 0:005a07e9
cs:eip=005b:005b07e9 ss:esp=0053:009cf000 ebp=00000000
ds=0053 es=0053 fs=150b gs=0000 efl=00210246
eax=00000000 ebx=00000000 ecx=00000000 edx=bfe99999 edi=20564f60 esi=00000000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

Cheers
Andreas

0 new messages