
Advanced search
Medias (2)
-
Valkaama DVD Label
4 October 2011, by
Updated: February 2013
Language: English
Type: Picture
-
Podcasting Legal guide
16 May 2011, by
Updated: May 2011
Language: English
Type: Text
Other articles (77)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 February 2011, byMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Websites made with MediaSPIP
2 May 2011, byThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 April 2011, byMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus; de pouvoir déployer rapidement une multitude de sites uniques; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
On other websites (8773)
-
How to write the *args of function "avfilter_graph_send_command"(ffmpeg) when there has multiple drawtext targets?
19 August 2020, by cube_sunI add 2 drawtext on ffmpeg drawtext filter, my filters descr is like this
"drawtext=fontfile=simhei.ttf:fontcolor=#ff00ff@%1.0:fontsize=20:box=1.0:boxcolor=#00ff00@%1.0:x=0:y=0:text='123',drawtext=fontfile=simhei.ttf:fontcolor=#ff00ff@%1.0:fontsize=20:box=1.0:boxcolor=#00ff00@%1.0:x=0:y=200:text='456'", so there have two characters watermark on video.
And this filter supports altering parameters via commands: reinit, so I use function: avfilter_graph_send_command(m_filter_graph, "drawtext", "reinit", m_filters_args, NULL, 0, 0) to modify the watermarks on realtime.(m_filters_args is my *arg variate)
I try snprintf the m_filters_args as
"fontfile=simhei.ttf:fontcolor=#ff00ff@%1.0:fontsize=20:box=1.0:boxcolor=#00ff00@%1.0:x=0:y=10:text='112233',fontfile=simhei.ttf:fontcolor=#ff00ff@%1.0:fontsize=20:box=1.0:boxcolor=#00ff00@%1.0:x=0:y=200:text='445566'", but it doesn't work as I wanted, it can only modify one drawtext, I want they can be both modified, I tried some other ways, but all failed.
can u tell me how to write the *arg or there has other ways to solve the problem.


Any help would be very appreciated!


-
FFmpeg Impossible to convert between the formats supported by the filter
17 April 2020, by Changer098I'm trying to do GPU accelerated HDR tonemapping (HDR->SDR) with ffmpeg and opencl, but I keep running into this error:
Impossible to convert between the formats supported by the filter 'Parsed_hwupload_1' and the filter 'auto_scaler_1'
.

I've tried using the documentation filtergraph with this command


ffmpeg -loglevel debug -y -hwaccel cuvid -init_hw_device opencl:0.0 -threads 1 -i \ 
hdr.mkv -filter_complex
"format=p010,hwupload,tonemap_opencl=t=bt2020:tonemap=linear:format=p010, \
hwdownload,format=p010" \
-c:a copy -scodec copy -c:v hevc_nvenc -preset slow -level 5.1 -rc:v vbr_hq -cq:v \
 19 -b:v 17500k \
-maxrate:v 22000k ~/Desktop/sdr.mkv




which results in this log



Applying option init_hw_device (initialise hardware device) with argument opencl:0.0.
[AVHWDeviceContext @ 0x5587b5542fc0] 1 OpenCL platforms found.
[AVHWDeviceContext @ 0x5587b5542fc0] 1 OpenCL devices found on platform "NVIDIA CUDA".
[AVHWDeviceContext @ 0x5587b5542fc0] 0.0: NVIDIA CUDA / Graphics Device
[AVHWDeviceContext @ 0x5587b5542fc0] The cl_intel_va_api_media_sharing extension is required for QSV to OpenCL mapping.
[AVHWDeviceContext @ 0x5587b5542fc0] QSV to OpenCL mapping not usable.
{{ Shortened }}
[hevc @ 0x5587b60c8e00] Initializing CUDA frames context: sw_format = yuv420p10le, width = 3840, height = 2160
[AVHWFramesContext @ 0x5587b7573f00] Pixel format 'yuv420p10le' is not supported
[hevc @ 0x5587b60c8e00] Error initializing a CUDA frame pool
cuvid hwaccel requested for input stream #0:0, but cannot be initialized.
[hevc @ 0x5587b60c8e00] Error parsing NAL unit #6.
Error while decoding stream #0:0: Operation not permitted
{{ Shortened }}
[Parsed_format_0 @ 0x5587b6330c40] Setting 'pix_fmts' to value 'p010'
[Parsed_tonemap_opencl_2 @ 0x5587b632d3c0] Setting 't' to value 'bt2020'
[Parsed_tonemap_opencl_2 @ 0x5587b632d3c0] Setting 'tonemap' to value 'linear'
[Parsed_tonemap_opencl_2 @ 0x5587b632d3c0] Setting 'format' to value 'p010'
[Parsed_format_4 @ 0x5587b6331d40] Setting 'pix_fmts' to value 'p010'
[graph 0 input from stream 0:0 @ 0x5587b6359f40] Setting 'video_size' to value '3840x2160'
[graph 0 input from stream 0:0 @ 0x5587b6359f40] Setting 'pix_fmt' to value '64'
[graph 0 input from stream 0:0 @ 0x5587b6359f40] Setting 'time_base' to value '1/1000'
[graph 0 input from stream 0:0 @ 0x5587b6359f40] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x5587b6359f40] Setting 'frame_rate' to value '24000/1001'
[graph 0 input from stream 0:0 @ 0x5587b6359f40] w:3840 h:2160 pixfmt:yuv420p10le tb:1/1000 fr:24000/1001 sar:1/1
[format @ 0x5587b6359e00] Setting 'pix_fmts' to value 'yuv420p|nv12|p010le|yuv444p|p016le|yuv444p16le|bgr0|rgb0|cuda'
[auto_scaler_0 @ 0x5587b7581a00] w:iw h:ih flags:'bilinear' interl:0
[Parsed_format_0 @ 0x5587b6330c40] auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_format_0'
[auto_scaler_1 @ 0x5587b634e8c0] w:iw h:ih flags:'bilinear' interl:0
[Parsed_tonemap_opencl_2 @ 0x5587b632d3c0] auto-inserting filter 'auto_scaler_1' between the filter 'Parsed_hwupload_1' and the filter 'Parsed_tonemap_opencl_2'
Impossible to convert between the formats supported by the filter 'Parsed_hwupload_1' and the filter 'auto_scaler_1'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0




I'm using cuvid because I haven't been able to get ffmpeg to compile with nvdec support even though my GPU supports it. Any help would be appreciated!


-
avcodec/hevc, h2645_parse: Fix HEVC NAL unit names and constants
18 March 2020, by Andreas Rheinhardtavcodec/hevc, h2645_parse: Fix HEVC NAL unit names and constants
This commit fixes the names and constants of the reserved NAL units
with nal_unit_type 22 resp. 23. They were "IRAP_IRAP_VLC2x", but are
actually "RSV_IRAP_VLC2x".This also required a change to cbs_h265_syntax_template.c.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>