
Recherche avancée
Autres articles (69)
-
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 (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (6989)
-
FFMPEG via PHP - no thumbnail or log output generated
10 octobre 2018, par UtkanosI’m trying to get my head around command line syntax in the form of FFMPEG via PHP.
I’ve successfully installed it and I can use it fine, until I try to :
- run background tasks
- generate output to a log
This code attempts to create a thumbnail from a video. And it does, if I make it synchrnous, i.e. remove everything from onwards
code>....
shell_exec($i = 'ffmpeg -y -i '.$fp.' -ss '.$secs.' -vframes 1 '.$dirs_path.'/thumb.png null >/dev/null 2>/ffmpeg.txt &');
I’ve derived the background part of this command from this page on the official FFMPEG site.
(
$secs
is an integer denoting a seconds point within the video duration, and$fp
is the save path of the video. Both are valid.)So the thumb doesn’t get generated, and there’s no ffmpeg.txt created, either in the place where the script runs, or in the server root or anything. I may be looking in the wrong place... I’m unsure what all this is relative to.
Any help appreciated.
-
aacenc : implement Intensity Stereo encoding support
2 juillet 2015, par Rostislav Pehlivanovaacenc : implement Intensity Stereo encoding support
This commit implements intensity stereo coding support
to the native aac encoder. This is a way to increase the efficiency
of the encoder by zeroing the right channel’s spectral coefficients
(in a channel pair) and rederiving them in the decoder using information
from the scalefactor indices of special band types. This commit
confomrs to the official ISO 13818-7 specifications, although due to
their ambiguity certain deviations have been taken to ensure maximum
sound quality. This commit has been extensively tested and has shown
to not result in audiable audio artifacts unless in extreme cases.
This commit also adds an option, aac_is, which has the value of
0 by default. Intensity Stereo is part of the scalable aac profile
and is thus non-default.The way IS coding works is that it rederives the right channel’s
spectral coefficients from the left channel via the scalefactor
index values left in the right channel. Since an entire band’s
spectral coefficients do not need to be coded, the encoder’s
efficiency jumps up and it unzeroes some high frequency values
which it previously did not have enough bits to encode. That way
less information is lost than the information lost by rederiving
the spectral coefficients with some error. This is why the
filesize of files encoded with IS do not decrease significantly.
Users wishing that IS coding should reduce filesize are expected
to reduce their encoding bitrates appropriately.This is V2 of the commit. The old version did not mark ms_mask as
0 since M/S and IS coding are incompactible, which resulted in
distortions with M/S coding enabled. This version also improves
phase detection by measuring it for every spectral coefficient in
the band and using a simple majority rule to determine whether the
coefficients are in or out of phase. Also, the energy values per
spectral coefficient were changed as to reflect the
official specifications.Reviewed-by : Claudio Freire <klaussfreire@gmail.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
Flutter : How to use flutter_ffmpeg to add overlays like watermarks and texts to a video ?
29 septembre 2022, par Ryan WangI try to implement the
video_editing
feature to my app, and I'd tried the Tapioca Package and the Video_Manipulation package but found that they both do not meet my criteria, so I put my last hope on the flutter_ffmpeg package.

But as I read through its official doc on pub.dev, not a thing on my mind but "WHAT THE HECK", I can't understand what those commands are used for, and though I can't find anything related to add widget overlays to a video. And almost no tutorial on the web that explains how to use it.


So if you successfully implemented adding watermarks/texts to a video with the ffmpeg package, please show me how. Thanks !