Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (66)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (10949)

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

  • 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 &lt; /dev/null &amp;
    ffmpeg -i "./tmp/final02.mp4" -qscale 1 -y intermediate2.mpg &lt; /dev/null &amp;
    ffmpeg -i "./tmp/final03.mp4" -qscale 1 -y intermediate3.mpg &lt; /dev/null &amp;

    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"
  • 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 !

    &#xA;

    I use these buildpacks :

    &#xA;

      &#xA;
    1. heroku/python
    2. &#xA;

    3. https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
    4. &#xA;

    &#xA;

    I appreciate if someone can help
    &#xA;here's a sample code :

    &#xA;

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

    &#xA;

    and here's what I got :

    &#xA;

    2021-09-20T14:31:19.958645&#x2B;00:00 app[worker.1]: Pafy Vid Created!&#xA;2021-09-20T14:31:19.958889&#x2B;00:00 app[worker.1]: Pafy Audio Created!&#xA;2021-09-20T14:31:20.447278&#x2B;00:00 app[worker.1]:&#xA;

    &#xA;