Recherche avancée

Médias (91)

Autres articles (96)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10748)

  • How to extract an audio part from a mp4 using ffmpeg ?

    13 avril 2019, par vdegenne

    I tried to use the following command :

    ffmpeg -i video.mp4 -acodec copy -ss 00:30:00 -to 00:60:00 extract.mp3

    but it fails and says

    [mp3 @ 0x3bfade0] Invalid audio stream. Exactly one MP3 audio stream is required.
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

    I believe it’s because I need to extract the mp3 data first and provide it to the command, but is not there a way to do this in one command and avoid creating the full mp3 file that I don’t need ?

  • FFmpeg 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

  • 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