Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (111)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (...)

Sur d’autres sites (18173)

  • Double subtitles when hardcoding from .mkv container

    4 novembre 2022, par Goran Hinic

    I'm trying to hardcode subtitles into a file that's in .mkv container, using one of the subtitle strams from the container. I want subtitles to have a black background on them. I'm also trying to keep 10bit encoding and preserve high quiality. Result is ok, except that all subtitles are doubled. So there is a layer of good subtitles in white on black background, and also, half of the font size down, same subtitles in black. Can someone point out the issue with my command ?
Thank you.

    


    Ran this command :

    


    


    ffmpeg -i movie.mkv -vf "subtitles=movie.mkv:si=0:force_style='OutlineColour=&000000000,BorderStyle=3,Outline=3,Shadow=0,MarginV=20'" -c:v libx265 -crf 23 -preset slow -x265-params profile=main10 -c:a copy movie_subs.mkv

    


    


    Expected : White subtitles on black background
Actual : White subtitles on black background with black subtitles half font size down

    


  • swscale/aarch64 : dotprod implementation of rgba32_to_Y

    3 mars, par Krzysztof Pyrkosz
    swscale/aarch64 : dotprod implementation of rgba32_to_Y
    

    The idea is to split the 16 bit coefficients into lower and upper half,
    invoke udot for the lower half, shift by 8, and follow by udot for the
    upper half.

    Benchmark on A78 :
    bgra_to_y_128_c : 682.0 ( 1.00x)
    bgra_to_y_128_neon : 181.2 ( 3.76x)
    bgra_to_y_128_dotprod : 117.8 ( 5.79x)
    bgra_to_y_1080_c : 5742.5 ( 1.00x)
    bgra_to_y_1080_neon : 1472.5 ( 3.90x)
    bgra_to_y_1080_dotprod : 906.5 ( 6.33x)
    bgra_to_y_1920_c : 10194.0 ( 1.00x)
    bgra_to_y_1920_neon : 2589.8 ( 3.94x)
    bgra_to_y_1920_dotprod : 1573.8 ( 6.48x)

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libswscale/aarch64/input.S
    • [DH] libswscale/aarch64/swscale.c
  • How to split and scale streams in ffmpeg with cuda ?

    30 décembre 2020, par Samyak

    So, I want to create streams of multiple resolutions for hls streaming. Here's what I've tried so far :

    &#xA;

    ffmpeg -vsync 0 -hwaccel cuvid -i input.mkv -c:a aac -c:v h264_nvenc \&#xA;-c:s webvtt -crf 20 -filter_complex \&#xA;&#x27;[v:0]hwupload_cuda,split=2[vtemp001][vout002]:[vtemp001]hwupload_cuda,scale_npp=w=960:h=540:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p[vout001]&#x27;  \&#xA;-map "[vout001]" -b:v:0 2000k -map "[vout002]" \&#xA;-b:v:1 6000k -map 0:v -map 0:a -map 0:s -map 0:v \ &#xA;-map 0:a -map 0:s -var_stream_map &#x27;v:0,a:0,s:0 v:1,a:1,s:1&#x27; \ &#xA;-force_key_frames:v "expr:gte(t,n_forced*2.000)" -hls_time 6 -hls_playlist_type event -hls_flags \&#xA;delete_segments&#x2B;independent_segments&#x2B;discont_start&#x2B;program_date_time \&#xA;-master_pl_name master.m3u8 -hls_segment_filename \&#xA;fire/segment_%v/file%06d.ts fire/stream_%v.m3u8&#xA;

    &#xA;

    Running this, I am getting the following error :

    &#xA;

    Impossible to convert between the formats supported by the filter &#xA;&#x27;graph 0 input from stream 0:0&#x27; and the filter &#x27;auto_scaler_0&#x27;&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Function not implemented&#xA;Error while processing the decoded data for stream #0:0&#xA;

    &#xA;

    When I do the same thing without gpu, I am getting an out of memory error which to me sounds like I can't do this without a gpu (i.e I have to run separate ffmpeg commands to get this to run on the CPU). Would love to know if anyone has any insights or suggestions.

    &#xA;

    I tried something more easy to understand here :

    &#xA;

    ffmpeg -vsync 0 -hwaccel cuvid -i input.mkv -c:v h264_nvenc -filter_complex \&#xA;&#x27;[v:0]hwupload_cuda,split=2[vtemp001][vout002];[vtemp001]hwupload_cuda,scale_npp=w=960:h=540:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p[vout001]&#x27; \&#xA;-map "[vout001]" -b:v:0 2000k output1.mkv -map "[vout002]" -b:v:1 6000k output2.mkv&#xA;

    &#xA;

    The above gives the same error which to me suggests that the issue is with the filter complex.

    &#xA;