
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (75)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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.
Sur d’autres sites (7068)
-
FFMPEG — Create New Audio File using aselect filter API call in C code
17 juin 2021, par AfricanMambaI have been working on an a program in C that invokes the use of FFMPEG's libraries to remove some segments of audio from a given audio file. I have created the filter successfully using the API call,
const AVFilter* aselect = avfilter_get_by_name("aselect")
, linking it with abuffersrc and abuffersink.

However, I am not sure entirely sure what to pass in to the arguments when creating the filter because when I pass in the argument string,
"'between(t,10,32)', asetpts = N/SR/TB output.wav"
, it gives me an error saying :"Invalid chars ',asetpts=N/SR/TBoutput.wav' at the end of expression"


But when I pass in just
"'between(t,10,32)'"
as the arguments for the filter, the program compiles and runs but no output file is created with just the audio from 10 seconds to 32 seconds. Does anyone happen to know if it is even possible to use the aselect filter API to create new audio files or if there is an example that exists showing how to copy only frames from one audio file to another ? Thanks !

-
FFmpeg code not working on http url for thumbnail extraction
1er août 2014, par user2240379I am trying to extract thumbnail from sharepoint 2013 video library. I found a link which can extract using ffmpeg. this is the link :
[How can I save first frame of a video as image ?filename = "http://siteurl/" + items["FileRef"].ToString();
When i replaced the input file with sharepoint site url and video name then it does not produce any thumbnail. I also gives error on
ffmpeg.Start();
ffmpeg.WaitForExit();
ffmpeg.Close()I would like to understand how make it work for http url.
If it is not possible to use url in ffmpeg can anyone suggest another method to achieve thumbnail.(as i want the thumbnail to be set automatically using 1st frame from of video if it not set manually) -
How to convert this php code to javascript
5 octobre 2019, par SalmanI have this php code to check the progress percentage of a ffmpeg video conversion. Basically ffmpeg command generates a log file named "output.txt" from where i can estimate the percentage with the help of this code. I want to create a javascript code where i can directly estimate the percentage from the log file.
$content = @file_get_contents('output.txt');
if ($content) {
//get duration of source
preg_match("/Duration: (.*?), start:/", $content, $matches);
$raw_duration = $matches[1];
//raw_duration is in 00:00:00.00 format. This converts it to seconds.
$array_reverse = array_reverse(explode(":", $raw_duration));
$duration = floatval($array_reverse[0]);
if (!empty($array_reverse[1]))
$duration += intval($array_reverse[1]) * 60;
if (!empty($array_reverse[2]))
$duration += intval($array_reverse[2]) * 60 * 60;
//get the time in the file that is already encoded
preg_match_all("/time=(.*?) bitrate/", $content, $matches);
$raw_time = array_pop($matches);
//this is needed if there is more than one match
if (is_array($raw_time)) {
$raw_time = array_pop($raw_time);
}
//raw_time is in 00:00:00.00 format. This converts it to seconds.
$array_reverse = array_reverse(explode(":", $raw_time));
$time = floatval($array_reverse[0]);
if (!empty($array_reverse[1]))
$time += intval($array_reverse[1]) * 60;
if (!empty($array_reverse[2]))
$time += intval($array_reverse[2]) * 60 * 60;
//calculate the progress
$progress = round(($time / $duration) * 100);
echo $duration;
echo $time;
echo $progress;
}