Recherche avancée

Médias (91)

Autres articles (59)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (4081)

  • Socket code Python code at the end influences code in the beginning

    21 décembre 2019, par Samy Smart

    So basically i am trying to do the following things : Client sends project file, Server receives Project file, Server generates Video file, Server sends video File, Client receives Video File. Everything works up until sending the Video back. The Thing is when i include my code for sending the Video, not even the Things that worked before work anymore.
    The commented code in the code is the code that should send the Video back

    Client :

    import socket

    s = socket.socket()
    ip = socket.gethostname()
    file = "testae.aep"
    s.connect((ip, 1234))

    f = open(file, "rb")
    txt = f.read(1024)
    while txt:
       s.send(txt)
       print(f"Sending... {txt}")
       txt = f.read(1024)
    f.close()
    #f2 = open("final_output.mp4", "wb")
    #txt2 = s.recv(1024)
    #while txt2:
    #    f2.write(txt2)
    #    txt2 = s.recv(1024)
    #f2.close()
    print("received final output")
    s.close()

    Server :

    import os
    import socket

    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.bind((socket.gethostname(), 1234))
    counter = 0
    s.listen(5)
    aerpath = "C:/aerender.lnk"
    ffmpegpath = '"C:/Program Files/ffmpeg/bin/ffmpeg.exe"'

    while True:
       c, addr = s.accept()
       print("Client Connected")
       print(addr)
       f = open(f"ae_render_file{counter}.aep", "wb")
       txt = c.recv(1024)
       while txt:
           f.write(txt)
           print(f"Receiving... {txt}")
           txt = c.recv(1024)
       print("Out of WHILE")
       f.close()
       print("received file")
       os.system(aerpath + " -project " + f"C:/Users/weilu/PycharmProjects/localAERF/ae_render_file{counter}.aep "
                 + '-comp "Comp 1" ' + f"-output C:/Users/weilu/PycharmProjects/localAERF/output/output{counter}")
       os.system(ffmpegpath + " -i " + f"output/output{counter}.avi -f mp4 -vcodec libx264 -preset slow -profile:v main "
                                       f"-pix_fmt yuv420p -acodec aac -hide_banner output/outputr{counter}.mp4")
       #f2 = open(f"output/outputr{counter}.mp4","rb")
       #txt2 = f2.read(1024)
       #while txt2:
       #    c.send(txt2)
       #    print("Sending...")
       #    txt2 = f.read(1024)
       #f2.close()
       c.close()
       counter += 1
  • Revision 9068bce4e7 : Put iterative motion search under speed control Enable iterative motion search

    3 juin 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c



    Put iterative motion search under speed control

    Enable iterative motion search for compound inter-inter prediction
    of block sizes 4x4/4x8/8x4 only when best coding quality is selected.
    The iterative motion search provides about 0.1% gains for derf and
    stdhd at this point, at the expense of longer runtime.

    Change-Id : Idc03e7f827e51f1bb8d269bc3752ee297a6bbfe5

  • problem with creating a robot voice with flutterFFmpeg

    28 février 2021, par Sadiq Samaila

    so here is the code I ran

    


                          String commandToExecute =
                      "-i $aud -filter_complex 'afftfilt=real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75' " +
                          outputPath;
   
                  _flutterFFmpeg.execute(commandToExecute).then((rc) => print(
                      "FFmpeg process exited with rc $rc $appDocumentDir"));


    


    and I got this error

    


    E/mobile-ffmpeg( 5493): [AVFilterGraph @ 0x7ce619159800] No such filter: 'im)*sin(0):imag'
E/mobile-ffmpeg( 5493): Error initializing complex filters.
E/mobile-ffmpeg( 5493): Invalid argument
D/flutter-ffmpeg( 5493): FFmpeg exited with rc: 1


    


    I tried changing all single quote(') to double quote(") in the command but it did not work.