
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (54)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (7054)
-
How do i create a batch file that iterates through the files in a folder and executes another .bat on them ?
1er mai 2013, par El Guapoi have a folder full of .avi files and i want to use ffmpeg to convert them to .mp4 files. I followed an online tutorial to create a batch file that does just this, here is the code :
"C:\ffmpeg\ffmpeg.exe" -y -i %1 -sameq -ar 22050 -vcodec libx264 "C:\videos\Series 1\S01E01.mp4"
This works fine if i just drag and drop the .avi files onto the createmp4.bat file containing the above code. However i want to be a little bit smarter about this and use another batch file that will iterate through the .avi files in the folder and run createmp4.bat on all of them and copy them to the C :\videos\Series 1\ directory.
I would also like to change the name of the files if possible to S01E01.mp4, S01E02.mp4 and so on if possible.
Any help on this would be greatly appreciated. Oh and just in case you hadn't guessed i am fairly clueless about writing batch files !!
Thanks
-
Video has no audio when played using HTML5
4 mai 2013, par vertigoelectricI have a media site where I can upload video files. After upload, they are converted to MP4 using ffmpeg and then ffmpeg2theora converts that to OGV.
I have recently discovered that some videos that I upload do not play any sound when using the HTML5 player in Firefox/Chrome, but do have sound when using the fallback Flash player in IE.
I've downloaded and checked the processed files and they both still have sound, so the issue seems to be related to the HTML5 player rather than loss of audio during processing.
I double-checked my ffmpeg command line and realized I didn't specify any audio options :
ffmpeg2 -i "inputfile" -vcodec libx264 -profile:v baseline -level 3 "outputfile" 2>&1'
Since only some of the files didn't play audio while some did, this led me to believe that the audio track was being copied directly during the processing and if the original file didn't have audio supported by HTML5, then it output file would have the same result.
I realized this means I have to force re-encoding of the audio stream, so I tried a few things but had no success with any.
I tried 'libfaac' as many online posts suggested, but this resulted in an 'unknown codec' error. Further reading led me to find that 'libfaac' was no longer included with ffmpeg builds. I must have gotten mine after that.
I tried the "Native AAC" codec by simply using the following options :
ffmpeg2 -i "inputfile" -vcodec libx264 -profile:v baseline -level 3 -acodec aac "outputfile" 2>&1'
With this I got the following error : "Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height".
The only codec that didn't give me some sort of error was 'libvo_aacenc'. However, even though the processing completed without error, I still got no audio when played in the HTML5 player.
What am I doing wrong ?
NOTE (just in case this is relevant) : This is currently being run on a Windows host using the ffmpeg executable, but we will soon be moving to a Linux host.
-
FFmpeg save stream to mp3
17 avril 2015, par Sergey92zpI have an iOS project that play online radio streams, it is use FFmpeg to play. Also I added ability to record streams, decode streams via
avcodec_decode_audio4
function, and write output to.wav
file. But this files are too big, because it is uncompressed format, so I want to decode files to.mp3
.I have found couple ways to convert audio but only when audio it is ready file, but I want decode to some compressed format as soon as I get chunk of data from stream, not ready file.
Is it possible ?
Can you give me some advise how to achieve this ?