
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 (51)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (4578)
-
Accessibility to Web video for the Vision-Impaired
12 décembre 2010, par silviaIn the past week, I was invited to an IBM workshop on audio/text descriptions for video in Japan. Geoff Freed and Trisha O’Connell from WGBH, and Michael Evans from BBC research were the other invited experts to speak about the current state of video accessibility around the world and where (...)
-
Unable to run ffmpeg with qProcess to extract a single frame from Vide
24 janvier 2018, par user3840315I am trying to extract a single frame from a video using the QProcess in qt framework and ffmpeg and store it in a tmp folder. When I run the program in terminal command line it is able to extract it but not when QProcess runs it. I’m developing on a mac. What am I doing wrong.
QString extractSingleFrame(QString videoPath, QDir tmpDir)
{
QString program = ffmpegPath();
QProcess *ffmpegProcess = new QProcess();
QString arguments;
QFileInfo videoInfo(videoPath);
QString videoName = videoInfo.fileName();
QString firstFrameName(tmpDir.absolutePath() + "/" + videoName + ".jpg");
arguments = " -y -i " + QDir::toNativeSeparators(videoPath)
+ " -frames:v 1 -q:v 1 -f image2 " + QDir::toNativeSeparators(firstFrameName);
QFile::remove(firstFrameName);
qDebug() << "Starting program" << program + arguments;
ffmpegProcess->start(program + arguments);
// ffmpegProcess->start(program , QStringList() << arguments); this also doesnt work
if (ffmpegProcess->state() == QProcess::Starting){
qDebug() << "program is starting" + ffmpegProcess->state();
}
ffmpegProcess->waitForFinished(-1);
qDebug() << "done";
delete ffmpegProcess;
return firstFrameName;
}This is the printed command
to start the program "ffmpeg -y -i "/Users/userX/test.mov" -vframes 1 -q:v 1 -f image2 "/var/folders/s1/vtv2cx36p3h0000gn/T/test-ywDBgj/test.mov.jpg"" -
Is there a way to use the ffmpeg binary/unix executable in a py2app application to run ffmpeg on computers without it installed ?
4 mars 2021, par HumanI wrote a small python script that is essentially just a text to speech script. It uses the pydub - audiosegment python library to convert the mp3 from gTTS to an ogg that can be played in pygame. A link to my github repository can be found here : https://github.com/AnupPlays/TTS


this is the main function :


def webscrape():
 global x
 global b
 b.state(['disabled'])
 src = "sound.mp3"
 dst = "sound.ogg"
 murl = str(url.get())
 response = requests.get(murl)
 response.raise_for_status()

 parse = bs4.BeautifulSoup(response.text, 'html.parser')
 x = str(parse.get_text())
 print(x)
 text = gTTS(x)
 text.save("sound.mp3")
 AudioSegment.from_mp3(src).export(dst, format='ogg')
 b.state(['!disabled'])



this is a list of my imports :


#Imports
import os
import sys
import pygame

#google text to speech
from gtts import gTTS

#requests and BeautifulSoup
import requests
import bs4

#pygame audio player
from pygame import mixer

#tkinter ui
from tkinter import *
from tkinter import ttk
from tkinter import filedialog
from tkinter import messagebox

#mp3 -> wav
from os import path
from pydub import AudioSegment