• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • Live Streaming and Encoders /
avatar image
Question by Nicolas Ehrmann · Mar 26, 2010 at 06:15 PM · live streaming and encoders

publish RTMP in command line to wowza server

Hi ! it's my first message after some day search

I would like stream to Wowza server with StreamType = live in RTMP.

That's works with adobe air application but not with vlc or ffmpeg or gstreamer.

I would like to use a command line application or python, for stream in RTMP, it's realist?

My last test for exemple (not working):

ffmpeg -i /home/video.avi -re -acodec copy -vcodec copy -f mp4 rtmp://999.999.999.999:1935/Apps/stream_name

cvlc v4l2:///dev/video0 --sout '#transcode{vcodec=FLV1,acodec=mp3}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=999.999.999.999:1935/Apps/stream_name}'
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Richard Lanham · Mar 26, 2010 at 05:54 PM

Might have better luck with rtsp in this case. I know rtmp support in vlc is not good. But I don't have any good experience with this kind of use to really help much.

Richard
Comment

People who like this

0 Show 4 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lewei yan · Mar 30, 2010 at 03:43 PM 0
Share
try this. It works for me. you might have to specify the preset of ffmpeg

ffmpeg -i /home/video.avi -re -acodec libfaac - vcodec libx264 -vpre default -f flv rtmp://serverip/app/streamName
avatar image Claus Plachetka Lewei yan · May 30, 2010 at 09:32 AM 0
Share
try this. It works for me. you might have to specify the preset of ffmpeg

ffmpeg -i /home/video.avi -re -acodec libfaac - vcodec libx264 -vpre default -f flv rtmp://serverip/app/streamName


Which version of ffmpeg did you use? My one does not support rtmp publishing yet.
avatar image Tom Harris Lewei yan · Nov 01, 2011 at 04:46 PM 0
Share
try this. It works for me. you might have to specify the preset of ffmpeg

ffmpeg -i /home/video.avi -re -acodec libfaac - vcodec libx264 -vpre default -f flv rtmp://serverip/app/streamName


Just adding my 2pennys worth, for me I could only get real time playback/streaming if -re was before -i input.

ffmpeg [B]-re[/B] -i /home/sample.mp4 -acodec copy -vcodec copy -f flv rtmp://serverip/app/streamName


Otherwise ffmpeg would just act as if transcoding and do it as fast as it could, not helpful for streaming ;)

Also my file was an mp4 ready for streaming so i just used -acodec copy -vcodec copy
avatar image Nidhin Jose Tom Harris · Nov 25, 2011 at 06:46 PM 0
Share
I am trying to make ffmpeg work with wowza. For testing purpose I am trying to send video from my webcam. The follow is the command I am using.

ffmpeg -re -f video4linux2 -i /dev/video0 -acodec libfacc -vcodec libx264 -f h264 rtmp://localhost:1935/live/test

But it doesnt seem to work.

I build ffmpeg from git repository with the following config

--enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab

ffmpeg -protocols says it has rtmp input/output support

Any pointers on how to make this work...
avatar image

Answer by Charlie Good · Nov 25, 2011 at 04:50 AM

We do not have specific instructions for ffmpeg using RTMP protocol. We do have instructions for using MPEG-TS here:

http://www.wowza.com/forums/content.php?213-FFmpeg-with-Wowza-Server-(MPEG-TS)

Charlie
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nidhin Jose · Nov 25, 2011 at 09:52 PM 0
Share
Thank you I saw that one... But the problem is I am trying this on linux and it seems to have some problem...
avatar image

Answer by Richard Lanham · May 30, 2010 at 01:34 PM

You can try the lastest ffmpeg from here:

http://ffmpeg.arrozcru.org/autobuilds/

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Claus Plachetka · May 30, 2010 at 03:20 PM 0
Share
You can try the lastest ffmpeg from here:

http://ffmpeg.arrozcru.org/autobuilds/

Richard, thanks for this information. The windows version really works. :-)

But I would like to do publishing with (debian) linux...
avatar image

Answer by Richard Lanham · May 30, 2010 at 02:27 PM

Sorry, I don't know where to point you for that.

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Will Hetherington · May 31, 2010 at 10:06 AM 0
Share
Try this on for size :)

http://www.xuggle.com/xuggler/
avatar image

Answer by Richard Lanham · Nov 25, 2011 at 03:36 PM

I'm not sure how to capture webcam with ffmpeg. Here is a guide to doing it with VLC:

http://www.wowza.com/forums/showthread.php?7016-Using-VLC-with-Wowza-Pro-(native-RTP)

Here is current ffmpeg guide:

http://www.wowza.com/forums/content.php?213-FFmpeg-with-Wowza-Server-(MPEG-TS)

Richard
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

live stream as source in StreamPublisher SMIL file 1 Answer

How use and setting Xsplit encoder for Wowza3 1 Answer

wowza and Joomla integration 1 Answer

live streaming h264 over RTMP - pixelization 1 Answer

Pushing continuous live meta data from swf encoder to player 5 Answers

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges