
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (62)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (6311)
-
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.


-
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


-
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.