[FFmpeg-trac] #4079(undetermined:new): Screen capture with AV Foundation has an extra pixel width when cropping
FFmpeg
trac at avcodec.org
Tue Nov 4 20:24:27 CET 2014
#4079: Screen capture with AV Foundation has an extra pixel width when cropping
---------------------------------+----------------------------------------
Reporter: LordHDL | Owner:
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: 2.4.3 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+----------------------------------------
Comment (by LordHDL):
It shows for both. Full screen image (look at the left edge):
https://www.dropbox.com/s/ho2imusdl325k5e/Full%20screen.png?dl=0
However there is a difference on the console output that I noticed between
the two. The 2nd command shows this:
{{{
[swscaler @ 0x7ffae2007800] Warning: data is not aligned! This can lead to
a speedloss
[mpeg4 @ 0x7ffae2002800] ignoring invalid SAR: 0/0
}}}
Full command:
{{{
Last login: Tue Nov 4 15:09:54 on ttys001
HDLs-MacBook-Pro:~ HDL$ cd ~/Desktop
HDLs-MacBook-Pro:Desktop HDL$ ./ffmpeg -i out.nut -c:v mpeg4 -qscale 2 -vf
crop=426:240:507:339 out.avi
ffmpeg version N-67454-g0971154-tessus Copyright (c) 2000-2014 the FFmpeg
developers
built on Nov 3 2014 23:27:57 with Apple LLVM version 6.0
(clang-600.0.54) (based on LLVM 3.5svn)
configuration: --cc=/usr/bin/clang
--prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus
--disable-shared --enable-static --disable-ffplay --enable-gpl --enable-
pthreads --enable-postproc --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-
libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug
--enable-fontconfig --enable-libfreetype --enable-libass --enable-
libbluray --enable-filters --disable-indev=qtkit --disable-
indev=x11grab_xcb --enable-runtime-cpudetect
libavutil 54. 11.100 / 54. 11.100
libavcodec 56. 10.102 / 56. 10.102
libavformat 56. 12.100 / 56. 12.100
libavdevice 56. 2.100 / 56. 2.100
libavfilter 5. 2.102 / 5. 2.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, nut, from 'out.nut':
Metadata:
encoder : Lavf56.12.100
Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 426x240,
1000k tbr, 1000k tbn, 1000k tbc
Metadata:
encoder : Lavc56.10.102 rawvideo
Stream #0:1: Audio: vorbis (oV[0][0] / 0x566F), 44100 Hz, stereo, fltp
Metadata:
encoder : Lavc56.10.102 libvorbis
Please use -q:a or -q:v, -qscale is ambiguous
File 'out.avi' already exists. Overwrite ? [y/N] y
[avi @ 0x7ffae2001c00] Frame rate very high for a muxer not efficiently
supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync
2
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf56.12.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 426x240,
q=2-31, 200 kb/s, 65535 fps, 600 tbn, 65535 tbc
Metadata:
encoder : Lavc56.10.102 mpeg4
Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 44100 Hz,
stereo, fltp
Metadata:
encoder : Lavc56.10.102 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Stream #0:1 -> #0:1 (vorbis (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[swscaler @ 0x7ffae2007800] Warning: data is not aligned! This can lead to
a speedloss
[mpeg4 @ 0x7ffae2002800] ignoring invalid SAR: 0/0
Last message repeated 2 times
frame= 1 fps=0.0 q=2.0 Lsize= 86kB time=00:00:00.00 bitrate=N/A
video:76kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 12.708453%
HDLs-MacBook-Pro:Desktop HDL$
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4079#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list