
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 (41)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (6551)
-
My Android app release is too big than expected
11 avril 2020, par Abhi JithI have created a simple android app to download the whatsapp status



I have completed all the functionalities.then the app size is less than 5MB




After that i added a third party plugin to add my app name to the downloaded video files as watermark



i used ffmpeg to add water mark in the video




But after that my app release size reached around 20MB.



I used minifyEnabled true to shrink the code.but doesn't worked




How to reduce my release size


-
expected end of line but found unknown token
17 juin 2017, par Denzil WilliamsOk so after days of searching, here I am. I am new to ffmpeg, applescript, and terminal.
I want to use ffmpeg to batch convert a group of selected files in any folder. I was successful in doing this by opening the terminal at the folder location and using this code :
for f in *.flv; do ffmpeg -i "$f" -acodec libmp3lame -b:a 256k "${f%.flv}.mp3" && rm "$f"; done
which finds all flv files, and converts it to 256 bit rate mp3, then deletes the original files.
Now I want it to be more automated, so I looked into creating a service. I tried running an apple script through automator, which I want it to open the terminal at the folder location the file then run the code to convert the files. Here’s the code I attempted :
tell application "Finder" to set currentFolder to target of front Finder window as text
set theWin to currentFolder's POSIX path
tell application "Terminal"
if not (exists window 1) then reopen
activate
do script "cd " & quoted form of theWin & ";clear" in window 1
tell application "Terminal"
do script "for f in *.flv; do ffmpeg -i "$f" -acodec libmp3lame -b:a 256k "${f%.flv}.mp3" && rm "$f"; done"
end tell
end tellThe first part of code opens up terminal at the folder location just fine. But when I add the part with the ffmpeg code it crashes. The error is apparently with the "$", those are what light up as the error, the error message says "Expected end of line, but found unknown token". Looking for some assistance please. I need the "$" because those are what make the loop work for renaming the files and such.
-
Is there a way to convert uploaded videos to browser MP4 using most basic ffmpeg ?
22 janvier 2016, par PeterTheLobsterI am trying to convert videos uploaded to my website to browser friendly mp4 using ffmpeg.
The Problem : the website is hosted by a company and it seems like it does not have the codecs I need (the ones I’m aware to be browser-friendly.) I have learned that h264 and libx264 are the codecs I would want to encode the mp4 videos to, but libx264 is not present and h264 is decodable only. Doing :
exec("ffmpeg -codecs", $output);
tells me that :
D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
I have tried converting the videos using mpeg4 codecs, but those are not supported natively in browsers it appears :
$command ="$ffmpeg -i $target -b 1500k -vcodec mpeg4 -pix_fmt yuv420p -acodec aac -strict experimental $converted2 2>&1";
exec($command, $output);The videos converted using the method above play only audio in chrome for example (the mpeg4 codec encoding is supported).
Edit : I was able to convert videos to ogg and webm, but those won’t cover all browsers as far as I’m aware. Especially not the mobile ones anyway.
Question : is there another type of basic ffmpeg, browser friendly mp4 codecs that I am not ware of or was there something wrong with my conversion $command above ? Or would I have to somehow try to install libx264 codecs and libraries ? (My guess is, that I probably cant do that to their servers, right ?)