Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (16)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5807)

  • how can I use the openCV FFMPEG video I/O rather than the DirectShow one in Windows ?

    2 mai 2012, par octi

    So I'm trying to write a video using the openCV videoWriter as such :

    writer=cv.CreateVideoWriter(path+"test_output.avi",-1,fps,(W,H),1)

    So instead of supplying the FOURCC I supplied -1 in order to see what codecs I have available.
    Result was Microsoft RLE, Microsoft Video 1, Intel YUV, and Uncompressed.

    The reason is that when configuring openCV using CMAKE for Visual Studio 10 x64, this is what I have in the video i/o :
    Video I/O : DirectShow

    Is there a way to switch this to FFMPEG ? I know the ffmpeg dll is present in \3dparty\ffmpeg.
    I looked for Cmake FFMPEG flags but found none whatsoever. The weird thing is in the CmakeLists.txt in the opencv root under the video section :

    if(UNIX AND NOT APPLE)
    <ffmpeg stuff="stuff">
    elseif(WIN32)
       status("  Video I/O:"        HAVE_VIDEOINPUT     THEN DirectShow ELSE NO)
    endif()
    </ffmpeg>

    So it seems to me that opencv automatically switched to DirectShow and gives no choice of using FFMpeg.
    Or rather can one upgrade Driectshow to support other formats such as Divx or h264 ?
    Any ideas ?

  • Running command Subprocess python failed but the same exact command runs well in Terminal

    15 juillet 2023, par will

    As the title says : weird problem. I've been struggling to make this work for a whole day but to no avail. Any help would be deeply appreciated.

    &#xA;

    # I&#x27;ve tried every one of the below path but still errors: Fontconfig error: Cannot load default config file: No such file: (null)&#xA;&#xA;FONT_LOC = r&#x27;C\\:/Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf&#x27;&#xA;FONT_LOC = &#x27;C:/Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf&#x27;&#xA;FONT_LOC = &#x27;C://Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf&#x27;&#xA;&#xA;&#xA;duration = &#x27;30&#xA;subtitle=&#x27;abc&#x27;&#xA;comd = [&#xA;            "ffmpeg",&#xA;            "-f", "lavfi",&#xA;            "-i", "color=c=black:s=1280x720:d={duration}".format(duration=duration),&#xA;            "-vf", f&#x27;&#x27;&#x27;drawtext=fontfile="{FONT_LOC}":text=&#x27;{subtitle}&#x27;:fontcolor=white:fontsize=24:x=(w-text_w)/2:y=(h-text_h)/2&#x27;&#x27;&#x27;,&#xA;            "-c:v", "libx264",&#xA;            "-t", duration,&#xA;            "-pix_fmt", "yuv420p",&#xA;            output_file&#x2B;&#x27;.mp4&#x27;&#xA;            ]&#xA;print(&#x27; &#x27;.join(comd))&#xA;subprocess.run(comd, check=True, capture_output=True, text=True) # Failed&#xA;&#xA;&#xA;# The below command runs successfully in the terminal.&#xA;# ffmpeg -f lavfi -i color=c=black:s=1280x720:d=2.352000 -vf drawtext=fontfile="C\\://Users/acer/AppData/Local/Microsoft/Windows/Fonts/jf-openhuninn-1.1.ttf":text=&#x27;abc&#x27;:fontcolor=white:fontsize=24:x=(w-text_w)/2:y=(h-text_h)/2 -c:v libx264 -t 2.352000 -pix_fmt yuv420p output_Test-0004.mp3.mp4&#xA;&#xA;

    &#xA;

    I expect the subprocess.run() would produce the same result. I've tried all versions of paths (different kind of escaping) but none of the aforementioned one worked.

    &#xA;

  • Difference between DirectShowSource() and FFmpegSource2() in AviSynth

    29 mars 2024, par MarianD

    For non .avi A/V sources (as .mp3, .mp4, etc.) there are (at least) 2 possibilities for reading those media files in AviSynth (in Windows) :

    &#xA;&#xA;

      &#xA;
    • The built-in media filter DirectShowSource(), using Microsoft's DirectShow media architecture.
    • &#xA;

    • The AviSynth Plugin FFmpegSource2() alias FFMS2() using FFmpeg and nothing else.
    • &#xA;

    &#xA;&#xA;

    What are advantages and disadvantages of them ?
    &#xA;Which is more reliable, frame / sample accurate, etc.?

    &#xA;