Recherche avancée

Médias (91)

Autres articles (54)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (8424)

  • Revision 2dc7f506d4 : Merge "Fix a problem of using an uninitialized parameter"

    30 mai 2014, par Yaowu Xu

    Merge "Fix a problem of using an uninitialized parameter"

  • problem with "subprocess.Popen" AFTER make .exe file

    1er février 2020, par afcc0060

    im try to convert mp3 to mp4 with ffmpeg (command line)
    everything is well and program runs correctly.
    i have one progressbar and handle it from this function by reading ffmpeg command line output

    cls_wnd.pbar_step(line.lower())

    but after make (single) .exe file with pyinstaller program not run and did not convert anything

           def _cli(self ,cls_wnd ,cmd):
               errors = False
               cmd_output=""

               line=''
               try:
                       p = subprocess.Popen(cmd ,stdout=subprocess.PIPE ,
                                                 stderr=subprocess.STDOUT ,
                                                 universal_newlines=True ,
                                                 shell=False ,
                                                 creationflags = subprocess.CREATE_NO_WINDOW)

                       for line in p.stdout:
                               if cls_wnd.bt02.cget('text').lower()!="cancel":
                                       p.kill()
                                       return cmd_output, True ,'cancel'
                               cmd_output+=line
                               if line.lower().find('duration:')>-1 or line.lower().find('frame=')<1:
                                       cls_wnd.pbar_step(line.lower())
                               cls_wnd.root.update()

                       stdoutdata, stderrdata = p.communicate()
                       if p.wait() != 0:
                               p.kill()
                               return cmd_output, True ,line
                       p.kill()
                       return cmd_output, errors ,' '
               except OSError as e:
                       p.kill()
                       return cmd_output,True,' exit from except '
               return '',True,'exit from _cli end'

    cmd is somthnig like this

    cmd='ffmpeg -y -loop 1 -i 1.jpg -i 1.mp3 -c:a copy -c:v libx264 -shortest 1.mp4'

    make .exe file with this command

    pyinstaller -w --onefile  mp3tomp4.py --onefile

    if i dont use’-w’ every thing is well .. but that ugly black cmd-windows shown and i can not close or hide it

  • Problem while building libffmpeg.so from ffmpeg sources (undefined symbol : avcodec_version)

    10 octobre 2023, par serggt1

    I'm trying to build libffmpeg.so shared library from sources on Linux. Sources are here FFmpeg.git.

    


    I run

    


    ./configure
make -j4

gcc -shared \
    libavcodec/libavcodec.a \
    libavdevice/libavdevice.a \
    libavfilter/libavfilter.a \
    libavformat/libavformat.a \
    libavutil/libavutil.a \
    libswresample/libswresample.a \
    libswscale/libswscale.a \
    -o libffmpeg.so


    


    The problem is the resulting libffmpeg.so is only 15 KB and says

    


    dlsym fail : /opt/yandex/browser/libffmpeg.so: undefined symbol: avcodec_version


    


    What do I wrong and how to link the library in correct way ?

    


    UPD :

    


    Now trying with this :

    


    ./configure --enable-pic --disable-programs  --enable-gpl --enable-version3 --enable-nonfree

make -j4

ld \
    -rpath-link=/usr/lib \
    -L/usr/lib \
    -L/lib \
    --library=c --library=m --library=z --library=dl --library=log \
    -soname libffmpeg.so -shared -nostdlib -Bsymbolic --whole-archive --no-undefined \
    libavcodec/libavcodec.a \
    libavdevice/libavdevice.a \
    libavfilter/libavfilter.a \
    libavformat/libavformat.a \
    libavutil/libavutil.a \
    libswresample/libswresample.a \
    libswscale/libswscale.a \
    -o libffmpeg.so


    


    Error is ld: cannot find -lc: No such file or directory