
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (63)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11248)
-
CoreAudio : how to retrieve actual sampling rate of raw data ?
13 août 2014, par jyavenardWhen attempting to play AAC-HE content in an mp4 container, the reported sampling rate found in the mp4 container appears to be half of the actual sampling rate.
E.g it appears as 24kHz instead of 48kHz.
Using the FFmpeg AAC decoder, retrieving the actual sampling rate can be done by simply decoding an audio packet using
avcodec_decode_audio4
And looking at
AVCodecContext::sample_rate
which will be updated appropriately. From that it’s easy to adapt the output.With CoreAudio decoder, I would use a
AudioConverterRef
set the input and outputAudioStreamBasicDescription
and callAudioConverterFillComplexBuffer
As the converter performs all the required internal conversion including resampling it’s fine. But it plays the content after resampling it to 24kHz (as that’s what the input
AudioStreamBasicDescription
contains.Would there be a way to retrieve the actual sampling rate as found be the decoder (rather than the demuxer) in a similar fashion as one can with FFmpeg ?
Would prefer to avoid losing audio quality if at all possible, and not downmix data
Thanks
-
how to put image files from one folder to make a video in python
23 septembre 2015, par Gaurav16I have written a code to collect all image files from one folder, so that I can make a video out of it.
But while compiling I getting an error saying
"Error creating movie, return code: 4 Try running with --verbose-debug"
#import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
import glob, os
from PIL import Image
fig = plt.figure()
#size = 128, 128
ims=[]
#print(len(ims))
#im=Image.open(ims[5])
#im.show()
for infile in glob.glob("*.png"):
file, ext = os.path.splitext(infile)
im = Image.open(infile)
im1=plt.imshow(im)
ims.append([im1])
print(len(ims))
ani = animation.ArtistAnimation(fig, ims)
ani.save('MovWave.mpeg', writer="ffmpeg")
plt.show() -
How to record a 5 second video on Raspberry Pi 3 with USB webcam ?
16 mars 2023, par FeengineerHi i tried to record a video whit a USB-webcam on my RaspberryPi.
When i type
ffplay /dev/video0
I do see a live video, but when i try to record it withffmpeg
the video output is like a black screen with like the traffic cone in my VLC media player. I tried saving the video as a .mkv and .mp4 file. Anyone know how to fix this ?

The code i used to record a video is :
ffmpeg -f v4l2 -t 5 -framerate 25 -video_size 640x480 -i /dev/video0 output.mkv
andffmpeg -f v4l2 -t 5 -framerate 25 -video_size 640x480 -i /dev/video0 output.mp4

The video did show up in the folder, but it doesn't show video when opening.

edit : I fixed it now by changing the file type to .avi, but if anyone can still explain how to get .mkv or .mp4, let me know :)