Greetings, First of all, a big thank you to all the ffmpeg developers - I sure hope that we can keep such a useful library/utility going. I recently installed FFMpeg-20050612 on my 2.6.8.1 kernel, gcc 3.4.2, K6-2 linux machine. I configured ffmpeg with: ./configure --prefix=/usr/local --enable-mp3lame --enable-libogg --enable-vorbis --enable-shared I did get a compile error: gcc -O3 -g -Wall -Wno-switch -I.. -I'/home/mshell/DLOADS2/UPZ/FFMpeg-20050612' -I'/home/mshell/DLOADS2/UPZ/FFMpeg-20050612'/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o grab.o grab.c In file included from /usr/include/linux/videodev.h:8, from grab.c:26: /usr/include/linux/videodev2.h:436: error: parse error before '*' token which was resolved following the advice of http://www.linuxtv.org/mailinglists/vdr/2004/07-2004/msg00510.html where it says to add -D__user= to CFLAGS=$ line in /libavformat/Makefile I did this and got a good compile. OK, ffmpeg seems to work now, except for cropping. I have a 352x240 .avi file with mpeg 2 video and mpeg layer 2 audio. I want to crop a tad off the bottom and right (and then resize back to 352x240). If I try something like: ffmpeg -ac 2 -r 29.971 -b 614.6 -cropbottom 16 -cropright 16 -s 352x240 -i in.avi -f avi -vcodec mpeg2video -acodec mp2 -y out.avi (BTW, I am using the correct frame rate if I ultimately want to create a DVD, and will "-target dvd" take care of this?) I get: "Vertical crop dimensions are outside the range of the original image. Remember to crop first and scale second." which is not so helpful IMHO. I read: http://www.videohelp.com/forum/archive/t238937.html But, I still don't get if I am doing something wrong. Can anybody with a recent ffmpeg please check that cropping (still) works and if so, provide me some valid values to get started with? Any help or suggestions would be much appreciated. Thanks in advance, Mike Shell
participants (1)
-
list1ï¼ michaelshell.org