
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (75)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5668)
-
ffmpeg : how to stream from rtmp to FLS ?
21 juin 2016, par yarekI can create HLS from static MPEG4 using that command :
ffmpeg -i video.mp4 -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts
I am now trying to achieve that :
live RTMP(FME)------->FFMEG-------------->HLS
I tried with :
ffmpeg -i rtmp://127.0.0.1:1935/live/video -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts
But got error :
Closing connection : NetStream.Play.StreamNotFound
rtmp ://127.0.0.1:1935/live/video : Unknown error occurredAny idea how to achieve :
RTMP---->FMPEG----->HLS ?
I also tried :
ffmpeg -i "rtmp://localhost:1935/live/yarek live=1" -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts
Seems better but stucks :
ble-zlib
libavutil 52. 0.100 / 52. 0.100
libavcodec 54. 69.100 / 54. 69.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.106 / 3. 20.106
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
rtmp server sent error
Metadata :
videokeyframe_frequency8.00
avclevel 31.00
videodevice Microsoft LifeCam Cinema
keywords
width 320.00
videodatarate 350.00
presetname Custom
copyright
creationdate Mon Oct 29 17:51:08 2012
videocodecid avc1
author
avcprofile 66.00
title
height 240.00
description
rating
framerate 20.00Thanks
-
How to process video stream ?
27 avril 2016, par sharpenerI would like to ask some experienced multimedia professional how to proceed with following task :
Given URL provides video stream and we would like to get access to decoded frames (byte stream in memory) in managed
Win7+
application (C#
). We don’t want to render/present the frames the standard way. The video format is known but not fixed (might get changed between two successive sessions, but we will know the parameters).So far, I have found there are several methods and I have build following picture in my mind :
ffmpeg
wrapper- Pros
- Self contained (no dependency to windows technologies)
- Powerful
- Cons
- Little more complex to understand
- Lot of different wrapping variants (
FFmpeg.NET
,ffmpeg-sharp
,ffmpeg-shard
,FFmpeg.AutoGen
, ...)
- Pros
DirectShow
wrapper- Pros
- Widely used/supported technology (variaous filters freely available)
- Nice/detailed documentation on
MSDN
- Cons
- Quite old
- Considered obsolete from the point of author’s view (available only for
desktop
model on runtime >= Win8)
- Pros
MediaFoundation
wrapper- Pros
- Theoretical successor of
DirectShow
, so should be available in the future
- Theoretical successor of
- Cons
- Seems to be not as good as
DirectShow
- Not very popular, limited "community" support
- Seems to be not as good as
- Pros
FFmpegInterop
wrapper- Pros
- Microsoft’s open source wrapper alternative
- Cons
- Not available for runtime < Win8
- Pros
-
FFMPEG can't find audio device for webcam on one computer
13 mars 2018, par DavidI am building a webcam recording app. I am using FFMPEG to capture the audio and video. I have a Logitech C930 webcam.
>ffmpeg -list_devices true -f dshow -i dummy ffmpeg version N-90155-g28924f4b48 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-amf —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth libavutil 56. 7.101 / 56. 7.101 libavcodec 58. 12.102 / 58. 12.102 libavformat 58. 9.100 / 58. 9.100 libavdevice 58. 2.100 / 58. 2.100 libavfilter 7. 12.100 / 7. 12.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 [dshow @ 0000024786c38680] DirectShow video devices (some may be both video and audio devices) [dshow @ 0000024786c38680] "Microsoft Camera Front" [dshow @ 0000024786c38680] Alternative name "@device_pnp_~?\display#int3470#4&1835d135&0&uid13424#65e8773d-8f56-11d0-a3b9-00a0c9223196bf89b5a5-61f7-4127-a279-e187013d7caf" [dshow @ 0000024786c38680] "Microsoft Camera Rear" [dshow @ 0000024786c38680] Alternative name "@device_pnp_~?\display#int3470#4&1835d135&0&uid13424#65e8773d-8f56-11d0-a3b9-00a0c92231967c9bbcea-909c-47b3-8cf9-2aa8237e1d4b" [dshow @ 0000024786c38680] "Logitech Webcam C930e" [dshow @ 0000024786c38680] Alternative name "@device_pnp_~?\usb#vid_046d&pid_0843&mi_00#8&dd2d9e1&0&0000#65e8773d-8f56-11d0-a3b9-00a0c9223196\global" [dshow @ 0000024786c38680] "ChromaCam" [dshow @ 0000024786c38680] Alternative name "@device_sw_860BB310-5D01-11D0-BD3B-00A0C911CE863403512D-FE5D-4D68-B053-E86D662E4D58" [dshow @ 0000024786c38680] DirectShow audio devices [dshow @ 0000024786c38680] "Microphone (2- Logitech Webcam C930e)" [dshow @ 0000024786c38680] Alternative name "@device_cm_33D9A762-90C8-11D0-BD43-00A0C911CE86\wave_1AF7CBFB-477F-44D9-B8C4-E178F036B5D1" dummy : Immediate exit requested
Notice the "Microphone (2- Logitech Webcam C930e)" audio device. I can capture from it using FFMPEG.
Now, I move the same camera to a different computer (Intel Compute Stick) running nearly the same build of windows (16299.251 on the stick, 16299.248 on the laptop). Stick is 32-bit home and laptop is 64-bit Pro (shouldn’t matter, should it ?).
I run the same command with the exact same camera and same drivers installed :>ffmpeg -list_devices true -f dshow -i dummy ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth 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 [dshow @ 00797be0] DirectShow video devices (some may be both video and audio devices) [dshow @ 00797be0] "Logitech Webcam C930e" [dshow @ 00797be0] Alternative name "@device_pnp_~?\usb#vid_046d&pid_0843&mi_00#6&dd2d9e1&0&0000#65e8773d-8f56-11d0-a3b9-00a0c9223196\global" [dshow @ 00797be0] DirectShow audio devices [dshow @ 00797be0] Could not enumerate audio only devices (or none found). dummy : Immediate exit requested
No Audio device listed ? What ? If I use python’s sounddevice module, it sees the audio device :
> python -m sounddevice 0 Microsoft Sound Mapper - Output, MME (0 in, 2 out) 1 Remote Audio, MME (0 in, 2 out) 2 Primary Sound Driver, Windows DirectSound (0 in, 2 out) 3 Remote Audio, Windows DirectSound (0 in, 2 out) 4 Remote Audio, Windows WASAPI (0 in, 2 out) 5 Microphone (Logitech Webcam C930e), Windows WDM-KS (2 in, 0 out)
I can capture from that audio device with sounddevice, but I can’t get FFMPEG to capture from it.
>ffmpeg -report -rtbufsize 50000k-f dshow -i video="Logitech Webcam C930e":audio="Microphone (Logitech Webcam C930e)" -t 120 -y -s 1920x1080 -q 2 -video_pin_name 1 -audio_pin_name 5 -filter:v setpts=1*PTS Watchmen_20180312095119_c.avi ffmpeg started on 2018-03-12 at 17:07:08 Report written to "ffmpeg-20180312-170708.log" ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.0 (GCC) configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libmfx —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth 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 video=Logitech Webcam C930e:audio=Microphone (Logitech Webcam C930e) : No such file or directory
I have been trying to debug by removing and reinstalling drivers, etc, but to no avail. I also grabbed a Microsoft Lifecam webcam and got similar results. I can see the lifecam’s audio on the laptop but not the stick in just the same manner as the logitech camera.
How can I get the audio device to show up on the stick so I can capture from it ?