
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (94)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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. -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (6598)
-
ffmpeg not finding audio streams ?
24 septembre 2013, par Jim MillerI'm doing some video conversion with ffmpeg v. N-54271-g7f866c1 (a fresh pull from the git sources in late June 2013) on Fedora 19. One of the things I want to do is to concatenate two videos and then convert the result to an mp4. The following code is working well for me :
ffmpeg -i video_a.mov -i video_b.mov -acodec libfaac -vcodec libx264
-preset fast -crf 22 -s 940x528 -pix_fmt yuv420p
-filter_complex '[0:1] [0:0] [1:1] [1:0] concat=n=2:v=1:a=1 [v] [a]'
-map '[v]' -map '[a]' output.mp4except for a couple of older hunks of test video I've been using. On those, ffmpeg isn't finding the audio stream, and so the above call dies with ffmpeg complaining that
Stream specifier ':1' in filtergraph description [0:1][0:0][1:1][1:0] concat=n=2:v=1:a=1 [v] [a] matches no streams.
The catch, of course, is that there is an audio stream in the video ; it's just not getting found.When ffmpeg starts, I get a description of the input like so :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/priv/videorising7/raw_take_video/v2261-MTQxMzgwMDM4NzAx.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2011-10-13 16:08:18
Duration: 00:00:25.52, start: 0.000000, bitrate: 49 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 608x342, 47 kb/s, 10.03 fps, 10 tbr, 1k tbn, 2k tbc
Metadata:
creation_time : 2011-10-13 16:08:18
handler_name : Apple Alias Data HandlerI suppose the video might just be so old (2006 ?) that I should be lucky that it plays at all. However, I'm able to run these videos through some other ffmpeg jobs (converting from .mov to .mp4, for instance), but those don't require explicitly referencing the audio and video tracks. Any insights out there ?
-
webm local udp streaming using FFMPEG
1er octobre 2013, par sinivI was just started to use ffmpeg recently and stumbled on this streaming problem.
Scenario : i want to live stream a webcam in local network. Both server and client will be using windows platform.Current feasible solution : using ffmpeg simple command line
to test it quickly i tried to locally stream it (the input doesn't really matter btw in this question).
On server -> ffmpeg -f dshow -i video="cam1":audio="mic1" -r 30 -g 0 -vcodec h264 -acodec libmp3lame -tune zerolatency -preset ultrafast -f mpegts udp://localhost:6789
On client(the same computer) -> ffplay udp://localhost:6789The above works just fine, except for the latency, which i'm getting at about 1-2 second delay.
Now i want to try to change the encoder to use libvpx (vp8) for video and vorbis for audio (i changed the input to a pre-recorded h264 video, but it really doesn't matter)
On server
>ffmpeg -i "suits.mp4" -r 30 -g 0 -vcodec libvpx -acodec vorbis -strict -2 -f webm -f mpegts udp://localhost:6789
On client(the same computer) -> ffplay udp://localhost:6789
However this doesn't work... And below are console outputs:
> onserver ->
> ffmpeg version N-56165-gae12d65 Copyright (c) 2000-2013 the FFmpeg
> developers built on Sep 10 2013 19:42:46 with gcc 4.7.3 (GCC)
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 43.100 / 52. 43.100 libavcodec 55. 31.101 / 55. 31.101 libavformat 55. 16.102 / 55. 16.102 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 84.100 / 3. 84.100 libswscale 2. 5.100 /
> 2. 5.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Suits.mp4': Metadata:
> major_brand : isom
> minor_version : 1
> compatible_brands: isom
> creation_time : 2011-09-08 11:43:25 Duration: 00:42:14.87, start: 0.000000, bitrate: 882 kb/s
> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 720x402 [SAR 1:1 DAR 120:67], 750 kb/s, 23.98 fps,
> 23.98 tbr, 24k tbn, 47.95 tbc (default)
> Metadata:
> creation_time : 2011-09-08 11:43:25
> Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 126 kb/s (default)
> Metadata:
> creation_time : 2011-09-08 11:43:25 [libvpx @ 05392a80] v1.2.0 Output #0, mpegts, to 'udp://localhost:6789': Metadata:
> major_brand : isom
> minor_version : 1
> compatible_brands: isom
> encoder : Lavf55.16.102
> Stream #0:0(und): Video: vp8 (libvpx), yuv420p, 720x402 [SAR 1:1 DAR 120:67], q=-1--1, 200 kb/s, 90k tbn, 30 tbc (default)
> Metadata:
> creation_time : 2011-09-08 11:43:25
> Stream #0:1(und): Audio: vorbis, 48000 Hz, stereo, fltp (default)
> Metadata:
> creation_time : 2011-09-08 11:43:25 Stream mapping: Stream #0:0 -> #0:0 (h264 -> libvpx) Stream #0:1 -> #0:1 (aac -> vorbis) Press [q] to stop, [?] for help frame=42535 fps= 51 q=0.0 Lsize=
> 143539kB time=00:23:38.28 bitrate= 829.1kbits/s dup=8541 drop=0
> video:99155kB audio:28125kB subtitle:0 global headers:3kB muxing
> overhead 12.772155% Received signal 2: terminating.
> on client
> ffplay version N-56165-gae12d65 Copyright (c) 2003-2013 the FFmpeg
> developers built on Sep 10 2013 19:42:46 with gcc 4.7.3 (GCC)
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 43.100 / 52. 43.100 libavcodec 55. 31.101 / 55. 31.101 libavformat 55. 16.102 / 55. 16.102 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 84.100 / 3. 84.100 libswscale 2. 5.100 /
> 2. 5.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100
> nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 [mpegts @ 02eb8620] probed stream 0 failed
> nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 [mp3 @ 02ed75a0] Header missing
> Last message repeated 1 times [mp3 @ 02ed75a0] Header missing
> La Last message repeated 13 times
> nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 [mp3 @ 02ed75a0] Header missing Last message repeated 13 times
> nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 [mp3 @ 02ed75a0] Header missing Last message repeated 9 times
> nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 [mp3 @ 02ed75a0] Header missing [mpegts @ 02eb8620] decoding for
> stream 1 failed [mpegts @ 02eb8620] Could not find codec parameters
> for stream 0 (Unknown: none ([6][0][0][0] / 0x0006)): unknown codec
> Consider increasing the value for the 'analyzeduration' and
> 'probesize' options [mpegts @ 02eb8620] Could not find codec
> parameters for stream 1 (Audio: mp3 ([6][0][0][0] / 0x0006), 0
> channels, s16p): unspecified frame size Consider increasing the value
> for the 'analyzeduration' and 'probesize' options
> udp://localhost:6789: could not find codec parametersSo does the point to point streaming for ffmpeg just doesn't work for vp8 or am i missing something ? Btw, the end goal is to create a similar video chat based framework and i'll appreciate any suggestion. I'm reading up on webRTC now.
-
Android FFMPEG command line for video filter
4 février 2014, par user2568369I am using following command to add retro effect in video.
String[] ffmpegCommand = {"/data/data/com.mobvcasting.mjpegffmpeg/ffmpeg", "-r", ""+p.getPreviewFrameRate(), "-b", "1000000", "-vcodec", "mjpeg", "-i", Environment.getExternalStorageDirectory().getPath() + "/com.mobvcasting.mjpegffmpeg/frame_%05d.jpg","-vcodec", "mjpeg", "-acodec","libfaac","-vf","curves=vintage", "-qscale", "3", "-async", "1", "-y",Environment.getExternalStorageDirectory().getPath() + "/com.mobvcasting.mjpegffmpeg/video.mp4"};
ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();
BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpegProcess.getInputStream()));but I am getting following error :
09-02 13:42:57.343: V/MJPEG_FFMPEG(2346): Finished Writing Frame
09-02 13:42:57.351: V/MJPEG_FFMPEG(2346): Recording Stopped
09-02 13:42:57.414: V/MJPEG_FFMPEG(2346): ***Starting FFMPEG***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** built on Jul 28 2011 16:47:07 with gcc 4.4.3***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/Developer/android-ndk-r5b//platforms/android-3/arch-arm --soname-prefix=/data/data/com.mobvcasting.mjpegffmpeg/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --enable-encoder=mpeg2video --enable-encoder=nellymoser --enable-protocol=file --prefix=../build/ffmpeg/armeabi --extra-cflags= --extra-ldflags=***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** libavutil 50.34. 0 / 50.34. 0***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** libavcore 0.16. 0 / 0.16. 0***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** libavcodec 52.99. 1 / 52.99. 1***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** libavformat 52.88. 0 / 52.88. 0***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** libavdevice 52. 2. 2 / 52. 2. 2***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** libavfilter 1.69. 0 / 1.69. 0***
09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): *** libswscale 0.12. 0 / 0.12. 0***
09-02 13:42:57.648: V/MJPEG_FFMPEG(2346): ***Input #0, image2, from '/mnt/sdcard/com.mobvcasting.mjpegffmpeg/frame_%05d.jpg':***
09-02 13:42:57.656: V/MJPEG_FFMPEG(2346): *** Duration: 00:00:01.83, start: 0.000000, bitrate: N/A***
09-02 13:42:57.656: V/MJPEG_FFMPEG(2346): *** Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 30 fps, 30 tbr, 30 tbn, 30 tbc***
09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***[buffer @ 0x5d110] w:320 h:240 pixfmt:yuvj420p***
09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***No such filter: 'curves'***
09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***Error opening filters!***
09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***Ending FFMPEG***Any help will be highly appreciated.