
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (58)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (9222)
-
Setting the DTS of a video and audio packets
6 février 2021, par Pavelso I am struggling with concatenating 5s video segments into one .mp4 in python using the PyAV. The video segments are stored as BytesIO object(so I can store them in RAM). I loop through every packet in every segment, so naturally, their PTS and DTS are not unique and are repeating in every segment. Thus, I decided to set each packet's PTS/DTS to an ever incrementing value, so they are in the correct order.


def mux_to_file(self, output_file_name, vid):
 vid.seek(0) #BytesIO object
 video = av.open(vid, "r"). #av InputContainer
 output = av.open(output_file_name, "w") #av OutputContainer
 
 v_in = video.streams.video[0] #information about the stream (bit rate, res...)
 video_p = video.demux(v_in)
 output_video = output.add_stream(template=v_in)


 self.last_pts = 0
 self.step = 0
 for packet in video_p: #looping through every packet
 if packet.dts is None:
 continue

 packet.dts = self.last_pts #setting new pts and dts
 packet.pts = self.last_pts
 self.last_pts += packet.duration #old one+duration of the previous one

 packet.stream = output_video #assigns information of the new packet
 output.mux(packet) # muxing, her occurs the warning
 
 output.close()
 video.close()




The warning is as follows :


Found duplicated MOOV Atom. Skipped it
Found duplicated MOOV Atom. Skipped it
 (repeated 58 more times)
Found duplicated MOOV Atom. Skipped it
Found duplicated MOOV Atom. Skipped it
 (repeated 58 more times)
DTS 0 < 447000 out of order
DTS 0 < 447000 out of order
 (repeated 58 more times)



I would like to set the PTS/DTS of the packets so the warning would not occur. Of course, turning off the logging of av lib is an option,

av.logging.set_level(av.logging.PANIC)

however, I am looking for an more elegant and better solution. How could I set the the DTS to a correct value, and why is my solution still throwing errors ?

Thanks in advance.


-
I can't stream the 4K videos with HLS [closed]
26 juillet 2023, par sinnesloschenI'm experiencing difficulties in streaming 4K videos with HLS. I'm using Cloudflare R2 for video storage and streaming, and so far, there haven't been any issues. I've attempted streaming on various computers and phones, and it works fine on most devices. However, there is a problem with some phones that prevents 4K videos from opening. I tried many times, changed the line of code many times. I tried from many computers and phones but the result is the same.


Could you please provide some suggestions on how to fix this problem ?


FFMPEG code :
ffmpeg.exe -i "C:\Users\Administrator\Downloads\akame-ga-kill-1-1-2160-jp.mp4" -y -vf scale=3840:2160 -c:v libx264 -c:a aac -preset medium -crf 18 -f hls -hls_time 10 -start_number 1 -hls_list_size 0 -hls_playlist_type vod -hls_flags independent_segments -hls_segment_type mpegts -hls_base_url "https://pub-a12f06d0f6d04269a5f5c378d1a005ab.r2.dev/TS9" -hls_segment_filename "akame-ga-kill-1-1-2160-%d.ts" "akame-ga-kill-1-1-2160.m3u8"


M3U8 stream link : https://pub-a12f06d0f6d04269a5f5c378d1a005ab.r2.dev/TS8/mainplaylist.m3u8


-
ffmpeg how to concacenate 2 videos in alternating order every X seconds (blinking effect) [closed]
27 octobre 2020, par aj6I'd like to use ffmpeg to stitch together a video in the following manner : I'd like to take X number of frames or seconds from 2 (or more) videos, one by one, and output a new file composed of all frames of original videos, but in a new order (not concatenated one after the other, but rather by X frames or seconds).


To clarify - let's say there are 2 videos, each 1 minute long. I'd like to concatenate these 2 videos second by second (for example), using 1 second from the first video, then 1 second from the next video, with the resulting output, the 3rd file, being 2 minutes long and containing all the information from the original vids, but played back in a "blinking" manner - a second or X number of frames from each vid.


Just to be sure it's clear : Let's say I have 2 videos, 10 seconds each, I'd like them to be joined in the following manner : (1 second from vid#1), (1 second from vid#2), (1 second from vid#1), (1 second from vid#2) etc. until both files' end. (Assume the duration of both vids is same).


I understand how to do it if I need to simply concatenate files one after another, or even switch from one to the next a few times with an overlay, but I was unable to find ANYTHING about joining videos frame by frame or X number of seconds for the entire duration of the vid, only solutions for switching video overlay a couple of times, putting in time stamps by hand.


Any help is much appreciated. Thank you.