
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (94)
-
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 ;
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (15854)
-
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.