
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (66)
-
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (...)
Sur d’autres sites (9514)
-
ffmpeg hardware vaapi encoding VC1 to H.265 [closed]
18 août 2024, par netzwanzeI am trying to transcode a video from VC1 to H.265 using hardware acceleration.
VC1 by software decode and then encode by hardware acceleration.


ffmpeg -i title_t01.mkv -map 0 -c:a copy -c:s copy -c:v hevc_vaapi DUMB_AND_DUMBER.mkv



Unfortunately this does not work


detected 16 logical cores
[graph 0 input from stream 0:0 @ 0x55bc75120200] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x55bc75120200] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x55bc75120200] Setting 'time_base' to value '1/1000'
[graph 0 input from stream 0:0 @ 0x55bc75120200] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x55bc75120200] Setting 'frame_rate' to value '24000/1001'
[graph 0 input from stream 0:0 @ 0x55bc75120200] w:1920 h:1080 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:1/1
[format @ 0x55bc75120a40] Setting 'pix_fmts' to value 'vaapi'
[auto_scale_0 @ 0x55bc750eae80] w:iw h:ih flags:'' interl:0
[format @ 0x55bc75120a40] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_null_0' and the filter 'format'
Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0'
[vf#0:0 @ 0x55bc751182c0] Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
[vist#0:0/vc1 @ 0x55bc751134c0] Decoder thread received EOF packet
[vist#0:0/vc1 @ 0x55bc751134c0] Decoder returned EOF, finishing
[vist#0:0/vc1 @ 0x55bc751134c0] Terminating decoder thread
Error while filtering: Function not implemented



-
FFmpeg hardware decoder hevc_cuvid is duplicating frames [closed]
29 mai 2021, par Diksha AggarwalI am using FFmpeg for Image and Video processing on GPU instance. Issue is frames are getting duplicated if we use hardware decoder.


if I use
ffmpeg -hwaccel_output_format cuda -hwaccel cuvid -c:v hevc_cuvid -i rgb.mkv -c:v hevc_nvenc rgb_mp4_rebox5.mp4 -y
, then frames are duplicated and duration of video exceeds from 2.04 sec to 2.31 sec

If I use
ffmpeg -hwaccel_output_format cuda -hwaccel cuvid -i rgb.mkv -c:v hevc_nvenc rgb_mp4_rebox5.mp4 -y
, then frames are intact and duration is same too which is 2.04 sec but this decreases the speed of the process from 2.32x to 2.14x

If I use
ffmpeg -hwaccel_output_format cuda -vsync 0 -hwaccel cuvid -c:v hevc_cuvid -i rgb.mkv -c:v hevc_nvenc rgb_mp4_rebox5.mp4 -y
, then frames are of same number but duration of video exceeds from 2.04 sec to 2.18 sec

Can anyone help why hardware decoder is duplicating the frames ?


-
ffmpeg : "Impossible to convert between the formats" when using NVIDIA GPU hardware acceleration
24 mai 2021, par MorenoGentiliI'm using ffmpeg from the command line on Windows 10 and I wanted to gave GPU acceleration a try to improve execution times. A simple cut command like this works fine and its execution time is reduced by 60-70%. Awesome.


ffmpeg -hwaccel cuvid -c:v h264_cuvid -ss 00:00:10 -i in.mp4 -c:v h264_nvenc out.mp4



Now I tried to use the -filter_complex flag to overlay, fade and translate a png image over a video. The working non-GPU enhanced command is this one :


ffmpeg -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x='if(gte(t,30), (t-30)*10, NAN)'" -movflags +faststart out.mp4



Then, I added the GPU-related flags to the command like this.


ffmpeg -hwaccel cuvid -c:v h264_cuvid -i in.mp4 -loop 1 -t 75 -i overlay.png -filter_complex "[1:v]fade=t=in:st=30:d=0.3:alpha=1,fade=t=out:st=35.7:d=0.3:alpha=1[png1];[0:v][png1]overlay=x='if(gte(t,30), 60-tanh((t-30)*30/5)*60, NAN)'" -movflags +faststart -c:v h264_nvenc out.mp4



But it won't work. I get this error.


Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0



I don't even know what it means. Can I actually run ANY ffmpeg command on the GPU with GPU acceleration ? I've found some information about the hwupload_cuda flag but I'm not sure if I should use it and how. My attempts have failed so far.


Any advice on how I should modify the command to make it work on the GPU ?