
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (46)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
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 (5335)
-
FFmpeg GPU 10-bit HEVC encoding using NVENC
10 avril 2021, par chronosynclasticI'm encoding some 4K 10-bit YUV test sequences using NVENC HEVC encoder. For an example sequence and configuration, I use the following command.



ffmpeg -hide_banner -benchmark -loglevel debug -y -f rawvideo -s:v 3840x2160 -r 50 -pix_fmt yuv420p10le -i ParkRunning3_3840x2160_50fps_10bit_420.yuv -c:v hevc_nvenc -preset hp -rc cbr -profile:v main10 -b:v 10M output.mp4




My goal is to achieve as low latency as possible ; therefore I set the preset to low-latency high-performance. However, I only get around 15 fps encoding speed with this command. A logfile from the ffmpeg output from the above command is here.



I also tried with different presets and different sequences. The results are similar for all the 10-bit sequences I encoded. For 1920x1080 10-bit sequences, I get around 50-60 fps with HEVC encoder. But for 8-bit sequences I'm getting a much higher throughput of around 450-500 fps with similar preset and rate control modes. In the example, I'm using CBR as rate-control mode but I also tested and obtained similar results (in terms of encoding throughput) with VBR and constant QP modes.



Is there anything I'm missing in my command for 10-bit HEVC encoding ? I understand that with 10-bit, because of the increased bit-depth, the encoding will take longer. But a reduction in throughput on this scale makes me think that I'm doing something wrong. It seems that FFmpeg is inserting an auto_scaler before the encoder which converts from yuv420p10le (my input format) to p010le (the 10-bit format accepted by NVENC). Could this scaling module reduce the encoder speed so drastically ?


-
Ffmpeg mixing audio only for n number of videos using offset with an altered duration
26 août 2022, par TurgutI want to mix audio stream of n amount of video files with ffmpeg, with certain parameters such as :


- 

- Duration : I want to specify how long each audio is going to play for each output. For example if I specify
ffmpeg -i -d:5 first.mp4 -i second.mp4
it should play the audio fromfirst.mp4
for 5 seconds (I don't know if-d:5
is a real tag it's just an example I've made ). - Starting point : I want to specify when a given file is going start on the output, I probably need to use
-itsoffset 5
but I don't know if it's the right one in terms of interacting with other commands, in on itself it works fine. For example :ffmpeg -i -isoffset 5 first.mp -i second.mp4
causes thesecond.mp4
to start immediately, and first.mp4 to start after 5 seconds. - Segmentation : This is the tricky one, I want to specify at which point the input's audio should start. It's like the
-ss
flag but the problem is it's not working together with-itsoffset
. For example when I sayffmpeg -i -ss 5 first.mp4 -i second.mp4
both files should start immediately on the output, butfirst.mp4
should start on it's 5 seconds. So the 5th second offirst.mp4
is heard at the 1st second of the output.








This is what I'm trying to achieve, my problem is that I don't know how to implement 'duration' and
-ss
is not working together with-itsoffset
.

At the end I should have something similar to this :


ffmpeg -y -d 5 -itsoffset 3.5 -i first.mp4 -d 10 -ss 10 -itsoffset 5.3 -i 3 -vn -copyts -async 1 -filter_complex amix=inputs=2 out.mp



Which should result in an audio that sounds like this : The first 3.5 seconds are empty, no audio is heard. Then
first.mp4
is heard from it's beginning for 5 seconds. When the outputs timestamp reaches 5.3, the 10th seconds ofsecond.mp4
is heard (whilefirst.mp4
is still playing, it's supposed to play until 8.5, so I should hear both files at the same time.) for 10 seconds.

I can't find an example of this and some sources are out-of date.


- Duration : I want to specify how long each audio is going to play for each output. For example if I specify
-
Ffmpeg mixing audio only for n number of videos using offset and altered duraion
26 août 2022, par TurgutI want to mix audio stream of n amount of video files with ffmpeg, with certain parameters such as :


- 

- Duration : I want to specify how long each audio is going to play for each output. For example if I specify
ffmpeg -i -d:5 first.mp4 -i second.mp4
it should play the audio fromfirst.mp4
for 5 seconds (I don't know if-d:5
is a real tag it's just an example I've made ). - Starting point : I want to specify when a given file is going start on the output, I probably need to use
-itsoffset 5
but I don't know if it's the right one in terms of interacting with other commands, in on itself it works fine. For example :ffmpeg -i -isoffset 5 first.mp -i second.mp4
causes thesecond.mp4
to start immediately, and first.mp4 to start after 5 seconds. - Segmentation : This is the tricky one, I want to specify at which point the input's audio should start. It's like the
-ss
flag but the problem is it's not working together with-itsoffset
. For example when I sayffmpeg -i -ss 5 first.mp4 -i second.mp4
both files should start immediately on the output, butfirst.mp4
should start on it's 5 seconds. So the 5th second offirst.mp4
is heard at the 1st second of the output.








This is what I'm trying to achieve, my problem is that I don't know how to implement 'duration' and
-ss
is not working together with-itsoffset
.

At the end I should have something similar to this :


ffmpeg -y -d 5 -itsoffset 3.5 -i first.mp4 -d 10 -ss 10 -itsoffset 5.3 -i 3 -vn -copyts -async 1 -filter_complex amix=inputs=2 out.mp



Which should result in an audio that sounds like this : The first 3.5 seconds are empty, no audio is heard. Then
first.mp4
is heard from it's beginning for 5 seconds. When the outputs timestamp reaches 5.3, the 10th seconds ofsecond.mp4
is heard (whilefirst.mp4
is still playing, it's supposed to play until 8.5, so I should hear both files at the same time.) for 10 seconds.

I can't find an example of this and some sources are out-of date.


- Duration : I want to specify how long each audio is going to play for each output. For example if I specify