
Recherche avancée
Autres articles (101)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (7643)
-
FFMPEG Invalid Option [duplicate]
16 août 2022, par misteralexanderPer the suggestion from mklement0 I have shortened the output here to just the relevant code and error. Additionally, as he pointed out, I have changed how I am constructing the arguments (now passing as an array).


Additionally, the comment from kesh, I removed the "-filter_complex" and changed to just several "-map" 's.


$TEMPDIR = "E:\MediaConversions\BitLadder"
$FOLDER = 'White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO'
$OUTPUTDIR = $TEMPDIR + '\' + $FOLDER

# Mux the 8 Bitrate Ladder steps into a single file, with a common audio stream
$STEPS = @(Get-ChildItem -Path $OUTPUTDIR -Name)
$INPUT_FILES = @()
$MAP = @()
$COUNT = 0
ForEach ($STEP in $STEPS){
 $INPUT_FILES += ('-i', "$STEP")
 $MAP += ('-map ' + "$COUNT" + ':v', '-map ' + "$COUNT" + ':a') 
 $COUNT++
}

$OPTIONS = ('-' + "$INPUT_FILES", "$MAP")
#$OPTIONS
D:\Applications\ffmpeg\bin\ffmpeg.exe "$OPTIONS" -f matroska "E:\MediaConversions\White.Boy.Rick.2018_MultiStreamTest_AAC.H264.mkv"



But Sadly, I still get the same frustrating error :


Unrecognized option '-i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP1.mp4 -i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP2.mp4 -i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP3.mp4 -i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP4.mp4 -i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP5.mp4 -i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP6.mp4 -i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP7.mp4 -i White.Boy.Rick.2018.1080p.WEB-DL.H264.AC3-EVO_STEP8.mp4 -map 0:v -map 0:a -map 1:v -map 1:a -map 2:v -map 2:a -map 3:v -map 3:a -map 4:v -map 4:a -map 5:v -map 5:a -map 6:v 
-map 6:a -map 7:v -map 7:a'.
Error splitting the argument list: Option not found



-
swr : move compensation_distance handling to swri_resample caller.
27 mai 2014, par Ronald S. Bultjeswr : move compensation_distance handling to swri_resample caller.
I think there’s an off-by-one in terms of the switchpoint where we
switch from dst_incr to ideal_dst_incr, I don’t think that’s a massive
issue, but just be aware of that. It’s probably trivial to prevent but
I don’t care.Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
I could not reproduce any off by 1 error, results are bit exact (michael)
-
How to use ffmpeg to upscale video resolution with libplacebo ?
30 juillet 2023, par IronboxIn Vapoursynth, it is convenient to download and use plugins to change the frame rate of videos. However, it seems that using FFmpeg has more limitations (or maybe I haven't found the right method). Anime4K is a video enhancement algorithm suitable for anime and similar videos. In MPV, their plugins can be imported and used for real-time frame rate conversion.


In FFmpeg, how can I use the algorithms in glsl files to change the video frame rate, instead of using FFmpeg's built-in algorithms ?


In FFmpeg, i can use libplacebo filters can also be used to apply GLSL shaders. In my tests, using command like :


libplacebo=custom_shader_path=Anime4K_Upscale_CNN_x2_VL.glsl



this leads to noticeable GPU usage, but the output video resolution remains the same as the original.


I can pass in the w and h parameters when calling the libplacebo filter :


libplacebo=w=iw*2:h=ih*2:custom_shader_path=shaders/Anime4K_Upscale_CNN_x2_VL.glsl



This achieves the purpose of super resolution, but is it essentially using anime4k for upscaling behind the processing ?
Is it using the upscaling algorithm in libplacebo first, before applying anime4k ? How can I achieve my original goal that only use anime4k to upscale ?
here's my full command (in python) :


[
 'ffmpeg -hide_banner',
 '-hwaccel', 'cuda',
 '-i', '"{input_ab_path}"',
 '-filter_complex',
 '"[0:v]libplacebo=custom_shader_path=libplacebo=custom_shader_path=shaders/Anime4K_Upscale_CNN_x2_VL.glsl,subtitles="{sub_file}":si=0[out]"',
 '-map', '0:a',
 '-map', '"[out]"',
 '-c:v', 'libsvtav1',
 '-svtav1-params', 'scm=2:scd=1:enable-overlays=1:enable-tf=0:tune=0:preset=7:crf=18',
 '-c:a', 'libvorbis',
 '-qscale:a', '10',
 '-pix_fmt', 'yuv420p10le',
 '-y', '"{output_ab_path}"'
]