Recherche avancée

Médias (91)

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7841)

  • Extract individual macroblock types and their corresponding motion vectors [closed]

    14 mai 2023, par Prajit Kumar

    I need to make a pair for each macroblock from a frame of a video containing its type and motion vector.

    


    I extracted motion vectors by using the python module of mv-extractor.

    


    For macroblock type I used ffmpeg command : ffmpeg -threads 1 -debug 'mb_type' -i file.h264 -f null -

    


    The info received from ffmpeg command doesn't match with the location of motion vectors extracted (Macroblocks which are divided into smaller blocks of size 8X16 or 16X8 do not match with the info of macroblock size received in motion vector info). Also, the ffmpeg command for extracting macroblock type doesn't work properly on some videos.

    


    Can you please tell a more streamlined way of doing this task.

    


  • Recursively convert images in each subfolder into individual videos using FFmpeg

    17 décembre 2024, par arutan edram

    I am using this script to convert all images in a folder into a video. Each image is shown for 4 seconds and the script runs from a bat file.

    


    `ffmpeg -framerate 1/4 -i %%03d.jpg -pix_fmt yuv420p video.mp4`


    


    I have hundreds of subfolders each containing images with the same resolution and I want to convert them into one moive per subfolder.

    


    I might be close to a solution but it still does not do the job

    


    @echo off
setlocal enabledelayedexpansion

:: Set the frame rate and file format
set "framerate=1/4"
set "image_format=%%03d.jpg"
set "output_video=video.mp4"

:: Traverse all subfolders
for /d /r %%F in (*) do (
    echo Processing folder: %%F
    cd "%%F"
    :: Check if images exist
    if exist "%image_format%" (
        echo Converting images in %%F to video...
        ffmpeg -framerate %framerate% -i "%image_format%" -pix_fmt yuv420p "%%~nxF.mp4"
    ) else (
        echo No images found in %%F, skipping...
    )
    cd ..
)


    


    Any help is appreciated

    


  • Enter individual folder(s) and execute PowerShell command

    5 octobre 2020, par WorldTeacher

    I have many folders with even more subfolders, and as posted in my first question

    


    


    How to create a powershell script / or windows .bat file for ffmpeg

    


    


    I want to encode all video files in the folders.
The Script I got from mklement0 works fine but lazy as I am, I was wondering if there was a way to tell the PowerShell to enter folder 1, go to subfolder_1, and execute the ps1 script (would be perfect if it executed in a new powershell instance), wait a certain time and go into subfolder_2

    


    Repeat until no more subfolders available.

    


    Is this possible ?

    


    Edit :
The Script I got :

    


    Get-ChildItem *.mkv | where BaseName -notlike '*`[encoded]' | foreach {
ffmpeg -i $_ -c:v libx265 -c:a copy -x265-params crf=25 "$($_.BaseName)[encoded].mkv"
pause
}


    


    


    What is the reason for the desire to process each subfolder in a separate instance of powershell.exe ? by Mathias R. Jessen

    


    


    Because I want to encode multiple folders at once to save some time.
If there is a way to execute the script in the same PowerShell (as far as my understanding goes, I can only encode one folder at one time if I use the same PowerShell instance)