
Recherche avancée
Autres articles (88)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (11202)
-
I can't seem to install opencv2.4.13 for Python3.4 on Mac El Capitan
1er juin 2016, par ThatProgrammerDudeThis has been driving me nuts. I have been working on this non stop for a week. I have looked at many tutorials online they did not help.
I have tried so much I don’t even remember what I tried. I can say the last thing I tried though.. which is this video https://www.youtube.com/watch?v=U49CVY8yOxw.
So I download opencv2.4.13, create the build folder, open cmake, configure, generate and then go to terminal and type in make.
I get this :
Richie's Macbook Air:build Richie$ make
[ 2%] Built target zlib
[ 6%] Built target libtiff
[ 10%] Built target libjpeg
[ 14%] Built target libjasper
[ 16%] Built target libpng
[ 23%] Built target IlmImf
[ 26%] Built target opencv_core
[ 31%] Built target opencv_imgproc
[ 32%] Built target opencv_video
[ 32%] Built target opencv_flann
[ 32%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o
In file included from /Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg.cpp:45:
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:71:6: error:
"libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
#error "libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:481:9: error:
use of undeclared identifier 'sws_freeContext'
sws_freeContext(img_convert_ctx);
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:965:17: error:
use of undeclared identifier 'SWS_BICUBIC'
SWS_BICUBIC,
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:998:5: error:
use of undeclared identifier 'sws_scale'
sws_scale(
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1639:46: error:
use of undeclared identifier 'SWS_BICUBIC'
SWS_BICUBIC,
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1645:14: error:
use of undeclared identifier 'sws_scale'
if ( sws_scale(img_convert_ctx, input_picture->data,
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:1693:9: error:
use of undeclared identifier 'sws_freeContext'
sws_freeContext(img_convert_ctx);
^
/Users/Richie/Downloads/opencv-2.4.13/modules/highgui/src/cap_ffmpeg_impl.hpp:2290:9: warning:
ignoring return value of function declared with warn_unused_result
attribute [-Wunused-result]
avformat_write_header(oc_, NULL);
^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
1 warning and 7 errors generated.
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2
Richie's Macbook Air:build Richie$From what I can see, it says
"libswscale is necessary to build the newer OpenCV ffmpeg wrapper"
I have tried googling though to no avail, does anyone know ?
EDIT : I do have ffmpeg installed... (brew).
-
Applescript to automatically convert new downloaded MKV files using ffmpeg
18 février 2014, par user3315469I'm new to Applescript and would love some help figuring out how to use it to make my life easier. I want to create a script that automatically selects new movies added to a folder (actually a folder within a folder, as I have a "Movies" folder and then each movie gets its own folder within that), checks the extensions, and converts them using the Terminal if they have extension .mkv. The Terminal command I want to run is
ffmpeg -i -y [movie_name].mkv -c copy [movie_name].mp4
It will need to look in the correct folder for the movie, which is already automatically created when the movie is added. So, to clarify, there's a "Movies" folder, which contains the newly created folder for a specific movie, which in turn contains the newly added movie file.
I am running Mavericks on a MacBook Pro.
-
How to hold the mpegts stream for few seconds ?
8 août 2024, par AvenHow to hold the mpegts stream for 5 seconds without changing frams's PTS ?


I tried the tsduck command as below :


aven.cheng@tgcusers-MacBook-Pro ~ % tsp -I ip 235.35.3.5:3535 -P timeshift --time 5000 -O ip 235.35.3.5:3536

* Warning: timeshift: unknown initial bitrate, discarding packets until a valid bitrate can set the buffer size



the stream of 235.35.3.5:3536 did come out 5 seconds later after i executed the above command..
But the frames' PTS of 235.35.3.5:3536 are not the same anymore. For exsample, the PTS of my target frame is 10935000 from 235.35.3.5:3535, but the PTS of my target frame has changed to 10830542 from 235.35.3.5:3536.


Is that possible to hold the stream for few seconds and also keep the PTS unchanged ? I don't necessarily have to use tsduck ; I am open to using other tools.