
Recherche avancée
Autres articles (103)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (7135)
-
ffmpeg add ad audio file to a original audio file at start and before end [duplicate]
14 mai 2021, par Tapas Karmakari have a ad.mp3 file which have a ad audio file, and i have a original mp3 audio file where i want to merge with ad file at the start of original file and before end


i have install ffmpeg to my ubuntu system and i have use below code but this is make every times


ffmpeg -i original.mp3 -filter_complex "amovie=ad.mp3:loop=0,asetpts=N/SR/TB[beep];[0][beep]amix=duration=shortest,volume=2" output.mp3



my requirement is to add ad.mp3 at start of original.mp3 and before end


please help me how to solve this issue..


-
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();



-
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 ?