
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (36)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (6901)
-
Best Web Video Encoding Practices for IOS (FFMpeg)
21 juin 2012, par MagicMushroomI am working on an online video repository system for a client, written mostly in PHP. At the moment I am building a mobile version of our desktop website. Our desktop site allows users to watch videos in the browser, much like YouTube.
My client uploads videos through the manager interface I have created, and my application uses FFmpeg on the server to transcode his videos into several resolutions and bitrates. I am no expert on FFmpeg, and while I do not know the ins and outs of each individual setting, I do understand how it works as a whole. Right now, we are using the mp4 container format with the h.264 codec to encode our videos. Our command looks like :
ffmpeg -y -i "INPUT FILE.mov" -f mp4 -s 640x480 -vcodec libx264 -preset fast -maxrate 1500 -bitrate 1000 -bufsize 4096 -acodec libfaac -ab 192 -ac 2 "OUTPUT_FILE.mp4" >> "FILE.log" 2>&1 &
I'm hoping to gain information about best practices with encoding video for web streaming on IOS and other mobile devices using FFmpeg. What resolutions and settings make for good mobile streaming video ? How can I ensure maximum compatibility across the sea of Android devices ?
-
What encoders/decoders/muxers/demuxers/parsers/filters do I need to enable in FFMpeg for converting an mp4 video to a gif ?
21 juin 2020, par kostikI am building FFmpeg with custom options to reduce the final size of apk file on android. I want just convert a mp4 file to a gif.
Following is my options specified


--disable-everything
 --enable-decoder=mpeg4,mpegvideo,aac,gif,h264
 --enable-parser=aac,mpeg4video,mpegaudio,mpegvideo,gif,h264
 --enable-demuxer=mpegvideo,aac,mov,gif,h264
 --enable-muxer=mp4,gif,mov,h264
 --enable-protocol=file
 --enable-encoder=mpeg4,mov,gif,h264
 --enable-filter=scale,fps,copy,palettegen,vflip,paletteuse,crop



What other options do i need to add to successfully run this command ?


ffmpeg -y -i input.mp4 -vf "fps=15,scale=320:-1:flags=lanczos" -pix_fmt rgb24 output.gif



or this command


ffmpeg -y -i input.mp4 output.gif



After I added module into Android Studio I run FFmpeg command.
Iam getting this error :


2020-06-21 12:16:09.883 8871-9102/com.example.myapplication W/mobile-ffmpeg: [graph 0 input from stream 0:0 @ 0x7088243f40] sws_param option is deprecated and ignored
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication W/mobile-ffmpeg: Incompatible pixel format 'rgb24' for codec 'gif', auto-selecting format 'rgb8'
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication E/mobile-ffmpeg: Output pad "default" with type video of the filter instance "Parsed_scale_1" of scale not connected to any destination
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication E/mobile-ffmpeg: Error reinitializing filters!
2020-06-21 12:16:09.885 8871-9102/com.example.myapplication E/mobile-ffmpeg: Failed to inject frame into filter network: Invalid argument
2020-06-21 12:16:09.886 8871-9102/com.example.myapplication E/mobile-ffmpeg: Error while processing the decoded data for stream #0:0



I also tried to include FULL library and it that case everything worked as expected.


Thanks for your help.


-
MobileFFmpeg - get progress of concatenation of a video
18 mai 2020, par STerrierIs there a way to grab the progress of the concatenation using Mobile FFmpeg ? Mobile FFmpeg displays stats by default in the console and I can see the time length of the video which I want but I can't find a way to grab it so I can create a progress bar.



Data displayed in the console
2658560kB time=01:30:40.00 bitrate=4003.5kbits/s speed=60.9x \rframe=137002 fps=1524 q=-1.0
2678272kB time=01:31:20.00 bitrate=4003.7kbits/s speed=61x \rframe=138252 fps=1528 q=-1.0



func encodeWebp(m3u8: String, completed: () -> Void){
 guard let sessionid = sessionID else {return}

 let lastName: String = m3u8
 let docFolder = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]
 let output = URL(fileURLWithPath: docFolder + "/OfflineSession/\(sessionid)").appendingPathComponent("\(lastName).mp4")
 let outputTxt = URL(fileURLWithPath: docFolder + "/OfflineSession/\(sessionid)").appendingPathComponent("\(lastName).txt")
 let fileName = "\(m3u8)_ffmpegData.txt"
 let textFile = URL(fileURLWithPath: docFolder).appendingPathComponent("OfflineSession/\(sessionid)/\(fileName)")

 let ffmpegCommand = "-f concat -i \(textFile) -c:v copy -c:a copy \(output) -progress \(outputTxt)"

 MobileFFmpeg.execute(ffmpegCommand)

 completed()

}




GITHUB - Mobile FFmpeg
https://github.com/tanersener/mobile-ffmpeg