
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 (56)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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) (...)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (4575)
-
Fuji .mov file converted by ffmpeg doesn't play in Windows Media Player [closed]
30 août 2023, par glipsterMy Fuji X-T3 generates an FHD movie as a .mov with HEVC video and PPM audio. The new Media Player on Windows won't play this (without buying a codec) so I convert it to .mp4 using ffmpeg CLI (ffmpeg -i in.mov out.mp4). The resulting .mp4 file uses AVC video and AAC LC audio. This plays fine in VLC, but will not play in Windows Media Player nor Media Player. I've experimented with various options, but nothing seems to work.
For the original source .mov file, MediaInfo identifies 3 streams :
1stVid : English, 201Mb/s, 1920*1080 (16:9), at 29.970 FPS, HEVC (Main10@L5.2@High)
1stAud : english, 2304 kb/s, 48.0 hKz, 24 bits, 2 channels,PCM (Little/Signed)
1 : QuickTime TC


The Output .mp4 file shows :
1stVid : English 3312kb/s, 1920*1080 (16:9) at 29.970 FPS, AVC (High 10@L4)(CABAC/4 RefFrames)
1stAud : English 132 kb/s, 48.0 kHz, 2 channels, AC LC
1 : QuickTime TC


Using ffmpeg CLI, I tried changing the bitrates for the video and audio, I tried removing the timecode stream, tried a different AAC codec, tried moving the metadata to the front (-movflags faststart), also tried -strict experimental, tried first converting to .mkv (which does work) and then converting to .mp4 (with and without copy). I had hoped one of these might work ; but nothing has worked thus far.


Has anyone else solved this problem ? Any help would be greatly appreciated.


-
How to config FFmpeg for xrgb and Aver Media capture card [closed]
12 mai 2023, par Plotter DesalorI'm trying to use FFmpeg through ffplay to display a capture card output as lossless as possible.


My capture card is named "Live Gamer Ultra-Video"


In OBS, the NV12, YV12, P010 and YUY2 lead to blurriness around text and fine pixels edges, but the XRGB one offer clear output. So I've tried to focus on this mode with FFmpeg as the default one lead to same blurriness seen in OBS.


Running "ffmpeg -f dshow -list_options true -i video="Live Gamer Ultra-Video" show me this result
(i've only kept line with wanted resolution)


ffmpeg version 6.0-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
 built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
 libavutil 58. 2.100 / 58. 2.100
 libavcodec 60. 3.100 / 60. 3.100
 libavformat 60. 3.100 / 60. 3.100
 libavdevice 60. 1.100 / 60. 1.100
 libavfilter 9. 3.100 / 9. 3.100
 libswscale 7. 1.100 / 7. 1.100
 libswresample 4. 10.100 / 4. 10.100
 libpostproc 57. 1.100 / 57. 1.100
[dshow @ 00000240bf0eac40] DirectShow video device options (from video devices)
[dshow @ 00000240bf0eac40] Pin "Capturer" (alternative pin name "0")
[dshow @ 00000240bf0eac40] pixel_format=yuyv422 min s=2560x1440 fps=30 max s=2560x1440 fps=50
[dshow @ 00000240bf0eac40] pixel_format=yuyv422 min s=2560x1440 fps=30 max s=2560x1440 fps=50 (tv, bt709/bt709/unknown, topleft)
[dshow @ 00000240bf0eac40] pixel_format=yuv420p min s=2560x1440 fps=30 max s=2560x1440 fps=60.0002
[dshow @ 00000240bf0eac40] pixel_format=yuv420p min s=2560x1440 fps=30 max s=2560x1440 fps=60.0002 (tv, bt709/bt709/unknown, topleft)
[dshow @ 00000240bf0eac40] pixel_format=nv12 min s=2560x1440 fps=30 max s=2560x1440 fps=60.0002
[dshow @ 00000240bf0eac40] pixel_format=nv12 min s=2560x1440 fps=30 max s=2560x1440 fps=60.0002 (tv, bt709/bt709/unknown, topleft)
[dshow @ 00000240bf0eac40] unknown compression type 0xE436EB7D min s=2560x1440 fps=30 max s=2560x1440 fps=30
[dshow @ 00000240bf0eac40] unknown compression type 0xE436EB7D min s=2560x1440 fps=30 max s=2560x1440 fps=30 (tv, bt709/bt709/unknown, topleft)
[dshow @ 00000240bf0eac40] unknown compression type 0x30313050 min s=2560x1440 fps=30 max s=2560x1440 fps=30
[dshow @ 00000240bf0eac40] unknown compression type 0x30313050 min s=2560x1440 fps=30 max s=2560x1440 fps=30 (tv, bt709/bt709/unknown, topleft)

video=Live Gamer Ultra-Video: Immediate exit requested



"unknown compression type 0xE436EB7D" is a pretty bad start but from https://trac.ffmpeg.org/ticket/6279 I could figured out it was just unproperly parsed RGB24 format


But if I run a very simple "ffplay -f dshow -i video="Live Gamer Ultra-Video" -pixel_format rgb24"
I got this output


ffplay version 6.0-essentials_build-www.gyan.dev Copyright (c) 2003-2023 the FFmpeg developers
 built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
 libavutil 58. 2.100 / 58. 2.100
 libavcodec 60. 3.100 / 60. 3.100
 libavformat 60. 3.100 / 60. 3.100
 libavdevice 60. 1.100 / 60. 1.100
 libavfilter 9. 3.100 / 9. 3.100
 libswscale 7. 1.100 / 7. 1.100
 libswresample 4. 10.100 / 4. 10.100
 libpostproc 57. 1.100 / 57. 1.100
[dshow @ 000001ec3fa39300] Could not set video options 0B f=0/0
video=Live Gamer Ultra-Video: I/O error



How could I use rgb format with this capture card ?


If not possible, any other format leading to proper output would be ok too.
I've tried parameters from this topic Capture full-range/lossless rgb frame from capture card that supports NV12 and YUYV output without any good result sadly.


-
i am trying to make my ipcamera stream over webrtc usingnodejs and kurento media server
5 mai 2023, par vishnu nairi am new at webrtc and rtsp, while trying to make a project on webrtc i came to a halt in my code and after weeks of online search adn usng chatgpt am still not able to resolve my problem. I want to stream my ipcamera to webrtc but the code is not working properly.am not above to start the stream.


the code is given below


const wrtc = require('wrtc');
const kurento = require('kurento-client');
const mqtt = require('mqtt');
const node_ffmpeg_stream = require('node-ffmpeg-stream');

const mqttonline_connection = require('../../mqttconnection/online_mqtt_connection');
const clientonline = mqttonline_connection.returnconnection();
const topiconline = mqttonline_connection.topic;

const RTSP_URL = 'rtsp://admin:password@192.168.0.100:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1';

async function startStreaming() {
 try {
 // Create Kurento client and pipeline
 const kurentoClient = await kurento('ws://localhost:8888/kurento');
 const pipeline = await kurentoClient.create('MediaPipeline');

 // Create WebRTC endpoint
 const webRtcEndpoint = await pipeline.create('WebRtcEndpoint');
 webRtcEndpoint.setMaxVideoRecvBandwidth(10000000); // Set max bandwidth to 10 Mbps

 // Create RTSP source and connect it to the WebRTC endpoint
 const rtspEndpoint = await pipeline.create('RtspEndpoint', {uri: RTSP_URL});
 rtspEndpoint.connect(webRtcEndpoint);

 // Start streaming
 webRtcEndpoint.gatherCandidates();

 // Subscribe to ICE candidate events and send them via MQTT
 webRtcEndpoint.on('OnIceCandidate', event => {
 const candidate = kurento.getComplexType('IceCandidate')(event.candidate);

 clientonline.publish('sdp', JSON.stringify(candidate));
 });

 // Subscribe to ICE connection state events and log them
 webRtcEndpoint.on('IceConnectionStateChanged', event => {
 console.log(`ICE connection state changed to ${event.state}`);
 });

 // Generate SDP offer and send it via MQTT
 const sdpOffer = await webRtcEndpoint.generateOffer();
 clientonline.publish('sdp', JSON.stringify(sdpOffer));

 // Start the RTSP source
 rtspEndpoint.play();

 // Listen for incoming SDP answers via MQTT and set them on the WebRTC endpoint
 clientonline.subscribe('answer');
 clientonline.on('message', (topic, message) => {
 if (topic === 'answer') {
 const sdpAnswer = JSON.parse(message);
 webRtcEndpoint.processAnswer(sdpAnswer);
 }
 });

 // Listen for incoming ICE candidates via MQTT and add them to the WebRTC endpoint
 clientonline.subscribe('candidate');
 clientonline.on('message', (topic, message) => {
 if (topic === 'candidate') {
 const candidate = JSON.parse(message);
 webRtcEndpoint.addIceCandidate(candidate);
 }
 });

 // Handle errors
 webRtcEndpoint.on('Error', error => {
 console.error('WebRTC endpoint error:', error);
 });
 rtspEndpoint.on('Error', error => {
 console.error('RTSP endpoint error:', error);
 });
 pipeline.on('Error', error => {
 console.error('Pipeline error:', error);
 });
 } catch (error) {
 console.error('Error starting streaming:', error);
 }
}

startStreaming();



am getting the error as


Error starting streaming: SyntaxError: Unknown type '[object Object]'
 at getConstructor (/home/user/Desktop/ghome/node_modules/kurento-client/lib/MediaObjectCreator.js:55:17)
 at createConstructor (/home/user/Desktop/ghome/node_modules/kurento-client/lib/MediaObjectCreator.js:74:21)
 at createMediaObject (/home/user/Desktop/ghome/node_modules/kurento-client/lib/MediaObjectCreator.js:140:23)
 at MediaObjectCreator.create (/home/user/Desktop/ghome/node_modules/kurento-client/lib/MediaObjectCreator.js:263:12)
 at startStreaming (/home/user/Desktop/ghome/extra/webrtc/mqttwrtc.js:25:41)
 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
 type: {
 params: 'rtsp://admin:password@192.168.0.100:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1',
 type: 'RtspEndpoint'
 }
}