[PD] advise on making mjpeg, pdp and libquicktime happy

danja vasiliev binary.koala at gmail.com
Wed Oct 17 03:28:29 CEST 2007

well, as i said i create those mjpeg avis using mencoder and i can play
them using mplayer too - so i'd assume the chain libavcodec-mencoder is
doing fine...

danja at t43:~$ find /usr/lib | grep libavcodec

danja at t43:~$ cat /usr/lib/pkgconfig/libavcodec.pc

Name: libavcodec
Description: FFmpeg codec library
Version: 0d.51.11.0
Requires:  vorbis vorbisenc ogg >= 1.1 libraw1394 libavutil = 0d.49.0.0
Libs: -L${libdir} -lavcodec -lm -lz -la52 -ldts -lgsm -lmp3lame -lvorbis
-lvorbisenc -logg -logg -lxvidcore -lx264_pic -ldc1394_control -lraw1394
-lfaac -lfaad -ldl
Cflags: -I${includedir} -I${includedir}/ffmpeg


shift8 wrote:
> looks like mjpeg in this case is provided by libavcodec that is then
> used by mencoder - make sure that chain is working right would be my
> recommendation
> Wed, 2007-10-17 at 03:06 +0200, danja vasiliev wrote:
>> im running ubuntu feisty 7.04, libquicktime plugins are in standard
>> location:
>> danja at t43:~$ cat /etc/debian_version
>> 4.0
>> danja at t43:~$ ls /usr/local/lib/libquicktime/
>> lqt_audiocodec.la  lqt_faac.la   lqt_ffmpeg.la  lqt_mjpeg.la
>> lqt_png.la     lqt_videocodec.la
>> lqt_audiocodec.so  lqt_faac.so   lqt_ffmpeg.so  lqt_mjpeg.so
>> lqt_png.so     lqt_videocodec.so
>> lqt_dv.la          lqt_faad2.la  lqt_lame.la    lqt_opendivx.la
>> lqt_rtjpeg.la  lqt_vorbis.la
>> lqt_dv.so          lqt_faad2.so  lqt_lame.so    lqt_opendivx.so
>> lqt_rtjpeg.so  lqt_vorbis.so
>> so i just did this and noting has changed...
>> danja at t43:~$ export LIBQUICKTIME_PLUGIN_DIR=/usr/local/lib/libquicktime
>> danja at t43:~$ pd
>> tk scaling is 1.22249724972
>> quicktime_delete_vcodec_stub called
>> the last line is what PD spits out when i try opening my mjpeg.
>> mjpeg i make using MEncoder 2:1.0~rc1-0ubuntu9.1
>> like this:
>> for i in $( ls ); do mencoder mf://$i/*.jpg -mf fps=6 -o $i.avi -ovc
>> lavc -lavcopts vcodec=mjpeg; done

    _|_       danja vasiliev
 ---(*)---    http://k0a1a.net/recent
   " ' "      +31-64-2654486

More information about the Pd-list mailing list