-
Notifications
You must be signed in to change notification settings - Fork 47
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
Raspbian, avprobe "Failed to set value '-loglevel' for option 'hide_banner'" #144
Comments
same issue on a centos 6 system using ffmpeg I had to remove also ffprobe -hide_banner -show_error -show_format -show_streams -print_format json './galleries/2019/Nicolas/IMG_8948.mp4'ffprobe version 0.10.16 Copyright (c) 2007-2015 the FFmpeg developers if I delete -hide_banner from the php script the error keeps displaying |
here is the fix : ./plugins/piwigo-videojs/include/ffprobe.php $json = shell_exec($sync_options['ffprobe'] ." -loglevel fatal -show_error -show_format -show_streams -show_private_data -print_format json "". $filename."""); |
Thanks for the suggestions, and sorry for the delay in trying it. Life happens. :) The avprobe command still fails on the shell_exec command. (I modified the die text to see if it was the shell_exec or the json_decode that was failing). Interestingly your modified error message showing the command to run manually works fine. It runs in a terminal window. No output. Wasn't expecting any. no errors. I'm not sure what I lose with just getting a warning about no metadata. The code above has a problem with escape characters on the double quotes near the end of the line. It should look like the original line I presume. right? |
I'm using raspbian Stretch by the way. |
Piwigo 2.9.4. Running videoJS 2.9.b. avconv and avprobe installed by apt-get. Entered path for them and ran sync rebuilding thumbnails. This displays:
ffprobe error reading file. Is ffprobe install? Is ffprobe in path?
Is the video accessible & readable, Try to run the command manually.
/usr/bin/avprobe -hide_banner -loglevel fatal -show_error -show_format -show_streams -print_format json './galleries/john/family/Kathryn/Hiccups.MP4'
Running the command manually displays:
Failed to set value '-loglevel' for option 'hide_banner'
If I delete the "hide-banner" option and rerun the command it works. BTW, it did not display a banner.
The text was updated successfully, but these errors were encountered: