Recherche avancée

Médias (91)

Autres articles (111)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (13644)

  • Why do .bss/.rodata symbols stay in binary after strip ?

    15 novembre 2014, par BlahGeek

    As far as I know, there’s only one kind of symbols in executable binary that is really needed, which is dynamic symbols. These symbols is used in relocation operation because they are dynamic linked. Static linked functions/variables, in the other hand, is not needed so can be stripped.

    However, when I was examining the stripped ffmpeg binary, this is what I got :

    >nm -D ffmpeg
    ...
                    U __vfprintf_chk
                    U __vsnprintf_chk
                    U write
    00000000018fa880 B x264_cabac_contexts
    0000000001052a40 R x264_cabac_range_lps
    0000000001052940 R x264_cabac_transition
    0000000001970580 B x264_cabac_transition_unary
    0000000001056820 R x264_last_coeff_flag_offset
    0000000001056860 R x264_significant_coeff_flag_offset
    0000000001056900 R x264_significant_coeff_flag_offset_8x8
                    U __xpg_strerror_r
                    U __xstat64
    ...

    I can verify that libx264 is static linked to ffmpeg :

    > ldd ffmpeg
    linux-vdso.so.1 =>  (0x00007fff26d61000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7c707e7000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7c704e1000)
    liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f7c702be000)
    libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f7c700ae000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7c6fe95000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7c6fc76000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7c6f8b0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f7c70b0a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7c6f69a000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7c6f495000)

    So, I don’t understand why symbols like x264_cabac_contexts is not stripped. (It’s defined in libx264/.../cabac.c) :

    uint8_t x264_cabac_contexts[4][QP_MAX_SPEC+1][1024];

    It bothered me for several hours and I’ve found nothing on google... Hope someone would explain this... Thanks in advance !

  • Python extract wav from video file

    31 octobre 2015, par xolodec

    Related :

    How to extract audio from a video file using python ?

    Extract audio from video as wav

    How to rip the audio from a video ?

    My question is how could I extract wav audio track from video file, say video.avi ?
    I read many articles and everywhere people suggest to use (from Python) ffmpeg as a subprocess (because there are no reliable python bindings to ffmpeg - the only hope was PyFFmpeg but i found it is unmaintaned now). I don’t know if it is right solution and i am looking for good one.
    I looked to gstreamer and found it nice but unable to satisfy my needs — the only way I found to accomplish this from command line looks like

    gst-launch-0.10 playbin2 uri=file://`pwd`/ex.mp4  audio-sink='identity single-segment=true ! audioconvert ! audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)16000, channels=(int)1 ! wavenc !  filesink location=foo.wav’

    But it is not efficient because i need to wait ages while playing video and simultaneously writing to wav file.

    ffmpeg is much better :

    avconv  -i foo.mp4  -ab 160k -ac 1 -ar 16000 -vn ffaudio.wav

    But i am unable to launch it from python (not as a command line subprocess). Could you please point me out pros and cons of launching ffmpeg from python as a command line utility ? (I mean using python multiprocessing module or something similar).

    And second question.

    What is simple way to cut long wav file into pieces so that i don’t break any words ? i mean pieces of 10-20 sec length with start and end during the pause in sentences/words ?

    i know how to break them on arbitrary pieces :

    import wave


    win= wave.open('ffaudio.wav', 'rb')
    wout= wave.open('ffsegment.wav', 'wb')

    t0, t1= 2418, 2421 # cut audio between 2413, 2422 seconds
    s0, s1= int(t0*win.getframerate()), int(t1*win.getframerate())
    win.readframes(s0) # discard
    frames= win.readframes(s1-s0)

    wout.setparams(win.getparams())
    wout.writeframes(frames)

    win.close()
    wout.close()
  • could be recording video & OS timestamp with ffmpeg ?

    2 septembre 2020, par sooyongchoi

    I'm newbie of Video, Image processing.

    


    I want to recording High resolution & frame video with FFmpeg. (1920 * 1080 * 60FPS)
and, I need to Timestamp data of OS(Windows or ubuntu) for each frames.
I hope to Timestamp data is formatted with text data.

    


    I searched any of using FFmpeg, but I couldn't find recording video with timestamp data.

    


    Is there any idea of recording video & timestamp data with ffmpeg ?

    


    Or, could you notice me with simple tip of making solution with ffmpeg ?

    


    Thanks ! :)