
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 (105)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (11604)
-
Why this ffmpeg mp4/mkv/wmv/flv/avi to webm command line with cuda is as slow as with CPU ?
2 février 2023, par uchiim playing with my video files, I want to convert them from mp4, mkv, wmv, avi, flv, mov... to webm.


So I have written this :


for file in *
 do 
if [ -f "$file" ]
 then filename="${file%.*}"
 ../ffmpeg -hwaccel nvdec -hwaccel_device 0 -hwaccel_output_format cuda -i "$file" -c:v vp9 -b:v 0 -crf 31 -c:a libvorbis "$filename".webm
fi
done



As shown, I have compiler my own ffmpeg binary, with those options :


./configure --enable-gpl --enable-libx264 --enable-nonfree --enable-cuda-nvcc --enable-libvpx --enable-vaapi --enable-libvorbis --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64



It works, but, with CPU I got speed 0,1x and with cuda... almost the same.


My CPU ? 11th Gen Intel(R) Core(TM) i7-11800H


My GPU ? GeForce RTX™ 3060 mobile


Filesize ? 300-3000mb (same speed with any)


Is there anything I could do ? (I also tried vp9_vaapi, getting


Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented



Any clue ? Or do I have to give up ?


Thanks


-
FFmpeg returning error when obs studio tries to enable NVENC
20 octobre 2022, par Qwerty_PLMApparently the error in obs is "Failed to open NVENC codec : generic error in an external library". I'm using ffmpeg nvenc encoder. the log shows the following lines.


[h264_nvenc @ 0x56341a8cdf40] The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
[h264_nvenc @ 0x56341a8cdf40] OpenEncodeSessionEx failed: out of memory (10): (no details)
[h264_nvenc @ 0x56341a8cdf40] No capable devices found



When I run
nvidia-smi
, the result is below

-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 54C P5 21W / N/A | 58MiB / 8192MiB | 26% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
 
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 5595 G /usr/lib/Xorg 12MiB |
| 0 N/A N/A 15882 G obs 44MiB |
+-----------------------------------------------------------------------------+




My environment :


- 

- Arch linux with kernel 6.0.2
- RTX 3070 laptop
I hope to find an solution to allow me to use nvenc encoding for recording videos.






Software encoding does work, but I'm using a laptop cpu which provides poor performance.


UPD : applying the patch from
https://github.com/keylase/nvidia-patch
worked but I want to know why it didn't work before because I've never run any process that uses nvenc, and the patch only enables multiple nvenc sessions.

-
ffmpeg h264_nvenc force level=41
9 octobre 2022, par MauroI have some videos at 1080p 60fps.


These videos are with level=50 and my TV plays only videos up to level=41, so I want to convert my videos using ffmpeg and hardware acceleration.


I have a Windows 10 machine with ffmpeg and Geforce 2060, so I try run below command :


ffmpeg -i video.mp4 -vcodec h264_nvenc -preset slow -level 4.1 output.mp4



but I get this error :


[h264_nvenc @ 000001dd43cd07c0] InitializeEncoder failed : invalid param (8) : Invalid Level.
Error initializing output stream 0:0 — Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


When I try to run the same command above using "-level 4.2" or above, the encode process works ! But it is useless for me, because I really need "-level 4.1".


I noticed that if use libx264 instead of h264_nvenc, the encode process accepts "-level 4.1", but it take too long to complete (I want to enjoy hardware acceleration instead of CPU).


How can I force h264_nvenc to accept "level=4.1" ?