Recherche avancée

Médias (91)

Autres articles (103)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (13011)

  • 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 :

    


    ffmpeg -vsync 0 -hwaccel cuvid -i input.mkv -c:a aac -c:v h264_nvenc \
-c:s webvtt -crf 20 -filter_complex \
'[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]'  \
-map "[vout001]" -b:v:0 2000k -map "[vout002]" \
-b:v:1 6000k -map 0:v -map 0:a -map 0:s -map 0:v \ 
-map 0:a -map 0:s -var_stream_map 'v:0,a:0,s:0 v:1,a:1,s:1' \ 
-force_key_frames:v "expr:gte(t,n_forced*2.000)" -hls_time 6 -hls_playlist_type event -hls_flags \
delete_segments+independent_segments+discont_start+program_date_time \
-master_pl_name master.m3u8 -hls_segment_filename \
fire/segment_%v/file%06d.ts fire/stream_%v.m3u8


    


    Running this, I am getting the following error :

    


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


    


    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.

    


    I tried something more easy to understand here :

    


    ffmpeg -vsync 0 -hwaccel cuvid -i input.mkv -c:v h264_nvenc -filter_complex \
'[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]' \
-map "[vout001]" -b:v:0 2000k output1.mkv -map "[vout002]" -b:v:1 6000k output2.mkv


    


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

    


  • Diagonal split to show two positions of the same video frame. Landscape input, portrait output

    23 septembre 2020, par ajomajo

    I have a 16:9 video with two faces talking to eachother. I want to make a portrait video output (for smartphones viewport) where I show both faces in the same frame, split diagonally. Is this possible ? Like this : from [o o] to [%]

    


    I have used a filter .script-file earlier to fit one face into the frame, but now I'd like to fit both faces from the same scene, and preferably diagonally.

    


    The viewer will be able to see the two faces having a dialogue in a portrait aspect ratio, no matter how far away they are from eachother in the original landscape aspect ratio.

    


  • Revision f332c6305e : Renames interface field in VpxInterface Renames interface to codec_interface si

    16 juillet 2014, par Deb Mukherjee

    Changed Paths :
     Modify /examples/decode_to_md5.c


     Modify /examples/decode_with_drops.c


     Modify /examples/postproc.c


     Modify /examples/set_maps.c


     Modify /examples/simple_decoder.c


     Modify /examples/simple_encoder.c


     Modify /examples/twopass_encoder.c


     Modify /examples/vp8cx_set_ref.c


     Modify /examples/vpx_temporal_svc_encoder.c


     Modify /tools_common.h


     Modify /vpxdec.c


     Modify /vpxenc.c



    Renames interface field in VpxInterface

    Renames interface to codec_interface since it is a reserved
    word on windows.

    Change-Id : I84f2cbf257a4c44f16dc2464127e35ee405c2c3e