Recherche avancée

Médias (91)

Autres articles (38)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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 (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8969)

  • screenrecorder appliaction. video output size issues [closed]

    25 juin 2022, par jNc

    Having working github project
https://github.com/abdullahfarwees/screen-recorder-ffmpeg-cpp

    


    All works perfectly fine, but output video resolution is not correct
I need to change output video resolution

    


    Using ubuntu/gcc/opencv/

    


    [...]
outAVCodecContext->bit_rate = 400000; // 2500000
outAVCodecContext->width = 1920; // <- change this one
outAVCodecContext->height = 1080; // <- and also this one
outAVCodecContext->gop_size = 3;
[...]


    


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

    


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