
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (46)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (6567)
-
Launch a new window when a process is over. PyQt
15 mai 2017, par salvaestudioI’m doing my first video encoding program.
My problem is that I can not get a popup window out when the process of button 3 is finished (when ffmpeg is over)
I use a main window that works fine. I have another window ready : "winok" but I can not get it out.
I also do not know how to verify the return value of button 3 (which will be what ffmpeg does) and display error or success message.import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
import subprocess
import shlex
fileinput = ''
fileoutput = ''
comando = '\
ffmpeg \
-f lavfi \
-i color=c=black:s=1920x1080:r=25:d=1 \
-f lavfi \
-i "aevalsrc=0:c=stereo:d=1" \
-i {} -filter_complex \
"[0:v] trim=start_frame=1:end_frame=3 [blackstart]; \
[0:v] trim=start_frame=1:end_frame=5 [blackend]; \
[1:a] atrim=duration=0.12 [audiostart]; \
[1:a] atrim=duration=0.2 [audioend]; \
[blackstart] [audiostart] [2:v] [2:a] [blackend] [audioend] concat=n=3:v=1:a=1[v][a]" \
-map "[v]" \
-map "[a]" \
-c:v qtrle \
-c:a pcm_s24le \
-ar 48000 \
-timecode 00:02:00:00 {}'
def window():
win = QDialog()
b1 = QPushButton(win)
b1.setText("Select file")
b1.move(50,20)
b1.clicked.connect(b1_clicked)
b2 = QPushButton(win)
b2.setText("Output file")
b2.move(50,50)
b2.clicked.connect(b2_clicked)
b3 = QPushButton(win)
b3.setText("Encode!")
b3.move(50,80)
b3.clicked.connect(b3_clicked)
win.setGeometry(100,100,200,200)
win.setWindowTitle("Encoder")
win.show()
sys.exit(app.exec_())
def b1_clicked():
global fileinput
fileinput = QFileDialog.getOpenFileName(None, "Selecciona archivo a convertir", "/home/salva", "video files (*.avi *.mkv *.mp4 *.mov *.mpg);; All files (*)")
print (fileinput)
def b2_clicked():
global fileoutput
fileoutput = QFileDialog.getSaveFileName(None, "Archivo de salida", "/home/salva", "video files (*.avi *.mkv *.mp4 *.mov *.mpg);; All files (*)")
print (fileoutput)
def b3_clicked():
global comando
subprocess.call(shlex.split(comando.format(fileinput, fileoutput + '.mov')))
exit()
def winok():
win = QDialog()
b10 = QPushButton(win)
b10.setText("Do another job?")
b10.move(50,20)
b10.clicked.connect(b10_clicked)
b11 = QPushButton(win)
b11.setText("Exit")
b11.move(50,50)
b11.clicked.connect(b11_clicked)
win.setGeometry(100,100,300,100)
win.setWindowTitle("Work completed. Oh Yeah!")
win.show()
sys.exit(app.exec_())
def b10_clicked():
print ('Volviendo a codificar...')
def b11_clicked():
exit()
if __name__ == '__main__':
app = QApplication(sys.argv)
window() -
avcodec/dcaenc : Do not abort process in case of bitrate deficit
11 mai 2017, par Daniil Cherednikavcodec/dcaenc : Do not abort process in case of bitrate deficit
Old behaviour - abort if at least one subband has 1bit quantizer
and consumed_bits still greater than frame_bits size. It was
a bit strange - we still could reduce bits consumption by reducing
SNR for other subbands. Same strange logic with upper threshold -
stop bits allocation if at least one subband reach 26bits.New behaviour - if consumed_bits greater than frame_bits and all
subbands has 1 bit quantizer we restart bits allocation and allow
zero subbands. -
ffmpeg transcoding process stops after 15min
18 mai 2017, par p3tterim starting 2 ffmpeg transcoding processes on a raspberry pi (raspbian) when booting. After around 15 min, both processes stops. I have tried with delay etc. in startup script, also start it with both root and normal user privileges. Same result every time. (tried with rc.local and a own startup script in /init.d/)
my ffmpeg parameters are :
ffmpeg -d -re -i http://lyd.nrk.no/nrk_radio_mp3_mp3_m -ac 1 -acodec g722 -f rtp -ab 64k -ar 16k rtp://10.5.98.150:61122 > /dev/null 2>&1 < /dev/null &
sleep 15
ffmpeg -d -re -i http://lyd.nrk.no/nrk_radio_mp3_mp3_h -ac 1 -acodec g722 -f rtp -ab 64k -ar 16k rtp://10.5.98.150:61124 > /dev/null 2>&1 < /dev/null &If i start it manually after boot the ffmpeg processes works, and wont stop. Its only when i try to start it during boot it stops. (I have also tried with crontab, same result)
anyone have some ideas ?
Thanks,