
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (12994)
-
How to convert webm/mp4 file to mp3 with ffmpeg in a script (pycharm) ?
27 mai 2022, par Das TypI'm working on a YouTube-Downloader project and I'm having issues with my audio files.
My code uses pytube to download the audio from a video.


The problem is that the downloaded audio file is either a .webm or a .mp4 file, which I'd like to convert to a .mp3 file.
Is there a way to read the filetype (webm/mp4) first and then run a code that converts it to a mp3 file ?


I'd like to run it as a script in pycharm. Not as a command in the console.


Thanks for your answers.


Das Typ


-
Trim with ffmpeg without re-encoding gives issues on the trimming point
3 mai 2022, par Oleg MerkulovI have a video file with following parameters :


Container: mp4
Video: h264
Audio: AAC
Duration: 00:29:38.03



I need to extract 2 parts from it and merge it into one video. I want to keep the quality and make the operation as fast as possible. Thus -> I don't want to re-encode.


I'm using the following :


ffmpeg -y -ss 00:01:00 -to 00:03:00 -i 30.mp4 -c copy part-1.mp4
ffmpeg -y -ss 00:21:00 -to 00:29:00 -i 30.mp4 -c copy part-2.mp4
ffmpeg -y -f concat -safe 0 -i parts.txt -c copy merged.mp4
parts.txt:
file 'part-1.mp4'
file 'part-2.mp4'



the output has 103 warnings like that :


[mp4 @ 0x7fa91d707e40] Non-monotonous DTS in output stream 0:1; previous: 5759491, current: 5719904; changing to 5759492. This may result in incorrect timestamps in the output file.
[mp4 @ 0x7fa91d707e40] Non-monotonous DTS in output stream 0:0; previous: 3598631, current: 3574391; changing to 3598632. This may result in incorrect timestamps in the output file.



merged.mp4 has an issue on 00:02:00, right after the cut.
The audio is not in sync with video for around 5 seconds and then after that it goes perfectly.


What can cause such an issue ? Is there is a way to trim without losing quality ?


-
Cutting of an video by timestamps from a subtitle ?
7 janvier 2018, par zickI have a subtitle script , I copied the timestamps from that subtitle into text file.From those timestamps I want to modify the original video , cutting of pieces from that original video.I’m not interested on the parts that I’m cutting of , I only care of the remains.I’m seeking the pauses between the subtitle.
Here are the first 20 timestamps.I’m interested in the pauses between the lines , 1 and 2 , 2 and 3 , 3 and 4 and so on.
ffmpeg commands to cut or copy is only outputing the result of those timestamps but is not changing the original video.That is what I want to edit that video by deliting the parts between those timestamps.Is it possible ?1.00:00:45,366 —> 00:00:47,499
2.00:00:47,500 —> 00:00:51,165
3.00:00:51,166 —> 00:00:56,132
4.00:01:47,000 —> 00:01:49,265
5.00:01:49,266 —> 00:01:51,365
6.00:02:06,366 —> 00:02:11,665
7.00:02:11,666 —> 00:02:13,799
8.00:02:16,766 —> 00:02:20,999
9.00:02:21,000 —> 00:02:24,732
10.00:02:24,733 —> 00:02:26,999
11.00:02:27,000 —> 00:02:30,932
12.00:02:30,933 —> 00:02:33,465
13.00:02:33,466 —> 00:02:36,465
14.00:02:36,466 —> 00:02:37,732
15.00:02:37,733 —> 00:02:40,299
16.00:02:40,300 —> 00:02:42,265
17.00:02:45,300 —> 00:02:48,265
18.00:02:48,266 —> 00:02:50,532
19.00:02:50,533 —> 00:02:55,365
20.00:02:55,366 —> 00:03:02,132