
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (36)
-
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (6678)
-
swscale/aarch64/yuv2rgb : add neon yuv42{0,2}p -> gbrp unscaled colorspace converters
6 août 2024, par Ramiro Pollaswscale/aarch64/yuv2rgb : add neon yuv420,2p -> gbrp unscaled colorspace converters
checkasm —bench on a Raspberry Pi 5 Model B Rev 1.0 :
yuv420p_gbrp_128_c : 1243.0
yuv420p_gbrp_128_neon : 453.5
yuv420p_gbrp_1920_c : 18165.5
yuv420p_gbrp_1920_neon : 6700.0
yuv422p_gbrp_128_c : 1463.5
yuv422p_gbrp_128_neon : 471.5
yuv422p_gbrp_1920_c : 21343.7
yuv422p_gbrp_1920_neon : 6743.5 -
Way to bypass video upload when testing using Rspec
1er mars 2014, par JustinI'm testing a page on my app that shows videos. I'm trying to speed up the test by bypassing the video upload process or another way ??
Maybe I'm using FactoryGirl incorrectly for file uploads..
Using FactoryGirl, I'm creating the video with
FactoryGirl.define do
factory :video do
user_id 1
type "Live"
title "FooBar"
description "Foo bar is the description"
video { fixture_file_upload(Rails.root.join('spec', 'files', 'concert.mov'), 'video/mp4') }
end
endAnd in the request's spec I'm describing the videos as :
describe "videos page" do
let(:user) { FactoryGirl.create(:user) }
let!(:video1) { FactoryGirl.create(:video) }
before { visit user_video_path(user) }
it { should have_title(user.name) }
it { should have_content(user.name) }
describe "videos" do
it { should have_content(video1.description) }
end
endNow, everytime I run the test for this page it goes through the file upload process which takes more time. I'm also using FFmpeg
**video.rb (video model)**
validates :video, presence: true
has_attached_file :video, :styles => {
:medium => { :geometry => "640x480", :format => 'mp4' },
:thumb => { :geometry => "470x290#", :format => 'jpg', :time => 10 }
},
:processors => [:ffmpeg]What this does when I test the page is the CLI goes through the video upload process like it would if you were uploading the video and watching your local server.
-
hardware conversion of image pixel format in ffmpeg ?
18 janvier 2024, par dongrixinyuI am trying to decode an online rtmp video stream into RGB format frames, and then encoding RGB frames into an online stream.


Task


Here is what I do now :




decoding a video stream to get images(RGB) ---> ai model process ---> encoding frames(RGB) to form a video stream in H264




My scheme


All my code in written in C with FFmpeg dependencies. The detailed steps are :




rtmp/rtsp video stream --->
AVPacket
---(nvidia cuda)--->AVFrame
(nv12 pix fmt) --->AVFrame
(RGB pix fmt) ---> AI process.





AVFrame
(RGB pix fmt) --->AVFrame
(nv12 pix fmt) ---(nvidia cuda)--->AVPacket
---> rtmp/rtsp video stream



Now, the decoding and encoding part are run on NVIDIA GPU, which is quite fast.


But the conversion of pixel format between
AV_PIX_FMT_NV12
andAV_PIX_FMT_RGB
is run on CPU, which is astonishingly CPU-consuming cause the size of video frame is 2k.

My question


So, is there any off-the-shelf method to fulfill the conversion of image pixel format on GPU (especially via cuda) directly ?