Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (63)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7725)

  • How to quit pexpect launched ffmpeg with key q pressed

    25 février 2014, par Shuman

    i used pexpect to call ffmpeg which is a lengthy process. it took half an hour, how can i detect user has pressed q key to stop it ? just like when you press q when using ffmpeg command line tool

    the ffmpeg command line is
    ffmpeg -y -i url -c copy -absf aac_adtstoasc out.mp4

    the last line of ffmpeg output is

    ...
    Stream mapping:
     Stream #0:1 -> #0:0 (copy)
     Stream #0:2 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=   84 fps= 77 q=-1.0 Lsize=  184626kB time=00:00:06.96 bitrate=217120.3kbits/s

    the code i have now is

    reo = re.compile("""\S+\s+(?P\d+)  # frame
                        \s\S+\s+(?P<fps>\d+)           # fps
                        \sq=(?P<q>\S+)                    # q
                        \s\S+\s+(?P<size>\S+)          # size
                        \stime=(?P<time>\S+)           # time
                        \sbitrate=(?P<bitrate>[\d\.]+) # bitrate
                        """, re.X)

    durationReo = (&#39;(?&lt;=Duration:\s)\S+(?=,)&#39;)

    cpl = thread.compile_pattern_list([
       pexpect.EOF,
       reo,
       durationReo
    ])

    while True:
       i = thread.expect_list(cpl, timeout=None)
       if i == 0: # EOF
           print "the sub process exited"
           break
       elif i == 1:
           frame_number = thread.match.group(0)
           print frame_number
           print reo.search(frame_number).groups()
           # thread.close
       elif i == 2:
           durationLine = thread.match.group(0)
           print &#39;Duration:&#39;, durationLine
           # print "something :",thread.match.group(1)
           pass
    </bitrate></time></size></q></fps>

    with this code i can already get the frame info and duration info, the ultimate goal is to create a textual progress bar with another python progressbar module. but with the ability to send the 'q' pressed signal to ffmpeg child process.

  • How to playback RAW video and audio in VLC ?

    24 février 2014, par Lane

    I have 2 files...

    • RAW H264 video
    • RAW PCM audio (uncompressed from PCM Mu Law)

    ...and I am looking to be able to play them in a Java application (using VLCJ possibly). I am able to run the ffmpeg command...

    • ffmpeg -i video -i audio -preset ultrafast movie.mp4

    ...to generate a mp4, but it takes 1/8 of the source length (it takes 1 min to generate a movie for 8 min of RAW data). My problem is that this is not fast enough for me, so I am trying to playback with the RAW sources. I can playback the video with the VLC command...

    • vlc video —demux=h264 (if I don't specify this flag, it doesn't work)

    ...and it plays correctly, but gives me the error...

    [0x10028bbe0] main interface error : no suitable interface module
    [0x10021d4a0] main libvlc : Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [0x10aa14950] h264 demux error : this doesn't look like a H264 ES stream, continuing anyway
    [0x1003ccb50] main input error : Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !
    shader program 1 : WARNING : Output of vertex shader 'TexCoord1' not read by fragment shader
    WARNING : Output of vertex shader 'TexCoord2' not read by fragment shader

    ...similarly, I can play the RAW audio with the VLC command...

    • vlc audio (note that I do not need to specify the —demux flag)

    ...so, what I am looking for is...

    1. How to playback the RAW audio and video together using the VLC CLI ?
    2. Recommendations for a Java Application solution ?

    ...thanks !

  • stream vlc playlist trhough ffmpeg to rtmp live streaming [on hold]

    24 février 2014, par TamilArivu

    i am just tried to stream my playlist mp4 file to my live stream. i am using play my playlist via vlc and also stream via vlc. i am using the following code

    vlc --playlist-autostart --loop  --playlist-tree http://xxxxx.com/test --sout &#39;#transcode{vcodec=h264,vb=300,fps=25,scale=1,acodec=mp4a,ab=64,channels=2}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://xxxxx.com/xxx/xxx1}&#39;

    the above code play the playlist file but the streaming is not work . when i am run this code in my ubuntu command prompt it's return the following error

    VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
    [0x678d58] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    [0x678d58] main interface error: no suitable interface module
    [0x678d58] main interface error: no suitable interface module
    [0x648108] main libvlc error: interface "globalhotkeys,none" initialization failed
    [0x648108] main libvlc: Running vlc with the default interface. Use &#39;cvlc&#39; to use vlc without interface.
    [0x678d58] qt4 interface error: Could not connect to X server
    [0x678d58] skins2 interface error: cannot initialize OSFactory
    [0x678d58] [cli] lua interface: Listening on host "*console".
    VLC media player 2.0.8 Twoflower
    Command Line Interface initialized. Type `help&#39; for help.
    > Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
    Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
    Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
    Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    x264 [info]: profile High, level 3.1
    x264 [info]: final ratefactor: 35.88
    x264 [info]: using SAR=109/160
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    x264 [info]: profile High, level 3.1
    [flv @ 0x7f6d09133500] Codec for stream 0 does not use global headers but container format requires global headers
    [flv @ 0x7f6d09133500] Codec for stream 1 does not use global headers but container format requires global headers
    [flv @ 0x7f6d09133500] Packets are not in the proper order with respect to DTS
    [0x7f6d08003808] avformat mux error: could not write frame (pts: 240002, dts: 40001) (pkt pts: 240, dts: 40)

    how can i solve this problem