
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (77)
-
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
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) (...)
Sur d’autres sites (8932)
-
Split Video Files and Make them individually playable
21 juillet 2013, par rashI am newbie to this python. I split webm video file into chunks, but i couldn't able to make them individually playable using python program.But it plays after I join the chunks to a single file. I know its due to the absence of header file. Please help me with the codes to attach the header file to the parts to make them indiviually playable. Please reply. Thanks alot in advance.
Here is the code :
Client side :
import socket, os
import time
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect(("localhost", 5005))
size = 1024
while True:
fname = "/home/xincoz/test/conn2.webm"
fn = client_socket.recv(1024)
print fn
fp = open(fname,'wb')
while True:
strng = client_socket.recv(int(fn))
print strng
if not strng:
break
fp.write(strng)
fp.close()
print "Data Received successfully"
exit()Server side :
import os,kaa.metadata
import sys,time
import socket
import Image
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.bind(("localhost", 5005))
server_socket.listen(5)
client_socket, address = server_socket.accept()
print "Conencted to - ",address,"\n"
file = '/home/xincoz/Downloads/connect.webm'
a = kaa.metadata.parse(file)
print '\n Maybe, pending work'
file_name = open(file,'rb')
size=str(os.path.getsize(file))
print size
client_socket.send(str(os.path.getsize(file)))
print file_name
strng = file_name.read(os.path.getsize(file))
client_socket.send(strng[0:2000000])
file_name.close()
print str(a)+"Meta Data"
print "Data sent successfully" -
online free media hosting for live streaming
30 novembre 2013, par Abdul Aliwanted to ask two things :
1- How can we put the output of FFMPEG to a stream (online address to put the stream).
2- Is there any free service (for testing purpose) to use FFMPEG and pass the output to it for live streaming .
apologies if am unable to explain properly what is intended.
to summarize, wish to convert images to video using FFMPEG (have tried the image to video conversion locally and seems to be working) and put the output to an online resource for live streaming and possibly also have VOD (so users who later logon can view at least from some point behind which they have missed).
regards,
-
Streaming ALSA to rtsp stream using ffmpeg
12 février 2019, par DemosthenesI would like to stream audio captured using an ALSA microphone with ffmpeg. I can capture the video to a file, what I want is ffmpeg to start an rtsp server which can be accessed by (multiple) clients in my local network. But I can’t even make it work with one client so far.
What I tried so far :
ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0 -t 10 test.wav
This is working perfectly. File is saved and can be played back. So input is alright.
ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0 -f rtsp rtsp_transport tcp rtsp://localhost:8090/live.sdp
Trying this dry will result in an error it cannot connect to the server. Which is odd, I want to tell ffmpeg to start a server. So I’m starting one using
ffserver ffserver.conf
with a config file containing
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
NoDaemon
<feed>
</feed>This starts a server, or so it would seem. Now, trying the ffmpeg command from above again, I get
[tcp @ 0x11d2490] Connection to tcp://localhost:8090?timeout=0 failed (Connection refused), trying next address
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing inputStream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (native))
Last message repeated 1 timesSo I thought, maybe I should state an output codec, so :
ffmpeg -f alsa -ac 1 -ar 44100 -i hw:1,0 -codec:a libmp3lame -q:a 2 -f rtsp rtsp_transport tcp rtsp://localhost:8090/live.sdp
which gives pretty much the same error, just with a different codec :
[tcp @ 0x24d8630] Connection to tcp://localhost:8090?timeout=0 failed (Connection refused), trying next address
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing inputStream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Last message repeated 1 timesAny hints to what I am missing ?