You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
have installed a fresh installation of piwigo (latest version) and also with lastest version of js_video.
It seems that I will have exactly the same issue in (was also my thread). #42 (comment)
All tools (mediainfo, ffmpgeg, ..) are in the path. I am using Windows2012 with MariaDB 10.4.
Have also changed mediainfo.php:
line:
$output = shell_exec($sync_options['mediainfo'] ." --Full --Output=XML --Language=raw "". $filename."" 2>&1 ");
to
$output = shell_exec($sync_options['mediainfo'] ." --Full --Output=XML --Language=raw ". $filename." 2>&1 ");
Unfortunately this change does not solve the issue with mediainfo, I do get the following error:
Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Start tag expected, '<' not found in C:\piwigo\plugins\piwigo-videojs\include\mediainfo.php on line 35
Warning: SimpleXMLElement::__construct(): Der Befehl "mediainfo" ist entweder falsch geschrieben oder in C:\piwigo\plugins\piwigo-videojs\include\mediainfo.php on line 35
Warning: SimpleXMLElement::__construct(): ^ in C:\piwigo\plugins\piwigo-videojs\include\mediainfo.php on line 35
Mediainfo error reading file. Is MediaInfo install? Is MediaInfo in path?
Is the video accessible & readable, Try to run the command manually.
mediainfo --Full --Output=XML --Language=raw './galerien/Ausfluege_und_Events/2020/06_07_Test/2020_04_12_10_18_38_P4122116.mp4'
output: Der Befehl "mediainfo" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
It seems that the handove of 2>&1 is wrong.
To be clear, I am using Windows and thererfore there were problems with quotes.
Hopefully somesone can give me ther correct string of:
$output = shell_exec($sync_options['mediainfo'] ." --Full --Output=XML --Language=raw "". $filename."" 2>&1 ");
without any quotes.
KR
kuzco1
The text was updated successfully, but these errors were encountered:
Hello,
have installed a fresh installation of piwigo (latest version) and also with lastest version of js_video.
It seems that I will have exactly the same issue in (was also my thread).
#42 (comment)
All tools (mediainfo, ffmpgeg, ..) are in the path. I am using Windows2012 with MariaDB 10.4.
Have already change the following file function_sync2.php:
line:
$ffmpeg = $sync_options['ffmpeg'] ." -ss ".$sync_options['postersec']." -i "".$in."" -vcodec mjpeg -vframes 1 -an -f rawvideo -y "".$out. """;
to
$ffmpeg = $sync_options['ffmpeg'] ." -ss ".$sync_options['postersec']." -i ".$in." -vcodec mjpeg -vframes 1 -an -f rawvideo -y ".$out;
AND
line:
$ffmpeg = $sync_options['ffmpeg'] ." -ss ".$sync_options['postersec']." -i "".$in."" -vcodec png -vframes 1 -an -f rawvideo -y "".$out. """;
to
$ffmpeg = $sync_options['ffmpeg'] ." -ss ".$sync_options['postersec']." -i ".$in." -vcodec png -vframes 1 -an -f rawvideo -y "".$out;
Have also changed mediainfo.php:
line:
$output = shell_exec($sync_options['mediainfo'] ." --Full --Output=XML --Language=raw "". $filename."" 2>&1 ");
to
$output = shell_exec($sync_options['mediainfo'] ." --Full --Output=XML --Language=raw ". $filename." 2>&1 ");
Unfortunately this change does not solve the issue with mediainfo, I do get the following error:
Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Start tag expected, '<' not found in C:\piwigo\plugins\piwigo-videojs\include\mediainfo.php on line 35
Warning: SimpleXMLElement::__construct(): Der Befehl "mediainfo" ist entweder falsch geschrieben oder in C:\piwigo\plugins\piwigo-videojs\include\mediainfo.php on line 35
Warning: SimpleXMLElement::__construct(): ^ in C:\piwigo\plugins\piwigo-videojs\include\mediainfo.php on line 35
Mediainfo error reading file. Is MediaInfo install? Is MediaInfo in path?
Is the video accessible & readable, Try to run the command manually.
mediainfo --Full --Output=XML --Language=raw './galerien/Ausfluege_und_Events/2020/06_07_Test/2020_04_12_10_18_38_P4122116.mp4'
output: Der Befehl "mediainfo" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
It seems that the handove of 2>&1 is wrong.
To be clear, I am using Windows and thererfore there were problems with quotes.
Hopefully somesone can give me ther correct string of:
$output = shell_exec($sync_options['mediainfo'] ." --Full --Output=XML --Language=raw "". $filename."" 2>&1 ");
without any quotes.
KR
kuzco1
The text was updated successfully, but these errors were encountered: