-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
STANDALONE: VideoTexture Op issue when loading video #132
Comments
I'm not at my PC at the moment, but I don't think it's just a matter of sound or no sound. I got the same message testing something last night in 0.1 Ffmpeg isn't my area of expertise, but my first hunch is this is some sort of issue with certain types of video encoding methods. I was going to run a few basic |
can you try this in chromium or share and example video? this might be a video-format/licencing issue :/ |
yes, the sound might not be the cause of this issue... Here is very small video examples: Working: https://github.com/user-attachments/assets/e3353e54-4011-4dac-a022-9724a60290f6 Not Working: https://github.com/user-attachments/assets/827f5b9f-5793-4523-8c93-df7f2021600e |
why cant you access cables from taiwan ?! |
cables.gl works fine via vpn to taiwan |
Yes, it works fine 75% of time, and suddenly it's almost not possible to display a page for few hours, don't know why. |
btw, I tried and all my video works well in https://cables.gl/ |
would be helpful if you could send me screenshots from dev tools open in the network tab |
check ffmpeg in electron |
I have the same issue, I have ffmpeg.exe on my windows build available from the windows shell. |
do these videos work if/when you toggle "play" manually and not on patchload? |
no, I put the videoTexture op, pick a file and it fails. It was not on load. |
the files I tested just now are well past too big for Github, so links to relevant files and types I downloaded:
also a json metadata dump of said files from MediaInfo, if that sort of thing might be useful to you: seems it's not just a .mp4 container-type issue, although video isn't my expertise so I can't tell you much past that. |
hello - i've just run into this error with FFMPEG after using the standalone version of cables.gl. my system is a macOS 13.6.4. the video example runs fine with the waves.mp4 video file, but any other mp4 file i've tried i've does NOT work and results in the same error. the error is printed as soon as the video is loaded and activating play doesn't change anything. curious, i tried this with the online web version which also has an error where it thinks i somehow don't have rights to the uploaded file. so basically i am unable to use video textures at all in cables.gl, unless i want to run the demo file. i have no idea why it works with that file and no others. there's nothing unusual about it as far as i can see compared to others. i've used files generated from OBS screencaps mainly but i have used some generic ones. they are H264 MP4 files. |
what do you meant with "where it thinks i somehow don't have rights to the uploaded file"? |
this isn't the wave.mp4 file BTW it printed that when i dropped a different file in the upload overlay popup. the file field on the op doesn't change from the default wave.mp4 |
are you trying to upload a file to a patch that is not yours? an example patch or something? this is a screenshot from the web...right? |
yeah it's an example patch using the web version. but it let me alter the patch in a bunch of other ways just playing around with it. seems a bit unintuitive that it would let me delete a bunch of ops in that patch but wouldn't let me upload a video. anyway, i wanted to run cables locally but i have to have the video texture working and it seems like it needs a bit more updating before it will be stable. i don't have a deadline so i'll check back a few months later. cheers! |
The video Op error is also the same on Windows standalone when opening most of .mp4 file: "Could not load video / DEMUXER_ERROR_COULD_NOT_OPEN: FFmpegDemuxer: open context failed" |
latest version fixes a loading bug that makes a few more videos on this page load...i am still struggling to get to the root of this problem but it seems to be something with video codecs on chromium build, related to what the os supports and also if your machine has a hardware decoder for some formats...there also seem to be some legal ramifications with ffmpeg and all. some info:
some more testing videos:
if someone has more experience, a better idea or simply wants to go down this rabbit-hole we'd be super-happy.... |
Describe the bug
VideoTexture Op return this error and cannot display video with many .mp4 file:
Red Error: Could not load video / DEMUXER_ERROR_COULD_NOT_OPEN: FFmpegDemuxer: open context failed
log say "video size 00" in loop at load
Also, The loading screen never stop even if a video is playing:
How To Reproduce
Platform
The text was updated successfully, but these errors were encountered: