
Recherche avancée
Autres articles (51)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (...)
Sur d’autres sites (8002)
-
vulkan_h264 : reject end_frame being called without valid session parameters
20 mai 2023, par Lynnevulkan_h264 : reject end_frame being called without valid session parameters
When seeking through MBAFF-coded H264, this can happen. Decoding calls end_frame
without calling start_frame. We are unable to decode this, as no frame
state has been set.Happens for both VAAPI and Vulkan. Could be an issue elsewhere, hence
the individual commit. -
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.


-
FFmpeg error parsing stats_file option when called from Python
12 août 2022, par user3311005I can run this command on the CMD console :


ffmpeg -i image_output\cbar_240_rec.bmp -i test_images\cbar_240.bmp -lavfi psnr=stats_file=cbar_240_rec_psnr.csv -f null -



Running this command from Python is giving me an error.


cmd = f'ffmpeg -i image_output\cbar_240_rec.bmp -i test_images\cbar_240.bmp -lavfi psnr=stats_file=test_images\cbar_240_rec.csv -f null -'
 retcode = subprocess.call( cmd, shell=True )



Gives me an error parsing the stats_file. Here's the last part of the print output.


[psnr @ 000001ca992e90c0] Unable to parse option value "extronbuildsburbank_pure3_adam_dev_4381simrivieraimage_outputcbar_240_rec.csv"
[psnr @ 000001ca992e90c0] [Eval @ 000000825e9febc0] Undefined constant or missing '(' in 'extronbuildsburbank_pure3_adam_dev_4381simrivieraimage_outputcbar_240_rec.csv'
[psnr @ 000001ca992e90c0] Unable to parse option value "extronbuildsburbank_pure3_adam_dev_4381simrivieraimage_outputcbar_240_rec.csv"
[psnr @ 000001ca992e90c0] Error setting option stats_version to value extronbuildsburbank_pure3_adam_dev_4381simrivieraimage_outputcbar_240_rec.csv.
[Parsed_psnr_0 @ 000001ca992e8fc0] Error applying options to the filter.
[AVFilterGraph @ 000001ca98dcde80] Error initializing filter 'psnr' with args 'stats_file=C:extronbuildsburbank_pure3_adam_dev_4381simrivieraimage_outputcbar_240_rec.csv'
Error initializing complex filters.
Invalid argument