
Recherche avancée
Médias (91)
-
#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
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (112)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (11588)
-
FFmpeg. avcodec_find_encoder(AV_CODEC_ID_H264) return false
14 juillet 2016, par Иван ЧвановThe problem : I can not connect the h264 codec for encoding and decoding of frames.
Description :
I downloaded from here ffmpeg library https://ffmpeg.zeranoe.com/builds/, version dev.
Connect it to your project QT :
extern "C"
{
#include
#include
#include
#include
#include
}
#pragma comment (lib, "avcodec.lib")
#pragma comment (lib, "avformat.lib")
#pragma comment (lib, "swscale.lib")
#pragma comment (lib, "avutil.lib")Next prescribe
av_register_all();
to include all codecs.Next, call the function :
avcodec_find_encoder(AV_CODEC_ID_H264)
, returns false.In the ReadMe file, the library said that it was collected with —enable-libx264 and —enable-gpl compile the keys including h264 codec that is supposed to be.
If the call :
avcodec_find_encoder(AV_CODEC_ID_MPEG1VIDEO)
, it returns an object AVCodec, as it should.I use the MinGW compiler. OC Windows 7.
How can I resolve or work around the problem ? Compile the library itself has not yet obtained. I understand you to connect sources and "poking" them, that too is meaningless.
** Once again, I will describe my problem : **
I need to encode the codec h264 (can VP9) individual frames in one program, and then decode them in another program. You can use other libraries. The language C ++. It is necessary to use interframe compression codec, rather than simply pressed apart frames.
Sorry for my english.
Ideas. Advice. Suggestions.
-
FFmpeg. avcodec_find_encoder(AV_CODEC_ID_H264) return false
14 juillet 2016, par Иван ЧвановThe problem : I can not connect the h264 codec for encoding and decoding of frames.
Description :
I downloaded from here ffmpeg library https://ffmpeg.zeranoe.com/builds/, version dev.
Connect it to your project QT :
extern "C"
{
#include
#include
#include
#include
#include
}
#pragma comment (lib, "avcodec.lib")
#pragma comment (lib, "avformat.lib")
#pragma comment (lib, "swscale.lib")
#pragma comment (lib, "avutil.lib")Next prescribe
av_register_all();
to include all codecs.Next, call the function :
avcodec_find_encoder(AV_CODEC_ID_H264)
, returns false.In the ReadMe file, the library said that it was collected with —enable-libx264 and —enable-gpl compile the keys including h264 codec that is supposed to be.
If the call :
avcodec_find_encoder(AV_CODEC_ID_MPEG1VIDEO)
, it returns an object AVCodec, as it should.I use the MinGW compiler. OC Windows 7.
How can I resolve or work around the problem ? Compile the library itself has not yet obtained. I understand you to connect sources and "poking" them, that too is meaningless.
** Once again, I will describe my problem : **
I need to encode the codec h264 (can VP9) individual frames in one program, and then decode them in another program. You can use other libraries. The language C ++. It is necessary to use interframe compression codec, rather than simply pressed apart frames.
Sorry for my english.
Ideas. Advice. Suggestions.
-
Encoding failed while adding watermark using ffmpeg in Laravel
16 décembre 2020, par RuturajsinhI'm getting an error while adding a watermark on the video in Laravel.
I'm using this protonemedia/laravel-ffmpeg package and I got reference code from here stackoverflow answer. I'm using the code from the first answer. If I do not add a watermark then it's working fine, but when I add a watermark I got an error.




FFMpeg\Exception\RuntimeException : Encoding failed in file E :\xampp\htdocs\Learn\video-demo\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php on line 106




I'm using PNG image and MP4 video and I'm using first time this type of package so I don't know how to fix that and I didn't find any right solution.


Please help me to fix that.
Thanks and also sorry for bad English.


My watermark function :


public function postVideo(Request $request)
{
 $video_file = $request->file('file');

 $ffmpeg = FFMpeg\FFMpeg::create();
 $video = $ffmpeg->open($video_file);

 
 $watermark = public_path()."/app_logo.png";
 $reqExtension = "mp4";

 if (!empty($watermark))
 {
 $video->filters()
 ->watermark($watermark, array(
 'position' => 'bottom',
 'top' => 25,
 'right' => 50,
 ));
 }
 $format = new FFMpeg\Format\Video\X264();
 $format->setAudioCodec("libmp3lame");
 

 $randomFileName = rand().".$reqExtension";
 $saveLocation = public_path(). '/watermark/'.$randomFileName;
 $video->save($format,$saveLocation);

 if (file_exists($saveLocation))
 return "http://localhost:8000/video/$randomFileName";
 else
 return "http://localhost:8000/test/thumb/404.png";
 
}