
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (63)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (6008)
-
How to restart RTMP dump bash script if it closes / dies ?
9 février 2016, par Shashwat SinghI’m using this script to dump a live stream, say "stream1.sh" etc
#! /bin/bash
function INT_cleanup()
{
kill `jobs -p`
exit
}
trap INT_cleanup INT
count=0
while [[ $count < 10 ]] # Try 10 times
do
rtmpdump -r "rtmp://<ipaddress>" -a "live" -f "WIN 11,9,900,117" -W "http://xyz.swf" -p "" -y "xyz" --live | ffmpeg -re -i - -sn -vcodec copy -acodec copy -f flv "<ipaddress>"
count=$((count + 1))
done }
</ipaddress></ipaddress>It runs perfectly fine for 3-4 hours then it quits automatically due to packet loss or something, however if I restart it, it again starts working.
So, What should I do to restart this particular script IF it dies ? Will it require cronjob ? If yes, then please explain how ? -
Jquery auto-refresh stop refreshing after 10seconds
11 février 2016, par Mick JackI have this JQuery script to auto refresh every 2seconds after a video is uploaded and retrieve the estimated time needed to process the video with ffmpeg
However my refresh script stop refreshing after 10-15seconds. i traced the problem to the session_start() ; when i remove this session_start() ; my refresh script work perfectly. what could be the cause and solution here ?
videoupload.php
<div title="test">
<h5>Encoding percentage</h5>
<code class="echappe-js"><script src="https://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script><script><br />
$("#Submit").click(function(event){<br />
setInterval(function(){<br />
$("#myDiv").load('progress.php')<br />
}, 2000);<br />
});<br />
</script>Progress.php
<?php
$content = @file_get_contents('logfile.txt');
if($content){
//get duration of source
preg_match("/Duration: (.*?), start:/", $content, $matches);
$rawDuration = $matches[1];
//rawDuration is in 00:00:00.00 format. This converts it to seconds.
$ar = array_reverse(explode(":", $rawDuration));
$duration = floatval($ar[0]);
if (!empty($ar[1])) $duration += intval($ar[1]) * 60 ;
if (!empty($ar[2])) $duration += intval($ar[2]) * 60 * 60 * 60;
//get the time in the file that is already encoded
preg_match_all("/time=(.*?) bitrate/", $content, $matches);
$rawTime = array_pop($matches);
//this is needed if there is more than one match
if (is_array($rawTime)){$rawTime = array_pop($rawTime);}
//rawTime is in 00:00:00.00 format. This converts it to seconds.
$ar = array_reverse(explode(":", $rawTime));
$time = floatval($ar[0]);
if (!empty($ar[1])) $time += intval($ar[1]) * 60;
if (!empty($ar[2])) $time += intval($ar[2]) * 60 * 60;
//calculate the progress
$progress = round(($time/$duration) * 100);
echo "Duration: " . $duration . "<br />";
echo "Current Time: " . $time . "<br />";
echo "Progress: " . $progress . "%";
}
?>upload.php
session_start();
$userID = $_SESSION['login_user'];
// rest of the code to convert video using ffmpeg
How to have ffmpeg server auto convert iphone mov to mp4 [closed]
I have ffmpeg server and all my android users can upload videos from their phones except iphone users. All my iphone users cannot upload any videos.


Is there a script I have to run via shell or add something to make ffmpeg auto convert iphone videos to mp4 ?


I dont know where to turn