
Recherche avancée
Autres articles (81)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14467)
-
How to stream all videos in a folder ?
12 août 2018, par KrishnenduHi i want to stream videos over web using ffserver. i got this link as reference.
Now what i am not able to figure out is how to pass a folder(which content all videos i want to stream) as input to stream all videos. I also want add more videos dynamically to this folder in time to time and streaming should happen(like how it works in Darwin). now i can’t use Darwin because it doesn’t support for iOS.
please give me a suggestion.
is there any other open source tool by which i can do this ?
-
FFmpeg - How do I set audio language and subtitles when converting videos ?
7 mai 2022, par mereMolfI have a handful of mkv video files that happen to have English and Japanese audio tracks along with english subtitles. I want to convert them all to webm files and keep only the Japanese audio with English subtitles.


How do I do that ?


Specifically, I use QWinFF, a GUI frontend to FFmpeg.
Under the Advanced options, I use the following parameters


-f webm -vcodec libvpx -g 120 -level 216 -profile:v 0 -qmax 25 -qmin 10 -rc_buf_aggressivity 0.95 -vb 480k -acodec libvorbis -aq 90



Any help would be appreciated.
Thanks.


-
How to write mp4 video file with H264 codec ?
21 mai 2017, par kramer65On OSX I can record from my webcam and write a video file with the following simple script :
import cv2
camera = cv2.VideoCapture(0)
# Define the codec and create VideoWriter object to save the video
fourcc = cv2.VideoWriter_fourcc(*'XVID')
video_writer = cv2.VideoWriter('output.avi', fourcc, 25.0, (640, 480))
while True:
try:
(grabbed, frame) = camera.read() # grab the current frame
frame = cv2.resize(frame, (640, 480)) # resize the frame
video_writer.write(frame) # Write the video to the file system
except KeyboardInterrupt:
camera.release()
breakThe resulting avi file is quite big though. I want a smaller file, preferably an mp4. So I changed the filename to
output.mp4
and the fourcc codec toH264
. That writes a video file which works, but gives me the following error :$ python write_video_file.py
OpenCV: FFMPEG: tag 0x34363248/'H264' is not supported with codec id 28 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x00000021/'!???'Since I thought I’m missing the H264 codec in ffmpeg I decided to uninstall ffmpeg and opencv and reinstall them again with H264 support. For this I used the following commands :
# First ffmpeg
brew install ffmpeg --with-fdk-aac --with-libvidstab --with-openh264 \
--with-openjpeg --with-openssl --with-tools --with-webp --with-x265 --with-zeromq
# then opencv3
brew tap homebrew/science
brew install opencv3 --with-contrib --with-ffmpeg --with-tbbAfter this I ran the script again, using the following combinations :
output.mp4
withH264
output.mp4
withX264
Unfortunately I still get the OpenCV warnings/errors. The file is readable, but it still annoys me that I get these errors. Does anybody have any idea how I can make OpenCV write mp4 video file with the H264 codec ?
All tips are welcome !