
Recherche avancée
Autres articles (37)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (6973)
-
How do I use ffmpeg to deliver the video
19 juin 2014, par user3750991Our destination :
We want to install camera on our device of arm architecture with capture real-time video and send them to ffserver, then we can watch this video from h ttp ://172.16.51.29:8090/stat.html on the other computer in the same time.
Device IP address : 172.16.51.29
computer IP address : 172.16.51.261 I start the server on device
ffserver -f /etc/ffserver.conf
2 Camera start to capture video on device
ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 h ttp ://127.0.0.1:8090/cam1.ffm
3 I got the messages
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height4 Test
ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 cam1.asf
Command above is perfect to produce video named cam1.asf
5 Fix incorrect parameters such as bit_rate, rate, width or height
ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 -b 100k h ttp ://127.0.0.1:8090/cam1.ffm
But use the command above produce the message presented below
Input #0, video4linux2, from ’/dev/video0’ :
Duration : N/A, start : 24300.069612, bitrate : 36864 kb/s
Stream #0.0 : Video : rawvideo, yuyv422, 320x240, 36864 kb/s, 30 tbr, 1000k tbn, 30 tbc
Sat Jan 1 07:09:07 2000 127.0.0.1 - - [GET] "/cam1.ffm HTTP/1.1" 200 4149
[buffer @ 0x2f1a0] w:320 h:240 pixfmt:yuyv422
[avsink @ 0x2f7e0] auto-inserting filter ’auto-inserted scaler 0’ between the filter ’src’ and the filter ’out’
[scale @ 0x2ea60] w:320 h:240 fmt:yuyv422 -> w:320 h:240 fmt:yuv420p flags:0x4
Sat Jan 1 07:09:07 2000 127.0.0.1 - - [POST] "/cam1.ffm HTTP/1.1" 200 0
Segmentation faultWhat should I do to fix this issue ? Thanks.
-
Convert stream to a stream on the fly with ffmpeg/avconv
6 juillet 2014, par ApacciI’m trying to convert flv stream to another mp3 or ogg stream. The point is I want to use mp3/ogg stream on HTML5 page, because flv stream can’t be played with HTML5. So, I configured avserver.conf :
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
<feed>
File /tmp/feed1.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
</feed>
<stream>
Feed feed1.ffm
Format ogg
AudioBitRate 64
AudioChannels 1
AudioSampleRate 44100
NoVideo
</stream>
<stream>
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</stream>
<redirect>
URL http://www.libav.org/
</redirect>the command I use :
avconv -i http://some_stream_service?format=flv -acodec mp3 http://localhost:8090/feed1.ffm
console output :
avconv version 9.13-6:9.13-0ubuntu0.14.04.1+fdkaac, Copyright (c) 2000-2014 the Libav developers
built on May 10 2014 17:26:31 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[flv @ 0x126e020] max_analyze_duration reached
Input #0, flv, from 'http://some_stream_service?format=flv':
Metadata:
encoder : Lavf52.87.1
Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: aac, 44100 Hz, stereo, fltp, 31 kb/s
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
Metadata:
encoder : Lavf54.20.4
Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, fltp
Stream mapping:
Stream #0:0 -> #0:0 (aac -> libmp3lame)
Press ctrl-c to stop encoding
size= 1080kB time=66.14 bitrate= 133.8kbits/sIt looks like working, but I keep getting 0 bytes on web page
http://localhost:8090/test1.ogg
. Does anybody have ideas what I’m doing wrong ? -
ffserver + ffmpeg, stream out rtsp, ffplay cannot play, but movie player can
17 juillet 2014, par user1914692Ubuntu 12.04
I use ffserver + ffmpeg.There are a little revision of the original /etc/ffserver.conf :
RTSPPort 5454
RTSPBindAddress 0.0.0.0
# ...
<stream>
Format rtp
# coming from live feed 'feed1'
Feed feed1.ffm
</stream>The command of ffmpeg (Option 1) is :
ffmpeg -re -i '/usr/share/red5/webapps/oflaDemo/streams/hobbit_vp6.flv' http://localhost:8090/feed1.ffm
BTW, if I use Option 2 as below, it does not work :
ffmpeg -re -i '/usr/share/red5/webapps/oflaDemo/streams/hobbit_vp6.flv' http://192.168.1.105:8090/feed1.ffm
## not work:
[http @ 0x21a9c80] HTTP error 404 Not Found
http://192.168.1.105:8090/feed1.ffm: Input/output errorSo now I need to display the stream.
On the other computer :(Option 1)
ffplay rtsp://192.168.1.105:5454/test2-rtsp.mpg
Not work. [Output] rtsp UDP timeout, retrying with TCP.
(Option 2) movie player : Open location : rtsp ://192.168.1.105:5454/test2-rtsp.mpg
it works !