
Recherche avancée
Autres articles (61)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (8377)
-
Grab (all) audio samples with ffmpeg, C/C++ [closed]
28 août 2020, par nji9For further analysis I need to access/ collect all samples of
audio files with ffmpeg.
There are lot of code examples around, but all of them are either out-of-date
(using deprecated or non-existing ffmpeg API),
or are buggy (multiple frames in packets etc), or are incomplete...


So, could some of the profs please present a simple working code ?


In : Just filename, Out : Just error code, Within : Determine properties and access audio samples.


Would probably be of great help not only for me ;-)


Thankyou in advance.


-
Song name under video
2 septembre 2020, par ottpeterI'm trying to write the song name under the video with ffmpeg. My mp3 files are running in a loop like this :

-stream_loop -1 -i music.txt

My workaround would be to write an SRT file with timecodes, a script would determine when next song is comming, and I would repeat this, let's say, a 1000 times (time codes adjusted), then I would get song names for a month for example. (this would be done before ffmpeg is started)
Obviously this is not optimal, especially because I can't loop the SRT file as well, because of the timecode. It would be better to do this with a filter complex.

Is there a way to know the name of the mp3 that is currently playing, in ffmpeg ?


-
getting video duration with ffmpeg, php function
17 novembre 2014, par keithpI have FFMpeg installed and I know it’s functional, but i’m trying to get the duration time from a flv video through PHP but when I use this code :
function mbmGetFLVDuration($file)
/*
* Determine video duration with ffmpeg
* ffmpeg should be installed on your server.
*/
//$time = 00:00:00.000 format
$ffmpeg = "../ffmpeg/ffmpeg";
$time = exec("$ffmpeg -i $file 2>&1 | grep 'Duration' | cut -d ' ' -f 4 | sed s/,//");
$duration = explode(":",$time);
$duration_in_seconds = $duration[0]*3600 + $duration[1]*60+ round($duration[2]);
return $duration_in_seconds;and :
$duration = mbmGetFLVDuration(’http://www.videoaddsite.com/videos/intro.flv’) ;
echo $duration ;I get an output of 220. THe video is 3:40. Can any help me on what i’m doing wrong, or if there’s something else I can use ?