
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (43)
-
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 (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...) -
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 (7094)
-
Open .avi with OpenCV 2.4 & Ubuntu 11.04
25 juin 2012, par CTZStefI try to open and read video files in .avi format using OpenCV. Here is my code :
void MainWindow::on_actionOuvrir_fichier_triggered()
140 + {
141 + //mettre a -1 streamId
142 + streamId = -1;
143 + //ouvrir fenetre navigation fichiers pour recuperer path vers .avi
144 + QString fileName = QFileDialog::getOpenFileName(this,tr("Ouvrir fichier video"),"/home",
145 + tr("Videos (*.avi)"));
146 + std::string utf8_text = fileName.toUtf8().constData();
147 + //ouvrir .avi
148 + capture = new VideoCapture(utf8_text);
149 + //check ouverture
150 + if(!capture->isOpened())
151 + cout << "probleme ouverture fichier video" << endl;
152 + //calculer delay between each frame in ms
153 + rate = capture->get(CV_CAP_PROP_FPS);
154 + delay = 1000 / rate;
155 + //demarrer timer recordId
156 + recordId = startTimer(delay);
157 + //capture premiere frame
158 + if(!capture->read(in))
159 + cout << "probleme lecture frame fichier video" << endl;
160 + }I get no problem at compilation time, but I can't open a video file. While in debug mode I saw that string utf8_text had the good absolute path to my video, so obviously the problem comes from the constructor of the VideoCapture object. Then, I tried to install every codec pack I could or thought was relevant. But the problem is still there, capture->isOpened() still returns false, and in debug mode I can see that capture contains nothing.
I am lost here, don't know what to try next. Any idea ??
Thanks !!!
[EDIT]
Just in case, here is the output of ffmpeg -i myFile.avifaraday@faraday-Compaq-Evo-D510-e-pc:~/QtProjects/visionDev$ ffmpeg -i 1.avi
FFmpeg version 0.6.6-4:0.6.6-0ubuntu0.11.04.1, Copyright (c) 2000-2010 the Libav developers
built on Jun 12 2012 16:28:21 with gcc 4.5.2
configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
WARNING: library configuration mismatch
libavutil configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavcodec configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavformat configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavdevice configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavfilter configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libswscale configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libpostproc configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from '1.avi':
Duration: 00:02:35.39, start: 0.000000, bitrate: 110595 kb/s
Stream #0.0: Video: rawvideo, bgr24, 640x480, 15 tbr, 15 tbn, 15 tbc
At least one output file must be specifiedI do not see anything wrong here, but I thought maybe someone will.
I really need this to work soon, and right now it's a dead end...
thanks
[EDIT 2]
I have just read this in the book OpenCV 2 Computer Vision Application Programming Cookbook by R. Laganiere :
It is important to note that in order to open the specified video
file, your computer must have the corresponding codec installed,
otherwise cv::VideoCapture will not be able to understand the input
file. Normally, if you are able to open your video file with a video
player on your machine (such as the Windows Media Player), then OpenCV
should also be able to read this file.Well, on my machine it is not that easy mister Laganiere... I hate this book.
-
24 cores, 25 ffmpeg session - cpu looks good but load average high
9 août 2012, par thevoipmanI don't know if it's my script or just the system itself, but I definitely don't want to take anything down.
I am running a centos 6.3 64bit with about 25 sessions of ffmpeg encoding
-
I am trying to speed up ffmpeg encoding, but it seems like whatever ram or cpu I have, the encoding process still take very long. I have used -threads 0 or even -threads 16 to see if it speed up but it doesn't.
-
My load average is very high, how can I lower this without terminating ffmpeg tasks ?
top - 19:33:28 up 13:09, 2 users, load average: 161.95, 161.07, 161.02
Tasks: 523 total, 3 running, 520 sleeping, 0 stopped, 0 zombie
Cpu(s): 14.0%us, 1.1%sy, 84.4%ni, 0.1%id, 0.0%wa, 0.0%hi, 0.4%si, 0.0%st
Mem: 65943668k total, 65676464k used, 267204k free, 137428k buffers
Swap: 8388600k total, 170992k used, 8217608k free, 56438576k cached- Here is my cpu usage :
08/09/2012 _x86_64_ (24 CPU)
07:34:15 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
07:34:15 PM all 10.83 86.27 0.55 0.03 0.00 0.14 0.00 0.00 2.19
07:34:15 PM 0 18.68 69.92 5.82 0.39 0.00 3.22 0.00 0.00 1.97
07:34:15 PM 1 11.11 86.26 0.45 0.02 0.00 0.00 0.00 0.00 2.16
07:34:15 PM 2 11.07 86.34 0.42 0.02 0.00 0.00 0.00 0.00 2.17
07:34:15 PM 3 10.89 86.50 0.43 0.02 0.00 0.00 0.00 0.00 2.16
07:34:15 PM 4 11.05 86.31 0.45 0.02 0.00 0.00 0.00 0.00 2.17
07:34:15 PM 5 11.07 86.34 0.41 0.01 0.00 0.00 0.00 0.00 2.16
07:34:15 PM 6 12.79 84.56 0.48 0.06 0.00 0.07 0.00 0.00 2.05
07:34:15 PM 7 11.32 86.34 0.18 0.01 0.00 0.00 0.00 0.00 2.15
07:34:15 PM 8 11.49 86.15 0.18 0.01 0.00 0.00 0.00 0.00 2.17
07:34:15 PM 9 11.95 85.67 0.19 0.01 0.00 0.00 0.00 0.00 2.18
07:34:15 PM 10 11.73 85.90 0.19 0.01 0.00 0.00 0.00 0.00 2.18
07:34:15 PM 11 11.56 86.08 0.18 0.01 0.00 0.00 0.00 0.00 2.17
07:34:15 PM 12 13.59 82.43 1.33 0.09 0.00 0.00 0.00 0.00 2.56
07:34:15 PM 13 8.72 88.76 0.29 0.02 0.00 0.00 0.00 0.00 2.21
07:34:15 PM 14 8.84 88.67 0.28 0.02 0.00 0.00 0.00 0.00 2.20
07:34:15 PM 15 8.76 88.71 0.32 0.02 0.00 0.00 0.00 0.00 2.19
07:34:15 PM 16 8.73 88.75 0.29 0.02 0.00 0.00 0.00 0.00 2.21
07:34:15 PM 17 8.76 88.75 0.26 0.02 0.00 0.00 0.00 0.00 2.21
07:34:15 PM 18 10.35 87.16 0.24 0.02 0.00 0.00 0.00 0.00 2.23
07:34:15 PM 19 9.16 88.48 0.17 0.01 0.00 0.00 0.00 0.00 2.17
07:34:15 PM 20 9.45 88.19 0.18 0.01 0.00 0.00 0.00 0.00 2.18
07:34:15 PM 21 9.62 88.01 0.17 0.01 0.00 0.00 0.00 0.00 2.20
07:34:15 PM 22 9.73 87.88 0.17 0.01 0.00 0.00 0.00 0.00 2.20
07:34:15 PM 23 9.44 88.21 0.16 0.01 0.00 0.00 0.00 0.00 2.18Please let me know if I'm seeing any trouble coming up if I keep on adding more ffmpeg's tasks
-
-
FFMPEG, pixelated frames, and webm format
22 septembre 2016, par Abel MohlerIt seems like every time I split a .webm video, half or more of the frames are pixelated and distorted.
My configuration looks like the following :
FFmpeg version 0.6.6-4:0.6.6-0ubuntu0.11.04.1, Copyright (c) 2000-2010 the Libav developers
built on Jun 12 2012 16:35:16 with gcc 4.5.2
configuration: --extra-version=4:0.6.6-0ubuntu0.11.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-staticDoes anyone have any experience with something similar to this ? When I play the same videos with a standard ffmpeg player on the same system, they look just fine.