
Recherche avancée
Autres articles (111)
-
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 (...) -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (11354)
-
Error when use command of ffmpeg on android
19 février 2014, par user2830969I get source code from https://github.com/JayH5/android-ffmpeg-cmdline and then I edit code to be simple than.
public ProcessRunnable create() {
if (inputPath == null || outputPath == null) {
throw new IllegalStateException("Need an input and output filepath!");
}
final List<string> cmd = new LinkedList<string>();
cmd.add(mFfmpegPath);
cmd.add("-i");
cmd.add(inputPath);
cmd.add("-s 240x160");
cmd.add(outputPath);
Log.w("Command", cmd.toString());
final ProcessBuilder pb = new ProcessBuilder(cmd);
return new ProcessRunnable(pb);
}
</string></string>When I run code, the result is *.mp file 0.00 kb.
Please help me fix about this.
thank so much -
Use ffmpeg to resize one input's dimension to match another input's dimension
18 novembre 2022, par Hans GDI need to resize one image A to match one dimension of another input B (make height of A match the height of B, for example). I will do this for several pairs of images in a folder, for which I will use a script in the end, but I wanted to know if this particular operation can be done only with
ffmpeg
.

Again, the final script could read the image, find the size and use
scale=-1:height
to accomplish the final goal, but is it posible to make the title's operation only withffmpeg
?

-
Create 256 color palette video
2 mars 2020, par rlcabralI already have this working by converting the source video to GIF with :
ffmpeg -y -t 5 source.mp4 -vf fps=10,scale=480:-1,smartblur=ls=-0.5,crop=iw:ih-2:0:0 -hide_banner -loglevel panic output.gif
And then converting the GIF to MP4, like so :
ffmpeg -y animated.gif -hide_banner -pix_fmt yuvj420p -loglevel panic -an -loglevel panic final.mp4
What I want is to convert
source.mp4
directly tofinal.mp4
, and have the same 256 color palette as a normal GIF.I tried merging both commands together, and although it generates a MP4, the result is a 16 bit video, surprisingly smaller than a 8 bit video.
Do I need to generate a palette first with
palettegen
and then re-encode the video with this palette ?