
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (65)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (7429)
-
FFmpeg - resize by max width/height, keep aspect ratio and avoid "width/height not divisible by 2" error
29 août 2020, par Eduard UnruhThis is the code I'm using to resize the video to either max width 640 or max height 700 and keeping the aspect ratio :


ffmpeg/bin/ffmpeg.exe" -y -i ttt.mp4 -profile:v high -c:v libx264 -filter_complex "scale=iw*min(1\,min(640/iw\,700/ih)):-1" -acodec copy -maxrate 600k -bufsize 300k -crf 18 ttt2.mp4



On some video I either get
width not divisible by 2
orheight not divisible by 2


I looked up that the solution would be :


-vf "crop=trunc(iw/2)*2:trunc(ih/2)*2"



So I tried :


ffmpeg/bin/ffmpeg.exe" -y -i ttt.mp4 -profile:v high -c:v libx264 -filter_complex "scale=iw*min(1\,min(640/iw\,700/ih)):-1" -vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" -acodec copy -maxrate 600k -bufsize 300k -crf 18 ttt2.mp4



and get the error :


-vf/-af/-filter and -filter_complex cannot be used together for the same stream



so how to do this ??


-
Error "sys/videoio.h - not found" OpenCV 3.1.0
22 mars 2017, par Jefferson RodriguezI using Elementary OS and I’m trying to install OpenCV 3.1.0, I follow the instructions of http://docs.opencv.org/3.0-beta/doc/tutorials/introduction/linux_install/linux_install.html
Also, I have installed libav 11.7 and ffmpeg 3.1.3
but, after cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
I get :
— Looking for linux/videodev.h
— Looking for linux/videodev.h - found
— Looking for linux/videodev2.h
— Looking for linux/videodev2.h - found
— Looking for sys/videoio.h
— Looking for sys/videoio.h - not found
— Looking for libavformat/avformat.h
— Looking for libavformat/avformat.h - found
— Looking for ffmpeg/avformat.h
— Looking for ffmpeg/avformat.h - not found
— checking for module ’libgphoto2’
— package ’libgphoto2’ not found
And after make,
I get :
../../lib/libopencv_videoio.so.3.1.0 : referencia aav_frame_alloc' sin definir <br />
../../lib/libopencv_videoio.so.3.1.0: referencia aav_frame_free’ sin definir
collect2 : error : ld returned 1 exit status
make[2] : * [bin/opencv_test_video] Error 1
make[1] : * [modules/video/CMakeFiles/opencv_test_video.dir/all] Error 2someone who can help me ?
-
JavaCV RTMP YouTube Stream results in Error "YouTube is not receiving enough video to maintain smooth streaming , viewers may experience buffering"
30 novembre 2019, par mindkillerpeacockI’m using the RecordActivty.java to stream a live video on YouTube.
The Stream goes well for around 2-3 minutes but then I get an error YouTube is not receiving enough video to maintain smooth streaming , viewers may experience buffering. And then a few seconds later, the video starts to buffer or becomes choppy, and is not smooth.Any solutions ?