
Recherche avancée
Autres articles (44)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (6152)
-
Covert a file from mp4 to a file that HTML video tag 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 ?
-
How to add delay to only one audio file in an mp4 file containing many language sounds with ffmpeg ?
10 décembre 2023, par MesutI have an mp4 movie file. It contains audio files of two different languages. Audio #0 and Audio #1. The codec of both sounds is AAC. Now I only want to give 2000ms delay to Audio #1 audio file. I do this with ffmpeg and add the delay successfully, the command I give below adds delay to both sounds. I only want to delay Audio #1. After doing this, I want to get an output containing all sounds and subtitles without re-encoding. I just couldn't achieve this. Does anyone know how I can do this ?


ffmpeg -i "input_movie.mp4" -itsoffset 2000ms -i "input_movie.mp4" -map 1:v -map 0:a -map 0:s -c copy "Output_movie.mp4"

This command adds delay to all streams, I don't want that.

ffmpeg -i "input_movie.mp4" -itsoffset 2000ms -i "input_movie.mp4" -map 1:v -map 0:a:1 -map 0:s -c copy "Output_movie.mp4"

In the command line above, this time it adds delay only to audio file #1, but this time it does not include other audio files in the output mp4 file.

-
Can´t convert .mp4 file to .mjpeg file with ffmpeg
19 février 2018, par Herr HupfDohleI use ffmpeg to convert a .mp4 file to a .mjpeg file and I fail doing so.
What i tried so far :
Converting directly from .mp4 to .mjpeg with one of these :"ffmpeg -i input.mp4 output.mjpeg"
"ffmpeg -i input.mp4 -framerate 25 output.mjpeg"Getting all the individual images of my video (which worked fine) and put them together to a .mjpeg file did not work as well.
"ffmpeg -i input.mp4 image%d.jpeg"
"ffmpeg -f image2 -i image%d.jpeg output.mjpeg", or
"ffmpeg -f image2 -i image%d.jpeg -framerate 25 output.mjpeg""Solutions" like the following one did not work, cause I need a file extension .mjpeg so -c:v mjpeg is not enough cause I end up with sth. like .mov !
"ffmpeg -i input.mov -c:v mjpeg -q:v 3 -huffman optimal -an output.mov"
To view my files I use vlc player.
I always end up with a .mjpeg file which has the length of 10 seconds and only shows the very first image of my 4000 pictures.