how do i export jpg from wmv?
how do i export jpg from wmv?
I have read that I *should be able to export a jpg from a wmv using convert video.wmv stills-%d.jpg.
When i first tried this i got a error saying: convert: no decode delegate for this image format.
After someone said i should add a entry to coder.xml of <coder magick="WMV" name="MPEG"/>
After i added that i stopped getting the error but it just sits there forever.
Nothing ever happenes.
So is there please a way i can configure or update my ImageMagick to export a thumb from a wmv. Thanks.
When i first tried this i got a error saying: convert: no decode delegate for this image format.
After someone said i should add a entry to coder.xml of <coder magick="WMV" name="MPEG"/>
After i added that i stopped getting the error but it just sits there forever.
Nothing ever happenes.
So is there please a way i can configure or update my ImageMagick to export a thumb from a wmv. Thanks.
Last edited by BringItAroundTown on 2009-07-17T14:52:15-07:00, edited 1 time in total.
Re: export jpg from wmv
Is there any reason why no one is even reading this?
Is there more info I can provide that will help get my question answered?
Is there more info I can provide that will help get my question answered?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: how do i export jpg from wmv?
It is not that no one is reading this. But likely we do not know the answer. I can give you some tips, but I have never used wmf.
I believe that you may need to install the delegate library (libwmf) for it and possibly enable it in your configuration.
see
http://www.imagemagick.org/download/delegates/
http://www.imagemagick.org/script/advan ... lation.php
I believe that you may need to install the delegate library (libwmf) for it and possibly enable it in your configuration.
see
http://www.imagemagick.org/download/delegates/
http://www.imagemagick.org/script/advan ... lation.php
Re: how do i export jpg from wmv?
I believe i have the package for wmf. My question was regarding the WMV format though.
I wasn't aware those two were related.
when i run identify -list format, wmf is listed in there. wmv is not.
I wasn't aware those two were related.
when i run identify -list format, wmf is listed in there. wmv is not.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: how do i export jpg from wmv?
what do you get from
convert -list configure
see line starting with DELEGATES. That tells you what IM actually finds in its configuration.
The list you are looking at only says what is compatible with IM.
convert -list configure
see line starting with DELEGATES. That tells you what IM actually finds in its configuration.
The list you are looking at only says what is compatible with IM.
Re: how do i export jpg from wmv?
this is what gets returned for delegates when i ran convert -list configure
DELEGATES bzlib djvu fontconfig freetype gvc jpeg jp2 lcms openexr png rsvg tiff wmf x11 xml zlib
DELEGATES bzlib djvu fontconfig freetype gvc jpeg jp2 lcms openexr png rsvg tiff wmf x11 xml zlib
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: how do i export jpg from wmv?
BringItAroundTown wrote:I believe i have the package for wmf. My question was regarding the WMV format though.
I wasn't aware those two were related.
when i run identify -list format, wmf is listed in there. wmv is not.
I see
WMV MPEG rw+ Windows Media Video
But I have no idea whether or where to find or enable wmv delegate? What IM version are you using. Perhaps an upgrade is in order?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: how do i export jpg from wmv?
convert -list delegate
or look for the delegate.xml file the location of which is also listed by the above command.
or look for the delegate.xml file the location of which is also listed by the above command.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: how do i export jpg from wmv?
anthony wrote:convert -list delegate
or look for the delegate.xml file the location of which is also listed by the above command.
Path: /usr/lib/ImageMagick-6.3.7/config/delegates.xml
Delegate Command
-------------------------------------------------------------------------------
cgm => "ralcgm" -d ps -oC < "%i" > "%o" 2> "%u"
dng:decode => "ufraw-batch" --silent --wb=camera --black-point=auto --exposure=auto --create-id=also --out-type=ppm16 "--output=%u.pnm" "%i"
eps<=>pdf "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i"
eps<=>ps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i"
fig => "fig2dev" -L ps "%i" "%o"
gplt => "echo" "set size 1.25,0.62 set terminal postscript portrait color solid; set output "%o"; load "%i"" > "%u";"gnuplot" "%u"
hdr => "ra_pfm" "%i" "%o"
hpg => "hp2xx" -q -m eps -f `basename "%o"` "%i" mv -f `basename "%o"` "%o"
hpgl => "if [ -e hp2xx -o -e /usr/bin/hp2xx ]; then hp2xx -q -m eps -f `basename "%o"` "%i" mv -f `basename "%o"` "%o else echo "You need to install hp2xx to use HPGL files with ImageMagick." exit 1 fi"
htm => "html2ps" -U -o "%o" "%i"
html => "html2ps" -U -o "%o" "%i"
https => "curl" -s -k -o "%o" "https:%M"
ilbm => "ilbmtoppm" "%i" > "%o"
man => "groff" -man -Tps "%i" > "%o"
pdf<=>eps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i"
pdf<=>ps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i"
pic => "ra_pfm" "%i" "%o"
pnm<= ilbm "ppmtoilbm" -24if "%i" > "%o"
pnm<= launch "gimp" "%i"
pov => "povray" "+i%i" -D0 +o"%o" +fn%q +w%w +h%h +a -q9 -kfi"%s" -kff"%n" "convert" -concatenate "%o*.png" "%o"
ps<=>eps "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i"
ps<=>pdf "gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i"
ps<= print "lpr "%i"
rad => "ra_pfm" "%i" "%o"
rgba<= rle "rawtorle" -o "%o" -v "%i"
scan => "scanimage" -d "%i" > "%o"
shtml => "html2ps" -U -o "%o" "%i"
svg => "wmf2eps" -o "%o" "%i"
txt<=>ps "enscript" -o "%o" "%i"
wmf => "wmf2eps" -o "%o" "%i"
is the response i get from your command. i do not see wmv either. what do i need to add to get it there?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: how do i export jpg from wmv?
6.3.7 is very very old (170 versions old). I suggest that you seriously consider upgrading.
Re: how do i export jpg from wmv?
ok sysadmin upgraded imagemagick and now i get his error:
convert: Delegate failed `"ffmpeg" -v -1 -vframes %S -i "%i" -vcodec pam -an -f rawvideo -y "%u.pam" 2> "%Z"' @ delegate.c/InvokeDelegate/1032.
convert: unable to open image `/tmp/magick-XXjyWkG4.pam': No such file or directory @ blob.c/OpenBlob/2480.
convert: Delegate failed `"ffmpeg" -v -1 -vframes %S -i "%i" -vcodec pam -an -f rawvideo -y "%u.pam" 2> "%Z"' @ delegate.c/InvokeDelegate/1032.
convert: unable to open image `/tmp/magick-XXjyWkG4.pam': No such file or directory @ blob.c/OpenBlob/2480.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: how do i export jpg from wmv?
have you installed the ffmpeg delegate?
see this related post viewtopic.php?f=1&t=13650&p=48394&hilit=ffmpeg#p48394
see this related post viewtopic.php?f=1&t=13650&p=48394&hilit=ffmpeg#p48394
Re: how do i export jpg from wmv?
Well this imagemagick video covnersion is turning out to be a pain in the butt.
We installed ffmpeg to make it work but then running convert gave segmentation fault.
I was hoping getting aorund having to use ffmpeg anyway. So since we had to install it nayway I am using that to do what i want and it worked great the first try and i will be using it to generate the video thumbs i need.
As for the poster that supplied all that info for the other video converter, this is gonna be a part of an automated system so need something to run command line.
We installed ffmpeg to make it work but then running convert gave segmentation fault.
I was hoping getting aorund having to use ffmpeg anyway. So since we had to install it nayway I am using that to do what i want and it worked great the first try and i will be using it to generate the video thumbs i need.
As for the poster that supplied all that info for the other video converter, this is gonna be a part of an automated system so need something to run command line.