
Recherche avancée
Autres articles (78)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (7940)
-
How to encode HEVC tile in JPEG ?
3 juillet 2018, par Ketan ChauhanI am trying to convert HEIF file into a JPEG file, I extract HEIC images tiles using MP4Box but when convert these tiles into JPEG using FFMPEG I get this :
SAKATA-INX:desktop stellar$ MP4Box -dump-item 1:path=item1.hevc
still_rear.HEICICC colour profile not supported ICC colour profile not supported
SAKATA-INX:desktop stellar$ ffmpeg -i item1.hevc -frames:v 1 -vsync
vfr -q:v 1 -an test.jpgffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers built
with Apple LLVM version 9.1.0 (clang-902.0.39.1)configuration : —prefix=/usr/local/Cellar/ffmpeg/4.0 —enable-shared
—enable-pthreads —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-gpl —enable-libmp3lame —enable-libx264 —enable-libx265 —enable-libxvid —enable-opencl —enable-videotoolbox —disable-lzmalibavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[hevc @ 0x7fc56e808e00] Format hevc detected only with low score of 1,
misdetection possible ![hevc @ 0x7fc56f800000] No start code is found.
[hevc @ 0x7fc56f800000] missing picture in access unit
[AVBSFContext @ 0x7fc56e505e00] No start code is found.
item1.hevc : could not find codec parameters
Input #0, hevc, from ’item1.hevc’ :
Duration : N/A, bitrate : N/A
Stream #0:0: Video: hevc, none, 1200k tbn
Output #0, image2, to ’test.jpg’ :
Output file #0 does not contain any stream
Could any one tell me how I can do this ?
-
FFmpeg android - Fontconfig error : Cannot load default config file
14 janvier 2019, par Linda ThomasI am trying to add text over video using ffmpeg in android by
"-i", "/storage/emulated/0/videoplayback.mp4", "-vf","drawtext=fontfile=file:///android_asset/fonts/georgia.ttf:text='Text_to_write':fontsize=20:x=100:y=100","-codec:a", "copy", newVideoPath
and it showing the error log as
ffmpeg version n4.0-39-gda39990 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 4.9.x (GCC) 20150123 (prerelease)
configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
--arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-ffprobe --enable-libopus --enable-libvorbis --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-libvpx --enable-libass --enable-yasm --enable-pthreads --disable-debug --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --enable-nonfree --pkg-config=pkg-config --pkg-config-flags=--static --prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags=
libavutil56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/videoplayback.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2018-05-19T10:21:06.000000Z
Duration: 00:00:27.07, start: 0.000000, bitrate: 730 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 639 kb/s, 29.83 fps, 29.83 tbr,
29827 tbn, 59.65 tbc (default)
Metadata:
creation_time : 2018-05-19T10:21:06.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 05/19/2018.
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2018-05-19T10:21:06.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 05/19/2018.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Fontconfig error: Cannot load default config file
[Parsed_drawtext_0 @ 0xb7af4560] impossible to init fontconfig
[AVFilterGraph @ 0xb7af3870] Error initializing filter 'drawtext' with args
'fontfile=file:///android_asset/fonts/georgia.ttf:text=Text_to_write:fontsize=20:x=100:y=100'
Error reinitializing filters!
Failed to inject frame into filter network: Unknown error occurred
Error while processing the decoded data for stream #0:0
Conversion failed! -
Compile the GPU version of FFMPEG on OpenCV
22 juin 2018, par Dyex719When I try to use GPU
FFMPEG on opencv by using a command like :VideoCapture cap("rtsp link");
for(;;)
{
mat frame;
cap>>frame;
}I don’t see any output on nvidia-smi despite compiling the GPU version of FFMPEG.
I am trying to get FFMPEG to use GPU to improve the speed of my program. I got FFMPEG from cloning https://git.ffmpeg.org/ffmpeg.git and followed the steps here https://developer.nvidia.com/ffmpeg to get it working.
I have validated the results using
nvidia-smi dmon -i 0
and have seen thatdec%
increases when I run the commandffmpeg -c:v h264_cuvid -i test_video.mp4 test_output.mkv
.I then compiled Opencv to use the GPU enabled FFMPEG, I check this by running getBuildInformation from opencv :
Video I/O:
DC1394 1.x: NO
DC1394 2.x: YES (ver 2.2.4)
FFMPEG: YES
codec: YES (ver 58.20.103)
format: YES (ver 58.17.100)
util: YES (ver 56.18.102)
swscale: YES (ver 5.2.100)
resample: NO
gentoo-style: YES
GStreamer: NO
OpenNI: NO
OpenNI PrimeSensor Modules: NO
OpenNI2: NO
PvAPI: NO
GigEVisionSDK: NO
UniCap: NO
UniCap ucil: NO
V4L/V4L2: NO/YES
XIMEA: NO
Xine: NO
gPhoto2: NOI cross-verify that I’m using the same ffmpeg (by checking the version numbers) :
ffmpeg version N-91273-g67747c8 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
configuration: --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
libavutil 56. 18.102 / 56. 18.102
libavcodec 58. 20.101 / 58. 20.101
libavformat 58. 17.100 / 58. 17.100
libavdevice 58. 4.101 / 58. 4.101
libavfilter 7. 25.100 / 7. 25.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100Please advise me on how I should compile OpenCV to use the GPU version of FFMPEG. Thank you !