
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (5)
-
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (2600)
-
FFprobe command in a var in IF statement
28 octobre 2017, par bdrilling33I am trying to set up a batch file (currently testing in CMD prompt) to run when there is a change in the directory. I have a command stored in a variable "test" which tells me what the first audio codec is. if it isn’t aa3 i plan to re encode the audio with ffmpeg. My first issue is that when i try to run a simple if statement with my var, i get an error.
set test=ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=nokey=1:noprint_wrappers=1 "my movie (2017).mkv"
when i run %test% it returns what is expected.
if i run this as :
if %test% == "ac3" echo true
i get :
-v was unexpected at this time.
my end goal is to have something like this when something is added to the folder (haven’t go the when something changes part yet...probably just run this once a day idk) :
set test=ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=nokey=1:noprint_wrappers=1 "%f"
set outpath=S:\Blu Ray\New folder\"%f"
for %f in (*.mkv) DO
if %test% <> "ac3" (
ffmpeg -i “%f” -vcodec copy -scodec copy -acodec ac3 -b:a 640k “%outpath%";
del "%f";
move "%outpath%" "s:\Blu Ray\")any help would be great
BD
-
checkasm : use perf API on Linux ARM*
1er septembre 2017, par Clément Bœschcheckasm : use perf API on Linux ARM*
On ARM platforms, accessing the PMU registers requires special user
access permissions. Since there is no other way to get accurate timers,
the current implementation of timers in FFmpeg rely on these registers.
Unfortunately, enabling user access to these registers on Linux is not
trivial, and generally involve compiling a random and unreliable github
kernel module, or patching somehow your kernel.Such module is very unlikely to reach the upstream anytime soon. Quoting
Robin Murphin from ARM :> Say you do give userspace direct access to the PMU ; now run two or more
> programs at once that believe they can use the counters for their own
> "minimal-overhead" profiling. Have fun interpreting those results...
>
> And that's not even getting into the implications of scheduling across
> different CPUs, CPUidle, etc. where the PMU state is completely beyond
> userspace's control. In general, the plan to provide userspace with
> something which might happen to just about work in a few corner cases,
> but is meaningless, misleading or downright broken in all others, is to
> never do so.As a result, the alternative is to use the Performance Monitoring Linux
API which makes use of these registers internally (assuming the PMU of
your ARM board is supported in the kernel, which is definitely not a
given...).While the Linux API is obviously cross platform, it does have a
significant overhead which needs to be taken into account. As a result,
that mode is only weakly enabled on ARM platforms exclusively.Note on the non flexibility of the implementation : the timers (native
FFmpeg vs Linux API) are selected at compilation time to prevent the
need of function calls, which would result in a negative impact on the
cycle counters. -
make webbased ffmpeg-live transcoder on linux for multiple streams
11 juillet 2017, par Dlniya DlzarHi I am planning to make webbased ffmpeg-live transcoder on linux for multiple streams .
Using ffmpeg and ngnix-rtmp is the basic that i found and planning to do it
my plan is (Web interface for adding and modifying streams (name ,input,output..)
in database , database i mean (json file). and execute ffmpeg command depend on the JSON file (now one more thing i want to do , is to monitor streams based on
nginx-rtmp-module/stat.xsl
git https://github.com/arut/nginx-rtmp-module/blob/master/stat.xsl
and restart streams if there is problem , like no audio or picture
whats is best structure to do it ?? which language is good to do the proccess
is there any missing knowledges ?? is there any other better way in your mind ??