Mosaic, no audio?

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

Mosaic, no audio?

Postby rv888 » 22 Jan 2008 19:04

I'm attempting to use Mosaic to stream 2 files back to back. File 1 will play perfectly fine and with audio. Once that video ends, File 2 starts to play but without any audio.

Checking the debug, I see the following error appear when the 2nd file begins to play: "main private error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value"

So I tried to do what it said. I went as far as chaning this value to 500000 (from it's default of 1000 - I believe). It didn't help. I've read over a number of posts, rechecked what I'm doing against other people's sample code and still can'tr figure it out. I've tried changing the muxer too. Any thoughts? Thanks!

I use SVN 0.9.0

Code: Select all

/usr/local/bin/vlc --ttl=25 --color --vlm-conf mosaic.conf -vvv --intf=telnet --telnet-port=4212 --telnet-password=pass --fake-file white.png --mosaic-height 340 --mosaic-width 450 --mosaic-rows 1 --mosaic-cols 1 --mosaic-keep-picture --udp-caching 800
My conf file

Code: Select all

new background broadcast enabled setup background input fake: setup background output '#transcode{sfilter=mosaic,vcodec=FLV1,vb=384,scale=1,fps=29.97,acodec=mp3,ab=64,samplerate=44100}:bridge-in{delay=300,id-offset=100}:standard{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8080}' new show1 broadcast setup show1 input file1.flv setup show1 input file2.flv setup show1 output #duplicate{dst=mosaic-bridge{id=1},select=video,dst=bridge-out{id=1},select=audio} setup show1 enabled loop control background play control show1 play

rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

Re: Mosaic, no audio?

Postby rv888 » 22 Jan 2008 22:18

Eh, its because they are flv files. Using two mpgs worked just fine. Any way to get around this problem?

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: Mosaic, no audio?

Postby sozz » 05 Feb 2008 13:11

Hi rv888,

How did you do the mosaic? What you want to do is like the PIP function at some tv?

rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

Re: Mosaic, no audio?

Postby rv888 » 05 Feb 2008 20:23

I had read on this forum, that you can use the Mosaic feature to basically "fake" a stream like a TV channel. You can bridge one file to the next by using the Mosaic with 1 constant tile with a fake image as a bridge.

This worked to a certain degree for me. But I found if I tried to play to FLVs back to back, the second one wouldn't have audio. If I attempted this using say two mpgs, it would work just fine.

It seems the currently release can't bridge FLVs properly.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Mosaic, no audio?

Postby dionoea » 22 Apr 2008 15:55

What audio codecs do your FLVs use? Could you paste the full debug output from VLC?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

someone64
Blank Cone
Blank Cone
Posts: 14
Joined: 13 Aug 2007 02:49
VLC version: 1.1.4
Operating System: Windows, Ubuntu

Re: Mosaic, no audio?

Postby someone64 » 29 Apr 2008 22:40

What audio codecs do your FLVs use? Could you paste the full debug output from VLC?
I use v0.8.6 and i have the same problem.

FLVs usually have mp3 audio. Newer ones can have AAC as well.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 6 guests