Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (75)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (10334)

  • How do I playout rtmp stream to SDI (Decklink Studio 4K) using FFMPEG command ?

    30 août 2019, par Rahul Sinha

    ffmpeg -i rtmp ://ip/live/livestream -f decklink -pix_fmt uyvy422 -s 720x486 -r 24000/1001 ’DeckLink Studio 4K’

    Want to get output on decklink card.
    Getting error :

    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.1 (GCC) 20180722
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    [flv @ 000002a2d130a7c0] Negative cts, previous timestamps might be wrong.
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1101, dts=0, size=4425
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1118, dts=0, size=985
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1118, dts=0, size=768
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-1068, dts=0, size=118
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-968, dts=0, size=3272
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-985, dts=0, size=883
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-984, dts=0, size=521
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-935, dts=0, size=448
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-885, dts=0, size=3629
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-851, dts=0, size=345
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-768, dts=0, size=3354
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-785, dts=0, size=835
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-784, dts=0, size=402
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-735, dts=0, size=418
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-685, dts=0, size=3086
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-651, dts=0, size=225
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-568, dts=0, size=2940
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-585, dts=0, size=733
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-584, dts=0, size=406
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-535, dts=0, size=410
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-485, dts=0, size=3396
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-451, dts=0, size=346
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-368, dts=0, size=3176
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-385, dts=0, size=911
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-384, dts=0, size=456
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-335, dts=0, size=437
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-285, dts=0, size=3420
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-251, dts=0, size=606
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-185, dts=0, size=4562
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-185, dts=0, size=803
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-184, dts=0, size=665
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-85, dts=0, size=4623
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-85, dts=0, size=101
    [flv @ 000002a2d130a7c0] Invalid timestamps stream=0, pts=-84, dts=0, size=807
    Input #0, flv, from 'rtmp://ip/live/livestream':
     Metadata:
       videokeyframe_frequency: 480
       audiochannels   : 2
     Duration: N/A, start: 0.000000, bitrate: 1667 kb/s
       Stream #0:0: Video: h264 (Main), yuv420p(progressive), 854x480 [SAR 1:1 DAR 427:240], 1536 kb/s, 60 fps, 30 tbr, 1k tbn, 12k tbc
       Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 131 kb/s
    [NULL @ 000002a2d1335b00] Requested output format 'decklink' is not a suitable output format
    DeckLink: Invalid argument

    i’m getting error decklink invalid argument. thanks in advance.

  • Setup FFMpegCore in Visual Studio 2019

    27 juillet 2022, par DsiakMondala

    I am confused on the basics of using a library. I understand that there is a library called FFMpeg and a wrapper called FFMpegCore so we can use FFMpeg with C#, correct ? I downloaded both FFMpeg and FFMpegCore and I have them in my project's folder. Although I didn't perceive any class named FFMpegOptions in either of the file's folders.
I am stuck on how to actually set it up so I can use it in my little project, I never downloaded someone's library before. Can somebody please walk me though the motions of connecting the three of them together ?

    


    So far I experimented with :

    


      

    • Add a reference to my project, but there doesn't seem to be any .dll, .tlb, .olb, .ocx or .exe files to add
    • 


    • Add an existing project to my solution. There is a project called FFMpegCore.csproj but adding it raises a missing SDK error. Weirdly enough, opening the same project as a standalone doesn't raise any issues which makes me thing the operation I am trying is inadequate.
    • 


    


    I am sure this is a silly and easy setup to perform but I just don't know enough to find a solution.

    


  • Python script doesn't work properly when ran through terminal, but works fine in Jupyter and Visual Studio

    21 octobre 2018, par Ivan Novikov

    I have a script to extract the audio from all video files in a folder.

    The folder with videos is located at : /Users/MyName/Downloads/Video_Audio_files

    When I try to run it through terminal and I’m prompted for the folder path folder = input("Path to folder:"), I drag and drop it there (which is how I got the above path), but the script doesn’t seem to be working (stuck at 0 out of 7 and no output files).

    When I input exactly the same path when prompted in Jupyter Notebook or in Visual Studio it works perfectly !

    Edit : I think I have found the issue, when I drag and drop the folder, there is an extra space (’Downloads/folder ’ instead of ’Downloads/folder’).

    pbar = ProgressBar()
    files = []
    extensions = []
    folder = input("Path to folder:")
    #folder = 'Video_Audio_files'
    pathlist = Path(folder).glob('**/*.mp4')
    for path in pathlist:
       path_in_str = str(path)
       name = path_in_str.split("/")[1]
       files.append(path_in_str.split(".")[0])
       extensions.append(path_in_str.split(".")[1])

    os.system('cd ' + folder)

    for i in pbar(range(len(files))):
       video_format = extensions[i]
       video_name = files[i]
       output_format = 'flac'
       output_name = video_name + '_audio'

       bashCommand = 'ffmpeg -i ' + video_name + '.'   + video_format + ' -f ' + output_format + ' -ab 192000 -vn ' + output_name + '.' + output_format
    #should be of this format: bashCommand = 'ffmpeg -i Video.mp4 -f flac -ab 192000 -vn ExtractedAudio.flac'

       os.system(bashCommand)