
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (66)
-
Personnaliser les catégories
21 juin 2013, parFormulaire 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 2013Puis-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 2011MediaSPIP 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 BMy 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.

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.


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


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


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>


What I thought would work, but doesn't


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

Computer A :


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



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


-
Wrong video duration reported after concatenating video files in BASH script
13 novembre 2012, par BenjenI 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" -
discord.py Heroku FFmpeg issue
6 avril 2022, par No.BoDhi 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 :


- 

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






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]: