
Recherche avancée
Autres articles (34)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8136)
-
Revision 33f05e90fe : Enable rate-distortion optimization for transform partition This commit enables
22 avril 2015, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_rdopt.c
Enable rate-distortion optimization for transform partitionThis commit enables the rate-distortion optimization for recursive
transform block partition for inter mode blocks based on luma
component. The chroma component infers the transform block size
decision from those of luma component.Change-Id : I907cc52af888a606b718e087e717b189fa505748
-
nutdec : check for negative frame rate in decode_info_header
28 avril 2015, par Andreas Cadhalpun -
Changing video frame rate and keeping duration intact
6 mai 2018, par IdanI am trying to segment a video file, transcode each of the segments and then stitch them all back to one. The process is working but I have noticed that the final file has a different duration than the original one. Probably because I am transcoding to a fixed frame rate which is different from the source frame rate.
To segment the video I use :
ffmpeg -y -i video_only.mp4 -c copy -flags -global_header -segment_time 50 -break_non_keyframes 0 -reset_timestamps 0 \
-segment_list file_segs.list -segment_format mp4 -segment_list_type ffconcat -write_empty_segments 0 \
-f segment file_seg-%d.mp4Then, each segment is transcoded with this command :
ffmpeg -y -i $f -vcodec libx264 -vsync 1 -crf 18 -vf "fps=30" -pix_fmt yuv420p -preset:v fast -profile:v main -level:v 4.1 transcoded/$f
And finally, concat :
ffmpeg -y -f concat -i file_segs.list -c:v copy -c:a copy -movflags +faststart video_final.mp4
I’ve tried using "-r 30" instead on the filter (-vf), the same result.
As this is a part of a transcoding system I prefer not to check for the input file fps before transcoding as it can be anything - variable fps too (which is not so easy to detect)Is there any way I can keep the duration intact while changing the frame rate in this type of transcoding flow ?