
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (54)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)
Sur d’autres sites (3022)
-
Can I convert a live stream stream using ffmpeg to mpeg2video but using GPU instead of CPU ?
10 janvier 2023, par Gera PonceAs most of you know, Nvenc does not support to encode to mpeg2video, the only way i could find is to encode it using CPU, by using "-c:v mpeg2video" and the nvidia card is not working in this process.. Is there a way to use the GPU nvidia to encode to mpeg2video instead of leaving the work to CPU only ? I guess without using the nvenc codec ?


I have tried to use -hwaccel_device (nvidia id) and -hwaccel_output_format cuda, with -c:v mpeg2video, but all work is being done by the CPU.


Also tried the -gpu (nvidia id), but it won't make the GPU to take the process either..


-
FFMPEG : Impossible to convert between the formats supported by the filter
30 avril 2018, par NethemeTrying to decode & encode the video in FFMPEG on my GPU. Using this command :
ffmpeg -y -c:v mpeg2_cuvid -vsync 0 -deint 2 -drop_second_field 1 -surfaces 10 -i 'udp://@227.10.20.149:1234?fifo_size=100000000' -map i:0x12c -r 25 -filter fps=30,scale_npp=640:360:format=same:interp_algo=lanczos -aspect 16:9 -g 96 -vcodec h264_nvenc -b 400K -minrate 400k -maxrate 400k -f mpegts 'udp://@239.0.0.12:1000?overrun_nonfatal_option=1'
But FFMPEG still giving me this output :
Using -vsync 0 and -r can produce invalid output files
Stream mapping:
Stream #0:8 -> #0:0 (mpeg2video (mpeg2_cuvid) -> h264 (h264_nvenc))
Stream #0:8 -> #1:0 (mpeg2video (mpeg2_cuvid) -> h264 (h264_nvenc))
Stream #0:8 -> #2:0 (mpeg2video (mpeg2_cuvid) -> h264 (h264_nvenc))
Stream #0:8 -> #3:0 (mpeg2video (mpeg2_cuvid) -> h264 (h264_nvenc))
Stream #0:9 -> #4:0 (mp2 (native) -> aac (native))
Stream #0:10 -> #5:0 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[mpegts @ 0x55c260173b20] frame size not set
Output #5, mpegts, to 'udp://@239.0.0.12:1005?overrun_nonfatal_option=1':
Metadata:
encoder : Lavf57.83.100
Stream #5:0(eng): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc57.107.100 aac
[mpegts @ 0x55c260172560] frame size not set
Output #4, mpegts, to 'udp://@239.0.0.12:1004?overrun_nonfatal_option=1':
Metadata:
encoder : Lavf57.83.100
Stream #4:0(por): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc57.107.100 aac
Impossible to convert between the formats supported by the filter 'Parsed_fps_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:8
[aac @ 0x55c260173020] Qavg: 347.777
[aac @ 0x55c260173020] 2 frames left in the queue on closing
[aac @ 0x55c260174ac0] Qavg: 339.059
[aac @ 0x55c260174ac0] 2 frames left in the queue on closing
Conversion failed!My version of FFMPEG :
ffmpeg version n3.4.2-9-ga877ab75eb Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --enable-libzvbi --enable-libnpp --enable-cuda --enable-cuvid --enable-nvenc --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --enable-gpl --enable-libx264 --disable-x86asm --enable-libx265 --enable-libfdk-aac --enable-nonfree
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'I tried to change the output codec to hevc_nvenc, nvenc_hevc (all available from Nvidia), but still getting this error. What I am doing wrong ?
Thanks for tips. -
Using 'overlay_cuda' in ffmpeg with transparency in input frames
16 mai 2023, par time4teaI'm trying to overlay a full frame image on top of an MP4, in ffmpeg, using as much hardware-assistance as possible.


This is for https://github.com/time4tea/gopro-dashboard-overlay


I have the non-GPU overlay working totally fine, and would like to take advantage of the GPU now.


The inputs to ffmpeg are :


- 

- a stream from an MP4 file - with 1 audio and 1 video stream
- frames from the dashboard software, which are supplied as raw RGBA frames, at the same frame size as the movie.






I've managed to get the overlay sort of working using the nvidia extensions, but it doesn't work as it uses
nv12
frame formats which don't have any idea of transparency (AFAIK) so the overlaid frame completely obscures the movie frame - makes sense.

The incantation that does this is (put on separate lines to try to keep the different sections - inputs / transforms / outputs - obvious) :


ffmpeg -y -report -hide_banner -loglevel info 
-hwaccel cuda -hwaccel_output_format cuda 
-i movie.mp4 
-f rawvideo -framerate 10.0 -s 1024x576 -pix_fmt rgba -i - 
-filter_complex [0:v]null[mp4_stream];[1:v]format=nv12,hwupload_cuda[overlay_stream];[mp4_stream][overlay_stream]overlay_cuda,hwdownload,format=nv12 
-vcodec h264_nvenc 
-rc:v cbr -b:v 20M -bf:v 3 -profile:v high -spatial-aq true 
-movflags faststart 
output.mp4



When i try to use
yuva420p
(which I believe is the correct format, but happy to be corrected) - in all various different places, for example :

ffmpeg -y -report -hide_banner -loglevel info 
-hwaccel cuda -hwaccel_output_format yuva420p 
-i movie.mp4 
-f rawvideo -framerate 10.0 -s 1024x576 -pix_fmt rgba -i - 
-filter_complex [0:v]null[mp4_stream];[1:v]format=yuva420p,hwupload_cuda[overlay_stream];[mp4_stream][overlay_stream]overlay_cuda,hwdownload,format=yuva420p -vcodec h264_nvenc 
-rc:v cbr -b:v 20M -bf:v 3 -profile:v high -spatial-aq true -movflags faststart output.mp4




I get flavours of the same error message :


Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_1'


AIUI - auto scalers are inserted into the pipeline when things don't match resolutions or formats - but here everything should match ?


Using a
filter_complex
of[1:v]format=yuva420p,hwupload_cuda[overlay_stream];[0:v][overlay_stream]overlay_cuda,hwdownload,format=yuva420p
i.e not using a null filter, which I put in just to make quickly changing filters easy, has the same error.

Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_1'


I have looked at the suggested similar questions, and they don't appear to solve the problem for me.


Thanks for any suggestions !