Recherche avancée

Médias (91)

Autres articles (62)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (4091)

  • ffmpeg unexpected exit code 1 for -list_devices and -list_options

    8 janvier 2024, par djvg

    Description

    


    If I run any of the following commands from the examples in the documentation, using ffmpeg 4.2.2 on Windows 10, the requested information is successfully displayed in the console, but the process exits with exit code 1, instead of the expected 0 (success).

    


    ffmpeg -list_devices true -f dshow -i dummy

ffmpeg -list_options true -f dshow -i video="MyCamera"


    


    As far as I know, exit code 1 on Windows implies "Incorrect function", so I consider this behavior to be unexpected.

    


    If I stream camera input to disk, using e.g. ffmpeg -f dshow -i video="MyCamera" "myfile.mp4", then stop using q, the exit code is 0, as expected.

    


    Question

    


    Does the exit code 1 constitute normal behavior for ffmpeg, or am I doing something wrong ?

    


    Relevance

    


    When running the commands manually, from the command line, the exit code does not make much difference, as long as the requested information is displayed.

    


    However, when running the commands programmatically, it may cause trouble. For example, using Python's subprocess.run(..., check=True), the nonzero exit code causes a CalledProcessError.

    


    Of course there are ways around this, e.g. use check=False, but the point is that a workaround would not be necessary if ffmpeg behaved as expected, i.e. returned 0.

    


  • recording live stream video from tv card using ffmpeg at window [on hold]

    6 décembre 2013, par user2688423

    I want to record live stream every 1 second from tv card(tv signal) using ffmpeg in window.

    first of all, to record live video from tv card, I tried below.

    1. First I tried this.

    ffmpeg -list_devices true -f dshow -i dummy

    then the result is

    " [dshow @ 000000000024e6fe0] DirectShow video devices
    [dshow @000000000024e6fe0] "SKYTV HD USB Maxx Video Capture"
    [dshow @
    000000000024e6fe0] DirectShow audio devices
    [dshow @
    000000000024e6fe0] "Analog Audio In(SKYTV HD USB Ma" "

    so I tried

    ffmpeg -f dshow -i video="SKYTV HD USB Maxx Video Capture" -r 20
    -threads 0 D ://test.mkv

    But it didn't work. the Error message is

    "[dshow@000000000034d920] Could not run filter
    video=SKYTV HD USB
    Maxx Video Capture : Input/output error"

    I use the device called 'SKYTV HD USB Maxx Video Capture' for getting tv signal(TV card).

    1. The First way deosn't work, I tried different way.

    ffmpeg -y -f vfwcap -i list

    then the result is
    "

    [dshow @ 00000000003fd760] Driver 0

    [dshow @ 00000000003fd760] Microsoft WDM Image Capture (Win32)
    [dshow @ 00000000003fd760] Version : 6.1.7601.17514 list : Input/output error

    "

    so I tried

    ffmpeg -y -f vfwcap -r 25 -i 0 D ://out.mp4

    then, there is some out.mp4 file in D drive but the file is nothing.
    (I think it is not TV signal)

    what should i do to record live video every 1 second from tv card(tv signal) using ffmpeg in window ? And How can I set channel at tvcard(Because I want to get tv signal, there are many channels).

    Please help..!

  • FFmpeg - Concatenate all videos with similar file name ?

    24 décembre 2017, par Pan Hart

    Is there any way to use ffmpeg to concatenate all video files that have the exact same file name for the specified first few characters ?

    For example, if I set it to match the first 5 characters, it will match and concatenate video_1.flv, video_2.flv, video_3.flv and so on.

    But, at the same time, it can also match and concatenate tests_1.flv, tests_2.flv, tests_3.flv and so on.

    Any help will be appreciated !