LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-05-2014, 12:42 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,719

Rep: Reputation: 256Reputation: 256Reputation: 256
Command line to stream audio/video using ffmpeg?


Hello,

I would like to stream the audio+video over http from a single command line.

Until now, I have over rtp/rtsp the audio, but I need a compatible format for Apple Safari.

Code:
ffmpeg -f alsa -ac 1 -i plughw:0 -ar 44100 -f mpegts -f rtp://192.168.1.150:1234
Would you have command line to do so ?

best regards
 
Old 08-05-2014, 01:41 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,213

Rep: Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539
I tried this with a Raspberry Pi for a 'proof of concept' thing and a fifo proved useful, as you can write into the fifo and draw out the other end. fifo stands for First In First Out. man mkfifo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FFmpeg - Replace Audio With Audio From Another Video golmschenk Linux - Software 1 10-17-2012 03:10 PM
FFMPEG : While converting a video how to select second audio stream bloodstreetboy Linux - Software 4 07-16-2012 08:11 AM
ffmpeg mixing audio/video - trying to end vid after video stream completes joejoe99 Linux - Software 2 06-22-2012 12:44 AM
ffmpeg, trying to demux VOB, subtitles show up in video stream Meson Linux - Software 1 01-29-2010 09:41 AM
cant stream audio from line in allohakdan Linux - Software 2 10-25-2006 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration