Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (41)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (5258)

  • FFmpeg to transfer from bad media

    31 décembre 2017, par TheSavo

    I have an SDcard that has two videos recorded from an old phone. The media is bad and I have already run SpinRite and chkdsk, to fix the errors. The files still fail to copy completely.

    I can play some portion of the files in VLC player. It plays about as far as File copy and TeraCopy before the copy job fails.
    They and MP4 files. I would like to use ffmpeg to transfer the portion of the video that will play out. is -i the best parameter ?

    ffmpeg -i H:\badfile.mp4 e:\portion.mp4

    Here is the output from mediainfo if that helps

    Complete name                            : H:\DCIM\badfile.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom (isom/3gp4)
    File size                                : 422 MiB
    Duration                                 : 3 min 46 s
    Overall bit rate                         : 15.6 Mb/s
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4
    Format settings                          : CABAC / 1 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, RefFrames               : 1 frame
    Format settings, GOP                     : M=1, N=61
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 3 min 45 s
    Bit rate                                 : 15.5 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 19.469 FPS
    Minimum frame rate                       : 14.085 FPS
    Maximum frame rate                       : 30.303 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.385
    Stream size                              : 418 MiB (99%)
    Title                                    : VideoHandle
    Language                                 : English
    Encoded date                             : UTC 2013-09-17 13:18:06
    Tagged date                              : UTC 2013-09-17 13:18:06
    mdhd_Duration                            : 225892

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : mp4a-40-2
    Duration : 3 min 46 s
    Bit rate mode : Constant
    Bit rate : 128 kb/s
    Nominal bit rate : 96.0 kb/s
    Channel(s) : 2 channels
    Channel positions : Front : L R
    Sampling rate : 44.1 kHz
    Frame rate : 43.066 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 3.46 MiB (1%)
    Title : SoundHandle
    Language : English
    Encoded date : UTC 2013-09-17 13:18:06
    Tagged date : UTC 2013-09-17 13:18:06

  • Convertion of mp3 file with ffmpeg results in a file with wrong length [duplicate]

    16 avril 2018, par Arthur Efixty

    This question already has an answer here :

    I wrote a simple script for Linux where I loop through the folder (containing only .mp3 files) and add an album art to every item.

    Here is my code :

    for file in ~/Desktop/Rise\ Against/*
       do
           ffmpeg -i "${file}" -i ~/Desktop/appeal\ to\ reason.jpeg -map 0:0 -map 1:0 -codec copy -id3v2_version 3 \-metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" "${file%}";
       done

    If I set the output filename to hardcoded value like out.mp3 then it works fine. But I need these files to have the same name as existing and overwrite them.

    Running this script results in having all files edited as expected (the album art changed) but they all have a length of 3 seconds. In terminal I get this [mp3 @ 0xc695e0] Audio packet of size 378219 (starting with 6B0855F2...) is invalid, writing it anyway.

    Thanks in advance !

  • Looking for a solution to my ffmpeg video overlay code :

    16 mars 2018, par Michael Hovan

    Looking for a solution to my ffmpeg video overlay code :

    import subprocess as sp

    cmd='ffmpeg', '-i', 'C:/Users/Michael.hovan/Desktop/test/front.mov', '-i', 'C:/Users/Michael.hovan/Desktop/test/persp.mov', '-i', 'C:/Users/Michael.hovan/Desktop/test/side.mov', '-i', 'C:/Users/Michael.hovan/Desktop/test/top.mov', '-filter_complex' \
    '[1:v]scale=iw/4:-1:flags=lanczos[pip1];' \
    '[2:v]scale=iw/4:-1:flags=lanczos[pip2];' \
    '[3:v]scale=iw/4:-1:flags=lanczos[pip3];' \
    '[0:v][pip1]overlay=main_w-overlay_w-10:main_h-overlay_h-10[bg1];' \
    '[bg1][pip2]overlay=(main_w-overlay_w)/2:main_h-overlay_h-10[bg2];' \
    '[bg2][pip3]overlay=10:main_h-overlay_h-10,format=yuv420p[v];' \
    '[0:a][1:a][2:a][3:a]amerge=inputs=4[a]' \
    '-map', '[v]', '-map', '[a]', '-ac', '1', 'C:/Users/Michael.hovan/Desktop/test/output.avi'

    sp.call(cmd)

    I’m honestly stumped as to why the code is giving me a "returned non zero exit status".