
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (38)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (5748)
-
Why after rendering with ffmpeg, file size did not decrease ?
15 avril 2021, par ptrraPROBLEM : After rendering a certain video with
ffmpeg
file size increased from 4GB to 6GB.

ORIGINAL VIDEO : EE1.mkv

FFMPEG COMMAND :ffmpeg -i EE1.mkv -c:a copy -c:v libx264 -crf 23 -preset medium -profile:v high out.mp4

QUESTIONS : Why did the file size increase ? What am I doing wrong ?

!DETAILS !

After a few years I made about 30 gaming videos (130GB) and with the current covid-19 situation I started recording my online classes (about 40 videos or 150GB). Now because I'm lacking space on my 1TB external HDD I started getting intoffmpeg
. Before I was only usingobs-studio
and not good parameters for recording.

I was using
CBR
mode for recording, either 5000KB or 15000KB bit rate with varying x264 presets and profiles because I was also experimenting with them. Usually superfast preset with high profile. So I wanted to convert all those videos withffmpeg
usingCRF 23
, medium preset and high profile. A note that when I'm recording withobs-studio
it's set to record in matroska format (.mkv
).

When I was rendering my online classes videos with these settings I managed to achieve 10x better compression with the same quality. And when rendering my gaming videos I managed to achieve up to 3x better compression with the same quality. However there is this one video that when rendered with the same parameters the file size increases.


The EE1.mkv should be recorded with
CBR
15000KB bit rate, with superfast preset and high profile. Also the game that is recorded in this video isEmpire Earth
which needs around 8000KB for it to look good. Everything more than 8000KB is not needed.

Thank you all for your help.


-
FFmpeg codec internal error with my decoder
10 juillet 2023, par StevenSun`Hey, I write a ffmpeg codec based on openmax. It can run success with my test code or ffmpeg test. However it run with error when I use it in chrome.
The error is
[3845:3880:0710/110530.508867:ERROR:ffmpeg_video_decoder.cc(487)] avcodec_open2 failed.-558323010
[3845:3880:0710/110530.509921:ERROR:ffmpeg_video_decoder.cc(491)] avcodec_open2 error : Internal bug, should not have happened


now I am confused with open the ffmpeg logging in chrome , so I can't resolve this problem.


The following is my codec settings :


#define OFFSET(x) offsetof(OMXCodecDecoderContext, x)
#define VDE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM

static const AVOption options[] = {
 { "omx_libname", "OpenMAX library name", OFFSET(libname), AV_OPT_TYPE_STRING, { 0 }, 0, 0, VDE },
 { "omx_libprefix", "OpenMAX library prefix", OFFSET(libprefix), AV_OPT_TYPE_STRING, { 0 }, 0, 0, VDE }, 
 { "profile", "Set the Decoding profile", OFFSET(profile), AV_OPT_TYPE_INT, { .i64 = FF_PROFILE_UNKNOWN }, FF_PROFILE_UNKNOWN, FF_PROFILE_H264_HIGH, VE, "profile" },
 { "baseline", "", 0, AV_OPT_TYPE_CONST, { .i64 = FF_PROFILE_H264_BASELINE }, 0, 0, VE, "profile" },
 { "main", "", 0, AV_OPT_TYPE_CONST, { .i64 = FF_PROFILE_H264_MAIN }, 0, 0, VE, "profile" },
 { "high", "", 0, AV_OPT_TYPE_CONST, { .i64 = FF_PROFILE_H264_HIGH }, 0, 0, VE, "profile" },
 { NULL }
};


static const AVCodecHWConfigInternal *const omx_hw_configs[] = {
 &(const AVCodecHWConfigInternal) {
 .public = {
 .pix_fmt = AV_PIX_FMT_NV12,
 .methods = AV_CODEC_HW_CONFIG_METHOD_AD_HOC |
 AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX,
 .device_type = AV_HWDEVICE_TYPE_MEDIACODEC,
 },
 .hwaccel = NULL,
 },
 NULL
};


static const AVOption ff_omxcodec_vdec_options[] = {
 { "delay_flush", "Delay flush until hw output buffers are returned to the decoder",
 OFFSET(delay_flush), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, VD },
 { NULL }
};

#define DECLARE_OMX_VCLASS(short_name) \
static const AVClass ff_##short_name##_omxcodec_dec_class = { \
 .class_name = #short_name "_libomxh264", \
 .item_name = av_default_item_name, \
 .option = ff_omxcodec_vdec_options, \
 .version = LIBAVUTIL_VERSION_INT, \
};

#define DECLARE_OMX_VDEC(short_name, full_name, codec_id, bsf) \
DECLARE_OMX_VCLASS(short_name) \
const FFCodec ff_ ## short_name ## _omx_decoder = { \
 .p.name = #short_name "_omxcodec", \
 CODEC_LONG_NAME(full_name " OpenMAX IL decoder"), \
 .p.type = AVMEDIA_TYPE_VIDEO, \
 .p.id = codec_id, \
 .p.priv_class = &ff_##short_name##_omxcodec_dec_class, \
 .priv_data_size = sizeof(OMXCodecDecoderContext), \
 .init = omx_decode_init, \
 FF_CODEC_DECODE_CB(omx_decode_frame), \
 .close = omx_decode_end, \
 .flush = omx_decode_flush, \
 .p.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING | AV_CODEC_CAP_HARDWARE, \
 .caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE | \
 FF_CODEC_CAP_SETS_PKT_DTS, \
 .bsfs = bsf, \
 .hw_configs = omx_hw_configs, \
 .p.wrapper_name = "omxcodec", \
}; 

DECLARE_OMX_VDEC(h264, "H.264", AV_CODEC_ID_H264, "h264_mp4toannexb")
DECLARE_OMX_VDEC(hevc, "H.265", AV_CODEC_ID_HEVC, "hevc_mp4toannexb")
DECLARE_OMX_VDEC(mpeg4, "MPEG-4", AV_CODEC_ID_MPEG4, NULL)



can someone give me a advice to resolve this problem ?


-
FFMPEG is not able to find window for edge browser
19 avril 2022, par randyI am trying to capture video recording for edge browser using below command


ffmpeg.exe -f gdigrab -framerate 9 -i title="About version - Profile 1 - Microsoft Edge' -vcodec libx264 -threads 1 -crf 35 -preset ultrafast -f hls -g 15 -hls_list_size 0 -hls_time 5 -r 7 -pix_fmt yuv420p -maxrate 1.7M -bufsize 2M -tune zerolatency -vf pad=ceil(iw/2)*2:ceil(ih/2)*2 index.m3u8



This is how I found title for edge browser


tasklist /v /fi "imagename eq msedge.exe" /fo list



This is the error I get (notice the weird character)


Can't find window 'About version - Profile 1 - MicrosoftΓÇï Edge'



I have also verified the title with AutoIt application. This is working fine for chrome and firefox. Let me know if some is able to record the edge browser via ffmpeg