
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (111)
-
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (3851)
-
Understanding ffmpeg -benchmark results
6 septembre 2022, par Ivy GrowingAdding
-benchmark
flag toffmpeg
command resutls with addition of following 2 lines in the shell output :

bench: utime=10.125s stime=4.234s rtime=5.606s
bench: maxrss=110080kB



The
maxrss
serves to indicate the maximum RAM used during theffmpeg
execution. Theutime
,stime
,rtime
indicate accordingly :

- 

- user time ;
- system time ;
- real time.








I tried to understand the meaning of these times from the source code and failed. Please, help.


- 

- Which of these times indicate how much time was human waiting while the ffpmeg was processing the video ?
- Can this time be seen directly or it's a combination/calculation of these 3 parameters ?
- How it can be for certain videos
utime > rtime
and for othersutime < rtime
?








-
FFmpeg error while converting from MP4 to MP3 in Python
4 février 2024, par Jack142When I try to convert videos from a YouTube playlist, it gives me an error :




File "C :\Users\fonti\AppData\Local\Programs\Python\Python310\lib\site-packages\ffmpy.py", line 106, in run
raise FFRuntimeError(self.cmd, self.process.returncode, out[0], out[1])
ffmpy.FFRuntimeError :
C:/ffmpeg/bin/ffmpeg.exe -i "Nightcore - To Be Human // lyrics.mp4" "Nightcore - To Be Human // lyrics.mp3"
exited with status 1



The code I'm using :


from pytube import Playlist
import ffmpy
from ffmpy import FFmpeg

playlistLink = input("Introduz o link da Playlist: ")
playlist = Playlist(playlistLink) 

diretório = 'E'
while diretório != 'M' and diretório != 'V':
 diretório = input("Vais baixar música ou vídeos? (M/V)")
 if diretório == 'M':
 downloadDirectory = "C:/Users/fonti/Documents/Projetos Python/Youtube/Músicas"
 elif diretório == 'V':
 downloadDirectory = "C:/Users/fonti/Documents/Projetos Python/Youtube/Vídeos"

print("Número total de vídeos a baixar: ", len(playlist.video_urls)) 

print("\n\n Links dos vídeos:\n")

for url in playlist.video_urls:
 print(url) 

def MP3():
 for video in playlist.videos:

 audio = video.streams.get_audio_only()
 
 audio.download(downloadDirectory)

 videoTitle = video.title
 
 new_filename = videoTitle + '.mp3'
 default_filename = videoTitle + '.mp4'
 
 print(default_filename+'\n\n'+new_filename)

 ff = ffmpy.FFmpeg(
 executable = 'C:/ffmpeg/bin/ffmpeg.exe',
 inputs={default_filename : None},
 outputs={new_filename : None}
 )
 ff.run()


def MP4():
 for video in playlist.videos:
 print('Downloading : {} with url : {}'.format(video.title, video.watch_url))
 video.streams.\
 filter(type='video', progressive=True, file_extension='mp4').\
 order_by('resolution').\
 desc().\
 first().\
 download(downloadDirectory)

escolha = 'E'
while escolha != 'V' and escolha != 'A':
 escolha = input("Queres formato de vídeo ou áudio (V/A)? ")
 if escolha == 'V':
 MP4()
 elif escolha == 'A':
 MP3()
 else:
 print("Escolha inválida")



If I try to download the videos from the playlist, it works fine. But when I try to download the audios, it gives me the error.


-
Why does FFmpeg encode by default ?
2 décembre 2022, par Hashim AzizBy default the following unpresuming FFmpeg command :


ffmpeg -i "input.mp4" "output.mkv"



...will lossily encode a file unless it has the
-c copy
flag added, which will then pass the video through without any encoding. I remember not realising this as a beginner to FFmpeg years ago and being surprised when I found out, and ever since then it's something I've wondered about but not got around to asking.

The main justification for this behaviour that comes to mind for me is that encoding is a much more common operation, and it might be annoying to have to pass an extra
-encode
flag for most uses.

Was this ever one of the reasons cited for this design decision ? Has the issue ever even been discussed in the FFmpeg mailing lists, or has it remained unquestioned since being written during the days of Fabrice Bellard ?