Skip to content
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

mp4-video 'unsupported file type' #17

Open
ppi-buck opened this issue Jun 14, 2018 · 6 comments
Open

mp4-video 'unsupported file type' #17

ppi-buck opened this issue Jun 14, 2018 · 6 comments

Comments

@ppi-buck
Copy link

Hey again,

I'm trying to work with videos in my project. After changing the max file size via including a custom.ini file in the docker-compose.yml I can upload videos to the admin interface of pimcore. All good so far!

The problem now is that it doesn't render any previews nor thumbnails in the frontend nor the video itself (in backend view or frontend). See attachments at bottom.

When I try to get a thumbnail of the video it returns /phpapp/web/pimcore/static6/img/filetype-not-supported.svg (the path falsely includes /phpapp/web/ but I don't think this is an issue with your project but rather with pimcore itself).
Same issue in Admin view when inspection console logs.

This makes me believe that maybe FFMPEG doesn't support the video-type?! It is a .mp4 though and the docs say FFMPEG does support it. The installed ffmpeg version is 3.2.10 from what I found.

Do you have any idea why that issue occurs? Can you reproduce this behaviour?

Thank you so much


My system:

  • compose-pimcore
    • PHP7.2
    • NGINX-stable
  • Pimcore 5.2.3 | 241

The videos I tested, all with the same result:

Attachments:
image
image
image

This is the frontend where I'm trying to get a thumbnail first and then use the video output which never finishes loading but tries to get the above mentioned image
image

@ppi-buck
Copy link
Author

PS: I just tried with .mpeg - same issue...

@BlackIkeEagle
Copy link
Member

If there are ffmpeg errors there should be a log with the issues encoutered generated by pimcore

@ppi-buck
Copy link
Author

Oh thank you so much!
Somehow I never think about logs as they rarely used to help me. But in this case they absolutely did.

FFMPEG doesn't seem to handle filenames that contain spaces. It's giving me
/phpapp/web/var/assets/Islands: No such file or directory
where the file name is actually Islands - 2119.mp4.

Seems like pimcore doesn't use quotes around the file name... Maybe an worth an issue over there?

@BlackIkeEagle
Copy link
Member

Wow that would be a nasty mistake. Definatly worth reporting to pimcore

@ppi-buck
Copy link
Author

Hmm I can not reproduce this in the basic-demo. Seems like it's only in my local installations that use your compose-environment ... maybe something here then

Any more ideas how I can track it down and maybe help?

@ppi-buck
Copy link
Author

PS: I found this pimcore/pimcore#2971 - might be related or the issue here. Than it's not your compose-environment but nginx and pimcore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants