Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (91)

Sur d’autres sites (16689)

  • Unknown Codec error at ffserver

    23 mai 2016, par Potato

    I installed ffmpeg following this page, https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    As you see I enabled x264.
    But when I run ffserver, I get

    /etc/ffserver.conf:16: Unknown VideoCodec: libx264
    /etc/ffserver.conf:24: Unknown AudioCodec: libfaac

    My conf file is

    HTTPPort 8080
    RTSPPort 8090
    HTTPBindAddress 0.0.0.0
    RTSPBindAddress 0.0.0.0
    MaxClients 1000
    MaxBandwidth 1000000

    <feed>
    Launch ffmpeg -f v4l2 -i /dev/video0 -f alsa -ac 1 -i hw:1
    FileMaxSize 400K
    </feed>

    <stream>
    Format rtp
    Feed feed1.ffm
    VideoCodec libx264
    VideoFrameRate 24
    VideoBitRate 100
    VideoSize 320x240
    #AVPresetVideo default
    #AVPresetVideo baseline
    AVOptionVideo flags +global_header

    AudioCodec libfaac
    AudioBitRate 32
    AudioChannels 1
    AudioSampleRate 22050
    AVOptionAudio flags +global_header
    </stream>

    Well, what can I do more.

  • Compile FFmpeg with openssl for macOS

    23 juin 2017, par H. Wilson

    Hi I would like to ask how to compile ffmpeg with openssl for macOS.

    When I type https in ffmpeg to download / encode webstream from the website I always get an error

    "https protocol not found, recompile FFmpeg with openssl, guntls. or securetransport enabled"

    whilst http does work (some websites didn’t allow http as I got an error "HTTP error 403 Forbidden though)

    https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX

    I have read the link above but I am unsure about the process as I don’t use homebrew to install ffmpeg but built myself.

    I am the very beginner using ffmpeg and any help would be appreciated..
    I hope somebody could show me its process to compile ffmpeg with openssl.

    For further advice, I am wondering if the function of ffmpeg I built myself is same as the static one here : ttps ://ffmpeg.zeranoe.com/builds/

    I built ffmpeg for mac by this website : http://ericholsinger.com/install-ffmpeg-on-a-mac

    Thanks in advance

  • Using ffmpeg to encode web dash and audio drift

    1er octobre 2016, par John Joske

    I’m trying to use ffmpeg to create webm-dash encoded files from a usb web cam. Adapted from this example http://wiki.webmproject.org/adaptive-streaming/instructions-to-do-webm-live-streaming-via-dash

    I have managed to get something nearly works with the following command :

    ffmpeg -f video4linux2 -framerate 30 -s 640x360 -i /dev/video0
    -thread_queue_size 512 -f alsa -ar 44100 -ac 2 -i hw:2 -map 0:0 -pix_fmt yuv420p -c:v libvpx-vp9 -s 640x360 -keyint_min 60 -g 60 -speed 6 -tile-columns 4 -frame-parallel
    1 -threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime
    -lag-in-frames 0 -error-resilient 1 -f webm_chunk -header video_360.hdr" -chunk_start_index 1 video_360_%d.chk -map 1:0 -c:a libvorbis -b:a 128k -ar 44100
    -f webm_chunk -copytb 1 -audio_chunk_duration 2000 -header video_171.hdr -chunk_start_index 1 video_171_%d.chk

    However over a period of time the audio chunks slowly get behind the video chunks, can anyone suggest a way to ensure they stay the same.