Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (50)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (9268)
-
ffmpeg : single input file contains multiple streams, how to save each discreetly ?
9 octobre 2017, par pinheadI have been given a
.dvsfile which was recovered from some proprietary multi-camera security surveillance system.ffprobereturned errors at first but when I switched the extension to.avcI was able to extract video metadata (output below).ffmpegwas able to read this file and export a long video file that essentially jump-cuts between the different cameras in an erratic pattern, like a crazy music video ! Is it possible to useffmpegto identify the different parallel video streams and output each camera source as its own file ?ffprobe -probesize 1000000000output :ffprobe version 3.2.4 Copyright (c) 2007-2017 the FFmpeg developers
built with Apple LLVM version 7.0.2 (clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[h264 @ 0x7fbd7380da00] Format h264 detected only with low score of 1, misdetection possible!
[h264 @ 0x7fbd75000600] non-existing PPS 7 referenced
[h264 @ 0x7fbd75000600] Invalid NAL unit 0, skipping.
Last message repeated 2 times
[h264 @ 0x7fbd75000600] non-existing PPS 7 referenced
[h264 @ 0x7fbd75000600] decode_slice_header error
[h264 @ 0x7fbd75000600] no frame!
Input #0, h264, from 'FILENAME-OBFISCATED.avc':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 704x480, 25 fps, 25 tbr, 1200k tbn, 50 tbcHere’s some output of
ffmpegwhile converting. It looks to me like the different streams may even have different resolutions :Output #0, mov, to 'FILENAME-OBFISCATED.mov':
Metadata:
encoder : Lavf57.56.101
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 704x480, q=-1--1, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc57.64.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[h264 @ 0x7fb0d4031e00] Invalid NAL unit 0, skipping.
Last message repeated 2 times
[h264 @ 0x7fb0d4031e00] non-existing PPS 7 referenced
[h264 @ 0x7fb0d4031e00] decode_slice_header error
[h264 @ 0x7fb0d4031e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing inputed= 0x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
[h264 @ 0x7fb0d4031e00] negative number of zero coeffs at 1 0itrate=1973.5kbits/s speed=0.159x
[h264 @ 0x7fb0d4031e00] error while decoding MB 1 0
[h264 @ 0x7fb0d4031e00] concealing 4800 DC, 4800 AC, 4800 MV errors in P frame
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p75x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
[h264 @ 0x7fb0d40b3000] slice type 32 too large at 79911
[h264 @ 0x7fb0d40b3000] decode_slice_header error
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p07x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p92x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p59x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
...
[h264 @ 0x7fb0d4036200] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x7fb0d4036200] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420pdrop=0 speed=10.4x
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
Input stream #0:0 frame changed from size:704x480 fmt:yuv420p to size:1280x960 fmt:yuv420p
Input stream #0:0 frame changed from size:1280x960 fmt:yuv420p to size:704x480 fmt:yuv420p
frame=203980 fps=261 q=-1.0 Lsize= 1886254kB time=02:15:59.12 bitrate=1893.9kbits/s dup=80 drop=0 speed=10.4x
video:1884523kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.091876%
[libx264 @ 0x7fb0d580d800] frame I:16284 Avg QP:21.33 size: 76147
[libx264 @ 0x7fb0d580d800] frame P:117556 Avg QP:26.20 size: 4066
[libx264 @ 0x7fb0d580d800] frame B:70140 Avg QP:30.19 size: 3019
[libx264 @ 0x7fb0d580d800] consecutive B-frames: 50.2% 9.9% 6.2% 33.7%
[libx264 @ 0x7fb0d580d800] mb I I16..4: 8.6% 25.2% 66.2%
[libx264 @ 0x7fb0d580d800] mb P I16..4: 0.4% 1.5% 1.1% P16..4: 14.2% 6.3% 4.4% 0.0% 0.0% skip:72.1%
[libx264 @ 0x7fb0d580d800] mb B I16..4: 0.2% 0.5% 0.5% B16..8: 22.6% 7.6% 2.9% direct: 2.5% skip:63.2% L0:45.2% L1:38.7% BI:16.1%
[libx264 @ 0x7fb0d580d800] 8x8 transform intra:30.2% inter:45.3%
[libx264 @ 0x7fb0d580d800] coded y,uvDC,uvAC intra: 88.8% 65.6% 41.5% inter: 10.4% 3.8% 0.4%
[libx264 @ 0x7fb0d580d800] i16 v,h,dc,p: 11% 11% 40% 39%
[libx264 @ 0x7fb0d580d800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 19% 20% 6% 6% 6% 8% 7% 10%
[libx264 @ 0x7fb0d580d800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 13% 7% 7% 8% 8% 8% 9%
[libx264 @ 0x7fb0d580d800] i8c dc,h,v,p: 51% 20% 23% 6%
[libx264 @ 0x7fb0d580d800] Weighted P-Frames: Y:3.1% UV:0.8%
[libx264 @ 0x7fb0d580d800] ref P L0: 79.0% 12.6% 6.3% 2.0% 0.2%
[libx264 @ 0x7fb0d580d800] ref B L0: 93.6% 5.5% 0.9%
[libx264 @ 0x7fb0d580d800] ref B L1: 97.7% 2.3%
[libx264 @ 0x7fb0d580d800] kb/s:1892.10 -
Video Quality Assessment (No-reference)
17 décembre 2020, par Gufran PathanI am looking to analyze the quality of videos using some no-reference methods. ie. I don't have a reference video to compare my videos with.



I want to identify frame-freezes, jitter, jerkiness etc. Basically, temporal artifacts.



There's a lot of academic literature available for this (eg. here), but I'm trying to figure out if there is an open source library / tool that I could use. Would this be possible using tools like FFMPEG ?


-
VLC3 compilation error : linking issue with the libavutil library
4 octobre 2017, par Ivan KolesnikovI tried to compile VLC3 in ubuntu15.10 a long time, but still no luck.
I configured FFmpeg as follow :/ffmpeg-3.3.3$ ./configure —cpu=native —enable-pthreads —enable-bzlib —enable-libdc1394 —enable-libfreetype —enable-frei0r —enable-gnutls —enable-libgsm —enable-libmp3lame —enable-librtmp —enable-libopencv —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-vaapi —enable-vdpau —enable-libvorbis —enable-libvpx —enable-zlib —enable-libfdk-aac —enable-nonfree —enable-gpl —enable-swscale —enable-libcdio —enable-libxcb —enable-libx264 —enable-libxvid —enable-libopencore-amrnb —enable-version3 —enable-libopencore-amrwb —enable-libvo-amrwbenc —enable-nvenc —enable-openssl —enable-decklink —extra-cflags=-I/home/ivan/Downloads/Blackmagic_DeckLink_SDK_10.9.5/Linux/include —extra-ldflags=-ldl —extra-libs=-ldl —enable-pic
And configured VLC3 wth the following parameters :
/vlc-3.0.0-git$ ./configure
—with-decklink-sdk=I/home/ivan/Downloads/Blackmagic_DeckLink_SDK_10.9.5/Linux/include —disable-chromecasThe compilation looks fine. Then I tried :
$ sudo make install
And got the following error :
CCLD libavio_plugin.la
/usr/local/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_free':
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:899: undefined reference to `XCloseDisplay'
/usr/local/lib/libavutil.a(hwcontext_vaapi.o): In function `vaapi_device_create':
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:929: undefined reference to `XOpenDisplay'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:934: undefined reference to `vaGetDisplay'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:941: undefined reference to `XDisplayName'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:931: undefined reference to `XDisplayName'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:958: undefined reference to `vaGetDisplayDRM'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:929: undefined reference to `XOpenDisplay'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:931: undefined reference to `XDisplayName'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vaapi.c:936: undefined reference to `XDisplayName'
/usr/local/lib/libavutil.a(hwcontext_vdpau.o): In function `vdpau_device_create':
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:431: undefined reference to `XOpenDisplay'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:437: undefined reference to `XDisplayString'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:439: undefined reference to `XDefaultScreen'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:439: undefined reference to `vdp_device_create_x11'
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:433: undefined reference to `XDisplayName'
/usr/local/lib/libavutil.a(hwcontext_vdpau.o): In function `vdpau_device_free':
/home/ivan/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:410: undefined reference to `XCloseDisplay'
collect2: error: ld returned 1 exit status
Makefile:12577: recipe for target 'libavio_plugin.la' failed
make[4]: *** [libavio_plugin.la] Error 1
make[4]: Leaving directory '/home/ivan/vlc-3.0.0-git/modules'
Makefile:25280: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/home/ivan/vlc-3.0.0-git/modules'
Makefile:25679: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home/ivan/vlc-3.0.0-git/modules'
Makefile:1519: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/ivan/vlc-3.0.0-git'
Makefile:1985: recipe for target 'install' failedI already saw the following questions related this situation :
question1,
question2,
question3As I understand from these questions, I should move to the end the following libraries in the compile command :
-lvdpau -lX11 -lva*
But I still didn’t understand where is the place to moving these libraries.
Please see the output results of the pkg-config command :$ pkg-config —libs libavcodec libavformat libswscale libavutil
-L/usr/local/lib -lavformat -lXv -lX11 -lXext -lstdc++ -lvdpau -lva -lva-x11 -lX11 -lva -lva-drm -lva -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lcdio_paranoia -lcdio_cdda -lcdio -ljack -lasound -ldc1394 -lssl -lcrypto -lxvidcore -lx264 -lvpx -lm -lvpx -lm -lvpx -lm -lvpx -lm -lvorbisenc -lvorbis -logg -lvo-amrwbenc -ltheoraenc -ltheoradec -logg -lspeex -lschroedinger-1.0 -lrtmp -lz -lgmp -lpulse -lopus -lopenjpeg -DOPJ_STATIC /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so -lopencv_calib3d /usr/lib/x86_64-linux-gnu/libopencv_contrib.so -lopencv_contrib /usr/lib/x86_64-linux-gnu/libopencv_core.so -lopencv_core /usr/lib/x86_64-linux-gnu/libopencv_features2d.so -lopencv_features2d /usr/lib/x86_64-linux-gnu/libopencv_flann.so -lopencv_flann /usr/lib/x86_64-linux-gnu/libopencv_gpu.so -lopencv_gpu /usr/lib/x86_64-linux-gnu/libopencv_highgui.so -lopencv_highgui
/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so -lopencv_imgproc
/usr/lib/x86_64-linux-gnu/libopencv_legacy.so -lopencv_legacy
/usr/lib/x86_64-linux-gnu/libopencv_ml.so -lopencv_ml
/usr/lib/x86_64-linux-gnu/libopencv_objdetect.so -lopencv_objdetect
/usr/lib/x86_64-linux-gnu/libopencv_ocl.so -lopencv_ocl
/usr/lib/x86_64-linux-gnu/libopencv_photo.so -lopencv_photo
/usr/lib/x86_64-linux-gnu/libopencv_stitching.so -lopencv_stitching
/usr/lib/x86_64-linux-gnu/libopencv_superres.so -lopencv_superres
/usr/lib/x86_64-linux-gnu/libopencv_ts.so -lopencv_ts
/usr/lib/x86_64-linux-gnu/libopencv_video.so -lopencv_video
/usr/lib/x86_64-linux-gnu/libopencv_videostab.so -lopencv_videostab
-lopencore-amrwb -lopencore-amrnb -lmp3lame -lgsm -lfreetype -lfdk-aac -lgnutls -lcrystalhd -lm -llzma -lbz2 -lz -pthread -ldl -lavcodec -lXv -lX11 -lXext -lstdc++ -lvdpau -lva -lva-x11 -lX11 -lva -lva-drm -lva -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lcdio_paranoia -lcdio_cdda -lcdio -ljack -lasound -ldc1394 -lssl -lcrypto -lxvidcore -lx264 -lvpx -lm -lvpx -lm -lvpx -lm -lvpx -lm -lvorbisenc -lvorbis -logg -lvo-amrwbenc -ltheoraenc -ltheoradec -logg -lspeex -lschroedinger-1.0 -lrtmp -lz -lgmp -lpulse -lopus -lopenjpeg -DOPJ_STATIC /usr/lib/x86_64-linux-gnu/libopencv_calib3d.so -lopencv_calib3d
/usr/lib/x86_64-linux-gnu/libopencv_contrib.so -lopencv_contrib
/usr/lib/x86_64-linux-gnu/libopencv_core.so -lopencv_core
/usr/lib/x86_64-linux-gnu/libopencv_features2d.so -lopencv_features2d
/usr/lib/x86_64-linux-gnu/libopencv_flann.so -lopencv_flann
/usr/lib/x86_64-linux-gnu/libopencv_gpu.so -lopencv_gpu
/usr/lib/x86_64-linux-gnu/libopencv_highgui.so -lopencv_highgui
/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so -lopencv_imgproc
/usr/lib/x86_64-linux-gnu/libopencv_legacy.so -lopencv_legacy
/usr/lib/x86_64-linux-gnu/libopencv_ml.so -lopencv_ml
/usr/lib/x86_64-linux-gnu/libopencv_objdetect.so -lopencv_objdetect
/usr/lib/x86_64-linux-gnu/libopencv_ocl.so -lopencv_ocl
/usr/lib/x86_64-linux-gnu/libopencv_photo.so -lopencv_photo
/usr/lib/x86_64-linux-gnu/libopencv_stitching.so -lopencv_stitching
/usr/lib/x86_64-linux-gnu/libopencv_superres.so -lopencv_superres
/usr/lib/x86_64-linux-gnu/libopencv_ts.so -lopencv_ts
/usr/lib/x86_64-linux-gnu/libopencv_video.so -lopencv_video
/usr/lib/x86_64-linux-gnu/libopencv_videostab.so -lopencv_videostab
-lopencore-amrwb -lopencore-amrnb -lmp3lame -lgsm -lfreetype -lfdk-aac -lgnutls -lcrystalhd -lm -llzma -lbz2 -lz -pthread -ldl -lswresample -lm -lswscale -lm -lavutil -lmAnd the results only for libavutil library :
$ pkg-config —libs libavutil
-L/usr/local/lib -lavutil -lm
Please also see my VLC
MakefileCan you please to point at the place where these libraries should be reordered ? Also my pkg-config output results are different from the results from the questions above. Any advice or links to solve this question will be helpful.