
Recherche avancée
Médias (21)
-
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
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (54)
-
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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (12571)
-
how can I take audio file(mp3) and video file(mp4) as input in Java spring ?
29 juillet 2022, par Jawad Un Islam AbirI am using this code to read the audio file. but don't know how to take user input.


InputStream inputStream = new FileInputStream("example.ogg");
FFmpegInput input = new FFmpegInput(inputStream);
FFmpegSourceStream stream = input.open(inputFormat);

stream.registerStreams();

AudioSourceSubstream audioSourceSubstream = null;
for(MediaSourceSubstream substream : stream.getSubstreams()) {
 if (substream.getMediaType() != MediaType.AUDIO) continue;

 audioSourceSubstream = (AudioSourceSubstream) substream;
}

if (audioSourceSubstream == null) throw new NullPointerException();



-
python ffmpeg "The system cannot find the file specified" [on hold]
5 avril 2016, par k7zhengI’m pretty new to Python but I’ve been stuck on this for a while.
Whenever I run :
import subprocess, os
os.ffmpeg = "/absolute/path/to/ffmpeg"
subprocess.ffmpeg = "/absolute/path/to/ffmpeg"
subprocess.call(['ffmpeg', '-i', 'C://Users//k7zheng//Desktop//A1//1.avi', '-r', '0.05', "newfiles//%02d.png"])I get the following :
Traceback (most recent call last):
File "C:/Users/k7zheng/Desktop/FT1.py", line 4, in <module>
subprocess.call(['ffmpeg -i C:\\Users\k\Desktop\A1\1.avi -r 0.05 "newfiles\%02d.png"'])
File "C:\Python34\lib\subprocess.py", line 537, in call with Popen(*popenargs, **kwargs) as p:
File "C:\Python34\lib\subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "C:\Python34\lib\subprocess.py", line 1114, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
</module>Can you help me spot my issue ?
I’ve tried :- changing slashes / to \ to double \ slashes
- getting rid of the 2nd and 3rd lines
- adding os.chdir(r"C :\software\ffmpeg\ffmpeg-20160330-git-be746e-win64-static\bin")
- changing line 4 to subprocess.call(’ffmpeg -i c :\users\k7zheng\desktop\c1\1 -r -0.05 "newfiles\%02d.png"’, shell=True)
I’m running Python 3.4.4
-
Covert a file from mp4 to a file that HTML can display
26 juin 2019, par Trying_To_UnderstandI have a mp4 file and I want to display it in HTML. The problem is that it won’t, not only in HTML but also in my player. In VLC I can watch the video but there is no sound. Maybe the file is corrupted ?
This is the output when I runffmpeg -i my_file.mp4
:[h264 @ 000001b4afc61880] decode_slice_header error
[h264 @ 000001b4afc61880] no frame!
[h264 @ 000001b4afc61880] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 000001b4afc61880] decode_slice_header error
[h264 @ 000001b4afc61880] no frame!
Input #0, mpeg, from '150_2.mp4':
Duration: 00:50:51.75, start: 13182.386222, bitrate: 983 kb/s
Stream #0:0[0x1e0]: Video: h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
At least one output file must be specified.Can I convert this with ffmpeg to a good quality of video and audio ?