Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (36)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (6252)

  • Multicast not receiving in Ubuntu server [on hold]

    21 mars 2017, par Manmathan

    I am new to linux and multicast.
    Trying to receive multicast packets in ubuntu server. Added the route command [route add -net 224.0.0.0 netmask 240.0.0.0 eno1]. eno1 is also configured for multicast and promisc.
    Using tcpdump or tshark, found the igmp request going to eno1, but no multicast streams are coming in.
    The multicast are received succesfully only when the default gateway is set to eno1 card. However I need the other nic card eno2 to be default gateway.

    The following page has some information :
    UDP socket (multicast) not receiving data (Ubuntu)

    I am not clear about how to accomplish :

    1. to disable the reverse packet filter : echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter + The same for ethX.
      1. Bind the socket to the to-be-joined group’s IP (otherwise any subsequent socket would get all packets from all groups I joined on that particular port).
      2. Set the interface member of the ip_mreq struct to the IP of the adapter we’re receiving on.

    Please help.
    (ffmpeg is the application).

  • ffmpeg trailing options with colon on windows

    26 juillet 2021, par user2929452

    I've just switched to Windows 10 Pro.

    


    When I open a shell to use ffmpeg, any time I use an option with a colon I get an error.

    


    for example :

    


    ffmpeg -thread_queue_size 4096 -r 24 -i uncompressed.mov -c:v libx264 -b:v 40m -profile:v main -crf 31 -pix_fmt yuv420p -c:a aac -b:a 192K -strict -2 -vf eq=saturation=1.3 compressed_31.mp4


    


    gives :

    


    [NULL @ 0000023184ac8c40] Unable to find a suitable output format for 'libx264'
libx264: Invalid argument


    


    if I get rid of -c:v libx264, then I get the same error with '40m', or with 'main' etc... so it's always trying to read the argument after an option with a colon as the output file.

    


    Is this a windows thing ? All my commands work fine in a mac terminal.

    


    I assume the answer is simple. Apologies for my ignorance. Feels like I'm misunderstanding the windows shell or ffmpeg on windows.

    


  • ffmpeg with python subprocess Popen

    17 juillet 2022, par Eular

    I'm trying to record webcam video from python using ffmpeg. The following ffmpeg works properly when run from the cmd

    


    ffmpeg -f dshow -rtbufsize 2000M -i video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)" -y -vcodec libx264 -crf 24 output.mp4 


    


    I have checked the audio and video inputs with

    


    ffmpeg -list_devices true -f dshow -i dummy


    


    Now when I try to call the command using subprocess problem happens. I can just pass the whole command like this

    


    import subprocess, time
recorder = subprocess.Popen('ffmpeg -f dshow -rtbufsize 2000M -i video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)" -y -vcodec libx264 -crf 24 output.mp4', shell=True)
time.sleep(10)
recorder.terminate()
recorder.kill()


    


    Now, as this is run with shell=True this won't terminate the recording and I have checked different solution, but they won't work either. So, I opted for shell=False. I tried with

    


    recorder = subprocess.Popen(['ffmpeg', '-f', 'dshow', '-rtbufsize', '2000M', '-t', '60', '-i', 'video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)"', '-y', '-vcodec', 'libx264', '-crf', '24', 'output.mp4'],shell=False)


    


    This throws the error

    


    [dshow @ 0000024f2becd540] Could not find video device with name ["HP HD Camera"] among source devices of type video.
video="HP HD Camera":audio="Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)": I/O error


    


    Then, I tried

    


    recorder = subprocess.Popen(['ffmpeg', '-f', 'dshow', '-rtbufsize', '2000M', '-t', '60', '-i', 'video=HP HD Camera:audio=Headset (realme Buds Wireless 2 Neo Hands-Free AG Audio)', '-y', '-vcodec', 'libx264', '-crf', '24', 'output.mp4'],shell=False)


    


    This creates the output, but the video is not playable.
    
How to fix this ?