Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (57)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7547)

  • ffmpeg combine audio mix code into complex concate script

    15 mai 2020, par sisterbrother

    I got currently 2 different ffmpeg scripts which I want to combine. I do not have good ffmpeg experience and those codes are mostly googel code so please be patient with me

    



    The first code is concating 3 videos :

    



    ffmpeg -y -i "$vid1" -i "$fp" -i "$vid1" -filter_complex \
"[0:v]scale=$cResolution:force_original_aspect_ratio=decrease,pad=$cResolution:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,format=yuv420p[v0]; \
 [1:v]scale=$cResolution:force_original_aspect_ratio=decrease,pad=$cResolution:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,format=yuv420p[v1]; \
 [2:v]scale=$cResolution:force_original_aspect_ratio=decrease,pad=$cResolution:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,format=yuv420p[v2]; \
 [0:a]aformat=sample_rates=48000:channel_layouts=stereo[a0]; \
 [1:a]aformat=sample_rates=48000:channel_layouts=stereo[a1]; \
 [2:a]aformat=sample_rates=48000:channel_layouts=stereo[a2]; \
 [v0][a0][v1][a1][v2][a2]concat=n=3:v=1:a=1[v][a]; \
 [v]drawtext=text='example..':y=h-line_h-$h3:x=w/30*mod(t\,20):enable='gt(mod(t,$dr2),$Introdr_rounded)'[v]; \
 [v]drawtext=text='example..':y=h-line_h-$hcentral:x=w/20*mod(t\,100):enable='gt(mod(t,$dr2),$Introdr_rounded)'[v]; \
 [v]drawtext=text='example..':y=h-line_h-23:x=w/30*mod(t\,20):enable='gt(mod(t,$dr2),$Introdr_rounded)'[v]" \
 -map "[v]" -map "[a]" -c:v libx264 -crf 22 -preset veryfast -c:a aac -movflags +faststart "$fp_dest"


    



    The second code is overlay a background mp3 in endless loop to the created video from above. Its important to know that this code does overlap the audio of the video and does not replace it. In future I will lower the volume of the mp3 files to work as background music

    



    ffmpeg -y -i "$fp_dest" -filter_complex "amovie=$audio:loop=0,asetpts=N/SR/TB[aud];[0:a][aud]amix[a]" -map 0:v -map '[a]' -c:v copy -c:a aac -b:a 256k -shortest ./test.mp4



    



    So currently I got 2 steps which I want to combine into 1 step. Can you please help me to include the second code into the first one without change any logic of the code ?

    


  • FFMPEG : How i can transcode MP3 to HLS executing ffmpeg in differents time interval of input video ?

    1er mars 2020, par Ezequiel

    The objetive is take an input mp3 and transcoding to HLS in differents servers. I was think in take differents intervals of time, on this way example :

    Server 1
    ffmpeg -i input.mp4 -c copy -hls_list_size 0 -ss 00:00:00 -t 00:00:10 video.m3u8

    Server 2
    ffmpeg -i input.mp4 -c copy -hls_list_size 0 -ss 00:00:10 -t 00:00:10 video.m3u8

    Server 3
    ffmpeg -i input.mp4 -c copy -hls_list_size 0 -ss 00:00:20 -t 00:00:10 video.m3u8

    This generate this files :

    Server 1 :
    video.m3u8
    video0.ts
    video1.ts

    Server 2 :
    video.m3u8
    video0.ts
    video1.ts

    Server 3 :
    video.m3u8
    video0.ts
    video1.ts

    If i join the 6 .ts files (and modify the first m3u8 to contain all files, and rename of consecutive nameing the TS files) and play the video, VLC crash in joint point (at 10 seconds).

    There are another way to perform this ? Maybe if not cut by time... i dont know...
    Thank you very much.

  • Anomalie #4468 : CSS colonne gauche du privé

    4 avril 2020, par nicod _

    Je ne suis pas expert UI/UX, mais pour les icônes, je trouve qu’un symbole simple (une croix ou un plus) est plus lisible quand il est contenu dans une forme, il se distingue mieux du texte.
    Au passage ce crayon n’est pas hyper lisible non plus à première vue, mais j’ai pas mieux.

    Au cas où, ci joint l’icone "del" en bonne résolution.