Recherche avancée

Médias (91)

Autres articles (98)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (13072)

  • ffmpeg usage to encode a video to H264 codec format

    2 avril 2024, par goldenmean

    I have a *.mp4 video file(MPEG4 video codec) and I am trying to convert this to a H264 video codec format(raw h.264 format) using ffmpeg on Linux(Version - FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard,) using command line as shown below,

    



    ffmpeg -i input .mp4 output.h264 


    



    but I get an error saying -

    



    Unsupported codec for output stream #0.0


    



    Then when i try this option :

    



    ffmpeg -i input .mp4 -formats h264 output.h264 


    



    it still does not work, and gives -

    



    Seems stream 0 codec frame rate differs from container frame rate: 59.94 (5994/100) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Rapture.mp4':
  Duration: 00:02:06.44, start: 0.000000, bitrate: 26574 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16


    



    And then it prints out help on the formats which we get when we do ffmpeg -formats

    



    When I checked the help, ffmpeg -formats, I see below information related to H264 file format and codec :

    



    File format : 

DE h264            raw H.264 video format

Codecs:

D V D  h264         H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10


    



    My questions :

    



      

    1. How can I convert the video to a H264 encoded video (raw H264 video format)

    2. 


    3. When I do ffmpeg -formats, I see many acronyms for the codecs supported, I see many acronyms before the codec name/type such as - D V D S E A, what do they stand for ?

    4. 


    5. How to use the ffmpeg options -vcodec and -formats ?

    6. 


    


  • How to install libx265 for ffmpeg on Mac OSX

    20 octobre 2019, par Spencer

    I have tried multiple guides here (search for "Building libx265") and here with no success. Both times I made sure I uninstalled ffmpeg first, went through the guides, then ran

    brew install ffmpeg --with-fdk-aac --with-freetype --with-libass --with-libvpx --enable-libx265

    No matter what when I go to run a command like

    ffmpeg -i source.mkv -c:v libx265 test1.mkv

    I get the error :

    Unknown encoder 'libx265'

    Has anyone had success building libx265 for use with ffmpeg on OSX and can you please share how you did it ?

    P.S. I am running OSX 10.11.3

  • ffmpeg doesn't recognize Quicktime DV codec

    8 août 2017, par 3pointedit

    I have had success with excellent advice, on a Mac OSX10.5, converting a modified MXF media structure to h264 while retaining multitrack audio. But I cannot get ffmpeg to work in Windows environment.

    See this page.

    Here’s the result of latest failure-

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    F:\>h:

    H:\>cd conversion folder


    H:\Conversion folder>ffmpeg ffmpeg -report -enable_drefs 1 -use_absolute_path 1
    -i fdb9_AerialsEagleFarm_0610.mov -map 0:v -map 0:a -write_tmcd 1 fd9_AerialsEag
    leFarm_A0609.mp4
    ffmpeg started on 2017-08-08 at 15:01:24
    Report written to "ffmpeg-20170808-150124.log"
    ffmpeg version N-86950-g1bef008 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.1.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
    nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
    enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
    --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
    bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
    -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
    e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
    e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
    -libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 70.100 / 55. 70.100
     libavcodec     57.102.100 / 57.102.100
     libavformat    57. 76.100 / 57. 76.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 98.100 /  6. 98.100
     libswscale      4.  7.102 /  4.  7.102
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'video.vid' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 0, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/video.vid', dir='fdb
    9_AerialsEagleFarm_0610.vmf', filename='video.vid', volume='default', nlvl_from=
    1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_0.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 1, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_0.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_0.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_1.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 2, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_1.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_1.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_2.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 3, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_2.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_2.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Opening 'audio_3.pcm' for reading
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] stream 4, error opening alias: path
    ='/VibrintAVFiles/Xchange In/fdb9_AerialsEagleFarm_0610.vmf/audio_3.pcm', dir='f
    db9_AerialsEagleFarm_0610.vmf', filename='audio_3.pcm', volume='default', nlvl_f
    rom=1, nlvl_to=1
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005c99a0] Could not find codec parameters for
    stream 0 (Video: dvvideo (dvpp / 0x70707664), none, 720x576, 28800 kb/s): unspe
    cified pixel format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Guessed Channel Layout for Input Stream #0.1 : mono
    Guessed Channel Layout for Input Stream #0.2 : mono
    Guessed Channel Layout for Input Stream #0.3 : mono
    Guessed Channel Layout for Input Stream #0.4 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fdb9_AerialsEagleFarm_0610.mov':
     Metadata:
       creation_time   : 2016-10-06T07:01:58.000000Z
     Duration: 00:12:43.90, start: 0.000000, bitrate: 1 kb/s
       Stream #0:0(eng): Video: dvvideo (dvpp / 0x70707664), none, 720x576, 28800 k
    b/s, SAR 118:81 DAR 295:162, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
         timecode        : 01:17:27:12
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16,
    768 kb/s (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Alias Data Handler
       Stream #0:5(eng): Data: none (tmcd / 0x64636D74) (default)
       Metadata:
         creation_time   : 2016-10-06T07:01:58.000000Z
         handler_name    : Apple Handle Data Handler
         timecode        : 01:17:27:12
    [NULL @ 00000000005cad20] Unable to find a suitable output format for 'ffmpeg'
    ffmpeg: Invalid argument

    And a screen grab of file structure (although I’m using an alias for target)

    alt mxf media