
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (60)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (3546)
-
What could be the reason that PHP isn't outputting video ?
20 septembre 2014, par Rob Avery IVI’m currently trying to create a PHP file in which it can output a video that is not under public_html. I have been using the following PHP script to output video :
<?php
//PHP script to output videos
//Full version of file does a lot of database stuff
//Get $path of file
header('Content-type: video/mp4');
header('Content-Length: '.filesize($path)); // provide file size
$contents = file_get_contents($path);
echo $contents;
//I also tried readfile($path) with the same resultsI have a suspicion that it is my server. So, I tried to view the same video file directly (www.site.com/video.mp4). Doing it directly worked fine.
Originally, this worked fine. It wasn’t until just recently that it doesn’t work. I’m not sure if it’s something I installed on my server. I remember doing a few changes to the php.ini and maybe .htaccess (or some other hidden with settings inside them) which makes me think it has something to do with that. Is there something within php.ini and/or .htaccess (or any other hidden settings file similar to php.ini and .htaccess) that I would need to change ?
Right now, I just testing my site on desktop browsers. I’ve tested this on both Chrome and Firefox and they give me the same results. I’ve tried using ffmpeg to convert my videos to many different video formats, but it comes out with the same results (can play directly, can’t play through php script).
When I open the php file, the console has no errors.
What could be a reason that my PHP script is not outputting the video content ?
-
FFMPEG PUSH to NGINX RTMP server does not work on interlaced content
1er septembre 2022, par Sambirwhen i add
-top 1 -flags +ildct+ilme
and push it to the NGINX RTMP server it is unable to "decode" and broadcast the stream. Am i missing something or is NGINX unable to process interlaced content ? FFMPEG works fine with both commands. I also saved the output to a file to check if there is any issues with the output but it looks fine.

My command which doesnt work on the NGINX RTMP server :


ffmpeg -timeout 10000000 -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 -hwaccel_device 2 -hwaccel cuvid -vcodec h264_cuvid -vcodec h264_cuvid -i 'http://URL' -map 0:1 -map 0:2 -acodec libfdk_aac -b:a 96k -c:v h264_nvenc -gpu 2 -preset llhq -vprofile high -level 4.1 -top 1 -flags +ildct+ilme -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -rc:v vbr -qmin:v 18 -qmax:v 42 -b:v 6M -maxrate 6M -bufsize 12M -threads 0 -r 25 -g 100 -refs 2 -bf 3 -f flv 'rtmp://OUTPUT'



This code works fine :


ffmpeg -timeout 10000000 -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 -hwaccel_device 2 -hwaccel cuvid -vcodec h264_cuvid -vcodec h264_cuvid -i 'http://URL' -map 0:1 -map 0:2 -acodec libfdk_aac -b:a 96k -c:v h264_nvenc -gpu 2 -preset llhq -vprofile high -level 4.1 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -rc:v vbr -qmin:v 18 -qmax:v 42 -b:v 6M -maxrate 6M -bufsize 12M -threads 0 -r 25 -g 100 -refs 2 -bf 3 -f flv 'rtmp://OUTPUT'



The rtmp server then processes the stream and broadcasts it without any problems


-
FFmpeg package for php
4 septembre 2013, par Ali faizanDoes simple ffmpeg package also work fine when we execute its command from PHP via exec ? Or we have some different ffmpeg package for that purpose ?
Please help me solving it.