LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 11:42 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
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, 12:41 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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



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 02:10 PM
FFMPEG : While converting a video how to select second audio stream bloodstreetboy Linux - Software 4 07-16-2012 07:11 AM
ffmpeg mixing audio/video - trying to end vid after video stream completes joejoe99 Linux - Software 2 06-21-2012 11:44 PM
ffmpeg, trying to demux VOB, subtitles show up in video stream Meson Linux - Software 1 01-29-2010 08:41 AM
cant stream audio from line in allohakdan Linux - Software 2 10-25-2006 09:18 PM

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

All times are GMT -5. The time now is 09:53 PM.

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