Recherche avancée

Médias (91)

Autres articles (102)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (9162)

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

    


  • FFMPEG split and crossfade both video AND audio from a single file for a seamless loop

    5 avril 2021, par Ricky

    Is there a way to split and crossfade both video AND audio from a single file for a seamless loop using FFMPEG ?

    


    I've been able to get it to work with only video and only audio, but not both synced together.

    


  • avcodec/v4l2_buffers : split out AVFrame generation into helper method

    27 août 2019, par Aman Gupta
    avcodec/v4l2_buffers : split out AVFrame generation into helper method
    

    Signed-off-by : Aman Gupta <aman@tmm1.net>

    • [DH] libavcodec/v4l2_buffers.c