
Recherche avancée
Autres articles (14)
-
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5039)
-
Auto-Transcode/Compress .mkv to .mp4 on Qnap TS-251+
9 novembre 2020, par DarkDiamondI rip my DVDs with MakeMKV in order to be able to watch them on my TV, as I do not have a DVD-player that supports any output connector that fit into my TV as the TV is relatively new whereas the DVD-player is quite old. (As I only use the rips for my personal entertainment and do not share them there is absolutely no copyright problem).


The problem with the output files is the extreme size as they are the raw data from the disk. Now I would like these files to be compressed into a .mp4 file as soon as they are finished. The problem is that the file is created before everything is in it, so I probably need to write it into a local drive and copy it to its destination later. Then I will copy them to my Qnap NAS TS-251+.


There I want it do be compressed into a much smaller .mp4 file (usually the .mp4s are a sixth of the original size). I found something using ffmpeg, so I just need a script that does this for me. I do not mind to use a Docker machine for it, but I do not know how to do it. I found this :


ffmpeg -i input.mkv -c:v -crf 18 -preset veryslow -c:a copy out.mp4
here.

I also found this video, so I know it is in theory possible, I just do not know how to realise it.


In case you ask why I want to use the Qnap NAS, it allows hardware acceleration, whereas my laptop does not.


-
Trying to download Fragmented MP4 video [closed]
26 janvier 2021, par Aryan Agarwali want to download a course that I have purchased for my personal use because my access will be removed by 28th Jan.


I was trying to download the video from the dev tools network tab and encountered that the video is fragmented in multiple MP4 files and not TS or M4s.


The most peculiar thing is that it is the exact same link for the download but I am not able to download the video.




This is the link if somebody wants to check it out https://d1z78r8i505acl.cloudfront.net/media/Ubr3VhTyJD5NW/7c71af39/video_1630_1080_1372.mp4


-
Some modifications for ffmpeg scripts
21 mars 2021, par FoxFrI wish to modify the following script to put some options, obviously if you can explain ... is better my learning


ffmpeg \
-i /dev/video0 \
-r 1 -stream_loop -1 -f image2 -i "/home/pi/videopi/map/map.jpg" \
-stream_loop -1 -re -i "/home/pi/videopi/bed.mp3" \
-filter_complex "[0][1]overlay=enable='lt(mod(t,20),10)'[v];[v]drawtext=textfile=/home/pi/videopi/gps.txt:reload=1:x=30:y=350:fontfile=/usr/share/fonts/truetype/lato/Lato-Black.ttf:fontsize=30:fontcolor=white[v]" \
-map "[v]" \
-map 2:a \
-c:v libx264 -b:v 4000k -maxrate 4000k -bufsize 8000k -g 50 -c:a aac \
-s 640x480 \
-f flv rtmp://a.rtmp.youtube.com/live2/[google_key_stream]



My desired customization :


- 

- Add an another webcam (-i /dev/video1) : 30" video0 -> 30" video1 -> 10" image2 -> 30" video0 ... (a loop)
- Add a png overlay on the final comp
- how add a transparent png behind the text
- plug an audio input (by jack) to add over the bed.mp3
- save the file in same time of live (-f flv live.mp4 ??)












The part -filter_complex is the most difficult for me to understand


Thanks you very much for you help, it's for finish my personal and important project