Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (50)

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

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

  • how can i set Path of ffmpeg output in vb.net

    28 avril 2015, par TOM

    I am Writing a code in vb.net to Create thumbnails of Video . But I want to set the output path or the storage path of the thumbnails

    enter code here

     TextBox2.Text = InputBox("Enter your Desired Name")
     Dim fileName As String = TextBox1.Text
     Dim result As String = Path.GetFileName(fileName)
     proc.StartInfo.Arguments = "  -i  " + result + " -r  1 " + TextBox2.Text + "%4d.jpg  "
     proc.Start()

    When i run this The output is stored elsewhere. So i want to store the output manually

  • How to use bytes instead of file path in ffmpeg ?

    3 mai 2021, par Julio S.

    I have a function that currently receives bytes, saves it to an audio WEBM file on disk, then converts it to another audio WAV file on disk.

    


    I am looking for a way to make the above conversion without saving the WEBM files to disk, using FFMPEG.

    


    Can FFMPEG handle such conversions using bytes in memory instead of a path to a file in disk ?

    


    What I am doing right now (Python 3.8.8 64Bit) :

    


    # audio_data = bytes received

def save_to_webm(audio_data, username):
    mainDir = os.path.dirname(__file__)
    tempDir = os.path.join(mainDir, 'temp')
    webm_path = os.path.join(tempDir, f'{username}.webm')
    with open(webm_path, 'wb') as f:
        f.write(audio_data)
    return webm_path

# webm_path = input path in FFMPEG

def convert_webm_to_wav(webm_path, username):
    mainDir = os.path.dirname(__file__)
    tempDir = os.path.join(mainDir, 'temp')
    outputPath = os.path.join(tempDir, f'{username}.wav')

    if platform == 'win32':
        ffmpeg_path = os.path.join(mainDir, 'ffmpeg.exe')
    else:
        os.chdir("/ffmpeg")
        ffmpeg_path = './ffmpeg'

    command = [ffmpeg_path, '-i', webm_path, '-acodec', 'pcm_s16le', '-ar', '11025', '-ac', '1', '-y', outputPath]
    subprocess.run(command,stdout=subprocess.PIPE,stdin=subprocess.PIPE)
    return outputPath


    


  • How to specify a path for output file in ffmpeg ?

    29 janvier 2020, par Karthikeya Vaidya

    I am trying to give a path for the output file, but ffmpeg is giving an error stating

    Unable to find a suitable output format for ’/kcs/eng/ : Invalid argument.

    Whereas it is accepting the full path of the input file.

    $in_path = "D:/kcs/kan/video.vob";
    $out_path = "E:/kcs/eng/video.mp4";

    ffmpeg -i $in_path -loglevel error -c:v libx264 -c:a aac -strict experimental $out_Path

    How to specify the path of the output file ?