
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (69)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (9003)
-
Malloc Check Failed when opening video stream
23 août 2013, par donturnerI'm writing a BlackBerry 10 application which decodes an H264 video stream (from a Parrot AR Drone) using ffmpeg and libx264. These libraries have both been compiled for BlackBerry QNX.
Here's my code :
av_register_all();
avcodec_register_all();
avformat_network_init();
printf("AV setup complete\n");
const char* drone_addr = "http://192.168.1.1:5555";
AVFormatContext* pFormatCtx = NULL;
AVInputFormat* pInputFormat = av_find_input_format("H264");
printf("Opening video feed from drone\n");
//THIS LINE FAILS
int result = avformat_open_input(&pFormatCtx, drone_addr, pInputFormat, NULL);The last line fails with the error :
Malloc Check Failed: :../../dlist.c:1168
How can I fix this error or debug it further ?
Update : The error only occurs when I supply
pInputFormat
toavformat_open_input
. If I supply NULL I don't get an error. But for my app I must supply this parameter since it is not possible for ffmpeg to determine the video format from the feed alone. -
Malloc Check Failed when opening video stream
23 août 2013, par donturnerI'm writing a BlackBerry 10 application which decodes an H264 video stream (from a Parrot AR Drone) using ffmpeg and libx264. These libraries have both been compiled for BlackBerry QNX.
Here's my code :
av_register_all();
avcodec_register_all();
avformat_network_init();
printf("AV setup complete\n");
const char* drone_addr = "http://192.168.1.1:5555";
AVFormatContext* pFormatCtx = NULL;
AVInputFormat* pInputFormat = av_find_input_format("H264");
printf("Opening video feed from drone\n");
//THIS LINE FAILS
int result = avformat_open_input(&pFormatCtx, drone_addr, pInputFormat, NULL);The last line fails with the error :
Malloc Check Failed: :../../dlist.c:1168
How can I fix this error or debug it further ?
Update : The error only occurs when I supply
pInputFormat
toavformat_open_input
. If I supply NULL I don't get an error. But for my app I must supply this parameter since it is not possible for ffmpeg to determine the video format from the feed alone. -
Laravel ffmpeg encoding failed
8 octobre 2018, par JayJay123I am trying to convert my video using ffmpeg, but i’m getting an error message saying that the encoding failed. I’m not sure if the way I coded it might be wrong. I will just like someone to take a look at my code to see if I might of did something wrong. Here is my code
$viddy=new Video;
if($request->video){
$my_video = $request->file('video');
$video_name = uniqid().$my_video->getClientOriginalName();
$ffmpeg = FFMpeg\FFMpeg::create([
'ffmpeg.binaries' => "C:/Users/jayjay/Desktop/ffmpeg/ffmpeg/bin/ffmpeg.exe",
'ffprobe.binaries' => "C:/Users/jayjay/Desktop/ffmpeg/ffmpeg/bin/ffprobe.exe"
]);
$videoName = Storage::disk('s3')->url($video_name);
$video = $ffmpeg->open($videoName);
$format = new FFMpeg\Format\Video\X264();
$format->setAudioCodec("libmp3lame");
$format->setKiloBitrate(150);
//Save format to amasonS3
$video->save($format, Storage::disk('s3')->url('newvideo.mp4'));
//Put the new video format in the database
$viddy->video = $video;
}
$viddy->save();