Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (35)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6167)

  • How can I convert a webm file with alpha channel to a hevc encoded file that will play in safari on an IPad ?

    21 septembre 2021, par Programming Guy

    I've got a webm file with transparency : https://itype.techforge.com.au/assets/videos/upshot/module1/NP_1A.webm

    


    I'm trying to convert it into something that will play in the video element of a web page in the Safari browser on an IPad.

    


    An example of a file that works is : https://rotato.netlify.app/alpha-demo/movie-hevc.mov

    


    My attempts at doing this conversion have all failed. 3rd party apps seem to all lose the alpha channel.

    


    On my mac I tried ffmpeg

    


    ffmpeg -i input.webm -c:v hevc_videotoolbox -allow_sw 1 -alpha_quality 0.75 -vtag hvc1 output.mov


    


    However, while this resulted in a file that reported a codec of MPEG-H Part2/HEVC (H.265) (hvc1) the resulting file still has a black background instead of a transparent one.

    


    ffmpeg log : https://pastebin.com/DMM9y5PU

    


  • FFMPEG batch file to re-encode movies that don't contain string "h265" in file name ?

    11 juillet 2017, par gregm

    I have a batch file that uses FFMPEG to re-encode movies to h265 to reduce file size. I have a few videos that I previously re-encoded over the past couple of years. I want to skip those and at the moment I just manually move them from subfolders before running my script, but this is getting tedious. I’d like to add a command to my batch file that skips those files automatically. All files that have been re-encoded in the past have h265 appended before the file extension. My batch file looks like this, but it isn’t skipping the files with h265 in them :

    for %%a in ("*.*") do findstr /v /c:"h265" "%%a" >nul && \
    ffmpeg -i "%%a" -c:v libx265 -preset ultrafast \
    -x265-params [parameters] -c:a copy "%%~na.h265.mp4"

    pause

    What do I need to change to get this to work ?

  • FFmpeg cannot find the file which is in the same directory as the python script [duplicate]

    8 octobre 2023, par N_Viofile

    Both of the input and output are in the folder, but python does not know where they are ?

    


    import subprocess
import pathlib

def convert_video_to_mp4(input_file, output_file):
print(pathlib.Path(__file__).parent.resolve())
ffmpeg_cmd = [
"ffmpeg"
"-i", input_file,
output_file
]

    try:
        subprocess.run(ffmpeg_cmd, check=True)
        print("Successfully converted")
    except subprocess.CalledProcessError as e:
        print("Conversion failed!")

convert_video_to_mp4("Media.ts", "video.mp4")


    


    First I was trying to convert a file on a website to mp4, that did not work, So I tried downloading the file to see if it would work and it still did not work.

    


    Full Error

    


    C:\Users\viofi\PycharmProjects\FFMPEGSERVER\venv\Scripts\python.exe C:\Users\viofi\PycharmProjects\FFMPEGSERVER\ffmpeg.py &#xA;C:\Users\viofi\PycharmProjects\FFMPEGSERVER&#xA;Traceback (most recent call last):&#xA;  File "C:\Users\viofi\PycharmProjects\FFMPEGSERVER\ffmpeg.py", line 21, in <module>&#xA;    convert_video_to_mp4("Media.ts", "video.mp4")&#xA;  File "C:\Users\viofi\PycharmProjects\FFMPEGSERVER\ffmpeg.py", line 15, in convert_video_to_mp4&#xA;    subprocess.run(ffmpeg_cmd, check=True)&#xA;  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 548, in run&#xA;    with Popen(*popenargs, **kwargs) as process:&#xA;         ^^^^^^^^^^^^^^^^^^^^^^^^^^^&#xA;  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1026, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;&#xA;Process finished with exit code 1&#xA;</module>

    &#xA;