
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (39)
-
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 (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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 (...)
Sur d’autres sites (8033)
-
Anomalie #4729 (Nouveau) : problème d’affichage dans la colone date
13 avril 2021, par Franck DHello, j’ai essayer en local mais aussi chez ovh en php 8 et cela fait pareil.
spip SPIP 3.3.0-dev GIT [master : 235be9bc] sans même un article dedansInstallation d’un spip tout neuf vierge avec uniquement gd2 et les miniatures d’aciver et le plug simplog que j’ai eu via svp
J’ai fait l’ajout d’un fichier mes_options après l’installation avec dedans :
define(’_NO_CACHE’, -1) ;
define(’_INTERDIRE_COMPACTE_HEAD_ECRIRE’, true) ;
error_reporting(E_ALL^E_NOTICE) ;
ini_set ("display_errors", "On") ;
define(’SPIP_ERREUR_REPORT’,E_ALL) ;
$GLOBALS[’taille_des_logs’] = 500 ;
define(’_MAX_LOG’, 500000) ;
define(’_LOG_FILELINE’,true) ;
define(’_LOG_FILTRE_GRAVITE’,8) ;
define(’_DEBUG_SLOW_QUERIES’, true) ;
define(’_BOUCLE_PROFILER’, 5000) ;Je viens de me rendre compte qu’il y a un problème, si je clique pour un affichage à deux ans, pour un tableau (voir copie d’écran)
-
Continuous remultiplexing of two MPEG-TS multicasts into a single MPEG-TS multicast in the face of upstream errors
29 mars 2021, par Anonymous CowardI remultiplex PIDs from two incoming multicasts into a single TS using something like below :


ffmpeg -i udp://239.1.1.1:5000 -i udp://239.1.1.2:5000 -map 0:v -map 0:a -map 1:a -codec copy -f mpegts udp://239.1.1.3:5000



This works well when the multicasts are stable, but occasionally one of the multicasts will disappear for a short period of time. In this case, the output stops and the remaining input buffer start to fill as it is not being drained, sometimes overrunning the circular buffer. When the failed input returns, the backed-up buffer is not drained, so there is an ongoing offset between the inputs.


Is it possible to configure ffmpeg in such a way that the output continues, just without the missing PID ? eg so the video and first audio continue, but the second audio is not present for the period that input is missing.


Thanks in advance !


-
How to use FFMPEG with Nvidia Acceleration (Nvenc) to hardcode / burn in subtitles
11 février 2024, par Ibraheem NofalSo I'm trying to use Nvenc to accelerate video encoding. The aim is to have 1 input video file and 1 input subtitle, and to get multiple outputs at different resolutions with subtitles hardcoded or burned into the video. I've tried multiple approaches but can't figure out how to do it.


Here's the command that I'm currently using :


ffmpeg -hwaccel cuvid -i 3030025890-TEST.mp4 -i output_ar.srt -filter_complex "[0:v]scale_npp=1920:1080, hwdownload,format=nv12[base], [base]subtitles=output_ar.srt[marked]" -map "[marked]" -c:v h264_nvenc -map 0:v:0 -map 0:a:0 -g 50 -b:v 5M -maxrate 5.5M -minrate 4M -bufsize 5M -preset fast 1080_output.mp4



and here's the output :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '3030025890-TEST.mp4':
 Metadata:
 major_brand : M4V 
 minor_version : 1
 compatible_brands: isomavc1mp42
 creation_time : 2021-01-05T13:45:58.000000Z
 Duration: 00:45:04.28, start: 0.000000, bitrate: 5574 kb/s
 Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5000 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
 Metadata:
 creation_time : 2021-01-05T13:45:58.000000Z
 handler_name : ETI ISO Video Media Handler
 encoder : Elemental H.264
 Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
 Metadata:
 creation_time : 2021-01-05T13:45:58.000000Z
 handler_name : ETI ISO Audio Media Handler
 Stream #0:2(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
 Metadata:
 creation_time : 2021-01-05T13:45:58.000000Z
 handler_name : ETI ISO Audio Media Handler
 Stream #0:3(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
 Metadata:
 creation_time : 2021-01-05T13:45:58.000000Z
 handler_name : ETI ISO Audio Media Handler
 Stream #0:4(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
 Metadata:
 creation_time : 2021-01-05T13:45:58.000000Z
 handler_name : ETI ISO Audio Media Handler
 Stream #0:5(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
 Metadata:
 creation_time : 2021-01-05T13:45:58.000000Z
 handler_name : ETI ISO Audio Media Handler
 Stream #0:6(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
 Metadata:
 creation_time : 2021-01-05T13:45:58.000000Z
 handler_name : ETI ISO Audio Media Handler
Input #1, srt, from 'output_ar.srt':
 Duration: N/A, bitrate: N/A
 Stream #1:0: Subtitle: subrip
[Parsed_subtitles_3 @ 0x5601070b1dc0] Shaper: FriBidi 0.19.7 (SIMPLE)
Fontconfig error: Cannot load default config file
[Parsed_subtitles_3 @ 0x5601070b1dc0] No usable fontconfig configuration file found, using fallback.
Fontconfig error: Cannot load default config file
[Parsed_subtitles_3 @ 0x5601070b1dc0] Using font provider fontconfig
Stream mapping:
 Stream #0:0 (h264) -> scale_npp (graph 0)
 subtitles (graph 0) -> Stream #0:0 (h264_nvenc)
 Stream #0:0 -> #0:1 (h264 (native) -> h264 (h264_nvenc))
 Stream #0:1 -> #0:2 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[h264 @ 0x56010792f980] Error creating a NVDEC decoder: 1
[h264 @ 0x56010792f980] Failed setup for format cuda: hwaccel initialisation returned error.
[Parsed_subtitles_3 @ 0x560107364cc0] Shaper: FriBidi 0.19.7 (SIMPLE)
Fontconfig error: Cannot load default config file
[Parsed_subtitles_3 @ 0x560107364cc0] No usable fontconfig configuration file found, using fallback.
Fontconfig error: Cannot load default config file
[Parsed_subtitles_3 @ 0x560107364cc0] Using font provider fontconfig
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
[aac @ 0x56010734d400] Qavg: 65536.000
[aac @ 0x56010734d400] 2 frames left in the queue on closing
Conversion failed!



Edit : Made some progress. I now no longer get an error, but upon viewing the output, there's no subtitles burned in.
Command :


ffmpeg -hwaccel cuvid -c:v h264_cuvid -i 3030025890-TEST.mp4 -c:v h264_nvenc -map 0:v:0 -map 0:a:0 -g 50 -b:v 5M -maxrate 5.5M -minrate 4M -bufsize 5M -vf "scale_npp=1920:1080, hwdownload, format=nv12, subtitles=output_ar.srt, hwupload" -preset fast 1080_output.mp4