
Recherche avancée
Autres articles (27)
-
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne 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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5482)
-
ffmpeg highest quality mp4 to mpg
29 septembre 2017, par scopaI have a mp4 video that I need to convert to mpg (for windows PowerPoint2010)
I have been trying to get best quality. But I keep getting error :
[mpeg @ 0x2523620] buffer underflow st=0 bufi=420177 size=445860
[mpeg @ 0x2523620] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x2523620] buffer underflow st=0 bufi=420177 size=445860
[mpeg @ 0x2523620] buffer underflow st=0 bufi=422218 size=445860Could someone help me with the syntax for best quality ouput to mpg. Here is the output of the mp4 file :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp41isom
creation_time : 2016-06-10 11:15:06
Duration: 00:04:20.86, start: 0.000000, bitrate: 18677 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 18541 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc (default)
Metadata:
creation_time : 2016-06-10 11:15:06
handler_name : VideoHandler
encoder : AVC Coding
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 132 kb/s (default)
Metadata:
creation_time : 2016-06-10 11:15:06
handler_name : SoundHandlerI have tried the following but keep getting that error :
ffmpeg -i video.mp4 -c:v libx264 -c:a copy -qp 5 video.mpg
ffmpeg -i video.mp4 -c:v libx264 -c:a copy -qscale:v 1 video.mpg
ffmpeg -i video.mp4 -c:v libx264 -crf 0 -c:a copy -bf 2 -flags qprd -flags mv0 video.mpg
ffmpeg -i video.mp4 -c:v libx264 -crf 0 -c:a copy video.mpg
ffmpeg -i video.mp4 -c:v libx264 -preset slow -crf 5 -c:a copy video.mpg
ffmpeg -i video.mp4 -c:v libx264 -preset slow -crf 5 -c:a copy -maxrate 11000k video.mpg
ffmpeg -i video.mp4 -c:v libx264 -preset slow -crf 5 -c:a copy -maxrate 5000 -bufsize 11000 video.mpgThanks,
-
Android - Decoding via a pipe will not work : Could not find an ffmpeg binary for your system
28 août 2017, par DanieleI’m trying to use TarsosDSP for real time pitch shifting on Android.
This is my code :
Uri song;
// initialized in another method
double rate = 1.0;
RateTransposer rateTransposer;
AudioDispatcher dispatcher;
WaveformSimilarityBasedOverlapAdd wsola;
dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);
rateTransposer = new RateTransposer(rate);
wsola = new WaveformSimilarityBasedOverlapAdd(WaveformSimilarityBasedOverlapAdd.Parameters
.musicDefaults(rate, 44100));
wsola.setDispatcher(dispatcher);
dispatcher.addAudioProcessor(wsola);
dispatcher.addAudioProcessor(rateTransposer);
dispatcher.addAudioProcessor(new AndroidAudioPlayer(dispatcher.getFormat()));
dispatcher.setZeroPadFirstBuffer(true);
dispatcher.setZeroPadLastBuffer(true);I get an error here
dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);
Decoding via a pipe will not work : Could not find an ffmpeg binary for
your systemWhy does this happen and how should I fix it ?
EDIT :
As far as I was able to understand it’s because ffmpeg isn’t integrated within the app. I looked for a guide here on SO but I couldn’t find any updated one. Using NDK r15c and FFmpeg 3.3.3
-
Gstreamer restream incoming UDP stream
3 août 2017, par ViezevingertjesI am currently experimenting with some streaming, yet i can’t really find the golden combination. RTSP UDP streaming from Gstreamer seems very fast, i can recieve it too, but i need to restream it as mpeg1 over http.
I use this currently and it works fine :
ffmpeg \
-f v4l2 \
-framerate 25 -video_size 640x480 -i /dev/video0 \
-f mpegts \
-codec:v mpeg1video -s 640x480 -b:v 1000k -bf 0 \
http://localhost:8081/supersecretThe server accepts this and it’s showing perfectly in the browser.
Now i would like to try the same, with GStreamer so i can send it to the server over UDP.
I get the video from Gstreamer like this on the server and that works perfectly :
gst-launch-1.0 udpsrc port=5000 \
! gdpdepay \
! rtph264depay \
! avdec_h264 \
! videoconvert \
! autovideosink sync=falseBut after recieving it, i need to re-stream it as mpeg1 stream to http://localhost:8081/supersecret.
Any way to do this with gstreamer ?