
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (88)
-
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 (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...)
Sur d’autres sites (8201)
-
Fontconfig error : Cannot load default config file
28 juin 2019, par sachinI am trying to add text in the video, but I am getting -
Fontconfig error : Cannot load default config file
[Parsed_drawtext_0 @ 0xea1aeaa0] impossible to init fontconfigbelow cmd to add text using FFmpeg lib-
String[] cmd = new String[]
"-i", savedVideoFilePath, "-vf", "drawtext=text="+"’"+timeStamp+"’"+" :
fontfile=/android_asset/fonts/Poppins-Medium.ttf : fontcolor=white :
fontsize=24 : x=(w-tw)/2 : y=(h/PHI)+th box=0 :","-codec:a" ,"copy" ,
output_path ;log details -
Error opening filters ! 2019-06-10 18:04:58.027
18678-18678/com.rs.vir.debug E/FFMPEG FAilure : FAILED with output :
ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration : —target-os=linux —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
—arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
—enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags=’-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all’ —extra-ldflags=’-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
-Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/data/user/0/com.rs.vir.debug/files/VIR_Customer/EVINV12207201906100303240000/Videos/sample.mp4’ :
Metadata :
major_brand : mp42
minor_version : 0
compatible_brands : isommp42
creation_time : 2019-06-10 12:34:55
com.android.version : 8.1.0
Duration : 00:00:06.66, start : 0.000000, bitrate : 3724 kb/s
Stream #0:0(eng) : Video : h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x480, 3464 kb/s, SAR 1:1
DAR 3:2, 30.04 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata :
rotate : 90
creation_time : 2019-06-10 12:34:55
handler_name : VideoHandle
Side data :
displaymatrix : rotation of -90.00 degrees
Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 255 kb/s (default)
Metadata :
creation_time : 2019-06-10 12:34:55
handler_name : SoundHandle
Fontconfig error : Cannot load default config file
[Parsed_drawtext_0 @ 0xea1aeaa0] impossible to init fontconfig
[AVFilterGraph @ 0xea1cb040] Error initializing filter ’drawtext’ with args
’text=java.util.GregorianCalendar[time=1560170097814,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=libcore.util.ZoneInfo[id="Asia/Kolkata",mRawOffset=19800000,mEarliestRawOffset=19800000,mUseDst=false,mDstSavings=0,transitions=5],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=2019,MONTH=5,WEEK_OF_YEAR=24,WEEK_OF_MONTH=2,DAY_OF_MONTH=10,DAY_OF_YEAR=161,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=2,AM_PM=1,HOUR=6,HOUR_OF_DAY=18,MINUTE=4,SECOND=57,MILLISECOND=814,ZONE_OFFSET=19800000,DST_OFFSET=0] :
fontfile=/android_asset/fonts/Poppins-Medium.ttf : fontcolor=white :
fontsize=24 : x=(w-tw)/2 : y=(h/PHI)+th box=0 :’
Error opening filters !please give me the solution for this.
-
FFmpeg file not found exception, No such file or directory
16 avril 2020, par SagarI am getting the
No such file or directory
exception on video trimming.


video path :
/storage/emulated/0/Pictures/Instagram/Fast & Furious 7 - Get Low Extended Version Video.mp4



file name :
Fast & Furious 7 - Get Low Extended Version Video.mp4



and ffmpeg searching for only
Fast
in/storage/emulated/0/Pictures/Instagram/Fast: No such file or directory




I have found the issue, it is causing due to the file name having spaces in between them you can check in the above mentioned path and in exception.



after changing the file name its working but the changing name of every file from the device it's not the right way so how can I solve this exception



FAILED with output : WARNING: linker: /data/user/0/com.example.SeekBarActivity/files/ffmpeg 
has text relocations. This is wasting memory and prevents security hardening.
Please fix. FFmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers

built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-
android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --
cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-
Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 
--enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig 
--enable-pthreads --disable-debug --disable-ffserver --enable-version3 --
enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --
enable-yasm --disable-doc --disable-shared --enable-static --pkg-
config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --
prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-
cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -
U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-
all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-
 android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-
 lpng -lexpat -lm' --extra-cxxflags=
 libavutil 54. 7.100 / 54. 7.100
 libavcodec 56. 1.100 / 56. 1.100
 libavformat 56. 4.101 / 56. 4.101
 libavdevice 56. 0.100 / 56. 0.100
 libavfilter 5. 1.100 / 5. 1.100
 libswscale 3. 0.100 / 3. 0.100
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 0.100 / 53. 0.100
 /storage/emulated/0/Pictures/Instagram/Fast: No such file or directory



-
Laravel FFMPEG Error Encoding Failed using Laravel Queue in Docker
6 mars 2020, par Shahid MushtaqI am running my laravel application on docker container.
i am using ffmpeg build https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
i can confirm that ffmpeg and ffprobe are installed.
when i submit video to my application it is passed to a queue which is responsible to converts two version
one is 720,1280 and other is 640, 360what is happening at the moment . i am successfully able to convert uploaded file into 720,1280 but when it comes to convert 640,360 it throws Encoding Failed error.
i have switched conversion pattern like first i m trying to convert 640,360 then trying to convert 720,1280 . what have i noticed is that first conversion happens successfully , exception is always thrown at second conversion
here is my code sample
$format ->setKiloBitrate($bit_rate) ->setAudioChannels(2)->setAudioKiloBitrate(128);
$seven_twenty = new Dimension(1280, 720);
$video->filters()->resize($seven_twenty)->synchronize();
$video->save($format, $this -> Video['destination'].'-720-1281.mp4');
$format ->setKiloBitrate($bit_rate) -> setAudioChannels(2) -> setAudioKiloBitrate(128);
$three_sixty = new Dimension(640, 360);
$video->filters()->resize($three_sixty)->synchronize();
$video->save($format, $this -> Video['destination'].'-360-640.mp4');can some one please help me on this.
thanks.