
Recherche avancée
Autres articles (65)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 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 (...)
Sur d’autres sites (12012)
-
How to quit pexpect launched ffmpeg with key q pressed
25 février 2014, par Shumani 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/sthe 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 = ('(?<=Duration:\s)\S+(?=,)')
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 'Duration:', 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 LaneI 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...
- How to playback the RAW audio and video together using the VLC CLI ?
- Recommendations for a Java Application solution ?
...thanks !
-
stream vlc playlist trhough ffmpeg to rtmp live streaming [on hold]
24 février 2014, par TamilArivui 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 '#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}'
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 'cvlc' 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' 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