Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (5857)

  • How to add overlay video with opacity and run in loop using ffmpeg-python ?

    30 juillet 2021, par kup

    I am trying the below code :

    


    in0 = ffmpeg.input('left.mkv')
in1 = ffmpeg.input('right.mkv')
aout = ffmpeg.filter([in0.audio, in1.audio.filter('adelay', "5000|5000")],'amix')
vout = ffmpeg.filter([inv0.video, inv1.video.filter('tpad', start_duration=5, start_mode='add', color='black')], 'hstack')

overlay_file = ffmpeg.input(overlay).filter('scale', 1280, 720, force_original_aspect_ratio='decrease')
vout = vout.overlay(overlay_file, x=0, y=0)


(
    ffmpeg
    .concat(vout, aout, v=1, a=1)
    .output("out.mkv")
    .run()
)


    


    But the overlay does not appear to be at top left (0,0) instead it is at top left of the stacked video which is somewhat at (0, 260). Is it possible to make the overlay video to cover full screen and with opacity to run in loop.

    


  • How to create side by side horizontally stacked video with delay in video and audio using ffmpeg-python ?

    29 juillet 2021, par kup

    I am trying to create a video from two videos that will be stacked horizontally but the resulting video is not what i expected. The same video is appearing on both side (left & right). So wondering how that can be achieved ?

    


    The ffmpeg command i tried, which kinda worked :

    


    ffmpeg -i left.mp4 -i right.mp4 -filter_complex "
[0:v]setpts=PTS-STARTPTS[l]; 
[1:v]setpts=PTS-STARTPTS,tpad=start_duration=14:start_mode=add:color=black[r]; 
[l][r]hstack=inputs=2[stacked]; [0:a][1:a]amix=inputs=2[a]
" -map "[stacked]" -map "[a]" -c:a aac -preset superfast result.mp4


    


    ffmpeg-python script that's not working :

    


    in0 = ffmpeg.input('0.mp4')
in1 = ffmpeg.input('right.mkv')
aout = ffmpeg.filter([in0.audio, in1.audio.filter('adelay', "5000|5000")],'amix')
vout = ffmpeg.filter([inv0.video, inv1.video.filter('tpad', start_duration=5, start_mode='add', color='black')], 'hstack')

(
    ffmpeg
    .concat(vout, aout, v=1, a=1)
    .output("out.mkv")
    .run()
)


    


    This script not resulting in the expected output which two videos side-by-side horizontally stacked.

    


  • How to decode Byte string from continous video frames in python

    15 juillet 2021, par fresch man

    i am trying to get PNG from a video stream. first i connect the server during socket, and i recieve presistent byte string. however when i use Pickel ,i get a Error,that is UnpicklingError : invalid load key, '\x10.

    


    i surpose that ,if i should first do someting to the bytestring before i use pickel.or i should use another methode

    


    i have already search in the internet, but all the answers are , open locally video and so ..but my byte string are acctully presistent RAW video frames(yuv420) during tcp transport.

    


    `import socket,os,struct,numpy,pickle
TCP_IP = '192.168.0.90'
TCP_PORT = 5000
BUFFER_SIZE =1024
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
while True :
        data = s.recv(BUFFER_SIZE)
        data = pickle.loads(data) `


    


    thank you