Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (47)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (7744)

  • avcodec/opus/parser : remove duplicate failure path code

    3 janvier, par James Almer
    avcodec/opus/parser : remove duplicate failure path code
    

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/opus/parser.c
  • How to convert multiple video files in a specific path outputvideo with the same video name

    31 janvier, par Oussama Gamer

    The following code to converts a one video from mp4 to avi using ffmpeg

    &#xA;

    ffmpeg.exe  -i "kingman.mp4"  -c copy "kingman.avi"

    &#xA;

    I need to convert multiple videos in a specific path. "outputvideo" with the same video name

    &#xA;

    This is the my code that needs to be modified.

    &#xA;

    from pathlib import Path&#xA;import subprocess&#xA;from glob import glob&#xA;&#xA;all_files = glob(&#x27;./video/*.mp4&#x27;)&#xA;&#xA;for filename in all_files:&#xA;     videofile = Path(filename)&#xA;     outputfile = Path(r"./outputvideo/")&#xA;     codec = "copy"&#xA;     ffmpeg_path = (r"ffmpeg.exe")&#xA;&#xA;outputfile = outputfile / f"{videofile.stem}"&#xA;&#xA;outputfile.mkdir(parents=True, exist_ok=True)&#xA;&#xA;command = [&#xA;    f"{ffmpeg_path}",&#xA;    "-i", f"{videofile}",&#xA;    "-c", f"{codec}",&#xA;    "{outputfile}",]&#xA;&#xA;process = subprocess.Popen(&#xA;    command,&#xA;    stdout=subprocess.PIPE,&#xA;    stderr=subprocess.PIPE,&#xA;    text=True,&#xA;    bufsize=1,&#xA;    universal_newlines=True)&#xA;process.communicate()&#xA;

    &#xA;

  • Python ffmpeg won't accept path, why ?

    16 février, par Messaoud dhia

    everytime i launch the code and set the correct path it gives me this error, I tried including ffmpeg path, uninstalling and installing the library back but no luck. I've also tried using diffrent ways to set the path like putting it directly without saving it to a variable, this is getting me crazy please help me with a solution .

    &#xA;


    &#xA;
                                                         Code&#xA;

    &#xA;


    &#xA;
    from pytube import *&#xA;import ffmpeg&#xA;&#xA;global str&#xA;userurl = (input("Enter a youtube video URL : "))&#xA;q = str(input("Which quality you want ?  360p,480p,720p,1080p,4K,Flh :")).lower()&#xA;yt = YouTube(userurl)&#xA;print ("Title of the video : ",yt.title)&#xA;&#xA;&#xA;def hd1080p():&#xA;    print("Downloading a HD 1080p video...")&#xA;    v = yt.streams.filter(mime_type="video/mp4", res="1080p", adaptive = True).first().download(filename = "HD1080P.mp4")&#xA;    print("Video downloaded")&#xA;    yt.streams.filter(mime_type="audio")&#xA;    a = yt.streams.get_audio_only()&#xA;    print("Downloading audio")&#xA;    a.download(filename = "audio.mp4")&#xA;    print("audio downloaded")&#xA;    input_video = ffmpeg.input("HD1080P.mp4")&#xA;    added_audio = ffmpeg.input("audio.mp4").audio.filter(&#x27;adelay&#x27;, "1500|1500")&#xA;&#xA;    merged_audio = ffmpeg.filter([input_video.audio, added_audio], &#x27;amix&#x27;)&#xA;&#xA;    (&#xA;        ffmpeg&#xA;        .concat(input_video, merged_audio, v=1, a=1)&#xA;        .output("mix_delayed_audio.mp4")&#xA;        .run(overwrite_output=True)&#xA;    )&#xA;    &#xA;&#xA;if q == "1080" or q == "1080p":&#xA;    hd1080p()&#xA;elif q == "720" or q == "720p":&#xA;    hd720p()&#xA;elif q == "480" or q == "480p":&#xA;    l480p()&#xA;elif q == "360" or q == "360p":&#xA;    l360p()&#xA;elif q ==  "4" or q == "4k":&#xA;    hd4k()&#xA;else:&#xA;    print("invalid choice")&#xA;

    &#xA;


    &#xA;
                                                      THE ERROR&#xA;

    &#xA;


    &#xA;
    Traceback (most recent call last):&#xA;  File "c:\Users\messa\Desktop\upcoming project\videodownloader.py", line 65, in <module>&#xA;    hd1080p()&#xA;  File "c:\Users\messa\Desktop\upcoming project\videodownloader.py", line 26, in hd1080p&#xA;    ffmpeg&#xA;  File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 313, in run&#xA;    process = run_async(&#xA;  File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 284, in run_async&#xA;    return subprocess.Popen(&#xA;  File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;