
Recherche avancée
Autres articles (32)
-
Keeping control of your media in your hands
13 avril 2011, parThe 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 (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (7211)
-
convert m3u8 to mp4 and simultaneously downloadable using http protocol
12 juin 2020, par akshaybhuradiaI want to convert m3u8 to mp4 and i would like to do conversion as well as download on same time. for download i have used http protocol of ffmpeg.



I am running this command



ffmpeg -i ultra.m3u8 -c copy -listen 1 -seekable 1 -f mp4 http://0.0.0.0:8080/test.mp4



when i trigger this url("http://0.0.0.0:8080/test.mp4"), then file start's download, but i am not able to play video.



and i get error when all chunks are read:

 [hls @ 0x55da053b4100] Opening 'ultra177.ts' for reading
 [tcp @ 0x55da0540f940] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da05520480] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da053ca780] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da05485f80] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da053ced40] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da054255c0] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da0540f940] Connection to tcp://0.0.0.0:8080 failed: Connection refused
 [tcp @ 0x55da05435380] Connection to tcp://0.0.0.0:8080 failed: Connection refused

frame=53236 fps=7939 q=-1.0 Lsize= 476447kB time=00:29:36.30 bitrate=2197.3kbits/s speed= 265x
video:446847kB audio:28278kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.278083%



-
tf.contrib.signal.stft returns an empty matrix
9 décembre 2017, par matt-pielatThis is the piece of code I run :
import tensorflow as tf
sess = tf.InteractiveSession()
filename = 'song.mp3' # 30 second mp3 file
SAMPLES_PER_SEC = 44100
audio_binary = tf.read_file(filename)
pcm = tf.contrib.ffmpeg.decode_audio(audio_binary, file_format='mp3', samples_per_second=SAMPLES_PER_SEC, channel_count = 1)
stft = tf.contrib.signal.stft(pcm, frame_length=1024, frame_step=512, fft_length=1024)
sess.close()The mp3 file is properly decoded because
print(pcm.eval().shape)
returns :(1323119, 1)
And there are even some actual non-zero values when I print them with
print(pcm.eval()[1000:1010])
:[[ 0.18793298]
[ 0.16214484]
[ 0.16022217]
[ 0.15918455]
[ 0.16428113]
[ 0.19858395]
[ 0.22861415]
[ 0.2347789 ]
[ 0.22684409]
[ 0.20728172]]But for some reason
print(stft.eval().shape)
evaluates to :(1323119, 0, 513) # why the zero dimension?
And therefore
print(stft.eval())
is :[]
According to this the second dimension of the
tf.contrib.signal.stft
output is equal to the number of frames. Why are there no frames though ? -
Stream specifier '' in filtergraph description [0][1]concat=a=1:n=1:v=1[s0] matches no streams
9 août 2020, par Tanmoy Bhowmicki am trying to concatenate two audio files in django with ffmpeg but getting this error Stream specifier '' in filtergraph description [0][1]concat=a=1:n=1:v=1[s0] matches no streams.`


here is my function


def audiomarge(request):
 recorded_audio = request.FILES['audio']
 new = tempSong(tempSongFile=recorded_audio)
 new.tempSongFile.name = 'test.wav'
 new.save()
 record_file_path = new.tempSongFile.path
 record_file_path = str(record_file_path)
 recorded_audio = request.POST.get('audio')
 songslug = request.POST.get('songslug')
 current_song = Song.objects.filter(slug=songslug)[0]
 current_song_path = current_song.songFile.url 
 current_song_path = '.'+(str(current_song_path))
 
 input_first = ffmpeg.input(current_song_path)
 input_second = ffmpeg.input(record_file_path)


 ffmpeg.concat(input_first, input_second, v=1, a=1).output('./finished_video.wav').run()
 return HttpResponse('okay')



i have also tried .compile() instead of .run() in this case nothing is happening