Recherche avancée

Médias (91)

Autres articles (65)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (12372)

  • Obscure error while transcoding a video with FFMPEG

    8 juillet 2016, par ZiggidyCreative

    thanks for taking a moment to look at this FFMPEG error i’m having. I’m trying to transcode any video file, recorded in portrait mode and crop it to a square using the top portion and then size it down to 600x600 square. Here is the command i’m using :

    ffmpeg -y -i input-video.mov -filter_complex '[0] crop=1080:1080:0:0, scale=600:600, split=2[out1][out2]' -map '[out1]' video/transcoded-video.mp4 -map '[out2]' -qscale:v 6 thumbnails/thumb_%03d.png

    Here are the errors :

    [swscaler @ 0x2502260] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x250a2b0] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x2512300] No accelerated colorspace conversion found from yuv420p to rgb24.
    [NULL @ 0x24e9dd0] [Eval @ 0x7fff769243e0] Undefined constant or missing '(' in 'baseline'
    [NULL @ 0x24e9dd0] Unable to parse option value "baseline"
    [NULL @ 0x24e9dd0] Error setting option profile to value baseline.

    Here is the output :

    ffmpeg version git-2013-06-02-5711e4f Copyright (c) 2000-2013 the FFmpeg developers
    built on Jun  2 2013 07:38:40 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
    configuration: --enable-shared --disable-asm --prefix=/app/vendor/ffmpeg
    libavutil      52. 34.100 / 52. 34.100
    libavcodec     55. 13.100 / 55. 13.100
    libavformat    55.  8.102 / 55.  8.102
    libavdevice    55.  2.100 / 55.  2.100
    libavfilter     3. 74.101 /  3. 74.101
    libswscale      2.  3.100 /  2.  3.100
    libswresample   0. 17.102 /  0. 17.102
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/app/downloads/bf951fbc8322d9010d679e656ccda330b6f19f36.mov':
    Metadata:
      major_brand     : qt  
      minor_version   : 0
      compatible_brands: qt  
      creation_time   : 2016-07-01 19:27:37
    Duration: 00:00:04.77, start: 0.000000, bitrate: 17881 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 17874 kb/s, 29.98 fps, 30 tbr, 600 tbn, 1200 tbc
      Metadata:
        rotate          : 90
        creation_time   : 2016-07-01 19:27:37
        handler_name    : Core Media Data Handler
    [swscaler @ 0x2502260] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x250a2b0] No accelerated colorspace conversion found from yuv420p to rgb24.
    [swscaler @ 0x2512300] No accelerated colorspace conversion found from yuv420p to rgb24.
    [NULL @ 0x24e9dd0] [Eval @ 0x7fff769243e0] Undefined constant or missing '(' in 'baseline'
    [NULL @ 0x24e9dd0] Unable to parse option value "baseline"
    [NULL @ 0x24e9dd0] Error setting option profile to value baseline.
    Output #0, mp4, to '/app/outputs/2091/bf951fbc8322d9010d679e656ccda330b6f19f36.mp4':
    Metadata:
      major_brand     : qt  
      minor_version   : 0
      compatible_brands: qt  
      Stream #0:0: Video: mpeg4, yuv420p, 600x600, q=2-31, 200 kb/s, 90k tbn, 30 tbc
    Output #1, image2, to '/app/outputs/2091/thumbs/thumb_%03d.png':
    Metadata:
      major_brand     : qt  
      minor_version   : 0
      compatible_brands: qt  
      Stream #1:0: Video: png, rgb24, 600x600, q=2-31, 200 kb/s, 90k tbn, 30 tbc
    Stream mapping:
    Stream #0:0 (h264) -> crop
    split:output0 -> Stream #0:0 (mpeg4)
    split:output1 -> Stream #1:0 (png)

    Thanks again for looking at this and anything will help.

  • ffmpeg not taking variables for file name in bash [duplicate]

    6 juillet 2016, par 2haloes

    This question already has an answer here :

    I have been trying to create a script to download files from a website using ffmpeg, it works well until it gets to the filename, the code is as so :

    echo "Hello, this is the basic script to download videos. This requires ffmpeg to be installed, do you want to start? (Y/N)"
    read start_input
    if [ $start_input = Y ] || [ $start_input = y ]
    then
       echo "[Text]"
       read video_link
       echo "Now I need what quality you want the video to be (240, 360, 480, 720, 1080, Default: 720)"
       read quality_link
       if [ -z $quality_link ]
       then
           $quality_link = "720"
       fi

       echo "Now name the new file (Note, it will have a .ts extention)"

       read $new_file
       echo "And where would you like it to be placed?"
       read $folder_location
       $file="${folder_location}/${new_file}.ts"
       ffmpeg -i "[url]" -c:v copy -c:a copy -f mpegts $file
    else
       exit 0
    fi
    exit 0

    The problem is when the $file variable is used, ffmpeg doesn’t use it, variables are completely ignored, I have tried many different ways but they don’t work (Single quotes, double quotes, using $file), what can I do ?

  • Downscale and padding with FFmpeg

    26 juin 2022, par nrofis

    I have an input video with a resolution of 3000x2160. I want to downscale it to 1920x1080 but keep the aspect ratio and center the original view by adding padding.

    


    I tried this command :

    


    ffmpeg -i input.mkv -c:v libx264 -vf scale=-1:1080,pad=1920:1080:'(ow-iw)/2':0 output.1080.mp4


    


    But I get an error :

    


    


    Padded dimensions cannot be smaller than input dimensions.

    


    


    Of course, since I want to add padding relatively to the output video size.

    


    How can I downscale and add padding to the output view ?