Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (61)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9649)

  • ffmpeg, no sound from i2s adafruit microphone card (rasp 3 B)

    22 août 2018, par Mikhaël Gerbet

    I have a Raspberry pi 3 B with Strech OS + a Microphone card (i2s mems adafruit).

    I would like to make a simple record with ffmpeg (to stream after).

    When a do :

    $ arecord -D dmic_sv -c2 -r 48000 -f S32_LE -t wav -V mono -v out.wav

    it works !

    But when i try with ffmpeg, i have a audio file without sound :/

    $ ffmpeg -f alsa -ac 2 -ar 44100  -i default:CARD=sndrpisimplecar -t 10 out.wav

    The difference between the audio file generated by arecord and ffmpeg is the bits. 32 bits with arecord and 16 bits with ffmpeg.

    Maybe the problème is here ? i don’t know...

    Thank you for your help :)

    EDIT :

    now, i can generate a 32 bits audio file with

    ffmpeg -f alsa -i default:CARD=sndrpisimplecar -c:a pcm_s32le out.wav

    but i have no sound from the microphone. So the problem is not the bit format...

    Just for more information, the input device to ffmpeg is default:CARD=sndrpisimplecar because i have founded this id in arecord -l

    **** Liste des Périphériques Matériels CAPTURE ****
    carte 1: sndrpisimplecar [snd_rpi_simple_card], périphérique 0: simple- card_codec_link snd-soc-dummy-dai-0 []
     Sous-périphériques: 1/1
     Sous-périphérique #0: subdevice #0
  • FFmpeg source files wild card

    29 mars 2018, par Some1Else

    I am joining a series of image files into a movie file with FFmpeg.

    Files start at XYZ00000.PNG, XYZ00001.PNG etc. I refer to them as XYZ%05d.PNG in the FFmpeg command line.

    That works fine.

    But, if I delete the first (for example) 30 frames so my frame images start at XYZ00031.PNG onwards FFmpeg fails to build with an error ;

    [image2 @ 00000000043f2b40] Could find no file with path 'XYZ%05d.PNG' and index in the range 0-4
    XYZ%05d.PNG: No such file or directory

    Is there an alternate wildcard I can use to get FFmpeg to start at whatever the lowest numbered frame is ?

    If I rename XYZ00031.PNG to XYZ00000.PNG the build works, but only adds the single first frame. It ignores the other frames.

  • ffmpeg command line for capturing (and recording) audio and video in 720p from decklink card using Windows 7

    6 janvier 2018, par Huron

    I am trying to capture audio and video from a blackmagic decklink capture card using Windows 7 @ 720p, but I cant seem to get the ffmpeg command line settings right.

    ffmpeg -list_devices true -f dshow -i dummy

    [dshow @ 02457a60] DirectShow video devices
    [dshow @ 02457a60]  "Blackmagic WDM Capture"
    [dshow @ 02457a60]  "Decklink Video Capture"
    [dshow @ 02457a60] DirectShow audio devices
    [dshow @ 02457a60]  "Decklink Audio Capture"

    ffmpeg -list_options true -f dshow -i video="Decklink Video Capture"

    [dshow @ 03c2ea20] DirectShow video device options
    [dshow @ 03c2ea20]  Pin "Capture"
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=720x486 fps=29.97 max s=720x486 fps=29.97
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=720x486 fps=23.976 max s=720x486 fps=23.976
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=720x576 fps=25 max s=720x576 fps=25
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=720x486 fps=59.9402 max s=720x486 fps=59.9402
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=720x576 fps=50 max s=720x576 fps=50
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1920x1080 fps=23.976 max s=1920x1080 fps=23.976
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1920x1080 fps=24 max s=1920x1080 fps=24
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1920x1080 fps=25 max s=1920x1080 fps=25
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1920x1080 fps=29.97 max s=1920x1080 fps=29.97
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1920x1080 fps=30 max s=1920x1080 fps=30
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1280x720 fps=50 max s=1280x720fps=50
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1280x720 fps=59.9402 max s=1280x720 fps=59.9402
    [dshow @ 03c2ea20]   pixel_format=uyvy422  min s=1280x720 fps=60.0002 max s=1280x720 fps=60.0002

    ffmpeg -list_options true -f dshow -i audio="Decklink Audio Capture"

    [dshow @ 047fea20] DirectShow audio device options
    [dshow @ 047fea20]  Pin "Capture"
    [dshow @ 047fea20]   min ch=1 bits=16 rate= 48000 max ch=1 bits=16 rate= 48000
    [dshow @ 047fea20]   min ch=2 bits=16 rate= 48000 max ch=2 bits=16 rate= 48000
    [dshow @ 047fea20]   min ch=4 bits=16 rate= 48000 max ch=4 bits=16 rate= 48000
    [dshow @ 047fea20]   min ch=6 bits=16 rate= 48000 max ch=6 bits=16 rate= 48000
    [dshow @ 047fea20]   min ch=8 bits=16 rate= 48000 max ch=8 bits=16 rate= 48000
    [dshow @ 047fea20]   min ch=10 bits=16 rate= 48000 max ch=10 bits=16 rate= 48000
    [dshow @ 047fea20]   min ch=12 bits=16 rate= 48000 max ch=12 bits=16 rate= 48000
    [dshow @ 047fea20]   min ch=16 bits=16 rate= 48000 max ch=16 bits=16 rate= 48000

    This is the stream information for my current video/audio source, connected to the decklink card’s hdmi port

    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422(tv), 1280x720, 59.94 tbr, 10000k tbn, 59.94 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s

    Ultimately I will need to display this video on screen. And simultaneously be able to start and stop recording, while the preview keeps playing.

    My idea was to use ffmpeg to capture the video and audio signal and transmit this to a network stream (eg 127.0.0.1:6666). Then use VLC player to display the stream (the preview). And ultimately start and/or stop another ffmpeg to save that same stream to disk.

    In my mind this works, but I am no audio/video expert so if anyone with more experience could help out, I would appreciate it.

    Update :

    I have been able to display the video using ffplay, with the following command :

    ffplay -f dshow -video_size 1280x720 -rtbufsize 702000k -framerate 60 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -threads 2

    Next step is streaming it so I can view the stream (preview) with VLC.

    Tried to use this command :

    ffmpeg -f dshow -video_size 1280x720 -rtbufsize 702000k -framerate 60 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -threads 2 -f mpegts rtp://127.0.0.1:6666?pkt_size=188?buffer_size=65535

    Which does not give any errors, so appears to work. But when I try to open the stream in VLC I get the following error :

    SDP required :
    A description in SDP format is required to receive the RTP stream. Note that rtp :// URIs cannot work with dynamic RTP payload format (65).

    After a bit of reading it seems I should not be streaming to rtp :// but rather to udp ://

    Command became :

    ffmpeg -f dshow -video_size 1280x720 -rtbufsize 702000k -framerate 60 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -threads 2 -f mpegts udp://127.0.0.1:6666?pkt_size=188?buffer_size=65535

    And when I try to open it now in VLC I get no error, no warning, but also no video.

    Time for some more reading.