convert *.ps xx.mpeg
convert *.ps xx.mpeg
I installed into my PC (-WindowsXP) ImageMagic-6.6.8-Q16 and Ghostscript901. I tried to trasform some files type PostScript in a file type mpeg but it does not work.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert *.ps xx.mpeg
do you have an mpeg delegate installed such as ffmpeg?
convert -list configure
look at line starting with DELEGATES. Does it show mpeg?
or
convert -list format
Does it list:
MPEG MPEG rw+ MPEG Video Stream
MPG MPEG rw+ MPEG Video Stream
convert -list configure
look at line starting with DELEGATES. Does it show mpeg?
or
convert -list format
Does it list:
MPEG MPEG rw+ MPEG Video Stream
MPG MPEG rw+ MPEG Video Stream
Re: convert *.ps xx.mpeg
do you have an mpeg delegate installed such as ffmpeg?
FFmpeg version SUN-r23418
......
ffmpeg_output @ 01bbf940 autoinserting filter ' auto inserted scaler 0' between the filter ' src' and the filter 'out' .....
Does it list:
MPEG MPEG rw+ MPEG Video Stream
MPG MPEG rw+ MPEG Video StreamFred's ImageMagick Scripts
What next?
fmw42
Posts: 6123
Joined: 2007-07-03T02:14:51+00:00
Location: Sunnyvale, California, USA
Private messageWebsite
I think I succeded, See the following lines
FFmpeg version SUN-r23418
......
ffmpeg_output @ 01bbf940 autoinserting filter ' auto inserted scaler 0' between the filter ' src' and the filter 'out' .....
Does it list:
MPEG MPEG rw+ MPEG Video Stream
MPG MPEG rw+ MPEG Video StreamFred's ImageMagick Scripts
Yes , this works.
What next?
fmw42
Posts: 6123
Joined: 2007-07-03T02:14:51+00:00
Location: Sunnyvale, California, USA
Private messageWebsite
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert *.ps xx.mpeg
What is your exact command line?
What error message do you get?
Do you have ghostscript installed
type
convert -list configure
look at line starting with DELEGATES. Does it show mpeg and gs?
What error message do you get?
Do you have ghostscript installed
type
convert -list configure
look at line starting with DELEGATES. Does it show mpeg and gs?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: convert *.ps xx.mpeg
From the notes on mpeg and other video output....
http://www.imagemagick.org/Usage/formats/#mpeg
To avoid heavy pixelization....
or directly use ffmpeg
http://www.imagemagick.org/Usage/formats/#mpeg
To avoid heavy pixelization....
Code: Select all
convert *.jpg m2v:glacier.mpg
Code: Select all
ffmpeg -f image2 -i %03d.jpg -vcodec mjpeg -y anim.mpg
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: convert *.ps xx.mpeg
Our exact command line and error message are :
D:\mac_fontana>convert *.pgs fontana.mpeg
FFmpeg vergsion SUN-r23418, Copyright <C> 2000-2010 the FFmpeg developers
built on Jun 2 20I0 04:12:01 with gcc 4.4.2
configuration: --target-os =mingw32 --enable-runtime-cpudetect --enabe avisynth
--enable-gpl --enable-version3 --enable-bzlib --enable-libgsm --enable-libfaad
--enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex
--enable-libmp3lame --enable-libopenjpeg --enable-libxvid
--enable-libschroedinger --enable-libx264 --extra-libs=' -lx264 -lpthread'
--enable-libopencore_amrwb --enable-libopencore_amrnb --enable-librtmp --extra-libs=' -lrtmp -lssl -lcrypto -
lws2-32 -lgdi32 -lwinmm -lcrypt32 -lz' --arch=x86 --cross-prefix=i686-mingw32- --cc=' ccache i686-mingw32-gcc'
--enable-memalign-hack
libavutil 50.16. 0 / 50.16. 0
libavcodec 52.72. 1 / 52.72. 1
libavformat 52.67. 0 / 52.67. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
[ffmpeg_output @ 01bbf940]auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and
the filter 'out'
[scale @ 01bbfbe0]w:612 h:792 fmt:gray -> w:612 h:792 fmt:yuv420p flags:0x4
Output #0, mpeg, to 'C:/DOCUME~1/casa/IMPOST~1/Temp/magick-j3IXw0oo.mpeg':
Metadata:
encoder : Lavf52.67.0
Stream #0.0: Video: mpeg1video <hq>, yuv420p, 612x792 [PAR 1:1 DAR 17:22], q=2-31, pass 1,
200 kb/s, 90k tbn, 25 tbc
D:\mac_fontana>
Line starting with DELEGATES does not show mpeg nor gs.
Ghostscript installed is 901
Thanks a lot for your help.
D:\mac_fontana>convert *.pgs fontana.mpeg
FFmpeg vergsion SUN-r23418, Copyright <C> 2000-2010 the FFmpeg developers
built on Jun 2 20I0 04:12:01 with gcc 4.4.2
configuration: --target-os =mingw32 --enable-runtime-cpudetect --enabe avisynth
--enable-gpl --enable-version3 --enable-bzlib --enable-libgsm --enable-libfaad
--enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex
--enable-libmp3lame --enable-libopenjpeg --enable-libxvid
--enable-libschroedinger --enable-libx264 --extra-libs=' -lx264 -lpthread'
--enable-libopencore_amrwb --enable-libopencore_amrnb --enable-librtmp --extra-libs=' -lrtmp -lssl -lcrypto -
lws2-32 -lgdi32 -lwinmm -lcrypt32 -lz' --arch=x86 --cross-prefix=i686-mingw32- --cc=' ccache i686-mingw32-gcc'
--enable-memalign-hack
libavutil 50.16. 0 / 50.16. 0
libavcodec 52.72. 1 / 52.72. 1
libavformat 52.67. 0 / 52.67. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
[ffmpeg_output @ 01bbf940]auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and
the filter 'out'
[scale @ 01bbfbe0]w:612 h:792 fmt:gray -> w:612 h:792 fmt:yuv420p flags:0x4
Output #0, mpeg, to 'C:/DOCUME~1/casa/IMPOST~1/Temp/magick-j3IXw0oo.mpeg':
Metadata:
encoder : Lavf52.67.0
Stream #0.0: Video: mpeg1video <hq>, yuv420p, 612x792 [PAR 1:1 DAR 17:22], q=2-31, pass 1,
200 kb/s, 90k tbn, 25 tbc
D:\mac_fontana>
Line starting with DELEGATES does not show mpeg nor gs.
Ghostscript installed is 901
Thanks a lot for your help.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert *.ps xx.mpeg
If the line starting with DELEGATES does not show mpeg or gs, then IM does not recognize them or they are in the wrong place or you installed them after installing IM. Try reinstalling your delegates, make sure they were installed successfully and then reinstall IM. All of what I tell you is based upon my experience on Mac/Unix, so if you are on Windows, things may be different from what I tell you. Then perhaps you need help from some one more experience with Windows/IM/delegates.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: convert *.ps xx.mpeg
The ffmpeg delegate is not a library delegate but a command delegate. that is it actualy runs the command "ffmpeg".
<delegate encode="mpeg:encode" stealth="True" command=""ffmpeg" -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -i "%M%%d.jpg" "%u.%m" 2> "%Z""/>
Not quite certain what all that means, but the command itself appears to be...
I think! Never seen a "mpeg:encode" name for a delegate, and there does not appear to be a output filename. Perhaps it is a pipeline delegate?
However the delegate.xml file does say that the normal rules do not apply for mpeg formats.
<delegate encode="mpeg:encode" stealth="True" command=""ffmpeg" -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -i "%M%%d.jpg" "%u.%m" 2> "%Z""/>
Not quite certain what all that means, but the command itself appears to be...
Code: Select all
ffmpeg -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 \
-i PGS%d.jpg input_filename 2> junk_filename
However the delegate.xml file does say that the normal rules do not apply for mpeg formats.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/