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)

  • Cutting out a part of a video in ffmpeg creates a corrupted output file

    30 octobre 2020, par lagmoellertim

    I currently have a problem with ffmpeg. I'm trying to cut out a part of a video (e.g. from 00:10:00 to 00:10:30).

    


    I use this command ffmpeg -ss 600 -to 630 -i not_working.mp4  not_working_part.mp4.

    


    I tried reencoding the video, but it is still corrupted (only first few frames working, video is multiple hours long but jumps to end if you try to skip).

    


    I use the -ss and the -to parameter before the -i parameter because it is much faster I want to cut out a part that is e.g. right at the end of the video. Moving the -i parameter infront of the other args solves the problem, but the performance is really bad for cutouts late in the video. For many other of my videos, both methods work without a problem.

    


    Here is some metadata about the video from ffmpeg :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'media\not_working.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2020-09-22T06:20:53.000000Z
  Duration: 03:03:40.04, start: 0.000000, bitrate: 537 kb/s
    Chapter #0:0: start 0.000000, end 204.120000
    Metadata:
      title           : Recording Started
    Chapter #0:1: start 204.120000, end 2045.200000
    Metadata:
      title           : Sharing Started
    Chapter #0:2: start 2045.200000, end 2056.880000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:3: start 2056.880000, end 4018.280000
    Metadata:
      title           : Sharing Started
    Chapter #0:4: start 4018.280000, end 4024.760000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:5: start 4024.760000, end 4096.000000
    Metadata:
      title           : Sharing Started
    Chapter #0:6: start 4096.000000, end 4101.800000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:7: start 4101.800000, end 4481.920000
    Metadata:
      title           : Sharing Started
    Chapter #0:8: start 4481.920000, end 4624.480000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:9: start 4624.480000, end 6902.000000
    Metadata:
      title           : Sharing Started
    Chapter #0:10: start 6902.000000, end 6906.760000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:11: start 6906.760000, end 6922.880000
    Metadata:
      title           : Sharing Started
    Chapter #0:12: start 6922.880000, end 6936.800000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:13: start 6936.800000, end 9140.840000
    Metadata:
      title           : Sharing Started
    Chapter #0:14: start 9140.840000, end 9145.680000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:15: start 9145.680000, end 9297.600000
    Metadata:
      title           : Sharing Started
    Chapter #0:16: start 9297.600000, end 9306.040000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:17: start 9306.040000, end 9572.480000
    Metadata:
      title           : Sharing Started
    Chapter #0:18: start 9572.480000, end 9620.680000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:19: start 9620.680000, end 10020.760000
    Metadata:
      title           : Sharing Started
    Chapter #0:20: start 10020.760000, end 10085.480000
    Metadata:
      title           : Sharing Stopped
    Chapter #0:21: start 10085.480000, end 10781.920000
    Metadata:
      title           : Sharing Started
    Chapter #0:22: start 10781.920000, end 11020.040000
    Metadata:
      title           : Sharing Stopped
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 53 kb/s (default)
    Metadata:
      creation_time   : 2020-09-22T06:20:53.000000Z
      handler_name    : AAC audio
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 481 kb/s, 25 fps, 25 tbr, 30k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2020-09-22T06:20:53.000000Z
      handler_name    : H.264/AVC video
      encoder         : AVC Coding
    Stream #0:2(und): Data: bin_data (text / 0x74786574)
    Metadata:
      creation_time   : 2020-09-22T06:20:53.000000Z
      handler_name    : Text


    


    Here is a link to the -report log file from ffmpeg (on pastebin) : https://pastebin.com/i9ix3GsC

    


  • How can I convert a mp4 into an ogv with ffmpeg ? I am getting a "segmentation fault"

    8 mars 2020, par xrainbowuk

    I am trying to use ffmpeg to convert a mp4 video into an ogv and a webm. I am using a Mac and this is what I am putting into the terminal :

    ffmpeg -i "Hands-typing-(mobile-1080p-loop) copy.mp4" -codec:v libtheora -codec:a libvorbis -f ogv output.ogv

    This is what I am getting in response :

       ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
     built with Apple clang version 11.0.0 (clang-1100.0.33.17)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
     libavutil      56. 31.100 / 56. 31.100
     libavcodec     58. 54.100 / 58. 54.100
     libavformat    58. 29.100 / 58. 29.100
     libavdevice    58.  8.100 / 58.  8.100
     libavfilter     7. 57.100 /  7. 57.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  5.100 /  5.  5.100
     libswresample   3.  5.100 /  3.  5.100
     libpostproc    55.  5.100 / 55.  5.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Hands-typing-(mobile-1080p-loop) copy.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2020-03-04T20:14:21.000000Z
     Duration: 00:00:21.18, start: 0.000000, bitrate: 8201 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 8085 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc (default)
       Metadata:
         creation_time   : 2020-03-04T20:14:21.000000Z
         handler_name    : ?Mainconcept Video Media Handler
         encoder         : AVC Coding
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default)
       Metadata:
         creation_time   : 2020-03-04T20:14:21.000000Z
         handler_name    : #Mainconcept MP4 Sound Media Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> theora (libtheora))
     Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
    Press [q] to stop, [?] for help
    zsh: segmentation fault  ffmpeg -i "Hands-typing-(mobile-1080p-loop) copy.mp4" -codec:v libtheora   -f

    I have also tried this, which doesn’t work :

    ffmpeg -i "Hands-typing-(mobile-1080p-loop) copy.mp4" -codec:v libtheora -qscale:v 3 -codec:a libvorbis \
     -qscale:a 3 -f ogv output.ogv

    I am struggling to find the answer to my question. Especially as there are so many posts about "segmentation faults".

    Any help is very much appreciated.

  • Passing arguments to Powershells Call Operatore - I can't get it to work

    2 janvier 2020, par morgola22

    For some reason I cannot get even the most simple Ffmpeg case to work :

    $pathToFfmpeg = "PathToFfmpeg\ffmpeg.exe"
    $video = "PathToVideoFile\video.mp4"
    $param = "--i $video", "output.avi"
    $execute = &$pathToFfmpeg $param

    This should result in the most basic Ffmpeg usage according to Ffmpeg website : ffmpeg -i input.mp4 output.avi.
    However all I receive is :

    ffmpeg.exe : ffmpeg version git-2020-01-01-7b58702 Copyright (c) 2000-2020 the FFmpeg developers
    At line:4 char:12
    + [string[]] $execute = &$pathToFfmpeg $param
    +                          ~~~~~~~~~~~~~~~~~~~~~
       + CategoryInfo          : NotSpecified: (ffmpeg version ...mpeg developers:String) [], RemoteException
       + FullyQualifiedErrorId : NativeCommandError

     built with gcc 9.2.1 (GCC) 20191125
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
    --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
    --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame
    --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
    --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
    --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
    --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
     libavutil      56. 38.100 / 56. 38.100
     libavcodec     58. 65.100 / 58. 65.100
     libavformat    58. 35.101 / 58. 35.101
     libavdevice    58.  9.102 / 58.  9.102
     libavfilter     7. 70.101 /  7. 70.101
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Unrecognized option '-i PathToVideoFile\video.mp4'.
    Error splitting the argument list: Option not found

    So it seems I am doing something wrong. Anybody knows how I get this to work ? I have tried different methods to create the params array and checked with EchoArgs.exe, but no avail. I am out of ideas. It looks like Ffmpeg does not recognise what Powershell is passing to it.