
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (20)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Submit bugs and patches
13 avril 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 (...)
Sur d’autres sites (5105)
-
Concatenate audio parts of different videos with ffmpeg [migrated]
15 août 2024, par SwikeSo I have two videos :


- 

Vid_eng.mkv
is a high resolution video that has the audio in English.Vid_esp.mkv
is a low resolution video that has the audio in Spanish.






Both videos are showing more or less the same stuff but the difference is that the Spanish one has the intro and outro cut out (the first 66 seconds are missing).


I want to create a new video file,
Vid_out.mkv
that has theVid_eng.mkv
video and both audios (so the final file has multistream audio). The issue is that the Spanish audio will not be in sync with the high resolution video, so what I did was this :

ffmpeg -i Vid_eng.mkv
 -f lavfi -t 66 -i anullsrc -i Vid_esp.mkv
 -filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]"
 -map 0 -map "[outa]"
 -metadata:s:a:0 language=eng
 -metadata:s:a:1 language=spa
 -disposition:a:1 default
 -c:v copy Vid_out.mkv



What I'm doing here is essentially creating the new
Vid_out.mkv
using the video fromVid_eng.mkv
, the audio multistream from bothVid_eng.mkv
andVid_esp.mkv
, but with the twist that the audio fromVid_esp.mkv
is actually beginning 66 seconds later (so that it is synced with the English video). I did this by adding 66 seconds of silence (with-f lavfi -t 66 -i anullsrc
) and concatenating that silence with the Spanish audio (with-filter_complex "[1:a][2:a]concat=n=2:v=0:a=1[outa]"
) before adding this concatenated audio stream to the final file as the secondary audio. Also I included some metadata to know the which audio is which.

Everything good for the moment. But now I wanted to try something more sophisticated : instead of having 66 seconds of silence concatenated to the Spanish audio I want 66 seconds of the English audio (the audio from
Vid_eng.mkv
), then the audio fromVid_esp.mkv
, and finally when the Spanish audio has finished and the video is still going, I want the English audio again. So, instead of silence at the beginning and end of the video when played with the secondary audio stream, what I want is the English audio to play. How can I do that with ffmpeg ?


For reference I've been following ideas from these answers :


- 

- How to add audios from different videos into one multistream video
- How to add a few seconds of silence to an audio






-
Re-encode video stream only with ffmpeg (and with all audio streams)
25 septembre 2016, par razrI’m looking for a way to re-encode the video stream of a movie only and keep all other streams as they are using
ffmpeg
or more specificstreamio/streamio-ffmpeg
(Github - StreamIO-FFMPEG).I already tried various combinations of
-map 0
or-map a:0 -map s:0
, but in all combinations I tried, either nothing is encoded at all, or not all other streams are copied to the new file. In most cases there is only one audio stream after encoding, when there were two before, and sometimes the subtitle streams are lost, too. Also most times the info what language the streams are in gets lost.So when I have a movie file (mkv) with the following streams :
0: video [H.264, 1080p]
1: audio [english, mp3]
2: audio [french, mp3]
3: subtitle [english (forced)]
4: subtitle [english]What should the
ffmpeg
parameters be, if I want to encode the video file toH.265
and720p
and keep all other streams as they are ?What should the parameters be, if I additionally want to encode the audio streams as
AAC
?Thanks in advance !
-
FFmpeg exit with error code 1 when using .bat file
30 avril 2022, par Taqi VaheedI use a .bat file to batch attach audio tracks to movies. Everything was good but in last days the ffmpeg stopped working correctly. When I restart the pc it work again but after some task the error come back. I tried to reinstall the windows but the problem does not solved.


here is my ffmpeg code :


for %%a in ("*.mp4*") do ffmpeg -y -i "%%a"^
 -itsoffset 0^
 -i %%~na.mp3 -i cover.jpg^
 -map 2 -map 0:v:0 -disposition:0 attached_pic^
 -map 1:a:0 -disposition:a:0 default^
 -map 0:a:0 -disposition:a:1 none -sn^
 -metadata title=""^
 -metadata:s:a:0 handler_name="Persian"^
 -metadata:s:a:1 handler_name="English"^
 -metadata:s:v:0 handler_name="English"^
 -metadata:s:a:0 language=per^
 -metadata:s:a:1 language=eng^
 -c copy "Final\%%~na.mp4"