
Recherche avancée
Autres articles (70)
-
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 ;
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (8426)
-
nested loop in bash shell
17 juin 2015, par Tareq SuheimatI want to stream video using ffserver and then receive and download it using ffmpeg but first I want to add some noise to the link using netem and the wanted noise will be Bit error,so for the transmitter side there’s no problem the problem is at the receiver side
so the first loop must contain the percentage numbers of the bit error like 0.2 0.4 0.6 0.8 and do the following command :tc qdisc change dev eth0 root netem corrupt 0.1%
then for each one of the bit error values must repeat it for 10 times and for each try I must download the received video using the following command :
ffmpeg -i rtsp://localhost:7654/test1-rtsp.mpg -acodec copy -vcodec copy output.mp4
so later I end up with too many videos to compare them later.
please people help me it’s urgent !!!
tell now I have this scratched code but I don’t know how to compile it together
for i in {0.2 0.4 0.6 0.8}
do
tc qdisc change dev eth0 root netem corrupt ${i}%
#(must repeat for each i the ffmpeg download command 10 times)
#The download command
for x in {1..N}
do
ffmpeg -i rtsp://localhost:7654/test-rtsp.mpg -acodec copy -vcodec copy tested${x}.mp4
done -
dowload video with csv file using youtube-dl and ffmpeg but ffmpeg not working
30 juin 2020, par Rupendra Singh Rathoredef start(self, newfile=None, part=None):
 ydl_opts = {}
 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 while True:
 videos = self.get_videos()
 print('{} videos to go'.format(len(videos))) # print no. of video remaining
 video = get_first_item(videos) # get next video for downloading
 print(video)
 if video is None: # check if video is there or not
 break

 c = f'ffmpeg $(youtube - dl - g {ydl.download([video])} | sed "s/.*/-ss 00:05 -i &/") - t 1: 00 - c copy out.mkv'

 videos.remove(video) # remove video from list
 self.save_file(videos) # save updated list to file

 print('All downloaded')



c = f'ffmpeg $(youtube - dl - g ydl.download([video]) | sed "s/.*/-ss 00:05 -i &/") - t 1 : 00 - c copy out.mkv


how to download video with duration. i using youtube_dl and ffmpeg in python funtion.please check my script and suggest me.. thank you


-
FFmpeg downloading files in bad resolution
13 juillet 2023, par Łukasz KwiecińskiGood morning. I'm having a really weird issue. I'm downloading a
.m3u8
file with ffmpeg, and it downloads without any issues (without the audio, but that's no issue). The problem is that the quality is really bad ; the website shows me a completely different resolution, something around 1920x1080, but when I download the video, the resolution is 640x360.

This is the command I used to download the file :


ffmpeg -i -c copy output.mp4