Recherche avancée

Médias (91)

Autres articles (75)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (10547)

  • discord.py Heroku FFmpeg issue

    6 avril 2022, par No.BoD

    hi I'm trying to deploy a discord bot on heroku. i'm using ffmpeg to stream music to a voice channel. i tried it local on my windows and got it working but when I deployed it on heroku, throws this exception and says nothing !

    


    I use these buildpacks :

    


      

    1. heroku/python
    2. 


    3. https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
    4. 


    


    I appreciate if someone can help
    
here's a sample code :

    


    vid = pafy.new("https://www.youtube.com/watch?v=gdL7s0kw0SM")
print("Pafy Vid Created!")
audio = vid.getbestaudio()
print("Pafy Audio Created!")
try:
    // self.FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}
    self.vc[ctx.guild.id].play(FFmpegPCMAudio(Song['source'], **self.FFMPEG_OPTIONS), after=lambda _: E.set())
    print("Playing Music!!!")
except Exception as ex:
    print(ex)


    


    and here's what I got :

    


    2021-09-20T14:31:19.958645+00:00 app[worker.1]: Pafy Vid Created!
2021-09-20T14:31:19.958889+00:00 app[worker.1]: Pafy Audio Created!
2021-09-20T14:31:20.447278+00:00 app[worker.1]:


    


  • Wrong video duration reported after concatenating video files in BASH script

    13 novembre 2012, par Benjen

    I am trying to merge three video files (each 16 seconds long) into one file using ffmpeg. Since they are in mpeg format I am simply trying to concatenate them into one file using cat command. The problem is that when I run the resulting file (video.mpg) it is reported as being 16 seconds long (same as the first concatenated video). Interestingly when I play the file in VLC, I can watch the whole 48 sec of video, even though the video progress bar also only reports up to 16 secs.

    It almost seems like the file "properties" (e.g. duration, etc) are not updated after the additional two videos are added using the cat command.

    Would appreciate any suggestions on how I might solve this.

    The following is the relevant section of the BASH script I have created :

    mkfifo intermediate1.mpg
    mkfifo intermediate2.mpg
    mkfifo intermediate3.mpg
    ffmpeg -i "./tmp/final01.mp4" -qscale 1 -y intermediate1.mpg < /dev/null &
    ffmpeg -i "./tmp/final02.mp4" -qscale 1 -y intermediate2.mpg < /dev/null &
    ffmpeg -i "./tmp/final03.mp4" -qscale 1 -y intermediate3.mpg < /dev/null &

    echo "[audioforge] Stitching files "
    cat intermediate1.mpg >> ./tmp/video.mpg
    cat intermediate2.mpg >> ./tmp/video.mpg
    cat intermediate3.mpg >> ./tmp/video.mpg

    # Convert back to mp4 format.
    ffmpeg -i "./tmp/video.mpg" -qscale 1 -y "./tmp/video.mp4"
  • Using FFMPEG to stream from one computer to another on the same network

    23 juin 2021, par Andy B

    My problem

    


    I have a device with cameras, and I can access the video from those cameras via RTP over RTSP.

    


    I have an Ethernet cord going from the device to my computer, and I can see/record the video from the device using FFMPEG or VLC. I just use rtsp://<ip of="of" device="device">/path/of/stuff.extension?camera=<number></number></ip> like the user's manual says.

    &#xA;

    This works great, but ultimately, I want to stream this video to another computer on the same network. I have tried many different things, but nothing seems to work.

    &#xA;

    Theoretically, this FFMPEG command should work, but I'm messing up somewhere and I don't know why or where.

    &#xA;

    ffmpeg -rtsp_transport tcp -i rtsp://<ip of="of" device="device">/path/thing.extension?camera=1 \ &#xA;-f mpegts udp://<ip of="of" computer="computer" i="i" want="want" to="to" send="send" it="it">:<some port="port">&#xA;</some></ip></ip>

    &#xA;

    In VLC on the other computer, I want to be able to just go into VLC and start a network stream that looks like udp://@<ip address="address">:<port></port></ip>

    &#xA;

    What I thought would work, but doesn't

    &#xA;

    If the camera device has IP A.A.A.A, and the computer getting and streaming the video is B.B.B.B, and the computer I want to watch the streamed video on is C.C.C.C then is the following correct ? Because it does not work for me...

    &#xA;

    Computer A :

    &#xA;

    ffmpeg -rtsp_transport tcp -i rtsp://A.A.A.A/path.ext?camera=1 -f mpegts udp://B.B.B.B:10001&#xA;

    &#xA;

    Computer B (in VLC) : udp://@B.B.B.B:10001

    &#xA;