Recherche avancée

Médias (0)

Mot : - Tags -/images

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (46)

Sur d’autres sites (9023)

  • ffmpeg with AudioUnit

    27 octobre 2012, par deimus

    What I have

    My aim is to parse some media file using ffmpeg and provide video and audio playback. Which I do successfully using the OpenGL for video and AudioQueue for audio.

    What I need to do
    I need to change AudioQueue to Audio Unit service, because it does provide several nasty features for Audio manipulations.

    Basically I'm confused on integration of Audio Units into ffmpeg run loop.
    So would like to have some references/samples from you guys where Audio Unit is intergrated with ffmpeg media playback loop i.e. media packet extraction and its pushing into some buffer which Audio Unit can play.

  • Is it possible to capture audio from an ASIO device with ffmpeg ?

    26 mai 2016, par Amfasis

    We have a setup with a Windows 7 machine where we installed Dante Virtual Soundcard and start that soundcard with ASIO capabilities. The soundcard will receive audio over the network from a Tesira server. We want to capture the audio to files (highly preferring each channel to a separate file). The files will be played back on a later moment. There will likely be 6 channels or more.

    In the same setup we use ffmpeg to capture some video which is working fine, with Direct Show. So for audio we wanted to use the same setup, since ffmpeg is able to record audio as well. However, there seems to be no option to select the ASIO devices which the virtual soundcard probably creates. So the question is what command line to use for ffmpeg, or what to install ? Or which other program can record ASIO from command line ?

    I already tried installing :

    • Asio4all (actually wrong way around)
    • sox (don’t know why actually)
    • HiFi Cable Asio Bridge (from VB-audio, not enough channels even with donate version)
    • Voicemeeter (from VB-Audio, not enough channels and actually mixes down)
    • O Deus Asio link, this might be an interesting option but it did not let me configure any route, any suggestions ?

    One thing I noticed is that the virtual soundcard can also be set to use WDM. Then I can see the devices with ffmpeg -list_devices true -f dshow -i duymmy, but recording does not yield any result, I have to ctrl-c to make it stop instead of q, and the file is zero bytes. Supposedly this is because the data over the network is all ASIO formatted and the Tesira Server cannot send "WDM data". FFmpeg stops at selecting the capture pin for audio only

    EDIT :

    I ran ffmpeg with high verbosity and when selecting the WDM soundcard it stops at Selecting pin Capture on audio only. Also when requesting the options it gives the same line for 22 times : min ch=1 bits=8 rate= 11025 max ch=2 bits=16 rate= 44100

  • How to best set FFMPEG scenecut threshold

    28 décembre 2018, par Ariana

    I am using FFMPEG to get live stream (from an ATSC receiver), and cut it into shots/scenes. Looks like there is a scenecut threshold (20 in my example) that specifies the sensitivity for scene change detection. What is the best value to set for best shot extraction ? I need the outputs to be a single scene/shot with best accuracy possible.

    ffmpeg -i http://hts:hts@<ip address="address">:<port>/stream/service/<hash address="address"> -y -c:v libx264 -profile:v high -prese6t:v fast -deinterlace -x264opts min-keyint=15:keyint=1000:scenecut=20 -b:v 2000k -c:a aac -b:a 128k -f segment -segment_format mp4 -segment_format_options movflags=empty_moov+frag_keyframe+default_base_moof+skip_trailer+faststart /home/1/output%%05d.mp4
    </hash></port></ip>