
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 (52)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (10094)
-
PHP Ignoring my max_execution_time
13 décembre 2016, par Muhammad Resna Rizki PratamaI have some task in my script that is about converting video with ffmpeg . I do this with codeigniter 2.0.3 and locate the script at libraries and use shell_exec() to run ffmpeg.
There are 3 tasks in my php script.
- Upload File
- Convert video to .flv
- Generate thumb
- Save to db.
When I upload file, my php script start to convert my uploaded video. But when converting is end about over 5 minutes. Its not continue to generate thumb. And Its say
PHP Fatal error : Maximum execution time of 300 seconds exceeded in C :\AppServ\www\mis\application\libraries\my_video_utility.php on line 102, referer : http://localhost/mis/test/
I have set my max_execution time, max_input_time, etc to 3600 in php.ini also add set_time_limit() and set_ini() in my php script. But, its still get error.
But, when I uploaded short video, its done.
-
How to calculate ffmpeg output file size ?
25 septembre 2011, par poundifdefI am using ffmpeg to convert home videos to DVD format and want to calculate the output file size before doing the conversion.
My input file has a bit rate of 7700 kbps and is 114 seconds long. The audio bitrate is 256 kbit (per second ?) The input file is 77MB. To get this information I ran :
mplayer -vo null -ao null -frames 0 -identify input.MOD
So in theory, the input file should have (roughly) a file size of :
((7700 / 8) * 114) / 1024
That is, (7700 / 8) is kilobytes/second, multiplied by 114 seconds, and then converted to megabytes. This gives me 107MB, which is way beyond my 77. Thus I am skeptical of his formula.
That said, after converting the video :
ffmpeg -i input.MOD -y -target ntsc-dvd -sameq -aspect 4:3 output.mpg
The numbers seem to make more sense. Bitrate is 9000 kbps, and applying the above formula, I get 125MB, and my actual output file size is 126MB.
So, two questions :
-
How do I factor the audio bitrate into this calculation ? Is it additive (video file size + audio file size) ?
-
Do DVDs always have a 9000 kilobit/second rate ? Is that the definition of a DVD ? Or might that change depending on video quality of my input video ? What does "-target ntsc-dvd" guarantee about my video ?
-
Why does my input file not "match" the calculation, but the output file does ? Is there some other variable I'm not accounting for ?
What is the correct way to calculate filesize ?
-
-
Tell a java servlet when to return from an external command line call
20 septembre 2011, par MorganI have a java servlet api, that when requested, starts a live conversion of a video file using ffmpeg and pipes it to mediastreamsegmenter to segment it for http live streaming. What I want is for the java servlet to return the url of the index file as soon as it has been generated (after the 4th transport stream file is written) so the user can start watching the video without waiting for it to fully finish converting.
How I was thinking of achieving this was to pass a command into the -file-complete-command argument of mediastreamsegmenter, and have it call some sort of a command that could tell the java servlet to return its response if the last file completed was the index file.
Another idea I had was to just segment the first 30 seconds or so of the video, and then return the response, and add the remainder of the video into some sort of a background task in the servlet. I'm not sure how this would be done though. Could I create a separate thread to do this conversion that will continue to run after the servlet returns ? I'm sure there must be a better way of doing this. Any thoughts would be appreciated.