
Recherche avancée
Autres articles (89)
-
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, (...) -
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 (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (8602)
-
Appium iOS screen recording in parallel runs result in overlapping videos
29 juillet 2020, par Shiori BermudoMy code is in Python. I'm using appium's built in function
driver.start_screen_recording() driver.stop_screen_recording()
.

I run two tests (A and B) on different devices (A and B respectively), different appium servers (ports) and different wdalocalports. The tests are running on a schedule in Jenkins.


Each test look something like this :


self.driver = webdriver.Remote("http://localhost:portA/B")
# Part1
self.driver.start_screen_recording()
# do something ...
vbytes = self.driver.stop_screen_recording()
self.save_movie(vbytes, Part1fileName)
# Part2
self.driver.start_screen_recording()
# do something ...
vbytes = self.driver.stop_screen_recording()
self.save_movie(vbytes, Part2fileName)
# do something until test is over...
self.driver.quit()



When Test B starts while Test A is running, the video output of B is showing the screen of Test A. The saved filenames are correct. TestA.mp4 is correct but TestB.mp4 shows the screen of Device A.


-
python for loop result in ffmpeg command
6 août 2020, par madiha bouthi im trying to insert for loop results in a ffmpeg command i tried some code but all i get is first text with no sound and it glitches and freezes i tried many modification but no success i appreciate if you have any ideas that would be great, the imported text from api should display only the duration of audio file here is my code :



import requests
import json
import os
import requests
import http.client
import io
import subprocess


response = requests.get('http://api.quran.com:3000/api/v3/chapters/2/verses?text_type=image&language=ar&recitation=10')

json = json.loads(response.content)

data= json['verses']
#print(data)

for i in data:
 input_text = i['text_madani'] 
 input_duration = i['audio']['duration'] 
 input_mp3 = i['audio']['url']
 input_img = i['image']['url']
 # print(input_duration)
 command = f'''ffmpeg -re -stream_loop -1 \
 -i img2.jpeg \
 -i {input_mp3} \
 -vf 'pad=ceil(iw/2)*2:ceil(ih/2)*2,drawtext=enable='between(t, n, {input_duration})':text={input_text}:fontsize=90:x=50:y=50:fontcolor=black@0.8' \
 -c:v libx264 -preset veryfast -b:v 3000k \
 -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 \
 -c:a aac -b:a 160k \
 -ac 2 -ar 44100 \
 -y -f flv rtmp://localhost/hls/test''' 
 print(command)
 os.system(command)



-
python for loop result in ffmpeg command [duplicate]
6 août 2020, par madiha bouthi im trying to insert for loop results in a ffmpeg command i tried some code but all i get is first text with no sound and it glitches and freezes i tried many modification but no success i appreciate if you have any ideas that would be great, the imported text from api should display only the duration of audio file here is my code :



import requests
import json
import os
import requests
import http.client
import io
import subprocess


response = requests.get('http://api.quran.com:3000/api/v3/chapters/2/verses?text_type=image&language=ar&recitation=10')

json = json.loads(response.content)

data= json['verses']
#print(data)

for i in data:
 input_text = i['text_madani'] 
 input_duration = i['audio']['duration'] 
 input_mp3 = i['audio']['url']
 input_img = i['image']['url']
 # print(input_duration)
 command = f'''ffmpeg -re -stream_loop -1 \
 -i img2.jpeg \
 -i {input_mp3} \
 -vf 'pad=ceil(iw/2)*2:ceil(ih/2)*2,drawtext=enable='between(t, n, {input_duration})':text={input_text}:fontsize=90:x=50:y=50:fontcolor=black@0.8' \
 -c:v libx264 -preset veryfast -b:v 3000k \
 -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 \
 -c:a aac -b:a 160k \
 -ac 2 -ar 44100 \
 -y -f flv rtmp://localhost/hls/test''' 
 print(command)
 os.system(command)