New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: can't import videos via pix_film/movie #232
Comments
|
thanks for the bug-report.
can you start Pd from the cmdline, and see whether it prints something to the console? something like: |
|
I'm having a similar problem -- different feedback from the software, but the issue title "can't import videos" applies. Pd 0.49.0 (64 bit) [bang button] --> [openpanel] --> [open $1( --> [pix_film] In the file dialog, I chose "E:/2018-19-spring/apres-la-pluie-silent.mp4" Running from the command line with I need to run to a meeting now, and I don't have regular access to a Windows machine, so it will be next week sometime before I can try anything else. |
|
Gem will fallback to opening videos as images (so you can load a JPG with however, i think this is indeed a different issue than the one @shy8500 is having (for them, it seems that the file can be opened (as it reports frame size and number), but then "something" goes wrong). so @jamshark70, please report your problems as another issue. |
|
Ok, that makes sense, it's fine to disregard my message. I found some sort of open source DirectShow plugin set which might handle h264 video but ran out of time to try it. If that fails, I'll open a new issue. Thanks for the quick feedback! |
|
hello. I'm using Pd version 0.49.0 (64 bit) and downloaded GEM via "find externals"-deken archive (version 0.94). my console prints like below: |
|
@shy8500 thanks for the additional info. |
|
it literally "doesn't work". entire program freezes and everything I can do with Pd - such as clicking bang or toggle, dragging objects, keyboard shortcuts, etc... even closing windows doesn't work literally I can't do anything as soon as I try to play the video file with [auto $1(. but fortunately dragging, max/minimizing pd window are OK. I have to close whole Pd by force. |
|
so does it only freeze if you use also: what do you get during the freeze in the |
|
same result with sending a single frame. is there still something else I could do instead? while freezeng, no messages on the console. here is the messages until freezes matchbox: OSC-pattern matching code (c) Matt Wright, CNMAT
|
|
you run your puredata from commandline with command like 'pd -lib Gem -verbose -verbose' |
|
FWIW, I can confirm @shy8500's problem on Windows 10 with the DS backend, using Pd 0.49 64 bit and the latest 64 bit Gem package from Deken. It's easy to reproduce, load the 05.film.pd example from Gem/examples/04.pix, in the patch open the alea.mpg video, push I'm also experiencing similar issues with the DS backend as @jamshark70, i.e., Gem's DS backend just refuses to load most video files in present-day formats like MPEG4, even though they work fine in Windows Media Player or VLC. Here's what I get with the So it appears that the filmDS and videoDS plugins did load successfully, but for some reason they either can't load the video or they can't play them back. This uses an AVI video, but the same happens with MPEG4. (The same also happens with the latest Purr Data and the latest Gem from git compiled from source, so it's not just an issue with the binaries IMHO.) Here is the example that I used for testing (includes the 05film.pd patch and the alea.avi video): I think that the only way I could ever get video playback in Gem to work on Windows was with @avilleret's experimental 32 bit builds over at https://github.com/avilleret/Gem, via the QT backend. But those packages have their kinks, too (either QT or VIDS missing; QT I should also add that in either case, video capture from the webcam via the VIDS plugin works fine. So that's what I know about the present state of Gem video on Windows. :) I think that getting the DS backend to work properly is definitely the way to go, QT being 32 bit only (also, AFAICT QT needs to be built using MSVC, and I prefer to build stuff with msys2/mingw). |
|
i haven't tested now, but I'm pretty sure that I did some successful tests of opening footage files on Windows. Pro-Tip: 👩🏫 Make sure you have the K-Lite Code Pack installed. |
|
Huh. K-Lite Codecs actually do work on my Win10 system. Thanks for the tip! It would be immensely helpful to include this in the GEM documentation, to avoid people making claims such as "it doesn't work at all in Windows." |
|
@jamshark70 thanks for confirming. While I did install the codec-pack during testing (mostly because the |
|
thanks for the tip, but it still troubles after installing K-Lite Codec (Standard version) for me. do I install with specific settings? (increasing verbosity didn't work well either) |
|
@umlaeute hey, I believe I figured out what was a problem. |
|
@shy8500 how about closing this issue (without re-opening it) then? |
|
OK. just not got used to using github system yet. thanks! |
|
FWIW, on this issue, I got stuck in the middle between the suggestion here to use K-Lite codecs, vs the Purr-Data maintainers' refusal even to recommend non-free dependencies "at your own risk" and their insistence that GEM should be able to find and use VLC codecs (it doesn't). So I don't know who is right and it was a somewhat awkward position to be in as a user (developer A: "it's fixed by installing xyz"; developer B: "we will never recommend xyz"). I don't have that much stake in it except to make the issue's status, and way forward, easily visible to incoming users. Visibility matters because I went for months thinking video was totally broken in Windows. Users have to be able to find this information in a readme or something, or they will reach the same conclusion I did. |
|
regarding documentation: please submit a PR to fix the documentation - preferably in a way that reaches the target audience (Windows users) but doesn't irritate the rest of the world. regarding VLC: the current VLC-backend in Gem is for <rant>
</rant> |
OK, fair.
I wouldn't have guessed that.
Yeah, I kinda need to be able to glitch it up. Re: rant -- I suppose the way forward is -- if Gem documents that video objects should in most cases work in Windows 10 by using these nonfree codecs, and if Purr Data devs wish to bundle Gem, then: either they bundle it as is (including the documentation), or they modify the documentation (and then user complaints are their responsibility to deal with), or they don't bundle it. |
but why? |
|
and btw: i dont think the FLOSS "zeal" would extend to actively removing documentation. |
I didn't see anything in the pix_video help patch about opening video files, so I assumed that it had no such feature. I might have overlooked it, but after your message, I did look at the help patch again and I just don't see it.
This is exactly what I meant by "awkward position." I shouldn't be in the middle between you and the Purr Data team. I do understand that you're not under any particular obligation to seek them out, but I'm not interested in acting as anybody's representative here except my own. They had a question why pix_film couldn't use free codecs bundled with VLC. Why they thought so, I have no idea. At this point, my plan is to submit a documentation PR and then notify the Purr Data folks of the findings here. What they do with that is up to them, entirely. |
I'm a pd user with Windows 10 and I'm experiencing some several situations in several circumstances.
first of all, when I tried to import video via
[pix_film]-[pix_texture]or[pix_movie], it suddenly freezes while turning on with[auto $1(and everything doesn't work (load the video was successful and it was an avi file).a last message was
I believe it's not just a problem with my file because I experienced same problem with a demo movie file in
pix_film-help, orpix_movie-help.this happened on Pd-Vanilla. and even Pd-L2Ork(a.k.a.Purr data) doesn't load the video (unable to load~~). meanwhile everything goes fine on Pd-extended but because this is already a dead product, I want to continue my project on Pd-Vanilla or L2Ork. what could be the causes and what should I do in this situation? thank you in advance
The text was updated successfully, but these errors were encountered: