dirkvdb / ffmpegthumbnailer Goto Github PK
View Code? Open in Web Editor NEWLightweight video thumbnailer that can be used by file managers to create thumbnails for video files
License: GNU General Public License v2.0
Lightweight video thumbnailer that can be used by file managers to create thumbnails for video files
License: GNU General Public License v2.0
What steps will reproduce the problem?
1. ./configure && make
What is the expected output? What do you see instead?
In file included from libffmpegthumbnailer/moviedecoder.cpp:17:
libffmpegthumbnailer/moviedecoder.h:33:28: error: ffmpeg/avcodec.h: No such
file or directory
libffmpegthumbnailer/moviedecoder.h:38:29: error: ffmpeg/avformat.h: No
such file or directory
libffmpegthumbnailer/moviedecoder.cpp:28:28: error: ffmpeg/swscale.h: No
such file or directory
In file included from libffmpegthumbnailer/moviedecoder.cpp:17:
libffmpegthumbnailer/moviedecoder.h:45: error: 'AVFormatContext' has not
been declared
What version of the product are you using? On what operating system?
Fedora 10 with gcc-4.3.2-7.i386
# rpm -q ffmpeg-devel
ffmpeg-devel-0.4.9-0.55.20080908.fc10.i386
# rpm -ql ffmpeg-devel |grep avcodec.h
/usr/include/ffmpeg/libavcodec/avcodec.h
Please provide any additional information below.
Workaround is:
# cd /usr/include/ffmpeg/
# ln -s libavcodec/avcodec.h ./
# ln -s libavformat/avformat.h ./
# ln -s libswscale/swscale.h ./
# ln -s libavformat/avio.h ./
Is it possible to change something in the configure.ac file ?
Original issue reported on code.google.com by [email protected]
on 29 Apr 2009 at 2:13
What steps will reproduce the problem?
1. ./autogen.sh
What is the expected output? What do you see instead?
Running autoreconf...
Makefile.am:6: libffmpegthumbnailer_la_SOURCES defined both conditionally
and unconditionally
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/moviedecoder.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/moviedecoder.cpp' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/imagewriter.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/imagewriterfactory.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/stringoperations.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/stringoperations.cpp' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/videothumbnailer.cpp' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/videothumbnailerc.cpp' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/ifilter.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/videoframe.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/histogram.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/grayscalefilter.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/filmstripfilter.h' is in subdirectory
automake: Makefile.am: not supported: source file
`libffmpegthumbnailer/filmstripfilter.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `unittest/testrunner.cpp'
is in subdirectory
automake: Makefile.am: not supported: source file
`unittest/histogramtest.cpp' is in subdirectory
automake: Makefile.am: not supported: source file
`unittest/videothumbnailertest.cpp' is in subdirectory
Makefile.am:31: invalid variable `nobase_include_HEADERS'
autoreconf: automake failed with exit status: 1
What version of the product are you using? On what operating system?
last
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 Oct 2009 at 9:56
What steps will reproduce the problem?
1. Pulled the latest source from SVN (currently rev 140)
2. used ./autogen.sh , then ./configure with no problems listed
3. make then fails to compile
What is the expected output? What do you see instead?
My error output looks in part like :
./.libs/libffmpegthumbnailer.so: undefined reference to `lame_set_VBR_q'
./.libs/libffmpegthumbnailer.so: undefined reference to `lame_init'
./.libs/libffmpegthumbnailer.so: undefined reference to `theora_encode_init'
./.libs/libffmpegthumbnailer.so: undefined reference to `NeAACDecInit2'
./.libs/libffmpegthumbnailer.so: undefined reference to `pthread_join'
A full output is attached
What version of the product are you using? On what operating system?
Revision 140 on Ubuntu 8.10 Kernel: 2.6.27-11-server
Using ffmpeg version 18074
Please provide any additional information below.
My ffmpeg is configured with --enable-gpl --enable-postproc
--enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame
--enable-libtheora --enable-libx264 --enable-libxvid
Is this just a problem with ffmpegthumbnailer not finding ffmpeg libs ?
ffmpeg is found and used by many other programs also installed and
compiled, using default dirs.
Original issue reported on code.google.com by [email protected]
on 30 Mar 2009 at 2:23
Attachments:
What steps will reproduce the problem?
1. try to call VideoThumbnailer::generateThumbnail(videoFile); with
videoFile containing non-Ascii characters.
What is the expected output? What do you see instead?
Thumbnail generated. Instead there is no output.
What version of the product are you using? On what operating system?
ffmpegthumbnailer-1.5.5
Gentoo Linux
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 31 Oct 2009 at 8:27
Does it possible to implement output filter support for thumbnails ?
Like: grayscale, blending or other simple filters.
Original issue reported on code.google.com by [email protected]
on 15 Oct 2008 at 5:05
Attached is a patch that allows ./autogen.sh to work out of the box on
systems that install libtoolize as glibtoolize.
Original issue reported on code.google.com by [email protected]
on 7 May 2009 at 12:12
Attachments:
What steps will reproduce the problem?
1. wget
http://ffmpegthumbnailer.googlecode.com/files/ffmpegthumbnailer-1.5.0.tar.gz &&
tar xzf ffmpegthumbnailer-1.5.0.tar.gz && cd ffmpegthumbnailer-1.5.0
2. ./configure
3. make
What is the expected output? What do you see instead?
libffmpegthumbnailer/moviedecoder.cpp: In member function 'bool
MovieDecoder::decodeVideoPacket()':
libffmpegthumbnailer/moviedecoder.cpp:249: warning: 'avcodec_decode_video'
is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3156)
libffmpegthumbnailer/moviedecoder.cpp:250: warning: 'avcodec_decode_video'
is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3156)
libffmpegthumbnailer/moviedecoder.cpp: In member function 'void
MovieDecoder::createAVFrame(AVFrame**, int, int, int)':
libffmpegthumbnailer/moviedecoder.cpp:371: error: invalid conversion from
'int' to 'PixelFormat'
libffmpegthumbnailer/moviedecoder.cpp:371: error: initializing argument 1
of 'int avpicture_get_size(PixelFormat, int, int)'
make[1]: *** [moviedecoder.lo] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-packages/ffmpegthumbnailer-1.5.0'
make: *** [all-recursive] Error 1
What version of the product are you using? On what operating system?
FFmpeg version SVN-r18693, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-nonfree
--enable-postproc --enable-libfaad --enable-avfilter --enable-pthreads
--enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libfaac
--disable-ffserver --disable-ffplay
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.27. 0 / 52.27. 0
libavformat 52.32. 0 / 52.32. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 26 2009 02:34:12, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)
Original issue reported on code.google.com by [email protected]
on 26 Apr 2009 at 1:31
What steps will reproduce the problem?
1. Build ffmpegthumnailer on Mac OSX
2. Try to create a thumbnail
3. Receive error: "Bus error"
What is the expected output? What do you see instead?
Expect: Thumbnail image
Actual: Receive above error
What version of the product are you using? On what operating system?
ffmpegthumbnailer-1.2.6
OSX 10.5
Please provide any additional information below.
Packages Provided via Fink:
# for i in ffmpeg-dev libavcodec-dev libavformat-dev libavutil-dev
libswscale-dev libjpeg-dev; do
fink install $i;
done
Verify All required are installed for compile:
-----------------------------------------------
libavcodec-dev 0.4.20071217-5
libavformat-dev 0.4.20071217-5
libavutil-dev 0.4.20071217-5
libswscale-dev 0.4.20071217-5
ffmpeg 0.4.20071217-5
ffmpeg-dev 0.4.20071217-5
Compile using Fink default path:
--------------------------------
# ./configure --prefix=/sw/
Build & install
---------------
# make && make install
Test binary:
------------
# ffmpegthumbnailer
invalid arguments
Usage: ffmpegthumbnailer [options]
Options:
-i<s> : input file
-o<s> : output file
-s<n> : thumbnail size (default: 128)
-t<n> : time to seek to (percentage) (default: 10)
-f : create a movie strip overlay
-w : workaround issues in old versions of ffmpeg
-h : display this help
Try vaild file
--------------
# ffmpegthumbnailer -w -i "/path/to/an/avi/file.avi" -o samp.jpg -s 128
Bus error
I just can't seem to figure out what is being referred to as "Bus".
Original issue reported on code.google.com by [email protected]
on 18 Aug 2008 at 3:35
What steps will reproduce the problem?
ffmpegthumbnailer -i "n.avi" -o pic.png
What is the expected output? What do you see instead?
root@server:~# /usr/local/bin/ffmpegthumbnailer -i "n.avi" -o pic.png
[NULL @ 0x10021af0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x10021af0]Invalid and inefficient vfw-avi packed B frames detected
*** glibc detected *** /usr/local/bin/ffmpegthumbnailer: double free or
corruption (!prev): 0x10142900 ***
======= Backtrace: =========
/lib/libc.so.6[0xf16e208]
/lib/libc.so.6(cfree+0xcc)[0xf1700ec]
/usr/local/lib/libavutil.so.50(av_freep+0x24)[0xffa4e74]
/usr/local/lib/libswscale.so.0(sws_freeContext+0xa4)[0xf566e24]
/usr/local/lib/libffmpegthumbnailer.so.3(_ZN12MovieDecoder20convertAndScaleFrame
E11PixelFormatibRiS1_+0xe0)[0xffd4400]
/usr/local/lib/libffmpegthumbnailer.so.3(_ZN12MovieDecoder19getScaledVideoFrameE
ibR10VideoFrame+0x6c)[0xffd457c]
/usr/local/lib/libffmpegthumbnailer.so.3(_ZN16VideoThumbnailer17generateThumbnai
lERKSsR11ImageWriterP15AVFormatContext+0x268)[0xffd8038]
/usr/local/lib/libffmpegthumbnailer.so.3(_ZN16VideoThumbnailer17generateThumbnai
lERKSs13ImageTypeEnumS1_P15AVFormatContext+0x74)[0xffd83c4]
/usr/local/bin/ffmpegthumbnailer[0x10003a80]
/lib/libc.so.6[0xf10bbe4]
/lib/libc.so.6[0xf10bda0]
======= Memory map: ========
00100000-00103000 r-xp 00100000 00:00 0 [vdso]
0e804000-0e80a000 r-xp 00000000 03:03 1550159 /usr/lib/libXdmcp.so.6.0.0
0e80a000-0e819000 ---p 00006000 03:03 1550159 /usr/lib/libXdmcp.so.6.0.0
0e819000-0e81a000 rw-p 00005000 03:03 1550159 /usr/lib/libXdmcp.so.6.0.0
0e82a000-0e82e000 r-xp 00000000 03:03 229378 /usr/lib/libXau.so.6.0.0
0e82e000-0e83d000 ---p 00004000 03:03 229378 /usr/lib/libXau.so.6.0.0
0e83d000-0e83e000 r--p 00003000 03:03 229378 /usr/lib/libXau.so.6.0.0
0e83e000-0e83f000 rw-p 00004000 03:03 229378 /usr/lib/libXau.so.6.0.0
0e84f000-0e86b000 r-xp 00000000 03:03 1549800 /usr/lib/libxcb.so.1.1.0
0e86b000-0e87a000 ---p 0001c000 03:03 1549800 /usr/lib/libxcb.so.1.1.0
0e87a000-0e87b000 r--p 0001b000 03:03 1549800 /usr/lib/libxcb.so.1.1.0
0e87b000-0e87c000 rw-p 0001c000 03:03 1549800 /usr/lib/libxcb.so.1.1.0
0e88c000-0e894000 r-xp 00000000 03:03 1523971 /lib/librt-2.9.so
0e894000-0e8a3000 ---p 00008000 03:03 1523971 /lib/librt-2.9.so
0e8a3000-0e8a4000 r--p 00007000 03:03 1523971 /lib/librt-2.9.so
0e8a4000-0e8a5000 rw-p 00008000 03:03 1523971 /lib/librt-2.9.so
0e8b5000-0e9c2000 r-xp 00000000 03:03 1549798 /usr/lib/libX11.so.6.2.0
0e9c2000-0e9d1000 ---p 0010d000 03:03 1549798 /usr/lib/libX11.so.6.2.0
0e9d1000-0e9d3000 r--p 0010c000 03:03 1549798 /usr/lib/libX11.so.6.2.0
0e9d3000-0e9d5000 rw-p 0010e000 03:03 1549798 /usr/lib/libX11.so.6.2.0
0e9d5000-0e9d6000 rw-p 0e9d5000 00:00 0
0e9e6000-0e9ec000 r-xp 00000000 03:03 1552193 /usr/lib/libogg.so.0.5.3
0e9ec000-0e9fb000 ---p 00006000 03:03 1552193 /usr/lib/libogg.so.0.5.3
0e9fb000-0e9fc000 r--p 00005000 03:03 1552193 /usr/lib/libogg.so.0.5.3
0e9fc000-0e9fd000 rw-p 00006000 03:03 1552193 /usr/lib/libogg.so.0.5.3
0ea0d000-0ea67000 r-xp 00000000 03:03 1551158 /usr/lib/liboil-0.3.so.0.3.0
0ea67000-0ea77000 ---p 0005a000 03:03 1551158 /usr/lib/liboil-0.3.so.0.3.0
0ea77000-0ea78000 r--p 0005a000 03:03 1551158 /usr/lib/liboil-0.3.so.0.3.0
0ea78000-0ea86000 rw-p 0005b000 03:03 1551158 /usr/lib/liboil-0.3.so.0.3.0
0ea86000-0ea89000 rw-p 0ea86000 00:00 0
0ea99000-0ea9c000 r-xp 00000000 03:03 1523774 /lib/libdl-2.9.so
0ea9c000-0eaab000 ---p 00003000 03:03 1523774 /lib/libdl-2.9.so
0eaab000-0eaac000 r--p 00002000 03:03 1523774 /lib/libdl-2.9.so
0eaac000-0eaad000 rw-p 00003000 03:03 1523774 /lib/libdl-2.9.so
0eabd000-0eb47000 r-xp 00000000 03:03 2146312
/usr/local/lib/libxvidcore.so.4.2
0eb47000-0eb57000 ---p 0008a000 03:03 2146312
/usr/local/lib/libxvidcore.so.4.2
0eb57000-0eb58000 r--p 0008a000 03:03 2146312
/usr/local/lib/libxvidcore.so.4.2
0eb58000-0eb59000 rw-p 0008b000 03:03 2146312
/usr/local/lib/libxvidcore.so.4.2
0eb59000-0ebcb000 rw-p 0eb59000 00:00 0
0ebdb000-0ec56000 r-xp 00000000 03:03 229560 /usr/lib/libx264.so.65
0ec56000-0ec66000 ---p 0007b000 03:03 229560 /usr/lib/libx264.so.65
0ec66000-0ec67000 r--p 0007b000 03:03 229560 /usr/lib/libx264.so.65
0ec67000-0ec68000 rw-p 0007c000 03:03 229560 /usr/lib/libx264.so.65
0ec68000-0ec6b000 rw-p 0ec68000 00:00 0
0ec7b000-0ec9c000 r-xp 00000000 03:03 1552199 /usr/lib/libvorbis.so.0.4.0
0ec9c000-0ecab000 ---p 00021000 03:03 1552199 /usr/lib/libvorbis.so.0.4.0
0ecab000-0ecac000 r--p 00020000 03:03 1552199 /usr/lib/libvorbis.so.0.4.0
0ecac000-0ecba000 rw-p 00021000 03:03 1552199 /usr/lib/libvorbis.so.0.4.0
0ecca000-0ecda000 r-xp 00000000 03:03 1552203 /usr/lib/libvorbisenc.so.2.0.3
0ecda000-0ecdb000 r--p 00010000 03:03 1552203 /usr/lib/libvorbisenc.so.2.0.3
0ecdb000-0edc1000 rw-p 00011000 03:03 1552203 /usr/lib/libvorbisenc.so.2.0.3
0edd1000-0ee19000 r-xp 00000000 03:03 1552058 /usr/lib/libtheora.so.0.3.4
0ee19000-0ee28000 ---p 00048000 03:03 1552058 /usr/lib/libtheora.so.0.3.4
0ee28000-0ee29000 r--p 00047000 03:03 1552058 /usr/lib/libtheora.so.0.3.4
0ee29000-0ee2a000 rw-p 00048000 03:03 1552058 /usr/lib/libtheora.so.0.3.4
0ee3a000-0eeb0000 r-xp 00000000 03:03 1551864
/usr/lib/libschroedinger-1.0.so.0.1.0
0eeb0000-0eec0000 ---p 00076000 03:03 1551864
/usr/lib/libschroedinger-1.0.so.0.1.0
0eec0000-0eec1000 r--p 00076000 03:03 1551864
/usr/lib/libschroedinger-1.0.so.0.1.0
0eec1000-0eec3000 rw-p 00077000 03:03 1551864
/usr/lib/libschroedinger-1.0.so.0.1.0
0eed3000-0ef1a000 r-xp 00000000 03:03 229531 /usr/lib/libmp3lame.so.0.0.0
0ef1a000-0ef29000 ---p 00047000 03:03 229531 /usr/lib/libmp3lame.so.0.0.0
0ef29000-0ef2b000 r--p 00046000 03:03 229531 /usr/lib/libmp3lame.so.0.0.0
0ef2b000-0ef2c000 rw-p 00048000 03:03 229531 /usr/lib/libmp3lame.so.0.0.0
0ef2c000-0ef5d000 rw-p 0ef2c000 00:00 0
0ef6d000-0ef7b000 r-xp 00000000 03:03 229412 /usr/lib/libgsm.so.1.0.12
0ef7b000-0ef8a000 ---p 0000e000 03:03 229412 /usr/lib/libgsm.so.1.0.12
0ef8a000-0ef8b000 rw-p 0000d000 03:03 229412 /usr/lib/libgsm.so.1.0.12
0ef9b000-0efac000 r-xp 00000000 03:03 229518 /usr/lib/libfaac.so.0.0.0
0efac000-0efbc000 ---p 00011000 03:03 229518 /usr/lib/libfaac.so.0.0.0
0efbc000-0efbd000 r--p 00011000 03:03 229518 /usr/lib/libfaac.so.0.0.0
0efbd000-0efc0000 rw-p 00012000 03:03 229518 /usr/lib/libfaac.so.0.0.0
0efd0000-0effd000 r-xp 00000000 03:03 229572 /usr/lib/libamrwb.so.3.0.0
0effd000-0f00d000 ---p 0002d000 03:03 229572 /usr/lib/libamrwb.so.3.0.0
0f00d000-0f00e000 rw-p 0002d000 03:03 229572 /usr/lib/libamrwb.so.3.0.0
0f00e000-0f00f000 rw-p 0f00e000 00:00 0
0f01f000-0f05a000 r-xp 00000000 03:03 229567 /usr/lib/libamrnb.so.3.0.0
0f05a000-0f069000 ---p 0003b000 03:03 229567 /usr/lib/libamrnb.so.3.0.0
0f069000-0f06d000 rw-p 0003a000 03:03 229567 /usr/lib/libamrnb.so.3.0.0
0f07d000-0f092000 r-xp 00000000 03:03 1523737 /lib/libz.so.1.2.3.3
0f092000-0f0a1000 ---p 00015000 03:03 1523737 /lib/libz.so.1.2.3.3
0f0a1000-0f0a2000 r--p 00014000 03:03 1523737 /lib/libz.so.1.2.3.3
0f0a2000-0f0a3000 rw-p 00015000 03:03 1523737 /lib/libz.so.1.2.3.3
0f0b3000-0f0ca000 r-xp 00000000 03:03 1523969 /lib/libpthread-2.9.so
0f0ca000-0f0d9000 ---p 00017000 03:03 1523969 /lib/libpthread-2.9.so
0f0d9000-0f0da000 r--p 00016000 03:03 1523969 /lib/libpthread-2.9.so
0f0da000-0f0db000 rw-p 00017000 03:03 1523969 /lib/libpthread-2.9.so
0f0db000-0f0dd000 rw-p 0f0db000 00:00 0
0f0ed000-0f251000 r-xp 00000000 03:03 1523766 /lib/libc-2.9.so
0f251000-0f260000 ---p 00164000 03:03 1523766 /lib/libc-2.9.so
0f260000-0f264000 r--p 00163000 03:03 1523766 /lib/libc-2.9.so
0f264000-0f265000 rw-p 00167000 03:03 1523766 /lib/libc-2.9.so
0f265000-0f268000 rw-p 0f265000 00:00 0
0f278000-0f28e000 r-xp 00000000 03:03 1523722 /lib/libgcc_s.so.1
0f28e000-0f29d000 ---p 00016000 03:03 1523722 /lib/libgcc_s.so.1
0f29d000-0f29e000 r--p 00015000 03:03 1523722 /lib/libgcc_s.so.1
0f29e000-0f29f000 rw-p 00016000 03:03 1523722 /lib/libgcc_s.so.1
0f2af000-0f358000 r-xp 00000000 03:03 1523775 /lib/libm-2.9.so
0f358000-0f368000 ---p 000a9000 03:03 1523775 /lib/libm-2.9.so
0f368000-0f36b000 r--p 000a9000 03:03 1523775 /lib/libm-2.9.so
0f36b000-0f36c000 rw-p 000ac000 03:03 1523775 /lib/libm-2.9.so
0f37c000-0f498000 r-xp 00000000 03:03 1549220 /usr/lib/libstdc++.so.6.0.10
0f498000-0f4a8000 ---p 0011c000 03:03 1549220 /usr/lib/libstdc++.so.6.0.10
0f4a8000-0f4ac000 r--p 0011c000 03:03 1549220 /usr/lib/libstdc++.so.6.0.10
0f4ac000-0f4ae000 rw-p 00120000 03:03 1549220 /usr/lib/libstdc++.so.6.0.10
0f4ae000-0f4b3000 rw-p 0f4ae000 00:00 0
0f4c3000-0f4e9000 r-xp 00000000 03:03 1552776 /usr/lib/libjpeg.so.62.0.0
0f4e9000-0f4f9000 ---p 00026000 03:03 1552776 /usr/lib/libjpeg.so.62.0.0
0f4f9000-0f4fa000 rw-p 00026000 03:03 1552776 /usr/lib/libjpeg.so.62.0.0
0f50a000-0f531000 r-xp 00000000 03:03 1549931 /usr/lib/libpng12.so.0.27.0
0f531000-0f541000 ---p 00027000 03:03 1549931 /usr/lib/libpng12.so.0.27.0
0f541000-0f542000 r--p 00027000 03:03 1549931 /usr/lib/libpng12.so.0.27.0
0f542000-0f543000 rw-p 00028000 03:03 1549931 /usr/lib/libpng12.so.0.27.0
0f553000-0f581000 r-xp 00000000 03:03 2146340
/usr/local/lib/libswscale.so.0.7.1
0f581000-0f590000 ---p 0002e000 03:03 2146340
/usr/local/lib/libswscale.so.0.7.1
0f590000-0f591000 r--p 0002d000 03:03 2146340
/usr/local/lib/libswscale.so.0.7.1
0f591000-0f592000 rw-p 0002e000 03:03 2146340
/usr/local/lib/libswscale.so.0.7.1
0f5a2000-0fa06000 r-xp 00000000 03:03 2146332
/usr/local/lib/libavcodec.so.52.30.2
0fa06000-0fa15000 ---p 00464000 03:03 2146332
/usr/local/lib/libavcodec.so.52.30.2
0fa15000-0fa16000 r--p 00463000 03:03 2146332
/usr/local/lib/libavcodec.so.52.30.2
0fa16000-0fa1e000 rw-p 00464000 03:03 2146332
/usr/local/lib/libavcodec.so.52.30.2
0fa1e000-0fe40000 rw-p 0fa1e000 00:00 0
0fe50000-0ff29000 r-xp 00000000 03:03 2146328
/usr/local/lib/libavformat.so.52.34.0
0ff29000-0ff38000 ---p 000d9000 03:03 2146328
/usr/local/lib/libavformat.so.52.34.0
0ff38000-0ff39000 r--p 000d8000 03:03 2146328
/usr/local/lib/libavformat.so.52.34.0
0ff39000-0ff3f000 rw-p 000d9000 03:03 2146328
/usr/local/lib/libavformat.so.52.34.0
0ff3f000-0ff8b000 rw-p 0ff3f000 00:00 0
0ff9b000-0ffaa000 r-xp 00000000 03:03 2146336
/usr/local/lib/libavutil.so.50.3.0
0ffaa000-0ffb9000 ---p 0000f000 03:03 2146336
/usr/local/lib/libavutil.so.50.3.0
0ffb9000-0ffba000 r--p 0000e000 03:03 2146336
/usr/local/lib/libavutil.so.50.3.0
0ffba000-0ffbb000 rw-p 0000f000 03:03 2146336
/usr/local/lib/libavutil.so.50.3.0
0ffbb000-0ffbe000 rw-p 0ffbb000 00:00 0
0ffce000-0ffdf000 r-xp 00000000 03:03 1556797
/usr/local/lib/libffmpegthumbnailer.so.3.0.1
0ffdf000-0ffee000 ---p 00011000 03:03 1556797
/usr/local/lib/libffmpegthumbnailer.so.3.0.1
0ffee000-0ffef000 r--p 00010000 03:03 1556797
/usr/local/lib/libffmpegthumbnailer.so.3.0.1
0ffef000-0fff0000 rw-p 00011000 03:03 1556797
/usr/local/lib/libffmpegthumbnailer.so.3.0.1
10000000-10005000 r-xp 00000000 03:03 1556831
/usr/local/bin/ffmpegthumbnailer
10014000-10015000 r--p 00004000 03:03 1556831
/usr/local/bin/ffmpegthumbnailer
10015000-10016000 rw-p 00005000 03:03 1556831
/usr/local/bin/ffmpegthumbnailer
10016000-1014d000 rwxp 10016000 00:00 0 [heap]
48000000-4801f000 r-xp 00000000 03:03 1523728 /lib/ld-2.9.so
4801f000-48021000 rw-p 4801f000 00:00 0
4802a000-4802f000 rw-p 4802a000 00:00 0
4802f000-48030000 r--p 0001f000 03:03 1523728 /lib/ld-2.9.so
48030000-48031000 rw-p 00020000 03:03 1523728 /lib/ld-2.9.so
48031000-484d2000 rw-p 48031000 00:00 0
489c3000-48d6d000 rw-p 48087000 00:00 0
bfdd1000-bfde6000 rwxp bffeb000 00:00 0 [stack]
Aborted
What version of the product are you using? On what operating system?
Ubuntu 9.0.4
FFmpeg version SVN-r19127, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-shared --enable-postproc --enable-avfilter --enable-avfilter-lavf
--enable-pthreads --enable-x11grab --enable-bzlib --enable-libamr-nb
--enable-libamr-wb --enable-libdc1394 --enable-libfaac --enable-libfaad
--enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libnut
--enable-libschroedinger --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-zlib
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.30. 2 / 52.30. 2
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Jun 6 2009 20:06:38, gcc: 4.3.3
ffmpegthumbnailer-1.5.2
Original issue reported on code.google.com by kris.koleman
on 6 Jun 2009 at 7:45
What steps will reproduce the problem?
1. Attempt to compile ffmpegthumbnailer
What is the expected output? What do you see instead?
Compilation fails as follows:-
moviedecoder.cpp: In member function ‘void
MovieDecoder::convertAndScaleFrame(int, int, bool, int&, int&)’:
moviedecoder.cpp:308: error: invalid conversion from ‘int’ to
‘PixelFormat’
moviedecoder.cpp:308: error: initializing argument 6 of ‘SwsContext*
sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int,
SwsFilter*, SwsFilter*, double*)’
What version of the product are you using? On what operating system?
ffmpegthumbnailer 1.4.0
libavutil 50. 0. 0 / 50. 0. 0
libavcodec 52.21. 0 / 52.21. 0
libavformat 52.31. 1 / 52.31. 1
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 8 2009 19:30:37, gcc: 4.3.1 20080429 (prerelease)
Host is Linux 2.6.25.3 x86
Original issue reported on code.google.com by [email protected]
on 10 Mar 2009 at 10:21
What steps will reproduce the problem?
1. ./configure
2.
3.
What is the expected output? What do you see instead?
Expect it to configure ;)
What version of the product are you using? On what operating system?
1.1.3 on Xubuntu 6.10
Please provide any additional information below.
Here's the terminal output for ./configure:
rogue@rogue:~/Desktop/ffmpegthumbnailer-1.1.3$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFMPEG... no
configure: error: +Could not find ffmpeg. Please update PKG_CONFIG_PATH to
point at location of ffmpeg pkgconfig files directory.
===================================================
ffmpeg is version ffmpeg_3:0.cvs20060823-3.1ubuntu1_i386
I've installed libavcodec, libavifile, libavformat and libpostproc dev files.
Am I missing something?
Thanks,
m a r
ps: thanks also for the quick response to previous issue.
Original issue reported on code.google.com by [email protected]
on 5 Jul 2007 at 9:41
What steps will reproduce the problem?
1. compiled ffmpegthumbnails.1.1.3 (./configure && make && make install)
2. /usr/lib/thunar/thunar-vfs-update-thumbnails to update chace
3. don't work
What is the expected output? What do you see instead?
just video's file thumbnails doesn't work, others thumbnails works fine)
What version of the product are you using? On what operating system?
1.1.3 version compiled from source on debian lenny (xfce4)
Please provide any additional information below.
i had installed xfce4, thunar and thunar's plugins from lenny debian
repository. but they don't include ffmpegthumbnails, so i have compiled it
Original issue reported on code.google.com by [email protected]
on 14 Nov 2007 at 11:47
Hi,
A Debian user reported that ffmpegthumbnailer 1.3.0 (afaik trunk is
affected as well) fails to build with GCC 4.4. It seems that GCC 4.4
cleaned up some more C++ headers, so you always have to #include headers
directly and cannot rely for things to be included indirectly.
> libtool: compile: g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\"
-DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -DPACKAGE_VERSION=\"1.3.0\"
"-DPACKAGE_STRING=\"ffmpegthumbnailer 1.3.0\"" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.3.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DSTDC_HEADERS=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_JPEGLIB_H=1
-DHAVE_FFMPEG_AVCODEC_H=1 -DHAVE_FFMPEG_AVFORMAT_H=1
-DHAVE_FFMPEG_AVUTIL_H=1 -DHAVE_FFMPEG_SWSCALE_H=1 -I. -g -O2 -c
jpegwriter.cpp -fPIC -DPIC -o .libs/jpegwriter.o
> jpegwriter.cpp: In constructor 'JpegWriter::JpegWriter(const std::string&)':
> jpegwriter.cpp:44: error: 'fopen' was not declared in this scope
> jpegwriter.cpp: In destructor 'virtual JpegWriter::~JpegWriter()':
> jpegwriter.cpp:74: error: 'fclose' was not declared in this scope
> make[3]: *** [jpegwriter.lo] Error 1
> make[3]: Leaving directory
`/build/tbm/ffmpegthumbnailer-1.3.0/src/libffmpegthumbnailer'
He proposed the following patch, which should fix this issue:
--- src/libffmpegthumbnailer/jpegwriter.cpp~ 2009-01-04
08:47:08.000000000 +0000
+++ src/libffmpegthumbnailer/jpegwriter.cpp 2009-01-04
08:47:16.000000000 +0000
@@ -16,6 +16,7 @@
#include "jpegwriter.h"
#include <stdexcept>
+#include <cstdio>
#include <cstring>
#include <assert.h>
#include <algorithm>
Thanks!
Original issue reported on code.google.com by [email protected]
on 4 Jan 2009 at 10:09
What steps will reproduce the problem?
1. build the source from svn
the error i get:
libffmpegthumbnailer/videothumbnailer.cpp:198: error: ‘errno’ was not
declared in this scope
What version of the product are you using? On what operating system?
using svn version, svn 158
Please provide any additional information below.
I made a patch for Foresight Linux to add: #include <errno.h>
in the file libffmpegthumbnailer/videothumbnailer.cpp
and that fixed that problem.
So i think it needs #include <errno.h>
Original issue reported on code.google.com by [email protected]
on 21 Sep 2009 at 8:40
It seems there is a mistake in the code in the methods getHeight() and
getWidth(); they seem to be inverted...
Index: libffmpegthumbnailer/moviedecoder.cpp
===================================================================
--- libffmpegthumbnailer/moviedecoder.cpp (revision 160)
+++ libffmpegthumbnailer/moviedecoder.cpp (working copy)
@@ -153,7 +153,7 @@
{
if (m_pVideoCodecContext)
{
- return m_pVideoCodecContext->height;
+ return m_pVideoCodecContext->width;
}
return -1;
@@ -163,7 +163,7 @@
{
if (m_pVideoCodecContext)
{
- return m_pVideoCodecContext->width;
+ return m_pVideoCodecContext->height;
}
return -1;
Original issue reported on code.google.com by [email protected]
on 21 Sep 2009 at 1:42
Is there a chance to see OGM files supported? It does not seem to be able
to find the original frame, so in every preview we can only dicern the
"changing frame info" (I don't know how it is called).
Original issue reported on code.google.com by [email protected]
on 2 Sep 2009 at 4:12
What steps will reproduce the problem?
1. ./configure
2.
3.
What is the expected output? What do you see instead?
to configure... instead I see "configure: error: Missing headers required to
compile
ffmpegthumbnailer "
What version of the product are you using? On what operating system?
ffmpegthumbnailer
1.3.0... Mac OS X 10.5.5
Please provide any additional information below.
When I try to configure I get this...
checking dynamic linker characteristics... darwin9.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: error: Missing headers required to compile ffmpegthumbnailer
I could not install ffmpeg using fink on my Mac Pro... I had to use ports to
install it because of
various errors fink gave me. I was reading that you need to have the ffmpeg dev
package
installed for thumbnailer? Then i was reading the only dependencies
ffmpegthumbnailer has is
libjpeg and libpng... when I try to install ffmpegdev from fink I get another
error... heres a bunch
of lines...
# Use fink's freetype219 and expat1
sed -e "s|-L$X11_ROOT/lib||g" \
-e "s|$X11_ROOT/lib/libfreetype.la|-L$FT_LIB $FT_LIB/libfreetype.la|" \
-e "s|/usr/lib/libexpat.la|-L/sw/lib /sw/lib/libexpat.la|" \
-e "s|libdir=$X11_ROOT/lib|libdir=$FC_LIB|" \
"$X11_ROOT/lib/libfontconfig.la" > "$FC_ROOT/lib/libfontconfig.fink.la"
sed: /usr/X11/lib/libfontconfig.la: No such file or directory
### execution of /var/tmp/tmp.1.sZydsR failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fontconfig2-dev-2.4.1-104
(Reading database ... 12971 files and directories currently installed.)
Removing fink-buildlock-fontconfig2-dev-2.4.1-104 ...
Failed: phase installing: fontconfig2-dev-2.4.1-104 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:
Original issue reported on code.google.com by [email protected]
on 1 Jan 2009 at 9:22
What steps will reproduce the problem?
1. can't compile or install ffmpegthumbnailer-rev-73
2. ./configure && make && sudo make install
3. or ./configure && sudo make && sudo make install
all on xubuntu 7.10 gutsy/Xfce 4.4.2 via xubuntu maintainers PPA dist upgrade
What is the expected output? What do you see instead?
I expected ffmpegthumbnailer to compile so I could have cool video
thumbnails in Thunar 9, sadly am disappointed
What version of the product are you using? On what operating system?
xubuntu 7.10 gutsy/Xfce 4.4.2 via xubuntu maintainers PPA dist upgrade
Please provide any additional information below.
Please post any additonal items you'll need to help me help you track down
the root hehehe of the error.
i can be reached at itsanudae at gmail dot com
Original issue reported on code.google.com by [email protected]
on 29 Mar 2008 at 7:03
This patch was written by Ulrich Völkel but submitted by me on his behalf.
He says:
"The patch fixes a memleak in the MovieDecoder class of
libffmpegthumbnailer-1.5.5"
So I have attached the patch.
Original issue reported on code.google.com by [email protected]
on 18 Dec 2009 at 8:09
Attachments:
I found a new useful feature
There is only one offset - percentage.
Second - to add time offset. like '[hh]:[mm]:[ss]' or [second]
Is it difficult ?
Original issue reported on code.google.com by [email protected]
on 27 Aug 2008 at 6:26
What steps will reproduce the problem?
1. Try to compile ffmpegthumbnailer
2. Confirmed on Crux (gcc 4.2.3) and Arch (gcc 4.3)
This is the output:
./configure --prefix=/usr
make
[snip]
g++ -march=native -O2 -pipe -msse3 -o .libs/ffmpegthumbnailer main.o -lm
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so -lavformat -lavcodec -lz
-la52 -lfaac -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -ltheora
-lvorbisenc -lvorbis -logg -lswscale -lavutil -lpng12 -ljpeg
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_stdio_dest(jpeg_compress_struct*, _IO_FILE*)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_set_defaults(jpeg_compress_struct*)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_CreateCompress(jpeg_compress_struct*, int, unsigned long)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_finish_compress(jpeg_compress_struct*)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_set_quality(jpeg_compress_struct*, int, int)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_destroy_compress(jpeg_compress_struct*)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_start_compress(jpeg_compress_struct*, int)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_write_scanlines(jpeg_compress_struct*, unsigned char**, unsigned int)'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.so: undefined reference to
`jpeg_std_error(jpeg_error_mgr*)'
collect2: ld returned 1 exit status
make[2]: *** [ffmpegthumbnailer] Error 1
make[2]: Leaving directory
`/var/abs/local/ffmpegthumbnailer/src/ffmpegthumbnailer-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/abs/local/ffmpegthumbnailer/src/ffmpegthumbnailer-1.2.5/src'
make: *** [all-recursive] Error 1
The issue doesn't seem to be affected by compiler flags. Please let me
know if you need any more info about this -- I'm not a programmer so I
don't know what might be relevant...
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 12:21
What steps will reproduce the problem?
1. try to build it from source will make that problem
and you get:
aclocal: couldn't open directory `m4': No such file or directory
ppl been reported it here:
http://code.google.com/p/ffmpegthumbnailer/wiki/BuildingFromSubversion
Original issue reported on code.google.com by [email protected]
on 20 Sep 2009 at 12:07
What steps will reproduce the problem?
1. Install ffmpegthumbnailer correctly
2. Produce a (raw) AVI file (I used the 3d modelling app blender)
3. Run ffmpegthumbnailer on it
What is the expected output? What do you see instead?
Expected: A thumbnail file.
Got:
PIX_FMT_YUV420P will be used as an intermediate format for rescaling
Segmentation fault
What version of the product are you using? On what operating system?
1.1.3 (and 1.1.2) Gentoo Linux.
Please provide any additional information below.
If you need an AVI file just ask, and I'll try and produce a really small
one for you to test with.
Original issue reported on code.google.com by [email protected]
on 7 Jan 2008 at 11:39
Does it support 64bit platform ? Cause i have a problems with compiling it
on AMD 64bit.
Original issue reported on code.google.com by [email protected]
on 31 Jul 2008 at 9:11
It is the same problem as in issue 43 but this time in kffmpegthumbnailer.
I'm attaching a working patch.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2009 at 4:17
Attachments:
Maybe it will be useful for somebody, im thinking about new feature:
internal thumbs batch processing.
For example, i have 1 video file. So, to make 5..n thumbs i need to run
this util 5..n times with different parameters. But it can be much easier
to process one file with only execution, with flag --batch.
So, if '--batch' used, we need to specify some params:
-i input file
-o output format ("/dir/to/output/file_%i.jpg")
-n (If used - make automatic offsets by 100%/n)
-p (If -n not used) string, containing percentages of offsets "10:20:30:..."
-t (If -n and -p not used) string containing second offsets
"10:213123:2312:...."
I`ll try to implement this stuff if i have time, but i think it`s will be a
great option for web developers that working with media services (im one of
them). Maybe for 1.5.0 release or smthn.
Original issue reported on code.google.com by [email protected]
on 11 Jan 2009 at 11:04
What steps will reproduce the problem?
1. ./configure
2. make
3.
What is the expected output? What do you see instead?
I expect it to compile, instead it throws an error about libswscale
What version of the product are you using? On what operating system?
version 1.2 on Xubuntu 7.04
Please provide any additional information below.
I am in no way expert at this. I see that libswscale is part of the ffmpeg
project, but I installed the dev libraries for libavformat and libavcodec
(version 3.0cvs2006823-3.1ubuntu4+medibuntu2)
Below is the significant part of make's output.
Considering target file `moviedecoder.o'.
File `moviedecoder.o' does not exist.
Looking for an implicit rule for `moviedecoder.o'.
Trying pattern rule with stem `moviedecoder'.
Trying implicit prerequisite `moviedecoder.cpp'.
Found an implicit rule for `moviedecoder.o'.
Considering target file `moviedecoder.cpp'.
Looking for an implicit rule for `moviedecoder.cpp'.
Trying pattern rule with stem `moviedecoder.cpp'.
Trying implicit prerequisite `moviedecoder.cpp,v'.
Trying pattern rule with stem `moviedecoder.cpp'.
Trying implicit prerequisite `RCS/moviedecoder.cpp,v'.
Trying pattern rule with stem `moviedecoder.cpp'.
Trying implicit prerequisite `RCS/moviedecoder.cpp'.
Trying pattern rule with stem `moviedecoder.cpp'.
Trying implicit prerequisite `s.moviedecoder.cpp'.
Trying pattern rule with stem `moviedecoder.cpp'.
Trying implicit prerequisite `SCCS/s.moviedecoder.cpp'.
No implicit rule found for `moviedecoder.cpp'.
Finished prerequisites of target file `moviedecoder.cpp'.
No need to remake target `moviedecoder.cpp'.
Finished prerequisites of target file `moviedecoder.o'.
Must remake target `moviedecoder.o'.
make[1]: Entering directory `/home/rogue/Desktop/ffmpegthumbnailer-1.1.2/src'
g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\"
-DPACKAGE_TARNAME=\"ffmpegthumbnailer\"
-DPACKAGE_VERSION=\"1.1.2\" -DPACKAGE_STRING=\"ffmpegthumbnailer\ 1.1.2\"
-DPAC
KAGE_BUGREPORT=\"\" -DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.1.2\" -I.
-g -O2 -MT moviedecoder.o -MD -MP -MF .deps/moviedecoder.Tpo -c -o
moviedecoder.
o moviedecoder.cpp
Putting child 0x080a9730 (moviedecoder.o) PID 8409 on the chain.
Live child 0x080a9730 (moviedecoder.o) PID 8409
moviedecoder.cpp:8:28: error: ffmpeg/swscale.h: No such file or directory
moviedecoder.cpp: In member function ‘void
MovieDecoder::convertAndScaleFrame(in
t, int, int&, int&)’:
moviedecoder.cpp:270: error: ‘SwsContext’ was not declared in this scope
moviedecoder.cpp:270: error: ‘scaleContext’ was not declared in this scope
moviedecoder.cpp:272: error: ‘SWS_BICUBIC’ was not declared in this scope
moviedecoder.cpp:272: error: ‘sws_getContext’ was not declared in this scope
moviedecoder.cpp:276: error: ‘sws_freeContext’ was not declared in this
scope
moviedecoder.cpp:285: error: ‘sws_scale’ was not declared in this scope
moviedecoder.cpp:286: error: ‘sws_freeContext’ was not declared in this
scope
Reaping losing child 0x080a9730 PID 8409
make[1]: *** [moviedecoder.o] Error 1
Removing child 0x080a9730 PID 8409 from chain.
Original issue reported on code.google.com by [email protected]
on 23 Jun 2007 at 6:48
What steps will reproduce the problem?
1. Tried different pc's i386 and x64
2.
What is the expected output? What do you see instead?
Won't compile
In file included from moviedecoder.cpp:17:
moviedecoder.h:33:28: error: ffmpeg/avcodec.h: No such file or directory
moviedecoder.h:38:29: error: ffmpeg/avformat.h: No such file or directory
moviedecoder.cpp:28:28: error: ffmpeg/swscale.h: No such file or directory
Symlinking those files then gives another error.
In file included from moviedecoder.h:38,
from moviedecoder.cpp:17:
/usr/include/ffmpeg/avformat.h:47:18: error: avio.h: No such file or directory
Symlink that file as well and it compiles fine.
What version of the product are you using? On what operating system?
Fedora 10
Please provide any additional information below.
moviedecoder.h
#if HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
#else
#include <ffmpeg/avcodec.h>
#endif
#if HAVE_LIBAVFORMAT_AVFORMAT_H
#include <libavformat/avformat.h>
#else
#include <ffmpeg/avformat.h>
#endif
Following required fixing for it to compile. I just symlinked the files to
expected locations for testing.
Fedora's ffmpeg is installed ( on both 32 & 64bit in )
/usr/include/ffmpeg/libavcodec/avcodec.h
/usr/include/ffmpeg/libavformat/avformat.h
/usr/include/ffmpeg/libavformat/avio.h
/usr/include/ffmpeg/libswscale/swscale.h
Original issue reported on code.google.com by [email protected]
on 9 Jan 2009 at 4:26
Hi there,
I tried to compile and install ffmpegthumbnailer on my Debian Etch server.
make failes with the following output:
g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\"
-DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -DPACKAGE_VERSION=\"1.2.4\"
-DPACKAGE_STRING=\"ffmpegthumbnailer\ 1.2.4\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.2.4\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1
-DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_JPEGLIB_H=1
-DHAVE_LIBAVCODEC_AVCODEC_H=1 -DHAVE_LIBAVFORMAT_AVFORMAT_H=1
-DHAVE_LIBAVUTIL_AVUTIL_H=1 -DHAVE_LIBSWSCALE_SWSCALE_H=1 -I. -g -O2
-MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
mv -f .deps/main.Tpo .deps/main.Po
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o
ffmpegthumbnailer main.o /home/server/movie/ffmpeg/libavutil/libavutil.a
/home/server/movie/ffmpeg/libavformat/libavformat.a
/home/server/movie/ffmpeg/libavcodec/libavcodec.a
/home/server/movie/ffmpeg/libswscale/libswscale.a -lz -lm -ldl -lpng12
libffmpegthumbnailer/libffmpegthumbnailer.la -ljpeg
mkdir .libs
g++ -g -O2 -o ffmpegthumbnailer main.o
/home/server/movie/ffmpeg/libavutil/libavutil.a
/home/server/movie/ffmpeg/libavformat/libavformat.a
/home/server/movie/ffmpeg/libavcodec/libavcodec.a
/home/server/movie/ffmpeg/libswscale/libswscale.a -lm
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a -lz -ldl -lpng12
/usr/lib/libjpeg.so
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::createAVFrame(AVFrame**, int, int, int)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:326:
undefined reference to `avcodec_alloc_frame'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:328:
undefined reference to `avpicture_get_size'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::destroy()':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:75:
undefined reference to `avcodec_close'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:81:
undefined reference to `av_close_input_file'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:87:
undefined reference to `av_free'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::getVideoPacket(AVPacket&)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:251:
undefined reference to `av_read_frame'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::convertAndScaleFrame(int, int, int&, int&)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:291:
undefined reference to `sws_getContext'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:303:
undefined reference to `sws_scale'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:304:
undefined reference to `sws_freeContext'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:306:
undefined reference to `av_free'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::getScaledVideoFrame(int, VideoFrame&)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:271:
undefined reference to `avpicture_deinterlace'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::decodeVideoPacket(AVPacket&)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:231:
undefined reference to `avcodec_decode_video'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::seek(int)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:177:
undefined reference to `av_seek_frame'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:180:
undefined reference to `avcodec_flush_buffers'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::initializeVideo()':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:120:
undefined reference to `avcodec_find_decoder'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:132:
undefined reference to `avcodec_open'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::initialize(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:53:
undefined reference to `av_register_all'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:54:
undefined reference to `avcodec_init'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:55:
undefined reference to `avcodec_register_all'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:57:
undefined reference to `av_open_input_file'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:62:
undefined reference to `av_find_stream_info'
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:68:
undefined reference to `avcodec_alloc_frame'
libffmpegthumbnailer/.libs/libffmpegthumbnailer.a(moviedecoder.o): In
function `MovieDecoder::createAVFrame(AVFrame**, int, int, int)':
/home/server/movie/ffmpegthumbnailer-1.2.4/src/libffmpegthumbnailer/moviedecoder
.cpp:331:
undefined reference to `avpicture_fill'
collect2: ld returned 1 exit status
make[2]: *** [ffmpegthumbnailer] Error 1
make[2]: Leaving directory `/home/server/movie/ffmpegthumbnailer-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/server/movie/ffmpegthumbnailer-1.2.4/src'
make: *** [all-recursive] Error 1
We use a subversion checkout of ffmpeg (from yesterday), not the one
available in the repositories. Any hints to solve this problem?
What steps will reproduce the problem?
1. checkout and install ffmpeg from cvs (./configure --disable-ffserver
--enable-avfilter --enable-swscale --enable-gpl)
2. checkout and configure ffmpegthumbnailer (./configure --disable-shared)
3. run make
What version of the product are you using? On what operating system?
ffmpegthumbnailer 1.2.4
ffmpeg SVN-r12931 (compiles fine and works without any problem)
OS: Debian Etch
Please provide any additional information below.
I have attached the output of the command ./configure --disable-shared (I
get nasty -fPIC errors without the disable-shared flag).
Original issue reported on code.google.com by [email protected]
on 24 Apr 2008 at 8:44
Attachments:
The pkg-config file for ffmpegthumbnailer has the following problems:
- it sets includedir=@includedir@/libffmpegthumbnailer. It should only set
it to @includedir@, because other code (e.g. kffmpegthumbnaimer) includes it
like <libffmpegthumbnailer/file.h>.
- it always adds the -ljpeg flag, even if jpeg was disabled at configure.
I'm attaching a patch that fixes these two problems.
Original issue reported on code.google.com by [email protected]
on 2 Jan 2010 at 2:39
Attachments:
Seek didn't work for me on a movie file (movie.avi) whose length was
greater than 40 minutes, anything past -t 78 resulted in the first frame
being outputted instead of the desired one.
What steps will reproduce the problem?
ffmpegthumbnailer -i movie.avi -t 95 -o screen.jpg
What version of the product are you using? On what operating system?
Version 1.2.5 on Gentoo
Please provide any additional information below.
From looking at the source it appears the problem originates on this line
(moviedecorder.cpp:178)
int64_t timestamp = (::int64_t) ( AV_TIME_BASE * timeInSeconds);
if timeInSeconds is large enough integer overflow (the inner parenthesis
use integer multiplication because timeInSeconds is an int) will occur
resulting in a negative number (which gets translated to 0 later on)
changing that line to
int64_t timestamp = (::int64_t) ( AV_TIME_BASE * (int64_t) timeInSeconds);
resulted in the correct output.
I'll attach a patch
Very nice program by the way, I tried using straight ffmpeg to generate
thumbnails but it proved to be very CPU intensive.
Original issue reported on code.google.com by [email protected]
on 29 Jun 2008 at 11:42
Attachments:
There is a big filesize of output image, ~20 kb, jpeg and png writers.
Does ffmpegthumbnailer supports any parameter to control quality (1..10) of
result image ? Or will be in next releases ?
Original issue reported on code.google.com by [email protected]
on 22 Jul 2008 at 2:29
Hi,
My system information:
- Archlinux x86_64
- ffmpegthumbnailer 1.5.4
- ffmpeg 0.5
The issue:
I have some videos (~600M so it's hard to share...) which result in an
infinite loop when generating the thumbnail. I've looked at the code, and
it seems to be in the MovieDecoder::getVideoPacket() method, when calling
the av_read_frame() function.
By adding some debug, here is what I get:
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
m_pFormatContext=0x14b4b70 m_pPacket=0x14d8100 av_read_frame returns 0
(and then it hangs in the av_read_frame() function).
The video looks like this:
/tmp/in.avi: RIFF (little-endian) data, AVI, 576 x 240, 23.98 fps, video:
XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
Maybe I'm going to look for issue in the ffmpeg function, but I'm a little
bit afraid of doing this...
Original issue reported on code.google.com by [email protected]
on 3 Aug 2009 at 7:00
I got some problems with compiling ffmpegthumnailer source from svn (r103)
with ffmpeg from svn (r16661).
The source compiling but not executing
/usr/bin/ffmpegthumbnailer: symbol lookup error: /usr/lib/libavcodec.so.51:
undefined symbol: ff_gcd
I tried on the old ffmpeg source first (that i was using from
ffmpegthumbnailer 1.3.0). The same effect. After, i updated to latest
revision. The same.
Original issue reported on code.google.com by [email protected]
on 20 Jan 2009 at 5:48
A great feature would be to read from stdin, Example:
wget http://example.org/video.mpg -O - | ffmpegthumbnailer -i - -o
thumb_video.png
I think this isn't impossible, because ffmpeg supports STDIN.
Original issue reported on code.google.com by pierregeier
on 11 Feb 2009 at 7:39
Using libffmpegthumbnailer within my code, i'm unable to produce thumbnails
for jpeg images, while it works perfectly for videos (h264/mp4).
What is the expected output? What do you see instead?
The output is a mix of the original image and garbage
What version of the product are you using? On what operating system?
I'm using the 1.5.5 version of debian squeeze
I don't know if it's a bug or a feature request, but if you have any idea
for a solution, i take it!
thanks
Original issue reported on code.google.com by [email protected]
on 14 Dec 2009 at 9:38
While i have already installed ffmpeg (centos) i get some headers missing.
I cannot figure out the exact problem though i also include the path that
the headers are located. I have downloaded the last revision from the svn.
I also uploaded a file with the whole configure output. Thanks!!!
checking for FFMPEG... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking ffmpeg/avformat.h usability... no
checking ffmpeg/avformat.h presence... no
checking for ffmpeg/avformat.h... no
checking ffmpeg/avutil.h usability... no
checking ffmpeg/avutil.h presence... no
checking for ffmpeg/avutil.h... no
checking ffmpeg/swscale.h usability... no
checking ffmpeg/swscale.h presence... no
checking for ffmpeg/swscale.h... no
checking for PNG... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
./configure: line 16095: test: =: unary operator expected
configure: pkgconfig directory is ${libdir}/pkgconfig
Original issue reported on code.google.com by [email protected]
on 8 Dec 2009 at 10:19
Attachments:
Having a bit of a problem with ffmpegthumbnailer in 64bit Centos 5.2. I
have tried to use it two ways,
1) Using yum to install ffmpeg/ffmpeg-devel and then compile
ffmpegthumbnail using the latest svn copy (1.4 I believe).
2) Compiling both ffmpeg and ffmpegthumbnailer from source gotten from svn
repo.
In both cases I have compiled the application successfully, but running it
is a problem. I get the same error no matter which method was used to
build it.
EXAMPLE:
[root@vm-flashdev small]# ffmpegthumbnailer -i ../CC017-04.flv -o ./test.jpg
Segmentation fault
[root@vm-flashdev small]# tail -1 /var/log/messages
Jan 23 00:07:28 vm-flashdev kernel: ffmpegthumbnail[30472] general
protection rip:2b537046b0c0 rsp:7fff3a643c50 error:0
I can use the exact same source file on a different machine that I have
used ffmpegthumbnail on in the past and it works correctly.
Other information,
[root@vm-flashdev small]# strace -f ffmpegthumbnailer -i ../CC017-04.flv -o
./test.jpg
<- snip ->
read(4,
"\274\354b\307\35\220\245\322}^\230\341i\215\270z\301d[\300l\305f#\250\306\r\177
B\305\231\212"...,
32768) = 32768
munmap(0x2aac78b3e000, 348160) = 0
lseek(4, 0, 0x10000 /* SEEK_??? */) = -1 EINVAL (Invalid argument)
lseek(4, -1, SEEK_END) = 111722202
lseek(4, 98304, SEEK_SET) = 98304
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
[root@vm-flashdev small]#
[root@vm-flashdev small]# ldd /usr/local/bin/ffmpegthumbnailer
libffmpegthumbnailer.so.2 =>
/usr/local/lib/libffmpegthumbnailer.so.2 (0x00002ab9c7672000)
libavformat.so.51 => /usr/lib64/libavformat.so.51 (0x00002ab9c788b000)
libavcodec.so.51 => /usr/lib64/libavcodec.so.51 (0x00002ab9c7b14000)
libz.so.1 => /usr/lib64/libz.so.1 (0x000000352de00000)
liba52.so.0 => /usr/lib64/liba52.so.0 (0x000000352ca00000)
libgsm.so.1 => /usr/lib64/libgsm.so.1 (0x000000346d200000)
libmp3lame.so.0 => /usr/lib64/libmp3lame.so.0 (0x000000346da00000)
libxvidcore.so.4 => /usr/lib64/libxvidcore.so.4 (0x000000346be00000)
libx264.so.55 => /usr/lib64/libx264.so.55 (0x000000346e600000)
libfaac.so.0 => /usr/lib64/libfaac.so.0 (0x000000346d600000)
libfaad.so.0 => /usr/lib64/libfaad.so.0 (0x000000346ea00000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002ab9c81e7000)
libtheora.so.0 => /usr/lib64/libtheora.so.0 (0x000000346f200000)
libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x000000346c600000)
libavutil.so.49 => /usr/lib64/libavutil.so.49 (0x00002ab9c83ec000)
libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x000000346c200000)
libogg.so.0 => /usr/lib64/libogg.so.0 (0x000000346ca00000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000003533c00000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002ab9c85f6000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000000352f200000)
libm.so.6 => /lib64/libm.so.6 (0x000000352ce00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000000352ee00000)
libc.so.6 => /lib64/libc.so.6 (0x000000352c600000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000000352d200000)
/lib64/ld-linux-x86-64.so.2 (0x000000352c200000)
Thanks in advance!
Original issue reported on code.google.com by [email protected]
on 23 Jan 2009 at 8:10
It would be nice to implement this algorithm:
http://notbrainsurgery.livejournal.com/29773.html
Original issue reported on code.google.com by [email protected]
on 26 Jan 2009 at 5:16
Hi.
I checked out latest (10 feb 2009) ffmpeg source code.
I have problem with building ffmpegthumbnailer-1.4.0.
# make
Making all in src
make[1]: Entering directory `/root/ffmpegthumbnailer-1.4.0/src'
Making all in libffmpegthumbnailer
make[2]: Entering directory
`/root/ffmpegthumbnailer-1.4.0/src/libffmpegthumbnailer'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -
DPACKAGE_NAME=\"ffmpegthumbnailer\" -DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -
DPACKAGE_VERSION=\"1.4.0\" -DPACKAGE_STRING=\"ffmpegthumbnailer\ 1.4.0\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.4.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -
D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_JPEGLIB_H=1 -DHAVE_LIBAVCODEC_AVCODEC_H=1 -
DHAVE_LIBAVFORMAT_AVFORMAT_H=1 -DHAVE_LIBAVUTIL_AVUTIL_H=1 -
DHAVE_LIBSWSCALE_SWSCALE_H=1 -I. -g -O2 -MT moviedecoder.lo -MD -MP -MF
.deps/moviedecoder.Tpo -c -o moviedecoder.lo moviedecoder.cpp
libtool: compile: g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\" -
DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -DPACKAGE_VERSION=\"1.4.0\" "-
DPACKAGE_STRING=\"ffmpegthumbnailer 1.4.0\"" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.4.0\" -DSTDC_HEADERS=1 -
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -D_FILE_OFFSET_BITS=64
-
DSTDC_HEADERS=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_JPEGLIB_H=1 -
DHAVE_LIBAVCODEC_AVCODEC_H=1 -DHAVE_LIBAVFORMAT_AVFORMAT_H=1 -
DHAVE_LIBAVUTIL_AVUTIL_H=1 -DHAVE_LIBSWSCALE_SWSCALE_H=1 -I. -g -O2 -MT
moviedecoder.lo -MD -MP -MF .deps/moviedecoder.Tpo -c moviedecoder.cpp -fPIC
-DPIC -o
.libs/moviedecoder.o
moviedecoder.cpp: In member function ‘void
MovieDecoder::convertAndScaleFrame(int, int, bool,
int&, int&)’:
moviedecoder.cpp:308: error: invalid conversion from ‘int’ to
‘PixelFormat’
moviedecoder.cpp:308: error: initializing argument 6 of ‘SwsContext*
sws_getContext(int, int,
PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)’
make[2]: *** [moviedecoder.lo] Error 1
make[2]: Leaving directory
`/root/ffmpegthumbnailer-1.4.0/src/libffmpegthumbnailer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ffmpegthumbnailer-1.4.0/src'
make: *** [all-recursive] Error 1
Original issue reported on code.google.com by [email protected]
on 10 Feb 2009 at 9:51
Ok, there is a problem. Output images have not fixed size, you can only set
the width. Sometimes i have output images of size 160x160 if i set width -s
160.
The feature request is to add forcing image resizing. So you always will
have images the same size.
Thanks.
Files in attachment are the result of processing different videos.
Original issue reported on code.google.com by [email protected]
on 25 Jul 2008 at 8:35
Attachments:
There is a kde4 thumbnailer using ffmpegthumbnailer:
http://code.google.com/p/kde4-ffmpegthumbnailer/
It would be nice to see some reference here, to allow kde4 users find it
easily.
Original issue reported on code.google.com by [email protected]
on 31 Oct 2009 at 5:09
Hi
Currenty it is not possible to use libffmpegthumbnailer because
videothumbnailer.h is including
some private headers.
The attached patch move the unecessary headers to the .cpp file and also make
the histogram.h
header installable (this is needed by videothumbnailer.h and thus need to be
installed).
The including of config.h in main.cpp is just to fix compilation (at least it
was broken here in OSX).
Original issue reported on code.google.com by [email protected]
on 8 May 2009 at 5:28
Attachments:
With a little modification, this program could directly be used as
thumbnailer for nautilus (wich I would prefer over totem-video-thumbnailer,
the current default), without any intermediate script.
However, nautilus does not specify an extension for the output file and
ffmpegthumbnailer does neither provide the means of specifying the format
at the command line nor can chose it automatically.
What steps will reproduce the problem?
1. Call the program with an output filename that does not provide an extension.
What is the expected output? What do you see instead?
Expected result: A thumbnail, with the type chosen automatically or
according to a format specified as parameter.
Actual result: Error: basic_string::substr
What version of the product are you using? On what operating system?
ffmpefthumbnailer version: 1.5.4
OS: Linux, Ubuntu Karmic, 32bit.
Please provide any additional information below:
It might furthermore be helpful, if the name format of the input/output
parameter could be specified (URI vs. pure file name).
Original issue reported on code.google.com by [email protected]
on 16 Dec 2009 at 7:52
What steps will reproduce the problem?
1. ./configure
2. Doesn't configure. Can't find required libraries.
What is the expected output? What do you see instead?
I expect it to configure as the libraries are there.
What version of the product are you using? On what operating
system?
Newest trunk from the svn. Mac OS X 10.6.2.
Please provide any additional information below.
I recently compiled ffmpeg without much of a hitch. I had to
compile the svn version as the tarball was stupidly missing
libswscale:
FFmpeg version SVN-r20783, Copyright (c) 2000-2009 Fabrice
Bellard, et al.
built on Dec 8 2009 22:20:43 with gcc 4.2.1 (Apple Inc.
build 5646)
configuration: --enable-libmp3lame --enable-shared --disable-
mmx --arch=x86_64
libavutil 50. 5. 1 / 50. 5. 1
libavcodec 52.43. 0 / 52.43. 0
libavformat 52.41. 0 / 52.41. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 2 / 0. 7. 2
Now ffmpeg tells me that the libraries are installed and so far
it's functioned without a hitch, however ffmpegthumbnailer
can't find either ffmpeg or the libraries necessary for a
successful configuration. I read through the readme and install
documents on ffmpegthumbnailer, but it doesn't seem to tell me
if I can implicitly tell it where its necessary files are. Is
there something I'm missing or perhaps is this a configuration
bug on Mac OS X?
ffmpeg is in /usr/local/bin
the rest is in /usr/local/lib
Original issue reported on code.google.com by [email protected]
on 9 Dec 2009 at 4:54
Hi,
It would be nice to add the mimetype for ogm and ogv files. OGM mimetype is
video/x-ogm+ogg, and for OGV files, video/ogg works (I know OGM is
different than OGV).
I've tried video/x-ogm for ogm files but thunar does not seem to support
mimetype aliases (video/x-ogm is an alias of video/x-ogm+ogg).
I found in the thunar-thumbnailer package that there is also
application/x-flash-video and video/3gpp which seems to be interesting to add.
So, the final list:
. video/x-ogm+ogg (warning: not video/x-ogm)
. video/ogg (warning: not ogv...)
. application/x-flash-video (for flv, I can confirm it works)
. video/3gpp (never tested but if it has been added...)
Thanks :)
Original issue reported on code.google.com by [email protected]
on 26 Sep 2009 at 5:53
Hi,
(disclaimer: I'm not a libtool expert at all ;)
For the 1.5.1 release, "-version-info 3:0:1" is passed to libtool. However,
it seems to contain only bugfixes (I haven't seen any new function added to
the interface, but I can be wrong), so the correct parameter should be
"-version-info 3:1:0", according to
http://www.gnu.org/software/libtool/manual/libtool.html#Versioning
I don't know why libtool behaves like this, but this is what I get on
Debian unstable:
-version-info 3:0:0 (ffmpegthumbnailer 1.5.0) => libffmpegthumbnailer.so.3.0.0
-version-info 3:0:1 (ffmpegthumbailer 1.5.1) => libffmpegthumbnailer.so.2.1.0
-version-info 3:1:0 => libffmpegthumbnailer.so.3.0.1
The second one seems to be wrong, I guess the third one is the correct one.
Thanks!
Original issue reported on code.google.com by [email protected]
on 22 May 2009 at 4:46
Attachments:
What steps will reproduce the problem?
1. Try and thumbnail the attached file.
What is the expected output? What do you see instead?
I ran:
ffmpegthumbnailer -i Jim\ Flying\ Alarm\ Clock.mp4 -o /tmp/t.png
The Error:
ffmpegthumbnailer: moviedecoder.cpp:233: bool
MovieDecoder::decodeVideoPacket(): Assertion `m_pPacket->stream_index ==
m_VideoStream' failed.
Aborted
What version of the product are you using? On what operating system?
ffmpeg-0.4.9_p20070616
ffmpegthumbnailer-1.2.5
Gentoo Linux (32 bit).
Original issue reported on code.google.com by [email protected]
on 22 Jul 2008 at 12:03
Attachments:
Hi. One more problem while doing make for ffmpegthumbnailer
1) svn checkout http://ffmpegthumbnailer.googlecode.com/svn/trunk/
ffmpegthumbnailer-
source
2) cd ffmpegthumbnailer-source
3) ./autogen.sh
4) ./configure
5) make
Step 5 raises following error:
....
ranlib .libs/libffmpegthumbnailer.a
creating libffmpegthumbnailer.la
(cd .libs && rm -f libffmpegthumbnailer.la && ln -s ../libffmpegthumbnailer.la
libffmpegthumbnailer.la)
g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\"
-DPACKAGE_TARNAME=\"ffmpegthumbnailer\"
-DPACKAGE_VERSION=\"1.4.0\" -DPACKAGE_STRING=\"ffmpegthumbnailer\ 1.4.0\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.4.0\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -D_FILE_OFFSET_BITS=64 -
DSTDC_HEADERS=1 -DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_JPEGLIB_H=1 -
DHAVE_LIBAVCODEC_AVCODEC_H=1 -DHAVE_LIBAVFORMAT_AVFORMAT_H=1 -
DHAVE_LIBAVUTIL_AVUTIL_H=1 -DHAVE_LIBSWSCALE_SWSCALE_H=1 -I. -g -O2 -MT
main.o -
MD -MP -MF .deps/main.Tpo -c -o main.o `test -f 'ffmpegthumbnailer/main.cpp' ||
echo
'./'`ffmpegthumbnailer/main.cpp
mv -f .deps/main.Tpo .deps/main.Po
rm: cannot remove `ffmpegthumbnailer': Is a directory
make[1]: *** [ffmpegthumbnailer] Error 1
make[1]: Leaving directory `/root/ffmpegthumbnailer-source'
make: *** [all-recursive] Error 1
Original issue reported on code.google.com by [email protected]
on 12 Feb 2009 at 11:16
[deleted issue]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.