
Advanced search
Medias (91)
-
#3 The Safest Place
16 October 2011, by
Updated: February 2013
Language: English
Type: Audio
-
#4 Emo Creates
15 October 2011, by
Updated: February 2013
Language: English
Type: Audio
-
#2 Typewriter Dance
15 October 2011, by
Updated: February 2013
Language: English
Type: Audio
-
#1 The Wires
11 October 2011, by
Updated: February 2013
Language: English
Type: Audio
-
ED-ME-5 1-DVD
11 October 2011, by
Updated: October 2011
Language: English
Type: Audio
-
Revolution of Open-source and film making towards open film making
6 October 2011, by
Updated: July 2013
Language: English
Type: Text
Other articles (103)
-
Submit bugs and patches
13 April 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information: the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Encoding and processing into web-friendly formats
13 April 2011, byMediaSPIP 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 February 2011, byCe 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";
On other websites (6844)
-
How to speed video FFMPEG with Python
11 December 2022, by HengI am trying to speed up video using python. But the problem is that the duration of the video output is not reduced based on the speed we provide.
If the video is 30 seconds long, the output file is accelerated. But the duration of the video remains the same.


import subprocess

ffmpeg_path = r"ffmpeg\ffmpeg.exe"

speed_factor = 2
ffmpeg_args = [
 "-i", "test.mp4",
 "-loglevel", "quiet",
 "-filter:v", "setpts=0.5/{}*PTS".format(speed_factor),
 "speed.mp4"
]
subprocess.run([ffmpeg_path, *ffmpeg_args])



Can anyone help me with this?

For example
: If I want speed up video by X2, for 30s duration video should reduced to 15s including audio and so on by itself without specify the timing.
Thanks

-
FFMPEG: Add additional audio track to video file
29 December 2016, by LukasI have two video file with the following streams:
File 1:
Stream #0:0(deu): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 126 kb/s (default) Stream #0:1(deu): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4971 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc (default) Stream #0:3: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 480x480 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
File 2:
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 126 kb/s (default) Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4925 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47952 tbc (default) Stream #0:3(eng): Subtitle: eia_608 (c608 / 0x38303663), 1920x1080, 0 kb/s Stream #0:4: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 480x480 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Both files have exactly the same video content , but the first video has a german audio track and the second one an english audio track.
How can I extract the audio track from the german video file and add it to the english one, without losing the english subtitles and being able to choose between these audio tracks in a media player?
I searched about this and I found multiple answers to similar questions, but none of them worked: Some included only one audio track and some played both of them at the same time.
I’m not sure if this question should be asked on Super User, but as there are alrealy many questions about ffmpeg on Stack Overflow, I asked it here.
-
FFmpeg convert video to adaptive streaming and multiple audio track
13 June 2020, by user998405I have one mpeg video and this video consist of three audio track . And I want to convert this video to adaptive streaming. Here is the example command that used 

ffmpeg.exe -i c:\test\1.mpg -c:a aac -strict experimental -map 0:v -map 0:a -c:v libx264 -s 854x480 -aspect 16:9 -f hls -hls_key_info_file enc.keyinfo -hls_list_size 1000000 -hls_time 2 c:\k854_out.m3u8



Index.m3u8



#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=696000
854_out.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1096000
1280_out.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=2096000
1920_out.m3u8




Here my question how can I convert the adaptive streaming to support multiple audio track?