
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (48)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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.
Sur d’autres sites (9241)
-
Video File Size Optimization
14 mars 2020, par Heba Gamal EldinI’m trying the 2-pass technique of the FFmpeg in python but couldn’t find any python tutorials do this task.
is there is no way instead of using Subprocess ? if there’s any illustrative example please provide me.Note :
I have tried the 2-pass in the script like that :
input_fit = {self.video_in:None}
output = {None:"-c:v h264 -b:v 260k -pass 1 -an -f mp4 NUL && ^",
self.video_out:("ffmpeg -i \"%s\" -c:v h264 -b:v 260k -pass 2 " %self.video_in)}
## video_out IS The Name of The output File ##
model = FFmpeg(inputs = input_fit, outputs= output)
print(model.cmd)It Raises an error of
: : FFRuntimeError : exited with status 1,
but when i take the generated command and run it on the ffmpeg cmd it runs without errors and generates the video perfectly.
so anyone just could tell me what is the problem please ? -
FFmpeg truncates untrunc'ed video
18 mars 2020, par petrpulcBackground : Colleague's Panasonic consumer camera had issues with high-capacity SD card and yielded two different types of truncated files (
mp4
andmdt
) with both header and index corrupted. Both were "fixable" with following steps :


- 

- Locate with hex editor the ascii sequence "mdat" in both a truncated and a corresponding known good file. In
mp4
the "mdat" is quite deep in the file as it contains some (but bad) headers, themdt
type almost starts with it. - Replace everything up to the "mdat" sequence with known good header. BUT this also means that metadata on length are copied over.
- Run https://github.com/ponchio/untrunc on the file with corrected header (it refused to run on original files).
- Profit ! VLC plays the file fine, ffprobe shows correct length. BUT ffmpeg encoding stops at the end timecode of the file I taken the known good header from in step 2.
- A somewhat ugly solution is to recode the file in VLC (video copy seems to be breaking file up again).













I am wondering if I overlooked something ; big time. I guess I do, but simple timecode operations on input file do not seem to have any effect at all.



Is there a way to persuade ffmpeg to encode the whole file that ffprobe and VLC see ?



Files may be provided for analysis on personal basis only, sorry.


- Locate with hex editor the ascii sequence "mdat" in both a truncated and a corresponding known good file. In
-
Android apk file too big when using FFMPeg encoder library
9 novembre 2022, par Diego PerezI'm developing an app which creates x264 videos with the following library :



com.arthenica:mobile-ffmpeg-full:4.2.2.LTS




but the result apk file is too big ( 71mb), so I tried :



com.arthenica:mobile-ffmpeg-min-gpl:4.2.2.LTS




and this way, as the library downloads only a few codecs -included the ones I need- apk size was reduced to 49mb, what is much better, but still looks too big to me, so I'd need to know if any of you know a better way to reduce apk size, because people generally refuse to download such big apps



Regarding the rest of the app (drawables, resources and so) they're well optimized, because if I remove this library and rebuild, the size of the app drops to 10mb



I was reading this question :
FFMPEG Android Library Increase Size



and user S.R suggests to compress all cpu architecture models in one archive file and extract target cpu lib based on cpu model on app's directory and load ffmpeg from there, but I really don't know how to do that.



I'm checking my app's folder structure and noticed there are this next folders regarding ffmpeg lib :



arm64-v8a => ~16mb
armeabi-v7a => ~29mb
x86 => ~17mb
x86_64 => ~21mb




But not sure if I could remove any of them, and as you can see armeabi-v7a is the largest.