
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (111)
-
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...) -
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 (...) -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)
Sur d’autres sites (10463)
-
FFMpeg - Extract embedded closed captions on Windows - Duplicated text in file
16 juin 2017, par BusturdustI have an H264, AAC mpeg transport stream file that I am receiving from a DVR vendor service.
Probing the file :
As you can see, it appears the Closed Captions are embedded into the video itself.
I am using a windows ffmpeg
ffmpeg.exe -i MSNBC_Live_With_Stephanie_Ruhle1497618000 -f lavfi -i "movie=MSNBC_Live_with_stephanie_ruhle1497618000[out+subcc]" -c:s subrip test.srt
This gives me a valid SRT file with content
However, when viewing the file content, it does not seem to be in synch with the output as seen in VLC Player (playing with subs).
In VLC, subtitles look fine.
In Extracted SRT file, the subtitles appear to duplicate certain text within the blocks. They also appear to have some HTML style tags that are being added tot he content.Is there a different strategy I should be using to do the extraction. Since it looks fine in VLC i assuming that the actual CC stream is valid.
Thanks, I look forward to input.
EDIT : There are also warnings that get printed while ffmpeg is working.
-
Mix Audio tracks with offset in SOX
4 août 2012, par LaramieFrom ASP.Net, I am using FFMPEG to convert flv files on a Flash Media Server to wavs that I need to mix into a single MP3 file. I originally attempted this entirely with FFMPEG but eventually gave up on the mixing step because I don't believe it it possible to combine audio only tracks into a single result file. I would love to be wrong.
I am now using FFMPEG to access the FLV files and extract the audio track to wav so that SOX can mix them. The problem is that I must offset one of the audio tracks by a few seconds so that they are synchronized. Each file is one half of a conversation between a student and a teacher. For example teacher.wav might need to begin 3.3 seconds after student.wav. I can only figure out how to mix the files with SOX where both tracks begin at the same time.
My best attempt at this point is :
ffmpeg -y -i rtmp://server/appName/instance/student.flv -ac 1 student.wav
ffmpeg -y -i rtmp://server/appName/instance/teacher.flv -ac 1 teacher.wav
sox -m student.wav teacher.wav combined.mp3 splice 3.3These tools (FFMEG/SoX) were chosen based on my best research, but are not required. Any working solution would allow an ASP.Net service to input the two FMS flvs and create a combined MP3 using open-source or free tools.
EDIT :
I was able to offset the files using thedelay
switch in SOX.sox -M student.wav teacher.wav combined.mp3 delay 2.8
I'm leaving the question open in case someone has a better approach than the combined FFMPEG/SOX solution.
-
Video is too short in Avconv (ffmpeg) — but only when run as a crontab
2 septembre 2016, par Dr. Paul RuthI’m working on a PHP script that creates half-hour videos, combining a 30-minute MP3 with a still-frame background image, and then putting it on YouTube through the Google API. It works great except when I run it from a crontab, and I can’t figure out why.
It uses a shell command to run the following.
avconv -loop 1 -framerate 2 -i background.png -loglevel verbose -i audio.mp3 -c:v libx264 -preset medium -tune stillimage -vf scale=\"trunc(oh*a/2)*2:720\" -crf 18 -c:a copy -shortest -y -pix_fmt yuv420p output.mkv
When I run it from my shell, it produces a video just as long as the 30 minute MP3. But if I run it from any kind of crontab, the result is just a fraction of the full length as it will stop at about 3 or 4 minutes.
Typical output below for a failed result. What baffles me is that it’s not that the script is aborted, and it doesn’t seem to time out. Rather than stop, it keeps going and will upload the short, unfinished version to YouTube.
I thought it might be a shell environment problem, missing some part of the $PATH or variables. But even when I import all the env and path settings, it does not seem to work.
Is there some way to make sure the avconf (or ffmpeg) command continues all the way through and does not stop too early ?
Typical output dump below from one of the times it fails : https://gist.github.com/anonymous/ecaa77037926821dba19e9db5ccb3a10
(I used avconv because my host service claimed ffmpeg was deprecated and that I should use avconv instead. Could a library like PHP-FFMPEG be better for this ?)