Audio isn't streaming

About encoding, codec settings, muxers and filter usage
Drexl
Blank Cone
Blank Cone
Posts: 22
Joined: 20 Jan 2012 06:05

Audio isn't streaming

Postby Drexl » 26 Sep 2012 20:34

Ok, so all of a sudden my audio is no longer streaming. I had someone else watch the stream to make sure it wasn't just me that wasn't hearing it. I haven't done anything since last night when it was working. Literally nothing has changed. I don't even know where to begin. I realize I've not really provided any useful information for troubleshooting, but I have absolutely no idea where to start w/ information that could help troubleshoot. I've completely removed VLC, restarted my computer, and then re-installed VLC (2.0.3) and it's made no difference.

Edit: Audio works playing files locally. It's only when I go to stream a file that the audio dies. It also occurs to me that my viewer connected to my directly via IP address rather than the hostname I had set up (now temporarily unavailable), but that shouldn't make a difference.

Edit: Here is the sout script.

Code: Select all

:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:1337/} :sout-keep

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Audio isn't streaming

Postby Jean-Baptiste Kempf » 26 Sep 2012 22:17

Use mp3 in flv.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Drexl
Blank Cone
Blank Cone
Posts: 22
Joined: 20 Jan 2012 06:05

Re: Audio isn't streaming

Postby Drexl » 26 Sep 2012 23:56

That fixed it, but I don't understand. I've been using that for over a week now w/ no issues. I also tried changing the mux to ts (which I prefer anyway), but then it didn't work at all.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Audio isn't streaming

Postby Jean-Baptiste Kempf » 27 Sep 2012 12:22

mpga cannot work in flv, but should work in TS.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 2 guests