
Recherche avancée
Autres articles (39)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
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 (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (4351)
-
Anomalie #1876 : Non prise en compte des guillemets dans le surlignage
14 juin 2011, par cedric -voir aussi #2025
-
FFMPEG & HW Acceleration Unable to find a suitable output format for 'cuda' ?
10 juillet 2022, par user2522885I'm curious about FFMPEG and GPU hardware acceleration. My Windows 10 system uses the Asus / nVidia GTX 760 graphics card and Intel i5-2500K CPU. My graphics card claims to be of the Kepler architecture with CUDA 3.0 as shown here.


Instead of going through the hassles of compiling FFMPEG with hw acceleration support i downloaded a pre-compiled binary from here and here.


Next, i tried running a test with hw acceleration options as recommended here :


ffmpeg -y -vsync 0 -i "input.mkv" -hwaccel cuda -hwaccel_output_format cuda -c:a copy -c:v h264_nvenc "output.mp4"



I then received the error message :




[NULL @ 000002257f4af540] Unable to find a suitable output format for 'cuda'


cuda : Invalid argument




What am i doing wrong ? For the record i install the CUDA setup file but it made no difference. I am using the latest nVidia drivers.


UPDATE


I modified the line to :


ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "input.mkv" -c:a copy -c:v h264_nvenc "output.mp4" 



The new error message is :




[h264_nvenc @ 00000191f5c8d400] Lossless encoding not supported


[h264_nvenc @ 00000191f5c8d400] Provided device doesn't support required NVENC features 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




-
couldn't render an audio after extracting the audio from the video
3 juin 2022, par Rama Rannehhi … I am trying to use FFmpegFrameRecorder to extract an audio from a video using this code


FFmpegFrameGrabber frameGrabber = new FFmpegFrameGrabber(mp4Path);
 frameGrabber.start();
 FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(new 
 File("C:/Users/ASUS/Desktop/audio.aac"),audioChannels);
 recorder.setAudioMetadata(frameGrabber.getAudioMetadata());
 recorder.setFrameRate(frameGrabber.getFrameRate());
 recorder.setTimestamp(frameGrabber.getTimestamp());
 recorder.start(frameGrabber.getFormatContext());

 Frame f=null;
 //get audio sample and record it
 while ((f = frameGrabber.grabSamples()) != null) {
 recorder.record(f);
 }
 frameGrabber.stop();
 recorder.stop();
 recorder.close();
 LOGGER.info("C:/Users/ASUS/Desktop/audio.aac");



but when I run it it gives me in terminal :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:/Users/ASUS/Desktop/Lou.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.76.100
Duration: 00:00:39.10, start: 0.000000, bitrate: 116 kb/s
Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, 
progressive), 256x144 [SAR 1:1 DAR 16:9], 63 kb/s, 23.98 fps, 23.98 tbr, 90k tbn (default)
Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 46 kb/s (default)
Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 [aac @ 000000001afd7080] noise_facs_q 31 is invalid
 [aac @ 000000001afd7080] noise_facs_q 31 is invalid
 [aac @ 000000001afd7080] noise_facs_q 31 is invalid
 [aac @ 000000001afd7080] noise_facs_q 31 is invalid
 [aac @ 000000001afd7080] noise_facs_q 31 is invalid
 [aac @ 000000001afd7080] noise_facs_q 31 is invalid
 [aac @ 000000001afd7080] noise_facs_q 31 is invalid
 [h264 @ 000000001ad8bc40] mmco: unref short failure
 [h264 @ 000000001ad8bc40] mmco: unref short failure
 [h264 @ 000000001ad8bc40] mmco: unref short failure
 [h264 @ 000000001ad8bc40] mmco: unref short failure
 [h264 @ 000000001ad8bc40] mmco: unref short failure
 and so on ...
 Output #0, adts, to 'C:\Users\ASUS\Desktop\aud.aac':
 Metadata:
 encoder : Lavf59.16.100
 Stream #0:0: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 46 kb/s



and when I try to run the audio it is not running
what's the wrong thing I did ?