hi,
been reading some previous discussions, and it seems like the best codec for pix_film is mjpeg, as in not-cpu-expensive. if i encode my movies with ffmpeg with parameters
-an -vcodec mjpeg -sameq
pd crashes when trying to open that avi in pix_film.
pix_film reports on creation:
pix_film:: quicktime support pix_film:: libmpeg3 support pix_film:: libaviplay support
there is no error on stderr apart from
[pix_film]: opening video-mjpeg.avi with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... socket receive error: Connection reset by peer (104) Segmentation fault
if anyone would have an idea how can i make Gem work with mjpeg videos it would be greatly appreciated.
l.
On Sun, Feb 13, 2011 at 15:01, Luka Princic // Nova deViator < nova@deviator.si> wrote:
been reading some previous discussions, and it seems like the best codec for pix_film is mjpeg, as in not-cpu-expensive. if i encode my movies with ffmpeg with parameters
I usually follow the following workflow for encoding :
First I grab some video from a random source and run it through mencoder to get a mjpeg avi without sound :
# mencoder INPUT -o OUTPUT -ovc lavc -lavcopts vbitrate=1800:vcodec=mjpeg -nosound ( these files work perfectly in veejay btw )
Then I run it through ffmpeg to turn it into a quicktime file :
# ffmpeg -i INPUT(.avi) -vcodec copy OUTPUT(.mov)
You should find that pix_film has no problem opening the resulting .mov files :)
Enjoy!
-- buZz http://puikheid.nl/
Bastiaan van den Berg buzz@spacedout.nl:
On Sun, Feb 13, 2011 at 15:01, Luka Princic // Nova deViator < nova@deviator.si> wrote:
been reading some previous discussions, and it seems like the best codec for pix_film is mjpeg, as in not-cpu-expensive. if i encode my movies with ffmpeg with parameters
I usually follow the following workflow for encoding :
First I grab some video from a random source and run it through mencoder to get a mjpeg avi without sound :
# mencoder INPUT -o OUTPUT -ovc lavc -lavcopts # vbitrate=1800:vcodec=mjpeg -nosound ( these files work perfectly in veejay btw )
Then I run it through ffmpeg to turn it into a quicktime file :
# ffmpeg -i INPUT(.avi) -vcodec copy OUTPUT(.mov)
You should find that pix_film has no problem opening the resulting .mov files :)
thanks for instructions bastiaan, however, no crash tho, but loads of errors:
[svq3 @ 0xb6f44614]unsupported slice header (FF) [ffmpeg_video] Error: Skipping corrupted frame
l
hallo,
i had a similar problem with mjepeg movies on ubuntu maverick,
in my case it crashed,
i recompiled libquicktime http://libquicktime.sourceforge.net/
best, alex
hi,
been reading some previous discussions, and it seems like the best codec for pix_film is mjpeg, as in not-cpu-expensive. if i encode my movies with ffmpeg with parameters
-an -vcodec mjpeg -sameq
pd crashes when trying to open that avi in pix_film.
pix_film reports on creation:
pix_film:: quicktime support pix_film:: libmpeg3 support pix_film:: libaviplay support
there is no error on stderr apart from
[pix_film]: opening video-mjpeg.avi with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... socket receive error: Connection reset by peer (104) Segmentation fault
if anyone would have an idea how can i make Gem work with mjpeg videos it would be greatly appreciated.
l
atuc atuc@gmx.de:
hallo,
i had a similar problem with mjepeg movies on ubuntu maverick,
- test if you can play files: lqtplay mjpeg.mov
testing with lqtplay:
if i created files with
mencoder INPUT -o OUTPUT -ovc lavc -lavcopts \ vbitrate=1800:vcodec=mjpeg -nosound
ffmpeg -i INPUT(.avi) -vcodec copy OUTPUT(.mov)
or with
ffmpeg -i input.avi -an -vcodec mjpeg output.mov
it run with loads of [ffmpeg_video] Error: Skipping corrupted frame and then displayed info:
INFO: playing lovesong_live2.mov Type: Quicktime 0 audio tracks. 1 video tracks. 720x576, depth 24 rate 25.000000 [25:1] constant length 25423 frames compressor jpeg. Native colormodel: Undefined Interlace mode: None (Progressive) No timecodes available supported. 0 text tracks. Timescale: 25 WARNING: no audio stream INFO: Xvideo port 280: 0x32595559 (YUY2) packed [BC_YUV422] INFO: Xvideo port 280: 0x32315659 (YV12) planar [BC_YUV420P] INFO: Xvideo port 280: 0x59565955 (UYVY) packed INFO: Xvideo port 280: 0x30323449 (I420) planar [BC_YUV420P] Stream colormodel Undefined, using 24 bpp RGB INFO: gl: DRI=Yes INFO: gl: frame=720x576, texture=1024x1024 INFO: using BC_RGB888 + OpenGL INFO: window size is 720x576
but no video shown. and didn't really crash, just froze there with black player window.
any ideas?
i'm now using rawvideo (-vcodec rawvideo) and it works just fine in GEM. but would be happy to be able to play mjpeg files.
also, does the mjpeg encoded video file need to be in .mov container? can it be in .avi containter for example?
l.
I have tried the encode just now with the pix_film example.
The following file : http://etc.servehttp.com/chick_gooit_haar_rond_640.mov
The output lqtplay gives me (including a window that plays the video) is :
INFO: playing chick_gooit_haar_rond_640.mov Type: Quicktime 0 audio tracks. 1 video tracks. 640x480, depth 24 rate 29.970000 [2997:100] constant length 42 frames compressor jpeg. Native colormodel: YUV 4:2:0 planar Interlace mode: None (Progressive) Chroma placement: MPEG-1/JPEG No timecodes available supported. 0 text tracks. Timescale: 2997 WARNING: no audio stream INFO: Xvideo port 74: 0x32595559 (YUY2) packed [BC_YUV422] INFO: Xvideo port 74: 0x32315659 (YV12) planar [BC_YUV420P] INFO: Xvideo port 74: 0x30323449 (I420) planar [BC_YUV420P] INFO: Xvideo port 74: 0x59565955 (UYVY) packed INFO: Xvideo port 74: 0x434d5658 (XVMC) planar Stream colormodel YUV 4:2:0 planar, using YUV 4:2:0 planar INFO: using BC_YUV420P + Xvideo extention (YV12) INFO: window size is 640x480 Decoded 0 samples
Oh what I actually wanted to say, are you sure your libquicktime actually supports mjpeg?
I am on Gentoo linux here, and my libquicktime is compiled as following :
"X aac alsa dv encode ffmpeg gtk jpeg mmx opengl png schroedinger vorbis x264 -doc -lame"
(which basically means I get everything inside beside the documentation (which is mirrored online mostly anyway) and the MP3 encoding support (but I hardly ever use audio in video material))
Unfortunately, I have no clue if Ubuntu has anything similar to this, maybe different versions you can pick from the repository?
-- buZz http://puikheid.nl/
I've been using mjpeg encoded .avi video and that's worked the best for me with GEM on Ubuntu. However, I highly recommend installing GEM with gmerlin (gavl) support as it drastically sped up playback on my machine. I had to compile it in myself but I think there might be a daily build .deb floating around somewhere. To compile, I got gavl libraries etc. from Roman's PPA https://launchpad.net/~reduzierer/+ppa-packages
https://launchpad.net/~reduzierer/+ppa-packages-martin
On Sun, Feb 13, 2011 at 5:41 PM, Bastiaan van den Berg buzz@spacedout.nlwrote:
Oh what I actually wanted to say, are you sure your libquicktime actually supports mjpeg?
I am on Gentoo linux here, and my libquicktime is compiled as following :
"X aac alsa dv encode ffmpeg gtk jpeg mmx opengl png schroedinger vorbis x264 -doc -lame"
(which basically means I get everything inside beside the documentation (which is mirrored online mostly anyway) and the MP3 encoding support (but I hardly ever use audio in video material))
Unfortunately, I have no clue if Ubuntu has anything similar to this, maybe different versions you can pick from the repository?
-- buZz http://puikheid.nl/
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 05:10, Martin Eckart wrote:
I've been using mjpeg encoded .avi video and that's worked the best for me with GEM on Ubuntu. However, I highly recommend installing GEM with gmerlin (gavl) support as it drastically sped up playback on my machine. I had to compile it in myself but I think there might be a daily build .deb floating around somewhere. To compile, I got gavl libraries etc. from Roman's PPA https://launchpad.net/~reduzierer/+ppa-packages
gmerlin-avdecoder is now a normal debian package (starting with wheezy), so roman's PPA should slowly fade out into history.
fgmasdr IOhannes