
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (110)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (7852)
-
How can I extract the metadata and bitrate info from a audio/video file in python
4 janvier 2015, par Fight Fire With FireWhat I would like to do is get the metadata from audio or video files and save it to a database record, so far the only way to do this seems to save AVCONV/FFMPEG to a file using a subprocess.Open call then read that file, is there any libraries that can do this to save some steps ? I couldn’t find a way to do it with Pydub or PySox. Here is my simplistic hamfisted beginner code I used that does work and puts the bitrate, duration, etc info into a variable audio_info and the metadata into metadata. OGG output worked differently than the other formats i tested (which was a ton of video and audio !).
try:
p = subprocess.Popen(["avconv" , "-i" , music_file], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
retcode = p.wait()
except IOError,e:
pass
extension = uploaded_music_file[-3:]
if "ogg" not in [err , extension]:
if "Metadata:" in err:
list = err.split("Metadata:")
holder = list[1].split("Duration:")
metadata = holder[0]
audio_info = holder[1].replace("At least one output file must be specified","")
print metadata
print audio_info
else:
list = err.split("Duration:")
audio_info = list[1].replace("At least one output file must be specified","")
print "No Metadata"
print audio_info
else:
list = err.split("Duration:")
if "Metadata:" in list[1]:
data = list[1].split("Metadata:")
metadata = data[1].replace("At least one output file must be specified","")
audio_info = data[0]
print metadata
print audio_info
else:
audio_info = list[1].replace("At least one output file must be specified","")
print "No Metadata"
print audio_info
if (audio_info):
print "AUDIO INFO:"
cursor.execute("UPDATE songDB SET audio_info = %s WHERE id = %s" ,[ audio_info , song_id ] )
if (metadata):
print "METADATA:"
cursor.execute("songDB pack_song SET metadata = %s WHERE id = %s" ,[ metadata , song_id ] ) -
avformat/hlsenc : free variant streams after write all variant streams info
22 décembre 2018, par Steven Liu -
Extract keyframe info and byte offset from video ffmpeg/ffprobe
4 juin 2020, par Ali HasanHow can I retrieve each keyframe information from the video using ffmpeg/ffprobe.



I have read a lot stackoverflow questions and answers regarding this but the command only returns the keyframe duration.



I have used this command to extract the keyframe duration



ffprobe -loglevel error -skip_frame nokey -select_streams v:0 -show_entries frame=pkt_pts_time -of csv "/var/www/html/YoutubeTesting/1080p.mp4"




But the info which I need from each keyframe are



1- Byte offset from video byte size



2- Duration of keyframe



Thanks !