[FFmpeg-trac] #1079(undetermined:closed): Crop Keep_Aspect option not working
FFmpeg
trac at avcodec.org
Fri Mar 16 16:27:53 CET 2012
#1079: Crop Keep_Aspect option not working
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution: invalid
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by ramitbhalla):
Okay this does not work at all and causes the conversion to fail. I'm
using the latest version available for download.
COMMAND:
ffmpeg -i Test6.ts -an -vf crop=1904:1072:6:6:1,scale=720:400 -vcodec
libxvid out.avi
OUTPUT:
{{{
ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 7 2012 00:18:03 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-
amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
libschroedinger --enable-libspeex --enable-libtheora --en
able-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
[mpeg2video @ 02EA6AC0] mpeg_decode_postinit() failure
Last message repeated 2 times
[mpegts @ 00329520] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'Test6.ts':
Duration: 00:29:51.92, start: 90226.333733, bitrate: 15080 kb/s
Program 1004
No Program
Stream #0:0[0x7c2]: Audio: ac3, 48000 Hz, stereo, s16, 96 kb/s (visual
impaired)
Stream #0:1[0x7c0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], 65000 kb/s, 30.38 fps, 29.97 tb
r, 90k tbn, 59.94 tbc
Stream #0:2[0x7c1]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
[buffer @ 0397DD40] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
[crop @ 03975AE0] w:1920 h:1080 -> w:1904 h:1072
[scale @ 03975BE0] w:1904 h:1072 fmt:yuv420p -> w:720 h:400 fmt:yuv420p
flags:0x4
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf54.2.100
Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x400 [SAR
595:603 DAR 119:67], q=2-31, 200 kb/s, 29.97 tb
n, 29.97 tbc
Stream mapping:
Stream #0:1 -> #0:0 (mpeg2video -> libxvid)
Press [q] to stop, [?] for help
[swscaler @ 03A97980] Warning: data is not aligned! This can lead to a
speedloss
[libxvid @ 03975020] Invalid pixel aspect ratio 595/603
Video encoding failed
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1079#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list