
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#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
Autres articles (20)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (5964)
-
ffmpeg play raw h264 stream, dts/pts problem
29 mars 2019, par LoganMiaI need to use ffmpeg to play the raw h264 stream, but there is no dts/pts inside, there is a timestamp
void h264_decode(void *h264_buffer, int buflen, double timestamp) {
...
AVStream * st = ic->streams[pkt->stream_index]; //video stream
double duration_s = av_q2d(st->time_base);
double duration = duration_s / av_q2d(st->time_base);
pkt_ts = pkt->dts = pkt->pts = frame_index * duration; // no B frame
...
}But the playback speed is too slow,
How can I use timestamp to set pts/dts correctly ?
Thanks . -
How play audio from a .mkv file from specific frame in python
31 juillet 2022, par ChaseRatliffI would like to know how I could go about playing audio from a .mkv file. I am trying to play video. I am using opencv to display the video and ffpyplayer to play the audio. I can set the frame I want to start playing at in opencv but not in ffplayer. Any ideas or suggestions would help a ton. Here is what I have came up with.


import cv2
from ffpyplayer.player import MediaPlayer

video_path=videoName

def PlayVideo(video_path):
 font = cv2.FONT_HERSHEY_SIMPLEX
 video=cv2.VideoCapture(video_path)

 video.set(cv2.CAP_PROP_POS_FRAMES, 7200)
 player = MediaPlayer(video_path)
 while True:
 font = cv2.FONT_HERSHEY_SIMPLEX
 grabbed, frame=video.read()
 audio_frame, val = player.get_frame()

 if not grabbed:
 print("End of video")
 break
 
 if cv2.waitKey(28) & 0xFF == ord("q"):
 break

 cv2.imshow("Video", frame)
 if val != 'eof' and audio_frame is not None:
 #audio
 img, t = audio_frame

video.release()
cv2.destroyAllWindows()

PlayVideo(video_path)



-
How to use ffmpeg to play ps stream ?
10 février 2018, par ZhangI use ffmpeg api to play media based on rtsp,but print log "Could not find codec parameters for stream 0 (Video : none, none) : unknown codec" . rtp payload is ps packet,how can I demux?
if (avformat_open_input(&avFormatCtx, pathUrl, NULL, NULL) != 0) {
NSLog(@"Open video file fail!!!");
return NO;
}
// Retrieve stream information
if (avformat_find_stream_info(avFormatCtx, NULL) < 0) {
NSLog(@"Retrieve stream information fail!!!");
return NO;
}
// Find the first video stream
videoStream = av_find_best_stream(avFormatCtx, AVMEDIA_TYPE_VIDEO, -1, -1, &avCodec, 0);
char *errstr = av_err2str(videoStream);