Hello.
I have searched many website to find some CLI of ffmpeg. but I could not understand and figure it out due to my limited video/audio technical knowledge.
currently, I am writing a QT code to transmit raw video/audio data from my application(webcam/microphone) to ffmpeg on windows 7 platform.
so, I got this CLI at stream-m open
ffmpeg -f vfwcap -r 16 -i 0 -i http://localhost:8081/ -g 52 \ /* this looks it tries to take video frames from webcam and to take audio stream thru network, it is not very clear if they use TCP or UDP */
-acodec libvorbis -ab 64k -vcodec libvpx -vb 448k \ /* I guess this option tries to actual transcoding in realtime for both video and audio */
-f matroska http://example.com:8080/publish/first?password=secret /* using matroska container, it stream out to stream-m server */
Somehow I could not quite understand each options in detail.
I looking for a cli for ffmpeg to take both raw audio/video data through network protocols. (possible using http)
I think current my CLI does not work; maybe there is something wrong.
ffmpeg -i http://localhost:8082 -i http://localhost:8081 -g 52 -acodec libvorbis -ab 64k -vcodec libvpx -vb 448k -f matroska http://localhost:54321/publish/first?password=secret
In addition, I would like to get some basic approach how to send raw audio/video data to ffmpeg. such as which application network layer(http, rtp and so on), network layer( tcp or udp ), how much data I can send to ffmpeg ? what is delimiter for each video/audio frame ?
My knowledge and information is limited, I would like to get some your detailed guideline for me to approach if you don't mind it.
