
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (65)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (17221)
-
How can I solve the error when installing ffmpeg [closed]
11 mars 2024, par zhiyang houOS :
uname -r
3.10.0-957.27.2.el7.x86_64


I performed the following steps on CentOS :


1.Installed dependency libraries :


sudo yum install epel-release -y
sudo yum install autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel -y



2.Cloned the FFmpeg repository :


git clone https://git.ffmpeg.org/ffmpeg.git



3.Compiled and installed FFmpeg :


cd ffmpeg
./configure --enable-shared
make -j$(nproc)
sudo make install



Then, I encountered the following issue :


(123) [root@b0a30580415d ffmpeg]# make install
INSTALL libavdevice/libavdevice.a
X86ASM libavcodec/x86/vvc/vvc_mc.o
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:55: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:56: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:57: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
libavcodec/x86/vvc/vvc_mc.asm:58: error: operand 1: expression is not simple or relocatable
make: *** [libavcodec/x86/vvc/vvc_mc.o] Error 1



I am trying to find relevant information on the ffmpeg official website, but I don't know how to solve it. I hope to get guidance from someone with strong technical skills. Thank you.


-
Right way to use vmaf with ffmpeg
14 juin, par dravitI am trying to calculate the VMAF score of a processed video wrt the original file.


Command I have used :


ffmpeg -y -loglevel info -stats -i original.mp4 -i processed.mp4 -lavfi "[0]null[refdeint];[refdeint]scale=1920:1080:flags=neighbor[ref];[1]setpts=PTS+0.0/TB[b];[b]scale=1920:1080:flags=neighbor[c];[c][ref]libvmaf=log_fmt=json:phone_model=1:model_path={model_path_here}/vmaf_v0.6.1.json:n_subsample=1:log_path=log.json" -f null -



Now as per the official documentation of
vmaf with ffmpeg
found here, it sayssource/reference
file followed by theencoded/distorted/processed
file.

But almost all of the blogs I came across, they are using the other way round order of the args, i.e.
processed
file followed by theoriginal
file.

Few examples :


- 

-
https://medium.com/@eyevinntechnology/keep-an-eye-on-the-video-quality-b9bcb58dd5a1 : search for "Using VMAF within FFMPEG" in it.


-
https://websites.fraunhofer.de/video-dev/calculating-vmaf-and-psnr-with-ffmpeg/ : search for "Metric Calculation with FFmpeg" in it.








EDIT


NOTE : Changing the order does change the VMAF score.


-
-
FFmpeg decode OGG Vorbis audio as float, how to get float data from decoder
19 novembre 2020, par cs guyI am trying to decode a OGG Vorbis audio file with the following :


// if opening input failed
 if (avformat_open_input(&pFormatContext, filePath.c_str(), av_find_input_format("ogg"),
 nullptr) != 0) {
 
 LOGE("FFmpegExtractor can not open the file! %s", filePath.c_str());
 return FAILED_TO_LOAD;
 }

 durationInMillis = pFormatContext->duration / AV_TIME_BASE * secondsToMilli;
 LOGD("FFmpegExtractor opened the file, Duration: %llu", durationInMillis);

 avformat_find_stream_info(pFormatContext, nullptr);

 LOGD("pFormatContext streams num: %ui", pFormatContext->nb_streams);

 int sendPacketResult = 0;
 int receiveFrameResult = 0;

 for (int i = 0; i < pFormatContext->nb_streams; i++) {
 AVCodecParameters *pLocalCodecParameters = pFormatContext->streams[i]->codecpar;

 if (pLocalCodecParameters->codec_type == AVMEDIA_TYPE_AUDIO) {
 avCodecContext = avcodec_alloc_context3(avCodec);
 if (!avCodecContext) {
 
 LOGE("FFmpegExtractor avcodec_alloc_context3 failed!");
 return FAILED_TO_LOAD;
 }

 if (avcodec_parameters_to_context(avCodecContext, pLocalCodecParameters) < 0) {
 
 LOGE("FFmpegExtractor avcodec_parameters_to_context failed!");
 return FAILED_TO_LOAD;
 }

 if (avcodec_open2(avCodecContext, avCodec, nullptr) < 0) {
 
 LOGE("FFmpegExtractor avcodec_open2 failed!");
 return FAILED_TO_LOAD;
 }
 }

 while (av_read_frame(pFormatContext, avPacket) >= 0) {
 
 sendPacketResult = avcodec_send_packet(avCodecContext, avPacket);

 
 receiveFrameResult = avcodec_receive_frame(avCodecContext, avFrame);

 // TODO: Get frames PCM data from the decoder, 
 }
 }



I am stuck on the last part. I want to get the decoded data of the current frame as a float between -1 to +1 for all the channels the audio has but I have no idea how to. I looked at the official documents but I could not understand them. How can I get the data from the decoder on the line




// TODO : Get frames PCM data from the decoder,