
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (101)
-
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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (10918)
-
ffmpeg how to ensure audio+video synchronization ?
22 juin 2020, par rokoim using this conmmand :


/usr/bin/ffmpeg \
-f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor \
-f pulse -i alsa_input.pci-0000_00_1b.0.analog-stereo \
-f x11grab -video_size 2560x1600 -framerate 8 -i :0.0 \
-filter_complex "amix=inputs=2[a]" \
-map 2:v -map '[a]' \
-c:a aac -b:a 128k \
-c:v h264_nvenc -b:v 1500k -maxrate 1500k -minrate 1500k \
-override_ffserver -g 16 http://10.100.102.18:8090/feed1.ffm



my goal is to record screens continuously for long time (all the year)


this is my ffmpeg version (running on RedHat 7.4) :


ffmpeg version 3.4.7 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
 configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --disable-encoder=libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100



when i run these command i get warning : non monotonous dts in output stream 0:1. this is the output :


[pulse @ 0x13832c0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, ffm, to 'http://193.100.200.206:8090/feed1.ffm':
 Metadata:
 creation_time : now
 encoder : Lavf57.83.100
 Stream #0:0: Video: h264 (h264_nvenc) (Main), bgr0(progressive), 1920x1080, q=-1--1, 1500 kb/s, 8 fps, 1000k tbn, 8 tbc
 Metadata:
 encoder : Lavc57.107.100 h264_nvenc
 Side data:
 cpb: bitrate max/min/avg: 1500000/0/1500000 buffer size: 3000000 vbv_delay: -1
 Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 encoder : Lavc57.107.100 aac
[aac @ 0x13dda80] Queue input is backward in time0:00:00.27 bitrate=5907.7kbits/s speed=0.552x 
[ffm @ 0x13bd5c0] Non-monotonous DTS in output stream 0:1; previous: 320000, current: -195354; changing to 320001. This may result in incorrect timestamps in the output file. 
[ffm @ 0x13bd5c0] Non-monotonous DTS in output stream 0:1; previous: 320001, current: -174021; changing to 320002. This may result in incorrect timestamps in the output file. 
[ffm @ 0x13bd5c0] Non-monotonous DTS in output stream 0:1; previous: 320002, current: -152688; changing to 320003. This may result in incorrect timestamps in the output file. 
[ffm @ 0x13bd5c0] Non-monotonous DTS in output stream 0:1; previous: 320003, current: -131354; changing to 320004. This may result in incorrect timestamps in the output file. 
[ffm @ 0x13bd5c0] Non-monotonous DTS in output stream 0:1; previous: 320004, current: -110021; changing to 320005. This may result in incorrect timestamps in the output file. 
[ffm @ 0x13bd5c0] Non-monotonous DTS in output stream 0:1; previous: 320005, current: -88688; changing to 320006. This may result in incorrect timestamps in the output file. 
[ffm @ 0x13bd5c0] Non-monotonous DTS in output stream 0:1; previous: 320006, current: -67354; changing to 320007. This may result in incorrect timestamps in the output file



when i use -async 1 the warning disapear but, when i play audio file, the audio is Stretches/squeezes for few seconds at the begining and in the end.


how can i ensure that audio and video always stay synchronize ?


does another ffmpeg version fix this problem ? (can i install ffmpeg 4.2.3 on redhat 7.4/7.7) (i know that there is asyncts flag but i dont have it in my version)


Please help me to find solution in order to keep synchronization for long recording.


-
Comand failed error with ffmpeg Node.js library
24 juillet 2020, par msrumonI have a VPS of 2-core CPU and 2GB of memory. I am using this ffmpeg library to convert a video at a lower resolution and apply watermark. The app gives me this error :


App 1442311 output: Error: Command failed: ffmpeg -i /home/cimbi/galaxnetpictures/tmp/2ee061f0-cd7b-11ea-81aa-05472f29ddbf.mp4 -i /home/cimbi/galaxnetpictures/public/logo.png -f webm -aspect 16:9 -s 1280x720 -filter_complex "overlay=main_w/2-overlay_w/2-0+0:main_h/2-overlay_h/2-0+0, scale=iw*sar:ih, pad=max(iw\,ih*(16/9)):ow/(16/9):(ow-iw)/2:(oh-ih)/2" /home/cimbi/galaxnetpictures/_previews_/e1ec28363c7af82474250fb88a447705.webm
App 1442311 output: ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
App 1442311 output: built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
App 1442311 output: configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
App 1442311 output: libavutil 54. 31.100 / 54. 31.100
App 1442311 output: libavcodec 56. 60.100 / 56. 60.100
App 1442311 output: libavformat 56. 40.101 / 56. 40.101
App 1442311 output: libavdevice 56. 4.100 / 56. 4.100
App 1442311 output: libavfilter 5. 40.101 / 5. 40.101
App 1442311 output: libavresample 2. 1. 0 / 2. 1. 0
App 1442311 output: libswscale 3. 1.101 / 3. 1.101
App 1442311 output: libswresample 1. 2.101 / 1. 2.101
App 1442311 output: libpostproc 53. 3.100 / 53. 3.100
App 1442311 output: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/cimbi/galaxnetpictures/tmp/2ee061f0-cd7b-11ea-81aa-05472f29ddbf.mp4':
App 1442311 output: Metadata:
App 1442311 output: major_brand : mp42
App 1442311 output: minor_version : 0
App 1442311 output: compatible_brands: mp42mp41
App 1442311 output: creation_time : 2019-10-26 11:48:02
App 1442311 output: Duration: 00:00:08.67, start: 0.000000, bitrate: 11191 kb/s
App 1442311 output: Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 11179 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
App 1442311 output: Metadata:
App 1442311 output: creation_time : 2019-10-26 11:48:02
App 1442311 output: handler_name : Alias Data Handler
App 1442311 output: encoder : AVC Coding
App 1442311 output: Input #1, png_pipe, from '/home/cimbi/galaxnetpictures/public/logo.png':
App 1442311 output: Duration: N/A, bitrate: N/A
App 1442311 output: Stream #1:0: Video: png, rgba64be(pc), 120x30 [SAR 11811:11811 DAR 4:1], 25 tbr, 25 tbn, 25 tbc
App 1442311 output: 
App 1442311 output: at ChildProcess.exithandler (child_process.js:295:12)
App 1442311 output: at ChildProcess.emit (events.js:209:13)
App 1442311 output: at maybeClose (internal/child_process.js:1021:16)
App 1442311 output: at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)



Can someone help me understand what this means ?


-
Encoder (codec vp8) not found [closed]
25 juillet 2020, par Nirav TrivediThere was a problem !


ffmpeg -i uploads/155799695.wav -i uploads/155799695.webm -map 0:0 -map 1:0 uploads/155799695-merged.webm 2>&1



output :


[0] => ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
[1] => built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
[2] => configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
[3] => libavutil 54. 20.100 / 54. 20.100
[4] => libavcodec 56. 26.100 / 56. 26.100
[5] => libavformat 56. 25.101 / 56. 25.101
[6] => libavdevice 56. 4.100 / 56. 4.100
[7] => libavfilter 5. 11.102 / 5. 11.102
[8] => libavresample 2. 1. 0 / 2. 1. 0
[9] => libswscale 3. 1.101 / 3. 1.101
[10] => libswresample 1. 1.100 / 1. 1.100
[11] => libpostproc 53. 3.100 / 53. 3.100
[12] => Guessed Channel Layout for Input Stream #0.0 : stereo
[13] => Input #0, wav, from 'uploads/199606400.wav':
[14] => Duration: 00:00:09.01, bitrate: 1411 kb/s
[15] => Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
[16] => Input #1, matroska,webm, from 'uploads/199606400.webm':
[17] => Metadata:
[18] => encoder : Chrome
[19] => Duration: N/A, start: 0.000000, bitrate: N/A
[20] => Stream #1:0(eng): Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 12.58 tbr, 1k tbn, 1k tbc (default)
[21] => Metadata:
[22] => alpha_mode : 1
[23] => Output #0, webm, to 'uploads/199606400-merged.webm':
[24] => Stream #0:0: Audio: vorbis, 0 channels, 128 kb/s
[25] => Metadata:
[26] => encoder : Lavc56.26.100 libvorbis
[27] => Stream #0:1(eng): Video: vp8, none, q=2-31, 128 kb/s (default)
[28] => Metadata:
[29] => alpha_mode : 1
[30] => Stream mapping:
[31] => Stream #0:0 -> #0:0 (pcm_s16le (native) -> vorbis (libvorbis))
[32] => Stream #1:0 -> #0:1 (vp8 (native) -> ? (?))
[33] => Encoder (codec vp8) not found for output stream #0:1