
Recherche avancée
Autres articles (73)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (11210)
-
Some seconds of video getting skipped while using ffmpeg source code [on hold]
30 juin 2017, par Swapnil KondeI am using transcoding.c file of ffmpeg Example for creating chunks of videos in .ts format,
And we are observing some frames/seconds are skipped from Actual Video.
Can Anyone point out where exactly we should focus on.
We are using latest ffmpeg version 3.3.2.
Sometimes we do get Generic error in an external library error as well in encode_write_frame function.Thanks.
-
Merge pull request #1626 from Arkni/dev-dependency
1er novembre 2015, par staabmMerge pull request #1626 from Arkni/dev-dependency
Package.json : Upgrade dev-dependencies to latest versions
-
AccessViolationException in ffmpeg (called from .NET with FFmpeg.AutoGen)
13 septembre 2022, par zgabiI'm trying to "download"/stream an RTSP stream with FFmpeg.Autogen. I receive an AccessViolationException before the actual stream begins.


I tried multiple FFmpeg and FFmpeg.AutoGen version (for example the latest stable FFMpeg version 5.1.1 from gyan.dev site and the latest FFmpeg.Autogen : 5.1.1). I also tried version 4.x (of course both ffmpeg and FFmpeg.AutoGen)


This code works with a lot of Hikvision camera streams, I get the Access Violation with an expensive InfiRay thermal camera. (But anyway if it sends some corrupt data, ffmpeg should not crash.)


My code is (this is only the initialization, since the problem occures there) :


av_log_set_level(AV_LOG_DEBUG);

AVFormatContext* cf = null;

try
{
 cf = avformat_alloc_context();
 if (cf == null)
 {
 throw new Exception("Could not allocate the format context");
 }

 int probeSize = 32768 * 2;
 cf->probesize = probeSize;

 AVDictionary* options = null;
 string probeSizeStr = probeSize.ToString();
 av_dict_set(&options, "analyzeduration", probeSizeStr, 0);
 av_dict_set(&options, "probesize", probeSizeStr, 0);
 av_dict_set(&options, "rtsp_transport", "tcp", 0);

 string url =
 "rtsp://horizontetest:horizontetest@122.5.39.146:7828/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif";
 int ret = avformat_open_input(&cf, url, null, &options);
 if (ret != 0)
 {
 throw new Exception("Could not open the input");
 }

 ret = avformat_find_stream_info(cf, &options);
 Console.WriteLine(probeSizeStr);
 if (ret < 0)
 {
 throw new Exception("Could not find stream info");
 }

 if (cf->streams == null)
 {
 throw new Exception("Could not find stream");
 }
}
finally
{
 if (cf != null)
 {
 avformat_close_input(&cf);
 }
}



Access Violation occures in the avformat_find_stream_info call.