
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (39)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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
Sur d’autres sites (4766)
-
Pass ffmpeg stream through python script
24 décembre 2018, par luddite478Please tell me how to pass my stream from ffmepg through python script, get response back, and pass it to ffmpeg again ?
For now i have something like this :FFMPEG_SCRIPT = [ "ffmpeg", '-i', 'fifo', '-pix_fmt', 'bgr24', '
-vcodec', 'rawvideo', '-an', '-sn', '-f', 'mpegts', '-' ]
pipe = sp.Popen(FFMPEG_SCRIPT, stdout = sp.PIPE, bufsize=4096)After this i’m just reading video-frames in while loop
while True:
frame = pipe.stdout.read(480*720*3)
sys.stdout.write(frame)So how can i access the frame after i wrote it to stdout at the last line ?
-
FFmpeg error when trying to stream file into it
15 décembre 2015, par nadermxI’m trying to put a stream into a ffmpeg pipe.
The issue I am having is that when I send the data to ffmpeg I get a
error 127
It also shows
/bin/sh: 2: -acodec: not found
Here is the console log I’m running via python
from subprocess import Popen, PIPE
from flask import Flask, stream_with_context, request, Response
from signal import signal, SIGPIPE, SIG_DFL
signal(SIGPIPE,SIG_DFL)
def console(cmd, add_newlines=False):
p = Popen(cmd, shell=True, stdout=PIPE)
while True:
data = p.stdout.read()
if add_newlines:
data += '\n'
yield data
p.poll();
if isinstance(p.returncode, int):
if p.returncode > 0:
# return code was non zero, an error?
print 'error:', p.returncode
break
sleep(2)And here is the actual route I am running the application in.
@app.route('/large.mp3')
def generate_large_mp3():
url = 'https://www.youtube.com/watch?v=zGEiJ44K3Oo'
result = ''.join(data.strip() for data in console('youtube-dl --simulate --get-url %s' % url))
mp3 = console('sudo ffmpeg -i %s -acodec libmp3lame -f mp3 -' % result, add_newlines=True)
return Response(stream_with_context(mp3), mimetype='video/mp3')Here is the error output
/bin/sh: 2: https://r13---sn-ab5l6nes.googlevideo.com/videoplayback?id=cc6122278e0adcea: not found
/bin/sh: 2: -acodec: not found
ffmpeg version git-2015-12-10-3652dd5 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-openssl --enable-nonfree --enable-version3 --enable-gnutls
libavutil 55. 10.100 / 55. 10.100
libavcodec 57. 17.100 / 57. 17.100
libavformat 57. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 20.100 / 6. 20.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[https @ 0x384d0a0] HTTP error 403 Forbidden
https://r13---sn-ab5l6nes.googlevideo.com/videoplayback?id=cc6122278e0adcea: Server returned 403 Forbidden (access denied)
127.0.0.1 - - [15/Dec/2015 00:55:59] "GET /large.mp3 HTTP/1.1" 200 -
error: 127I have tried many different urls and all of them end up with the same issue.
I have also tried installing every dependency I have been able to find and still no luck -
Laravel unable to load FFProbe ?
24 juin 2024, par marked-downI'm using the PHP-FFMpeg repository to do some video work inside my Laravel application, but I'm encountering some issues setting it up. Once I've installed the PHP-FFMpeg repo, I try and create an
FFMpeg
instance :


$ffmpeg = \FFMpeg\FFMpeg::create();




However, this does not work. In response, I get an ErrorException that simply states :



Unable to load FFProbe




This does not make sense to me, as when I run
ffmpeg
andffprobe
from my Mac's terminal, I can see they are installed. This is clearly a path/resolving issue, but I'm unsure how to fix it. Any ideas ?


This is all hosted under a MAMP project, running on localhost.