
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (53)
-
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 (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Amélioration de la version de base
13 septembre 2013Jolie 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 (7351)
-
configure : Do not use pthread_create to check for pthread
29 novembre 2013, par Luca Barbato -
trying to build a audio video format convertion tool help required
19 février 2012, par moonhello i am going to build a windows desktop tool that can convert the audio and video formats of all types.
i am in technology selection phase.
thinking about java and ffmpeg for this purpose but i come to know there are some formats that ffmpeg can not convert for them what should i do ?
second is there ffmpge api for java to use intead of using it through process builder ?
and at last is there any other approach that is more easy and stable from described above ?
AVI, MPG, MPEG, VOB, WMV, MP4, M4V,
ASF, MOV, QT, 3GP, DAT, OGM, DVR-MS, FLV, MKV, RM, RMVB, VRO, TS, AMV,
F4V, MTS, MT2S, WAV, MP3, WMA, OGG, APE,M4A, MPC, WV, AMR, AC3, AU to AVI, MPEG, MOV, WMV, MP4, RM, iPod,
iPad, HTC, PSP, iPhone, Zune, BlackBerry, AppleTV, PS3, Xbox360, Creative ZEN, Archos, iRiver, 3GP, FLV, SWF, WAV,
MP3, WMA, M4A, AMR, AAC, AIFF and AC3help required
regards.
-
Headless Selenium not Recording Video
12 mai 2015, par TIMBERingsI’m using the Headless gem to create a headless session using xvfb and to record the session using ffmpeg. I’m not able to save the video created by the headless gem. I’m including the relevant snippets of my code and the output.
Code
$LOGGER.info("----------Starting test: #{@test_name}----------")
if Utilities.linux? && ENV['DRIVER'] != 'sauce'
@headless = Headless.new ({dimension: '1600x1200x16',
pid_file_path: "#{Utilities.get_root_directory}/tmp/headless_ffmpeg_#{@display}.pid",
tmp_file_path: "#{Utilities.get_root_directory}/tmp/headless_ffmpeg_#{@display}.mov",
log_file_path: "#{Utilities.get_root_directory}/tmp/headless_ffmpeg_#{@display}.txt"})
@headless.start
@headless.video.start_capture
$LOGGER.info 'Creating headless session.'
end
$browser = DefaultWatir.initiate_browser(@test_name)
if Utilities.linux? && ENV['DRIVER'] != 'sauce'
$LOGGER.info "Starting video recording"
@headless.video.start_capture
end
......... .........
......... TEST RUN .........
......... .........
$LOGGER.info "----------Ending test: #{@test_name}----------"
puts "\n\n"
$browser.close if $browser
save_video if @headless
def video_path
return "#{Utilities.get_root_directory}/video/#{@test_name}_#{Time.now.to_s.gsub(' ', '-')}"
end
def save_video
if Utilities.linux? && ENV['DRIVER'] != 'sauce'
unless self.instance_variable_get(:@exception).nil? && !$has_errors
saved_video_path = video_path
Dir.mkdir("#{Utilities.get_root_directory}/video") unless Dir.exists?("#{Utilities.get_root_directory}/video")
$LOGGER.info "Video path = #{saved_video_path}"
begin
$LOGGER.info 'before save'
@headless.video.stop_and_save(saved_video_path)
$LOGGER.info 'after save'
rescue ex
$LOGGER.info 'Video save had exception.'
puts ex.message
puts ex.backtrace.join("\n\t")
end
$LOGGER.info "Video saved at: #{saved_video_path}"
else
@headless.video.stop_and_discard
end
@headless.destroy
end
endOutput
[INFO - 2015-03-06 21:58:37 +0000] - ----------Starting test : Example Test----------
[INFO - 2015-03-06 21:58:37 +0000] - Creating headless session.
[INFO - 2015-03-06 21:58:40 +0000] - Starting video recording
[INFO - 2015-03-06 22:02:04 +0000] - ----------Ending test : Example Test----------
INFO - 2015-03-06 22:02:05 +0000] - Video path = /var/lib/jenkins/workspace/end_to_end_firefox/selenium-tests/video/PoolPlayToSingleEliminationOneDivision_2015-03-06-22:02:05-+0000
[INFO - 2015-03-06 22:02:05 +0000] - before save
[INFO - 2015-03-06 22:02:05 +0000] - after save
[INFO - 2015-03-06 22:02:05 +0000] - Video saved at : /var/lib/jenkins/workspace/end_to_end_firefox/selenium-tests/video/PoolPlayToSingleEliminationOneDivision_2015-03-06-22:02:05-+0000