Recherche avancée

Médias (91)

Autres articles (102)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8016)

  • Android code FFMPEG. Help me about using ffmpeg command

    4 mai 2016, par Badman

    I have a videos with large size(22MB). I want resizing and crop that videos to small size (1 2 MB). Example size : 480 x 480.
    This is code i using :

    -i " + pathSourceVideos + " -strict experimental -vcodec libx264 -crf 27 -vf crop=out_w=in_h -threads 5 -preset ultrafast -strict -2 " +
    pathVideoComplete ;

    This code too slow.
    I have check time process done :
    With videos 14s : process in 02:44s
    With videos 10s : process in 02:00s
    Please give me some suggest.
    Sorry about my english.

  • ffmpeg - scale not working on all my cases

    24 avril 2017, par Thanh Dao

    I’m using ffmpeg to scale and change speed of my videos.

    And below script was not worked :

    ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=0.666*PTS[i]; [i]scale=640:640[j]; [0:a]atempo=1.5[p]" -map "[j]" -map "[p]" output.mp4 2>&1

    More simple script I testes also not working

    ffmpeg -i input.mp4 -filter_complex "scale=640:640" output.mp4 2>&1

    Original video have resolution 1280x720, and I want to resize to 640x640, with padding 320 left and right.

    What are my wrongs in script ?
    Sorry for my bad English !

  • Encoding real, source duration of a timelapse into MP4 container using FFMPEG (GoPro) [closed]

    13 août 2024, par Marek Towarek

    Footage recorded with GoPro TimeLapse / TimeWarp, indicates the total, real-time duration of recorded data, while the video stream is of reduced length by the timelapse interval.

    


    General
Complete name               : E:\Video\GoPro\GoPro\GH010656.MP4
Format                      : MPEG-4
Format profile              : Base Media / Version 1
Codec ID                    : mp41 (mp41)
File size                   : 1.94 GiB
Duration                    : 22 min 55 s
Overall bit rate mode       : Variable
Overall bit rate            : 12.1 Mb/s

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L5
Format settings             : CABAC / 2 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 2 frames
Format settings, GOP        : M=1, N=15
Codec ID                    : avc1
Codec ID/Info               : Advanced Video Coding
Duration                    : 4 min 35 s
Bit rate mode               : Variable
Bit rate                    : 60.0 Mb/s
Width                       : 1 920 pixels
Height                      : 1 440 pixels
Display aspect ratio        : 4:3
Rotation                    : 180°
Frame rate mode             : Constant
Frame rate                  : 29.970 (30000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.724
Stream size                 : 1.92 GiB (99%)
Title                       : GoPro AVC  
Language                    : English
Color range                 : Limited
colour_range_Original       : Full
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709
Codec configuration box     : avcC

Other #1
ID                          : 2
Type                        : Time code
Format                      : QuickTime TC
Duration                    : 4 min 35 s
Bit rate mode               : Constant
Frame rate                  : 29.970 (30000/1001) FPS
Title                       : GoPro TCD  
Language                    : English

Other #2
Type                        : meta
Duration                    : 22 min 55 s
Source duration             : 4 min 35 s
Bit rate mode               : Variable
Stream size                 : 15.0 MiB
Source stream size          : 15.0 MiB


    


    This information could be omitted.
    
But it becomes quite important for correctness of GPS Data stored in Stream #2.

    


    Unfortunately, all the settings I have tried for FFMPEG, do not preserve the duration of Stream #2.
& the output ends up looking like this :

    


    General
Complete name               : C:\Video_Encode\GoPro\GH010656.mp4
Format                      : MPEG-4
Format profile              : Base Media
Codec ID                    : isom (isom/iso2/mp41)
File size                   : 717 MiB
Duration                    : 4 min 35 s
Overall bit rate            : 21.9 Mb/s
Encoded date                : UTC 2026-03-29 11:28:23
Tagged date                 : UTC 2026-03-29 11:28:23
Writing application         : Lavf61.5.101

Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main@L5@Main
Codec ID                    : hvc1
Codec ID/Info               : High Efficiency Video Coding
Duration                    : 4 min 35 s
Bit rate                    : 21.4 Mb/s
Width                       : 1 920 pixels
Height                      : 1 440 pixels
Display aspect ratio        : 4:3
Frame rate mode             : Constant
Frame rate                  : 29.970 (30000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0 (Type 0)
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.258
Stream size                 : 702 MiB (98%)
Title                       : GoPro AVC  
Writing library             : x265 3.6+35-dd594f59d:[Windows][GCC 14.1.0][64 bit] 8bit+10bit+12bit
Language                    : English
Encoded date                : UTC 2026-03-29 11:28:23
Tagged date                 : UTC 2026-03-29 11:28:23
Color range                 : Full
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709
Codec configuration box     : hvcC

Other #1
ID                          : 2
Type                        : Time code
Format                      : QuickTime TC
Duration                    : 4 min 35 s
Frame rate                  : 29.970 (30000/1001) FPS
Time code of first frame    : 17:55:35:02
Time code of last frame     : 18:00:09:28
Time code, stripped         : Yes
Title                       : GoPro TCD  
Language                    : English
Default                     : Yes
Alternate group             : 2
Encoded date                : UTC 2026-03-29 11:28:23
Tagged date                 : UTC 2026-03-29 11:28:23
mdhd_Duration               : 275175

Other #2
Type                        : meta
Duration                    : 4 min 35 s
Bit rate mode               : Variable


    


    Any ideas how to preserve that real time duration indicator ?
    
Here is the FFMPEG binary I use to get the TMCD & GMPD data to copy : GitHub Link