
Recherche avancée
Autres articles (35)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (5143)
-
ffmpeg fifo recover_any_error not recovering
11 août 2020, par martyn GilbertIn ffmpeg documentation here (https://ffmpeg.org/ffmpeg-formats.html) it is stated that the recover_any_error fifo parameter can be set to 1 (true), recovery will be attempted regardless of type of the error causing the failure. In case of certain (usually permanent) errors the recovery is not attempted even when attempt_recovery is set to 1.


I am using fifo (combined with tee for local copy) to send SRT stream but I am seeing occasions where the recovery attempts stop (one one occasion after just 1 attempt) I am curious what are the "usually permanent" cases are that would prevent the recovery attempt ?


-
Program not working as expected on DigitalOcean Ubuntu
22 mai 2022, par StardustCurrently, I am writing a discord bot on python and tried to put it on my droplet of Digital Ocean to make it run 24/7 ; however, my play method and radio method will not produce sound in the environment. When I tested on my local python interpreter everything works fine but the statement seems to have no effect when it was run on the server.


@commands.command(name="radio")
 async def radio(self, ctx, url: str = 'https://listen.moe/fallback'):
 print("radio received!")
 channel = ctx.message.author.voice.channel
 self.is_radio = True
 try:
 self.vc = await channel.connect()

 except Exception:
 pass
 if self.vc is None:
 await ctx.send("Sorry but I cannot find where are you...")
 else:
 await ctx.send("Take a look at this! Hope you will like it~")
 self.vc.play(FFmpegPCMAudio('https://listen.moe/fallback'))



I uses the ubuntu provided by the Digital Ocean droplet, and uses git clone to copy the file into the server, then uses python3 main.py to run the code.


-
LNK 2019 unresolved symbol - FFmpeg
7 juin 2013, par Cristina1986I'm trying to use FFmpeg to open and read a video .avi
I work on win7 x64 with Visual Studio 2010For now my code is very simple :
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "SDL.h"
#include "SDL_mixer.h"
int main (int argc, char *argv[]) {
AVFormatContext *pFile_video;
int s, videoStream;
AVCodecContext *pCodecCtx;
AVCodec *pCodec;
AVFrame *pFrame;
AVFrame *pFrameRGB;
AVPacket packet;
int frameFinished;
int numBytes;
uint8_t *buffer;
av_register_all();
if((avformat_open_input(&pFile_video, "AR.avi", NULL,NULL)!=0)) cout <<"cannot open video file"</if(av_find_stream_info(pFile_video) <0) cout <<"cannot retrive stream information"<nb_streams;s++){
if((pFile_video->streams[s]->codec->codec_type) == AVMEDIA_TYPE_VIDEO) videoStream =s;
}
if(videoStream ==-1) cout <<"cannot open video stream"<code>I linked following .lib files :
avcodec.lib
avdevice.lib
avfilter.lib
avformat.lib
avutil.lib
postproc.lib
swresample.lib
swscale.libbut I get these errors :
>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: la libreria predefinita 'msvcrt.lib' è in conflitto con l'utilizzo di altre librerie; utilizzare /NODEFAULTLIB:libreria
1>main_video_ffmpeg.obj : error LNK2019: riferimento al simbolo esterno "int __cdecl avformat_open_input(struct AVFormatContext * *,char const *,struct AVInputFormat *,struct AVDictionary * *)" (?avformat_open_input@@YAHPAPAUAVFormatContext@@PBDPAUAVInputFormat@@PAPAUAVDictionary@@@Z) non risolto nella funzione _SDL_main
1>main_video_ffmpeg.obj : error LNK2019: riferimento al simbolo esterno "void __cdecl av_register_all(void)" (?av_register_all@@YAXXZ) non risolto nella funzione _SDL_main
1>C:\Users\Cristina\Desktop\OpenCV\Progetti\MIEI_PROGETTI_Vs\video_ffmpeg\Debug\video_ffmpeg.exe : fatal error LNK1120: 2 esterni non risoltiI think it is a linker error.. but I haven't other .lib file for FFmpeg library.