
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (62)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)
Sur d’autres sites (7232)
-
Use ffmpeg to downscale, tonemap, downmix and re encode mkv
1er février 2021, par nikartzI try to use ffmpeg to downscale a 4k and tonemap a 4k HDR mkv to a 1080p SDR mkv with this code :


ffmpeg -i "Input.mkv" -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v hevc_nvenc -b:v 12M -preset slow "Output.mkv"



The problem is, that only the first audio track (of four) is copied to the new mkv and the subtitle tracks are missing :


Input :


Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Stream #0:1(ger): Audio: eac3, 48000 Hz, 7.1, fltp (default)
Stream #0:2(ger): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s16p
Stream #0:3(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit)
Stream #0:4(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Stream #0:5(ger): Subtitle: subrip (default) (forced)
Stream #0:6(ger): Subtitle: dvd_subtitle, 1920x1080 (forced)
Stream #0:7(ger): Subtitle: hdmv_pgs_subtitle, 1920x1080 (forced)
Stream #0:8(ger): Subtitle: dvd_subtitle, 1920x1080
Stream #0:9(ger): Subtitle: hdmv_pgs_subtitle
Stream #0:10(eng): Subtitle: dvd_subtitle, 1920x1080
Stream #0:11(eng): Subtitle: hdmv_pgs_subtitle



Output :


Stream #0:0: Video: hevc (Main), yuv420p(tv), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Stream #0:1(ger): Audio: vorbis, 48000 Hz, 7.1, fltp (default)
Stream #0:2(ger): Subtitle: ass (default) (forced)



I would like to have an mkv as output converts all the audio tracks to aac Stereo (but keeps all four of them), copies the subtitle tracks and tonemaps/downscales the video track.


I have tried to use the
-map 0
or-map 0:a:0 -map 0:a:1 ...
commands (and some similiar to those, however I seemingly end up with either one audio track, no video track or a video track that is just copied.

I possible, I would also like to use nvenc with a high quality preset, which is the reason for
-c:v hevc_nvenc -b:v 12M -preset slow
in my command, however I have no idea, if this is done right, since the ouput mkv also as a 4k video track instead of a 1080p. Maybe this is caused by the-c:v
because it overrides-vf
? Sorry, I am feeling dumb and am just getting started with ffmpeg.

There is so much information about ffmpeg out there, but it is either too complicated for me, or not answering my questions.


Thanks for your help !


-
FFMPEG Conversion Command Produces 360p Video from Picture Input ?
22 janvier 2021, par Sarah SzaboI'm trying to generate a high quality video of the timelapse of the night sky (+stars) that I did last night, but the output video is 360p an missing a lot of detail.


My Fuji X-T200 usually offers a 4K video of the images that it took, but i opted to assemble the images manually so that I wouldn't take up valuable SD card space.


Here is the command :

ffmpeg -framerate 24 -pattern_type glob -i '*.png' -c:v libx265 -r 30 -pix_fmt yuv420p Starlapse.mp4


What command should I use to best assemble the videos in 1080p or 4K ?


EDIT 0 :
Output Video : https://www.youtube.com/watch?v=xbYI98fctrw&feature=youtu.be




-
Python ffmpeg won't accept path, why ?
16 février, par Messaoud dhiaeverytime i launch the code and set the correct path it gives me this error, I tried including ffmpeg path, uninstalling and installing the library back but no luck. I've also tried using diffrent ways to set the path like putting it directly without saving it to a variable, this is getting me crazy please help me with a solution .



Code




from pytube import *
import ffmpeg

global str
userurl = (input("Enter a youtube video URL : "))
q = str(input("Which quality you want ? 360p,480p,720p,1080p,4K,Flh :")).lower()
yt = YouTube(userurl)
print ("Title of the video : ",yt.title)


def hd1080p():
 print("Downloading a HD 1080p video...")
 v = yt.streams.filter(mime_type="video/mp4", res="1080p", adaptive = True).first().download(filename = "HD1080P.mp4")
 print("Video downloaded")
 yt.streams.filter(mime_type="audio")
 a = yt.streams.get_audio_only()
 print("Downloading audio")
 a.download(filename = "audio.mp4")
 print("audio downloaded")
 input_video = ffmpeg.input("HD1080P.mp4")
 added_audio = ffmpeg.input("audio.mp4").audio.filter('adelay', "1500|1500")

 merged_audio = ffmpeg.filter([input_video.audio, added_audio], 'amix')

 (
 ffmpeg
 .concat(input_video, merged_audio, v=1, a=1)
 .output("mix_delayed_audio.mp4")
 .run(overwrite_output=True)
 )
 

if q == "1080" or q == "1080p":
 hd1080p()
elif q == "720" or q == "720p":
 hd720p()
elif q == "480" or q == "480p":
 l480p()
elif q == "360" or q == "360p":
 l360p()
elif q == "4" or q == "4k":
 hd4k()
else:
 print("invalid choice")




THE ERROR




Traceback (most recent call last):
 File "c:\Users\messa\Desktop\upcoming project\videodownloader.py", line 65, in <module>
 hd1080p()
 File "c:\Users\messa\Desktop\upcoming project\videodownloader.py", line 26, in hd1080p
 ffmpeg
 File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 313, in run
 process = run_async(
 File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 284, in run_async
 return subprocess.Popen(
 File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,
 File "E:\Users\messa\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
</module>