dcardille / video4fuze

Automatically exported from code.google.com/p/video4fuze
GNU General Public License v3.0
0 stars 0 forks source link

ffmpeg generates a thumbnail for every frame of video #58

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Convert any video

What is the expected output? What do you see instead?
Generates a thumbnail for every frame of the video. Fills the device if 
ouputting to fuze.  Used to work just fine so it's probably related to the new 
version of ffmpeg.

What version of the product are you using? On what operating system?
v4f 0.6 on Gentoo Linux

Please provide any additional information below.

$ video4fuze 
Current settings:

Single-pass conversion;
Options used:  mencoder  -msglevel all=0:statusline=5 -ofps 20 -ovc lavc 
-lavcopts vcodec=mpeg4:vqscale=3:keyint=15  -vf 
field,expand=:::::224/176,scale=224:176,harddup -srate 44100 -af 
resample=44100:0:1,format=s16le -oac mp3lame -lameopts cbr:br=128
xterm not found
['video4fuze.pyw']

$ ffmpeg -version
ffmpeg version 0.10.2
built on Apr 19 2012 21:48:38 with gcc 4.4.6
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc 
--cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar 
--optflags='-march=core2 -O2 -pipe' --extra-cflags='-march=core2 -O2 -pipe' 
--extra-cxxflags='-march=core2 -O2 -pipe' --disable-static --enable-gpl 
--enable-version3 --enable-postproc --enable-avfilter --disable-stripping 
--disable-debug --disable-doc --disable-vaapi --disable-vdpau 
--enable-libmp3lame --enable-libvo-aacenc --enable-libtheora --enable-libvorbis 
--enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree 
--disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss 
--disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype 
--enable-libspeex --enable-libopenjpeg --disable-amd3dnow --disable-amd3dnowext 
--disable-altivec --disable-avx --disable-mmx --disable-ssse3 --disable-vis 
--disable-neon --enable-pic --cpu=core2 --enable-hardcoded-tables
libavutil      51. 35.100 / 51. 35.100
libavcodec     53. 61.100 / 53. 61.100
libavformat    53. 32.100 / 53. 32.100
libavdevice    53.  4.100 / 53.  4.100
libavfilter     2. 61.100 /  2. 61.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0.  6.100 /  0.  6.100
libpostproc    52.  0.100 / 52.  0.100

Original issue reported on code.google.com by aardwolf...@gmail.com on 20 Apr 2012 at 5:25

GoogleCodeExporter commented 8 years ago
Forgot to mention it does delete the first 100 thumbnails.

Original comment by aardwolf...@gmail.com on 20 Apr 2012 at 5:50

GoogleCodeExporter commented 8 years ago
Could you try it with a different (older) ffmpeg version?

IIRC, in order to find a representative thumbnail, a number of frames are 
written, then the best is chosen and the rest are deleted.

If you can read python, you can take a look at 
http://code.google.com/p/video4fuze/source/browse/trunk/vthumb.py to see how 
the thumbnail is generated.

Original comment by ssorga...@gmail.com on 20 Apr 2012 at 6:22

GoogleCodeExporter commented 8 years ago
It is a change in ffmpeg.  It works fine in ffmpeg-0.7.8 not in 0.10 or 0.10.2.

See http://ffmpeg.org/trac/ffmpeg/ticket/898
and attached patch.

Original comment by aardwolf...@gmail.com on 20 Apr 2012 at 5:50

Attachments: