
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (29)
-
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 -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (6200)
-
Evolution #3638 (Nouveau) : Utiliser la rechercher Fulltext par défaut pour le critère {recherche}
7 janvier 2016, par Gilles VINCENTSuite à la discussion entammée sur spip-dev, je suggère d’utiliser la recherche Fulltext par défaut, au lieu des REGEXP actuelles
http://thread.gmane.org/gmane.comp.web.spip.devel/66780Par défaut, recherche génère des requêtes des type REGEXP, ce qui n’est utile que si des utilisateurs font des recherches avec des expressions régulières, ce qui n’est pas le cas. Depuis le commit r21697 les tables ont installées par défaut au format MyISAM (demande #2727). SPIP gagnerait donc à utiliser les recherches en Fulltext.
Analyse détaillée du problème faite par Remi (root@lautre.net) :
Le problème c’est que ce type de requête est généré dès lors qu’il y a un
espace dans la recherche et les requêtes REGEXP n’utilisent pas les index.Donc ça ne concerne pas que les utilisateurs qui recherchent des
expressions régulières.Pour une recherche aussi bête que "chercher un mot" ça recherche
REGEXP sur chaque colonne de la table
spip_articles. Evidemment ça renvoie tous les articles contenant "un".Un exemple particulièrement inefficace : 51s pour faire une recherche sur 2
mots sans avoir la certitude que les 2 mots ne s’y trouvent.- Query_time : 51.073814 Lock_time : 0.018906 Rows_sent : 16363 Rows_examined : 36816
SELECT t.id_article, t.surtitre, t.titre, t.soustitre, t.chapo, t.texte,
t.ps, t.nom_site, t.url_site, t.descriptif FROM `xxxxxx`.spip_articles AS t
WHERE t.surtitre REGEXP ’Etats unis|Etats|unis’ OR t.titre REGEXP ’Etats
unis|Etats|unis’ OR t.soustitre REGEXP ’Etats unis|Etats|unis’ OR t.chapo
REGEXP ’Etats unis|Etats|unis’ OR t.texte REGEXP ’Etats unis|Etats|unis’
OR t.ps REGEXP ’Etats unis|Etats|unis’ OR t.nom_site REGEXP ’Etats
unis|Etats|unis’ OR t.url_site REGEXP ’Etats unis|Etats|unis’ OR
t.descriptif REGEXP ’Etats unis|Etats|unis’ ;Ici, ça me renvoie les articles qui contiennent "punissons",
"réunis".A ce niveau, un bête like me met "que" 5s :
SELECT * from (select *, concat( t.surtitre, t.titre, t.soustitre,
t.chapo, t.texte, t.ps, t.nom_site, t.url_site, t.descriptif) search from
spip_articles t) s WHERE s.search like ’%unis%’ or s.search like
’%Etats%’ ;Mais honnêtement 5s, ce n’est pas non plus acceptable.
Mais s’il vous faut mettre un truc par défaut autre que du fulltext,
utilisez LIKE sur la chaine à rechercher. Ca ira plus vite et ça vous
renverra des résultats plus cohérents.Remi
-
Flutter FFMPEG : Error setting profile baseline
9 avril 2021, par Raj DhakadFlutter-ffmpeg unable to set profile parameter. (I need to use profile so the rendered video can be played on WhatsApp).


I am converting.bmp images into a mp4 video. Other I have tested other praramets and the work great it's only -profile:v which seems to have some problem.


Everything works fine unless I use
-profile:v baseline
.

void _runFFmpeg() async {
 var dir = await getApplicationDocumentsDirectory();
 var output = await getExternalStorageDirectory();
 String videoSize = '${ImageWidth}x$ImageSize';
 print("${ImageWidth}x$ImageSize");
 var arguments = [
 "-y", // replace output file if it already exists
 "-framerate", "30", // framrate
 "-video_size", videoSize,
 "-pixel_format", "yuv420p",
 "-i", "${output.path}/frame_%d.bmp", 
 "-profile:v", "baseline",
 "-level", "3.0",
 "${output.path}/test.mp4"
 ];
 
 _flutterFFmpeg
 .executeWithArguments(arguments)
 .then((rc) => print("FFmpeg process exited with rc $rc"));
 

 print("Done Rendering");
 }



Logs


D/flutter-ffmpeg(26672): Running FFmpeg with arguments: [-y, -framerate, 30, -video_size, 720x600, -pixel_format, yuv420p, -i, /storage/emulated/0/Android/data/com.example.test/files/frame_%d.bmp, -profile:v, baseline, -level, 3.0, /storage/emulated/0/Android/data/com.example.test/files/test.mp4].
I/mobile-ffmpeg(26672): ffmpeg version v4.4-dev-416
I/mobile-ffmpeg(26672): Copyright (c) 2000-2020 the FFmpeg developers
I/mobile-ffmpeg(26672):
I/mobile-ffmpeg(26672): built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
I/mobile-ffmpeg(26672): configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --extra-libs='-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec
I/mobile-ffmpeg(26672): libavutil 56. 55.100 / 56. 55.100
I/mobile-ffmpeg(26672): libavcodec 58. 96.100 / 58. 96.100
I/mobile-ffmpeg(26672): libavformat 58. 48.100 / 58. 48.100
I/mobile-ffmpeg(26672): libavdevice 58. 11.101 / 58. 11.101
I/mobile-ffmpeg(26672): libavfilter 7. 87.100 / 7. 87.100
I/mobile-ffmpeg(26672): libswscale 5. 8.100 / 5. 8.100
I/mobile-ffmpeg(26672): libswresample 3. 8.100 / 3. 8.100
I/mobile-ffmpeg(26672): Input #0, image2, from '/storage/emulated/0/Android/data/com.example.test/files/frame_%d.bmp':
I/mobile-ffmpeg(26672): Duration:
I/mobile-ffmpeg(26672): 00:00:06.03
I/mobile-ffmpeg(26672): , start:
I/mobile-ffmpeg(26672): 0.000000
I/mobile-ffmpeg(26672): , bitrate:
I/mobile-ffmpeg(26672): N/A
I/mobile-ffmpeg(26672):
I/mobile-ffmpeg(26672): Stream #0:0
I/mobile-ffmpeg(26672): : Video: bmp, yuv420p, 720x600
I/mobile-ffmpeg(26672): ,
I/mobile-ffmpeg(26672): 30 fps,
I/mobile-ffmpeg(26672): 30 tbr,
I/mobile-ffmpeg(26672): 30 tbn,
I/mobile-ffmpeg(26672): 30 tbc
I/mobile-ffmpeg(26672):
I/mobile-ffmpeg(26672): Stream mapping:
I/mobile-ffmpeg(26672): Stream #0:0 -> #0:0
I/mobile-ffmpeg(26672): (bmp (native) -> h264 (libx264))
I/mobile-ffmpeg(26672):
I/mobile-ffmpeg(26672): Press [q] to stop, [?] for help
W/mobile-ffmpeg(26672): [graph 0 input from stream 0:0 @ 0x7280948480] sws_param option is deprecated and ignored
E/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] Error setting profile baseline.
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] Possible profiles:
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] baseline
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] main
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] high
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] high10
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] high422
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] high444
I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]
E/mobile-ffmpeg(26672): Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
I/mobile-ffmpeg(26672): Conversion failed!
D/flutter-ffmpeg(26672): FFmpeg exited with rc: 1
E/UIFirst (26672): failed to open /proc/26672/stuck_info, No such file or directory
I/chatty (26672): uid=12724(com.example.test) identical 2 lines
3
E/UIFirst (26672): failed to open /proc/26672/stuck_info, No such file or directory
I/chatty (26672): uid=12724(com.example.test) identical 1 line
E/UIFirst (26672): failed to open /proc/26672/stuck_info, No such file or directory



Flutter doctor -v


[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.18362.836], locale en-US)
 • Flutter version 2.0.1 at C:\Users\Dell\flutter
 • Framework revision c5a4b4029c (5 weeks ago), 2021-03-04 09:47:48 -0800
 • Engine revision 40441def69
 • Dart version 2.12.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
 • Android SDK at C:\Users\Dell\AppData\Local\Android\sdk
 • Platform android-30, build-tools 29.0.3
 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
 • All Android licenses accepted.
[√] Chrome - develop for the web
 • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.6)
 • Android Studio at C:\Program Files\Android\Android Studio
 • Flutter plugin version 45.1.1
 • Dart plugin version 192.7761
 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.55.0)
 • VS Code at C:\Users\Dell\AppData\Local\Programs\Microsoft VS Code
 • Flutter extension version 3.21.0
[√] Connected device (2 available)
 • RMX1801 (mobile) • 8843cc23 • android-arm64 • Android 10 (API 29)
 • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.114
• No issues found!



I also have tried changing package to min-gpl, https-gpl and video but no change.


-
Introducing Matomo SEO Web Vitals