
Recherche avancée
Autres articles (86)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (4389)
-
Error in building opencv with ffmpeg
15 avril 2020, par batumanI installed ffmpeg according to this article. ffmpeg installation was ok.
Now I build opencv with ffmpeg support and I have some errors.
The errors are



/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1484:21: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
 c->flags |= CODEC_FLAG_GLOBAL_HEADER;
 ^
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In function ‘int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1512:30: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
 if (oc->oformat->flags & AVFMT_RAWPICTURE) {
 ^
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1686:35: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
 if( (oc->oformat->flags & AVFMT_RAWPICTURE) == 0 )
 ^
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1920:32: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
 if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) {
 ^
In file included from /home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In static member function ‘static AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext*, AVCodecID, int, int, int, double, AVPixelFormat)’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:2214:25: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
 c->flags |= CODEC_FLAG_GLOBAL_HEADER;
 ^
modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:230: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o' failed
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
CMakeFiles/Makefile2:2349: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/all' failed




What could be wrong ?


-
Bash Shell Script Remote Background Processing
22 mai 2015, par user281738I Have Created a Bash Shell script.. With that i can crop and convert video locally..
nohup ffmpeg -i "$c1" -vf "$crop_value1" -b 1800k "/home/Cropped/""$name1"_cropped.mp4"" > crop1.txt &
PID1=$!
nohup ffmpeg -i "$c2" -vf "$crop_value2" -b 1800k "/home/Cropped/""$name2"_cropped.mp4"" > crop2.txt &
PID2=$!
nohup ffmpeg -i "$c3" -vf "$crop_value3" -b 1800k "/home/Cropped/""$name3"_cropped.mp4"" > crop3.txt &
PID3=$!
nohup ffmpeg -i "$c4" -vf "$crop_value4" -b 1800k "/home/Cropped/""$name4"_cropped.mp4"" > crop4.txt &
PID4=$!
wait $PID1
wait $PID2
wait $PID3
wait $PID4As Above Code Shows Im Using 4 Conversion In background In Local Server And I’m Using Wait PID To Check Whether Conversation Finished Or Not.
My Problem Is Its taking very late to Convert.. So I Thinking Of Converting One Conversion In Local Sever And Another Three In Different Remote Server Through SSH
Example :ssh user@192.168.1.1 "nohup ffmpeg -i "$c1" -vf "$crop_value1" -b 1800k "/home/Cropped/""$name1"_cropped.mp4"" > crop1.txt &"
My Problem Is After Executing Remote Commands How Can I Get Remote PID And Use PID Wait Option For All Remote Connection.
-
ffmpeg fails to read header of audio while creating video at 1080p@24fps
15 juillet 2016, par asadI am trying to create video by merging rawvideo frames from opengl, .m4a audio file and .png image(logo). With videos of small duration (2-3 min) at 108p@24fps, following code works fine. But if the video is larger (10 min), code fails. FFmpeg gives following error log :
ffmpeg version N-80097-g89e9393 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/home/ec2-user/ffmpeg_build --extra-cflags=-I/home/ec2-user/ffmpeg_build/include --extra-ldflags=-L/home/ec2-user/ffmpeg_build/lib --bindir=/home/ec2-user/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 43.100 / 57. 43.100
libavformat 57. 37.100 / 57. 37.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, rawvideo, from 'pipe:0':
Duration: N/A, start: 0.000000, bitrate: 314818 kb/s
Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 854x480, 314818 kb/s, 24 tbr, 24 tbn
Input #1, png_pipe, from '/home/ec2-user/logo-watermark-green_tpd.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba(pc), 287x185, 25 tbr, 25 tbn
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3b71d00] error reading header
/home/ec2-user/decryptedData/audios/Blrt_Decrypt_tfss-29882287-c1d5-4c54-b674-87e9de4a9e38-audio.m4a: Invalid data found when processing input
"rjRoYZaDA1_854x480@24fps_1468547071.txt"Code i am using is following :
/home/ec2-user/bin/ffmpeg \
-framerate 24 -f rawvideo -pixel_format rgb32 -video_size 854x480 -i pipe:0 \
-i /home/ec2-user/logo-watermark-green_tpd.png \
-i /home/ec2-user/decryptedData/audios/Blrt_Decrypt_tfss-29882287-c1d5-4c54-b674-87e9de4a9e38-audio.m4a \
-filter_complex "[0:v]vflip[main];[1:v]scale=854/10:-1[si], \
[main][si]overlay=main_w-overlay_w:main_h-overlay_h:format=rgb,format=yuv420p" \
-c:v libx264 \
-c:a copy /home/ec2-user/videos/rjRoYZaDA1_854x480@24fps_1468563244030.mp4 \
2> /home/ec2-user/logs/rjRoYZaDA1_854x480@24fps_1468563244.txtIs it related to any memory ?