Mosaic: Problems combining Audio and Video

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
slimjim
New Cone
New Cone
Posts: 7
Joined: 23 Mar 2010 09:16

Mosaic: Problems combining Audio and Video

Postby slimjim » 14 Aug 2012 14:42

I am trying to setup a 2x2 Mosaic including at least one (better even more) audio sources for a training review application. I have 4 webcams - in this test setup I am using just one of them. I need to be able to watch the live stream as well as the file being generated.
The problem is that I can not produce a stable situation in which both the 4 videos and the audio are working in the live stream as well as in the file.
I am using VLC 2.0.3 on Windows 7 64 bit.

In version a), I am using H264 and AAC. Here I can hear the audio in the live stream, while the video is not displayed most of the time. In the file, I only have the video, audio is not included.
In version b), I am using theora and vorbis. Here I can only hear the audio in the live stream. In the file, I have both video and audio.

Any help or hints to helpful documentation, similar scripts that are working or the like is gladly appreciated.
I'd also like to offer a reasonable fincancial compensation on request for a solution to this problem.

This is the code:

Version a) (H264 / AAC)
This is the batch file:

Code: Select all

"vlc.exe" "--vlm-conf=./mosaic.conf" "--mosaic-width=1440" "--mosaic-height=1152" "--mosaic-keep-picture" "--mosaic-rows=2" "--mosaic-cols=2" "--mosaic-position=1" "--mosaic-order=1,2,3,4" "--ttl=12" "--rtp-caching=800" "--sout-all" "--file-logging" "-vvv"
This is the conf file:

Code: Select all

new channel1 broadcast enabled setup channel1 input "rtsp://192.168.8.172:554/live1.sdp" option "access-filter=timeshift" setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=576,width=720},select=video,dst=bridge-out{id=1},select=audio} new channel2 broadcast enabled setup channel2 input "rtsp://192.168.8.172:554/live1.sdp" setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=576,width=720},select=video} new channel3 broadcast enabled setup channel3 input "rtsp://192.168.8.172:554/live1.sdp" setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=576,width=720},select=video} new channel4 broadcast enabled setup channel4 input "rtsp://192.168.8.172:554/live1.sdp" setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=576,width=720},select=video} new background broadcast enabled setup background input file:///background1440x1152.png setup background option image-duration=-1 setup background output #transcode{vcodec=h264,vb=800,scale=1,sfilter=mosaic,acodec=mp4a,ab=128,channels=2,samplerate=44100}:bridge-in{offset=100}:duplicate{dst=file{dst=f:\video\test.mp4},dst=rtp{sdp=rtsp://:554/rtsp}} control background play control channel1 play control channel2 play control channel3 play control channel4 play
and this is the log:

Code: Select all

-- logger module started -- main debug: using interface module "logger" main debug: TIMER module_need() : 155.537 ms - Total 155.537 ms / 1 intvls (Avg 155.537 ms) main debug: looking for interface module: 1 candidate stream_out_transcode debug: decoder aspect is 1.250000:1 live555 debug: RTP subsession 'video/H264' main debug: Buffering 2% main debug: Buffering 3% masitnr edaembug_: Buffering 4% out_transcode debug: source pixel aspect is 1.000000:1 main debug: selecting program id=0 stream_out_transcode debug: scaled pixel aspect is 1.000000:1 live555 debug: RTP subsession 'audio/PCMU' stream_out_transcode debug: source 1440x1152, destination 1440x1152 stream_out_transcode debug: encoder aspect is 1440:1152 main debug: using interface module "globalhotkeys" live555 debug: setup start: 0.000000 stop:0.000000 mamiani nd edbeubgu:g :l oBoukfifnegr ifnogr 6v% ideo filter2 module: 18 candidates main debug: Buffering 8% maimna idne bduegbug: :B uTfIfMeErRi nmgo d9u% le_need() : 64.813 ms - Total 64.813 ms / 1 intvls (Avg 64.813 ms) swscale debug: 1440x1152 chroma: RV24 -> 1440x1152 chroma: I420 with scaling using Bicubic (good quality) main: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden. live555 debug: play start: 0.000000 stop:0.000000 main debug: using video filter2 module "swscale" main debug: adding a new sout input (sout_input:02d968b8m) ain debug: adding a new sout input (sout_input:02d968e8) masitnr edaemb_uogu:t _addudpilnigc aat en edwe bsuogu:t diunppluitc a(tseodu ta_ innepwu ts:t0r2eda9m6 8cdo0d) ec=mlaw (es=1 group=0) main debug: looking for interface module: 4 candidates main debug: Buffering 16% stream_out_duplicate debug: duplicated a new stream codec=mlaw (es=1 group=0) main debug: using access_demux module "live555" msatirne adme_bouugt:_ dBuupflfiecraitneg d1e6b%u g: - ignored for output 0 stream_out_duplicate debug: duplicated a new stream codec=mlaw (es=1 group=0) stream_out_duplicate debug: - ignored for output 0 main debug: TIMER module_need() : 56.281 ms - Total 56.281 ms / 1 intvls (Avg 56.281 ms) mamiani nd eebrurgo:r :B ucfafnenroitn gc r1e6a%t e packetizer output (mlaw) stream_out_duplicate debug: - ignored for output 0 masitnr eearmr_ooru:t _bridge debug: macina dnebnugo: tBu ffcerrineg a16t% e bpraicdkgeitnigz eoru to uitnppuutt (mcloadwe)c =mlaw id=1 pos=0 masitnr edaemb_uogu: tF_idlutpelri c'aStwes cdaelbeu'g :( 0 2 e a 8-c da8d)ded afpopre noduetdp utto 1c hain mamiani nd edbeubgu:g :T IBMuEfRf emordiunlge _1n6e%e d() : 316.160 ms - Total 316.160 ms / 1 intvls (Avg 316.160 ms) main debug: Buffering 16% main debug: looking for packetizer module: 21 candidates main debug: Buffering 16% main debug: Buffering 16% packetizer_h264 debug: found NAL_SPS (sps_id=0) main debug: Buffering 18% main debug: Buffering 16% packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) main debug: Buffering 2s0t% ream_out_tmraainns cdoedbeu gd:e bBuugf:f edreisntgi n1a9t% ion (after video filters) 1440x1152 main debug: using packetizer module "packetizer_h264" main debug: looking for encoder module: 13 candidates main debug: TIMER module_need() : 35.784 ms - Total 35.784 ms / 1 intvls (Avg 35.784 ms) main debug: Buffering 21% main debug: Buffering 29% main debug: Bufferinxg2 6242 %d ebug: version x264 0.125.X main debug: Buffering 23% main debug: Buffering 29% main debug: Buffering 29% main debug: looking for packetizer module: 21 candidates main debug: looking mfaoirn edxetbeungs:i ouns imnogd uplaec:k e1t iczaenrd imdoadtuel e "packetizer_copy" main debug: using encoder module "x264" main debug: TIMER module_need() : 33.285 ms - Total 33.285 ms / 1 intvls (Avg 33.285 ms) lua debug: Opening Lua Extension module main debug: Buffering 29% main debug: TIMER module_need() : 55.183 ms - Total 55.183 ms / 1 intvls (Avg 55.183 ms) main debug: Buffering 29m% ain debug: starting in async mode main debug: Buffering 29% lua debug: Trying Lua scripts in C:\Users\martins\AppData\Roaming\vlc\lua\extensions stream_out_duplicate debug: duplicated a new stream codec=h264 (es=0 group=0) main debug: adding a new input main debug: looking for meta reader module: 2 candidates mux_mp4 debug: adding input llua debug: Trying Lua scripts in C:\Users\martins\AppData\Roaming\vlc\lua\meta\reader stream_out_duplicate debug: - added for output 0 ua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\extensions lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader main debug: using extension module "lua" main debug: Buffering 29% mlauian ddeebbuugg:: TBruyfifnegr iLnuga 3p1l% aylist scmraiipnt dCe:b\uPgr:o gBurfafme rFiinlge s3 0(%x 86)\VideoLAN\VLC2.0.3\lua\meta\reader\filename.luac stream_out_rtp debug: maximum RTP packet size: 1400 bytes main debug: TIMER module_need() : 79.263 ms - Total 79.263 ms / 1 intvls (Avg 79.263 ms) stream_out_rtp debug: we found a startcode for NAL with TYPE:7 main debug: no meta reader module matching "any" coulmda ibne dleobaudge:d Buffering 35% main debug: Buffersitnrge a3m3_%o ut_rtp debug: we found a startcode for NAL with TYPE:8 main debug: TIMER module_need() : 59.707 ms - Total 59.707 ms / 1 intvls (Avg 59.707 ms) main debug: Buffering 34% stream_out_rtp debug: RTSP: adding /rtsp/trackID=0 main debug: `rtsp://192.168.8.172:554/live1.sdp' successfully opened stream_out_rtp debug: sdp= v=0 o=- 15264032776347740245 15264032776347740245 IN IP4 Martin s=Unnamed i=N/A c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc 2.0.3 a=recvonly a=type:broadcast livem5a5i5n ddeebbuugg:: tskw-i>trcthpiSnogu rtcoe -s>yhnacs Bmeoedne SynchronizedUsingRTCP() a=charset:UTF-8 m=video 0 RTP/AVP 96 b=AS:800 b=RR:0 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=640028;smainm aeirnr odre:b uEgS:_ OBUuTf_fReErSiEnTg_ P0C% R called prop-parameter-sets=Z2QAKKzZQFoCRsBEAAADAAQAAAMAUjxgxlg=,aOvssiw=; live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() live5m5a5 debug: tk->rtipnS oduerbcueg-:> haadsdBienegn Say nncehwr osnoiuzte diUnspiuntg R(TsCoPu(t) _input:02d97758) stream_out_duplicate debug: duplicated a new stream codec=mmalianw e(rerso=r1: gErSo_uOpU=T0_)R ESET_PCR called live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() stream_out_duplicastter edaemb_ugo:u t _ d u p-l iicgantoer edd efbourg :o u t p u t- 0a dded for output 1 main error: cannot create packetizer output (mlaw) main debug: Buffering 0% main debug: Buffering 0% main warning: clock gap, unexpected stream discontinuity main error: ES_OUT_RESET_PCR called mmaaiin ne rwraorrn:i nEgS:_O UfeeTd_iRnEgS EsTy_nPcChRr oc awliltehd a new reference point trying to recover from clock gap main debug: Buffering 3% main debumga:i nB udfefbeurging: 0l%o oking for sub source module: 1 candidate mamiani nd edbeubgu:g :B uBfuffefreirnign g0 % 0% main debug: Buffering 3% main debug: Buffering 3% mamiani nde bduegb:u gB:u fBfuefrfienrgi n3g% 8% main debug: using sub source module "mosaic" main debug: Buffering 11% main debug: Buffering 17% main debug: Buffering 20% main debug: TIMER module_need() : 47.416 ms - Total 47.416 ms / 1 intvls (Avg 47.416 ms) main debug: Buffering 6% main debug: Buffering 23% main debug: Buffering 29% main debug: Buffering 32% mmaaiinn ddeebbuugg:: BBuuffering 6f% fering 32% main debug: Buffering 6% main debug: Buffering 6% main debug: Filter 'mosaic' (02f34d20) appended to chain main debug: Buffering 6% main debug: Buffering 6% main debug: Buffering 35% stream_out_transcode debug: late picture skipped (365792) main debug: Buffering 12% main debug: Buffering 41% main debug: Bufferisntgr e1a2m% _out_tmraainns cdoedbeu gd:e bBuugf:f elraitneg p1i2c% ture skipped (276355) stream_out_transcode debug: late picture skipped (187462) stream_out_transcode debug: late picture skipped (94739) main debug: Buffering 15% mstareiamn_o utd_terabnsucogde: d emaBiunf fdeerbiungg: 1B5u%f fering 44% bug: late picture skipped (2431) main dembauign: dBeubfufge:r iunsgi n1g5 % interface module "qt4" main debug: TIMER module_need() : 472.890 ms - Total 472.890 ms / 1 intvls (Avg 472.890 ms) main debug: Buffering 44% main debug: Buffering 15% main debug: Buffering 15% main debug: Buffering 15% main debug: Buffering 48% main debug: Buffering 19% main debug: Buffering 19% main debug: Buffering 25% main debug: Buffering 54% main debug: Buffering 27% mamiani nd edbeubgu:g :B uBfuffefreirnign g2 55%6 % main debug: Buffering 19% main debug: Buffering 25% mmaaiinn ddeebbuugg:: aBdudfifnegring 27% main debug :a Bnuefwf ering 27% sout input (sout_input:02d96888) main debug: adding a new sout input (sout_input:02d96de0) main debug: adding a new soustt rienapmu_to u(ts_oduutp_liincpautte: 0d2efb4uegb:f 0d)u plicated a new stream codec=h264 (es=0 group=0) stream_out_duplicmaatien ddeebbuugg:: dluopolkiicnagt efdo ra dneecwo dsetrr emaomd ucloed:e c3=1h 2c6a4n d(iedsa=t0e sg roup=0) main debug: adding a new sout input (sout_input:02f4eba8) avmcaoidne cd edbeubgu:g :l oloikbianvgc ofdoerc dienciotdiearl imzoeddu l(ei:n t3e1r fcaacen d0ixd3a6t1e1s0 0) stsrteraema_mo_uotu_td_udpulpilciactaet ed edbeubgu:g :d udpulpilciactated a new streame dc oad ence=wh 2s6t4r e(aems =c0o dgerco=h264 u(pe=s0=)0 group=0) avcodec debug: libavcodec already initialized main debug: looking for decoder module: 31 candidates aavvccooddeecc ddeebbuugg:: tlriybianvgc otdoe cu sael rdeiardeyc ti nrietnidaelriing zed main debug: Buffering 31% main debug: Buffering 31% main debug: Buffering 31% avcodec debug: trying to use direct rendering main debug: Buffering 60% avcodec debug: alalvocwoidnegc 3d etbhurge:a da(lsl)o wfionrg d e3c otdhirnega d(s) for decoding main debug: looking for decoder module: 31 candidates avcodec debug: trying to use direct rendering avcodec debug: libavcodaevcc oadlerce addeyb uign:i tfifampelgi zceodd ec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: allowing 3 thread(s) for decoding avcodec debug: auvsciondge cf rdaembeu gt:h ruesaidn gm ofdrea mwei tthh r3e atdh rmeoaddes with 3 threads avcodec debug: trying to use direct rendering main debug: Buffering 34% main debug: using decoder module "avcodec" mmaaiinn ddeebbuugg:: Buusfifnegr idnegc o3d4e%r modulem a"ianv cdoedbeucg": Buffering 34% main debug: Buffering 34% avcodmeaci nd edbeubgu:g :a lBluofwfienrgi n3g t6h3r% ead(s) for decoding main debug: TIMER module_need()m a:i n5 4d.e6b1u8g :m sB u-f fTeortianlg 5643.% 618 ms / 1 intvls (Avg 54.618 ms) avcodec debug: ffmpeg comdaeicn (dHe2b6u4g :- TMIPMEEGR- 4m oAdVuCl e(_pnaeretd (1)0 ):) 6s3t.a8r5t9e d ms - Total 63.859 ms / 1 intvls (Avg 63.859 ms) avcodec debug: using frame thraevacdo dmeocd ed ewbiutgh: 3f ftmhpreega dcso dec (H264 - MPEG-4 AVC (part 10)) started stream_out_mosaic_bridge debug: mosaic bridge id=1 pos=0 main debug: using decoder module "avcodec" main debug: Buffering 34% main debug: TIMER module_need() : 61.667 ms - Total 61.667 ms / 1s tirnetavml_so u(tA_vmgo s6a1.i6c6_7b rmisd)g e debug: mosaic bridge id=4 pos=1 stream_out_mosaicmain debug: Buffering 39% _bridge debug: psz_chain: (null) avcodec debug: using frame thread mode with 3 threads stream_out_mosaic_bridge debug: mosaic bridge id=2 pos=2 mains tdreebaumg_:o ut_Bmuofsfaeirci_nbgr i6d8g%e debug: psz_chain: (null) stream_out_duplicate debug: - added for output 0 main debug: Buffering 39% main debug: using decoder module "avcodec" stream_out_duplicate debug: - added for output 0 stream_out_duplicate debug: - ignored for output 1 main debug: Buffering 71% main debug: Buffering 42% main debug: Buffering 42% msatirne adme_bouugt:_ mBousfafiecr_ibnrgi d3g4e% debug: psz_chain: (null) main debug: TIMER module_need() : 112.181 ms - Total 112.181 ms / 1 intvls (Avg 112.181 ms) main debug: Buffering 39% stream_out_mosaic_bridge debug: mosaic bridge id=3 pos=3 stream_out_duplicate debug: - added for output 0 main debug: Buffering 42% stream_out_mosaic_bridge debug: psz_chain: (null) stream_out_duplicate debug: - added for output 0 main debug: Buffering 46% main debug: Buffering 75% main debug: Buffering 46% main debug: Buffering 46% main debug: Buffering 46% main debug: Buffering 75% main debug: Buffering 46% main debug: Buffering 46% main debug: Buffering 51% main debug: Buffering 80% main debug: Buffering 51% main debug: Buffering 51% main debug: Buffering 58% main debug: mBauifnf edreibnugg :5 8B% uffering 87% main debug: Buffering 58% main debug: Buffering 59% main debug: Buffering 88% main debug: Buffering 59% main debug: Buffering 59% main debug: Buffering 59% main debug: Buffering 88% main debug: Buffering 59% main debug: Buffering 59% main debug: Buffering 62% main debug: Buffering m6a2i%n debmuagi:n Bduefbfuegring 91% : Buffering 62% main debug: Buffering 67% main debug: Buffering 96% main debug: Buffering 67% main debug: Buffering 67% main debug: Buffering 70% mamiani nd edbeubgu:g :B uBfuffefreirnign g7 09%9 % mamiani nd edbeubgu:g :B uBfuffefreirnign g7 09% 9% main debug: Buffering 70% main debug: Buffering 70% main debug: Buffering 70% main debug: Buffering 76% main debug: Buffemraiinng d7e6b% ug: Stream buffering done (1050 ms in 737 ms) main debug: Buffering 76% main debug: Decoder buffering done in 0 ms avcodec debug: using direct rendering main debug: Buffering 79% main debug: Buffering 79% main debug: Buffering 84% main debug: Buffering 87% main debug: Buffering 79% main debug: Buffering 79% main debug: Buffering 79% main debug: Buffering 79% main debug: Buffering 84% main debug: Buffering 84% main debug: Buffering 87% main debug: Buffering 87% main debug: Buffering 92% main debug: looking for video filter2 module: 18 candidates main debug: Buffering 92% swscalem adienb udge:b u7g2:0 xB5u7f6f ecrhirnogm a9:2 %J 420 -> 720x576 chroma: I420 with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 44.758 ms - Total 44.758 ms / 1 intvls (Avg 44.758 ms) main debug: Buffering 95% main debug: Buffering 95% main debug: Buffering 99% main debug: Stream buffering done (1029 ms in 1063 ms) main debug: Decoder buffering donmea iinn w0a rning: orimgsi nal picture size is undefined live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() main debug: Buffering 95% main error: ES_OUT_RESET_PCR called avcodec debug: using direct rendering live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() main debug: Buffering 95% main debug: Buffering 0% mmmaaini dneb uge: rBurffoerrin:g 9aiEnS _dOeUbTu_gR:E SBEuTf_fPeCrRi ncga l5l% ed 5% main debug: mBauifnf edreibnugg :9 5B% uffering 0% main debug: Buffering 8% live555 debugm:a tikn -d>erbtupgS:o uBrucfef-e>rhiansgB e3e% nSynchronizedUsingRTCP() live5m5a5i nd edbeubgu:g :t kl-o>orktipnSgo ufrceo-r> hvaisdBeenSyncehor obnliezenddUisnign gmRoTdCuPl(e): 1 candidate main error: ES_OUT_RESET_PCR called main error: ES_OUT_RESET_PCR called main debug: Buffering 13% main debug: Buffering 8% main debug: using video blending module "blend" main debug: Buffering 0% main debug: TIMER module_need() : 86.784 ms - Total 86.784 ms / 1 intvls (Avg 86.784 ms) main debug: Buffering m1a6i% n debug:m aBiunf fdering 11% ebug: Buffering 0% main debug: Buffering 3% main debug: Buffering 3% main dembauign: wBaurfnfienrgi:n go r7i% ginal picture size is undefined main debug: Buffering 16% main debug: Buffering 21% main debug: Buffering 12m% ain debug: Buffering 11% main debug: Buffering 7% main debug: Buffering 20%m ain debug: Buffering 16% main debug: Buffering 20% main debug: Buffering 20% main debug: Buffering 20% main debug: Buffering 20% main warning: original picture size is undefined main debug: Buffering 2m3a% in debug: Buffering 19% main debug: Bufferinmain debug: Buffering 24% g 20% main debug: Buffering 20% main debug: Buffering 28% main debug: Buffering 23% main debug: Buffering 32% main debug: Buffering 28% mamiani nd ewbaurgn:i nBgu:f foerriignign a3l2 % picture size is undefined mamiani nd edbeubgu:g :B uBfuffefreirnign g2 42% 9% main debug: Buffering 37% main debug: Buffering 37% main debug: Buffering 29% main debug: Buffering 37% main dembauign: dBeubfufge:r iBnugf f3e7r% ing 24% main warning: original picture size is undefined main debug: Buffering 29% main debug: Buffering 41% main debug: Buffering 41% main debug: Buffering 34% main debug: Buffering m3a9i%n debug: Buffmeariinn gd e3b4u% g: Buffering 46% main debug: Buffering 46% main debug: Buffering 4m7a%i n debug: Buffering 35% main debug: Buffering 47% main debug: Buffering 40% main debugm: Buffering a4i0n% debug: Buffering 35% main debug: Buffering 4m7a%i n debug: Buffering 39% main debug: Buffmeariinn gw a5r1n%i ng: omraiigni ndaelb upgi:c tBuurfef msaiizne diesb uugn:d eBfuifnfeedr ing 47% ering 44% main debug: Buffering 51% main debug: Buffering 46% main debug: Buffering 52% main debug: Buffering 59% main debug: Buffering 59% mmaaiinn ddeebbug:u gB:u fBfuefrfienrgi n4g7 %6 0% main debug: Buffering 53% main debug: Buffering 60% mosaic debug: too late picture for 3 (40016) main warning: original picture size is undefined main debug: Buffering 47% main debug: Bufferinmga i6n0 %d ebug: Buffering 52% main debug: Buffering 60% main debug: Buffering 53% main debug: Buffering 65% main debug: Buffering 65% main debug: Buffering 57% main debug: Buffering 68% main dembauign: dBeubfufge:r iBnugf f6e1r% ing 56% main debug: Buffering 68% main debug: Buffering 60% main debug: Buffering 73% main debug: Bumfofseaic dreibnugg :6 5t%o o late picture for 3 (140016) main dmeabiung :w aBrunfifnegr:i nogr i7g3i% nal picture size is undefined mamiani nd edbeubgu:g : BBuuffffeerriinngg 6638% % main debug: Buffering 76% main debug: Buffering 76% mamiani nd edbeubgu:g :B uBfuffefrering 63% ing 68% main debug: Buffering 76% main debug: Buffering 76% main debug: Buffering 73% main debug: Buffering 80% mainm adienb udge:b uBgu:f fBeurfifnegr i6n8g% 80% mosaic debug: too late picture for 3 (240016) main warning: original picture size is undefined main debug: Buffering 71% main debug: Buffering 76% main debug: Buffering 83% main debug: Buffering 83% mamiani nde bduegb:u gB:u fBfuefrfienrgi n7g6 %8 1% main debug: Buffering 89% main debug: Buffering 89% main debug: Buffering 89% main debug: Buffering 76% main debug: Buffering 92% mmaaiinn ddeebbuugg:: BBuuffffeerriinngg 7899%% momsaaiinc ddeebbuugg:: Btuofof elraitneg p8i1c% ture for 3 (340016) main dmeabiung :w aBrunfifnegr:i nogr i8g5i%n al picture size is undefined main debug: Buffering 92% main debug: Bufferingm a8i8n% debug: Bmuafifne rdienbgu g8:3 % Buffering 96% main debug: Buffering 96% main debug: Buffering 93% main debug: Stream buffering done (1010 ms in 795 ms) main debug: Stream buffering done (1010 ms in 803 ms) main debug: Buffering 88% main debug: Decoder buffering done in 0 ms main debug: Decoder buffering done in 0 ms avcodec debug: using direct rendering main debug: Buffering 88% main debug: Buffering 91% main debug: laovockoidnegc fdoerb uvgi:d euos ifnigl tdeirr2e cmto druelned:e r1i8n g candidates swscale debug: 7m2o0sxa5i7c6 dcehbruogm:a :t oJo4 2l0a t-e> p7i2c0txu5r7e6 fcohrr o3m a(:4 4I0402106 ) with scaling using Bicubic (good quality) main debug: Buffering 93% main debug: using video filter2 module "swscale" main debug: TIMER module_need() : 7.612 ms - Total 7.612 ms / 1 intvls (Avg 7.612 ms) main debug: Buffering 95% main debug: Buffering 96% main debug: looking for video filter2 module: 18 candidates swscale debug: 720x576 chroma: J420 -> 720x576 chroma: I420 with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: Stream buffering done (1006 msm aiinn 9d2e1b umgs:) TIMER module_need() : 20.148 ms - Total 20.148 ms / 1 intvls (Avg 20.148 ms) main warning: original picture size is undefined main debug:m aDienc oddeebru gb:u fSftream buffering doenrei n(g1 0d0o7n em s in 9i3n6 0m sm)s main debug: Decoder buffering done in 0 ms mosaic debug: too late picture for 4 (197002) main dmeobsuagi:c ldoeobkuign:g tfooor lvaitdee op ifcitlutreer 2f omro d3u l(e4:7 41387 3c) andidates main warning: original picture size is undefined swscale debug: 720x576 chroma: J420 -> 720x576 chroma: I420 with scaling using Bicubic (good quality) main dmeobsuagi:c udseibnugg :v itdoeoo lfaitlet epri2c tmuordeu lfeo r 3 (2"8s7w6s3c9a)l e" main warning: original picture size is undefined main debug: TIMER module_need() : 249.017 ms - Total 249.017 ms / 1 intvls (Avg 249.017 ms) mosaic debug: too late picture for 3 (191527) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (65211) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (32161) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (67351) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (122176) stream_out_transcode debug: late picture skipped (37695) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (16992) main warning: original picture size is undefined main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (182) main warning: original picture size is undefined main warning: original picture size is undefined main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (14260) main warning: original picture size is undefined main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (33191) main warning: original picture size is undefined main warning: original picture size is undefined main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (190950) stream_out_transcode debug: late picture skipped (121281) stream_out_transcode debug: late picture skipped (81737) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (152917) stream_out_transcode debug: late picture skipped (174594) stream_out_transcode debug: late picture skipped (81508) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (260587) stream_out_transcode debug: late picture skipped (233597) stream_out_transcode debug: late picture skipped (146941) stream_out_transcode debug: late picture skipped (177695) stream_out_transcode debug: late picture skipped (95388) stream_out_transcode debug: late picture skipped (17635) stream_out_transcode debug: late picture skipped (14152) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (182741) stream_out_transcode debug: late picture skipped (166810) stream_out_transcode debug: late picture skipped (98750) stream_out_transcode debug: late picture skipped (16838) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (87420) stream_out_transcode debug: late picture skipped (15993) main warning: original picture size is undefined stream_out_transcode debug: late picture skipped (76588) main warning: original picture size is undefined main warning: late buffer for mux input (9028282) stream_out_duplicate debug: duplicated a new stream codec=mlaw (es=8193 group=0) main debug: adding a new input mux_mp4 error: unsupported codec mlaw in mp4 main error: cannot add this stream stream_out_duplicate debug: - failed for output 0 stream_out_rtp debug: maximum RTP packet size: 1400 bytes stream_out_rtp debug: RTSP: adding /rtsp/trackID=1 stream_out_rtp debug: sdp= v=0 o=- 15264032811070244436 15264032811070244436 IN IP4 Martin s=Unnamed i=N/A c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc 2.0.3 a=recvonly a=type:broadcast a=charset:UTF-8 m=video 0 RTP/AVP 96 b=AS:800 b=RR:0 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKzZQFoCRsBEAAADAAQAAAMAUjxgxlg=,aOvssiw=; m=audio 0 RTP/AVP 0 b=RR:0 a=rtpmap:0 PCMU/8000 stream_out_duplicate debug: - added for output 1 stream_out_bridge debug: bridging in input codec=mlaw id=8193 pos=0 stream_out_transcode debug: late picture skipped (325754) stream_out_transcode debug: late picture skipped (239593) stream_out_transcode debug: late picture skipped (193713) stream_out_transcode debug: late picture skipped (104377) stream_out_transcode debug: late picture skipped (16740) main warning: original picture size is undefined main warning: late buffer for mux input (8810461) stream_out_transcode debug: late picture skipped (72621) main warning: original picture size is undefined main warning: late buffer for mux input (8912000) stream_out_transcode debug: late picture skipped (73050) main warning: original picture size is undefined main warning: late buffer for mux input (8680204) stream_out_transcode debug: late picture skipped (241214) stream_out_transcode debug: late picture skipped (160829) stream_out_transcode debug: late picture skipped (86768) main warning: original picture size is undefined main warning: late buffer for mux input (8830374) stream_out_transcode debug: late picture skipped (91390) stream_out_transcode debug: late picture skipped (22245) main warning: original picture size is undefined main warning: late buffer for mux input (8995678) stream_out_transcode debug: late picture skipped (57578) main warning: original picture size is undefined main warning: late buffer for mux input (9112086) stream_out_transcode debug: late picture skipped (73110) main warning: original picture size is undefined main warning: late buffer for mux input (9392345) stream_out_transcode debug: late picture skipped (255254) stream_out_transcode debug: late picture skipped (166702) stream_out_transcode debug: late picture skipped (101497) stream_out_transcode debug: late picture skipped (14383) main warning: original picture size is undefined main warning: late buffer for mux input (9620644) stream_out_transcode debug: late picture skipped (89627) stream_out_transcode debug: late picture skipped (9036) main warning: original picture size is undefined main warning: late buffer for mux input (9765818) stream_out_transcode debug: late picture skipped (27053) main warning: original picture size is undefined main warning: late buffer for mux input (9871207) stream_out_transcode debug: late picture skipped (40081) main warning: original picture size is undefined main warning: late buffer for mux input (9935645) main warning: original picture size is undefined main warning: late buffer for mux input (10454798) stream_out_transcode debug: late picture skipped (517882) stream_out_transcode debug: late picture skipped (428910) stream_out_transcode debug: late picture skipped (361057) stream_out_transcode debug: late picture skipped (295789) stream_out_transcode debug: late picture skipped (207375) stream_out_transcode debug: late picture skipped (136453) stream_out_transcode debug: late picture skipped (47509) main warning: original picture size is undefined main warning: late buffer for mux input (11151518) stream_out_transcode debug: late picture skipped (514403) stream_out_transcode debug: late picture skipped (425969) stream_out_transcode debug: late picture skipped (343032) stream_out_transcode debug: late picture skipped (279535) stream_out_transcode debug: late picture skipped (198134) stream_out_transcode debug: late picture skipped (108497) stream_out_transcode debug: late picture skipped (19426) (...)

Version b) (theora / vorbis)
This is the batch file:

Code: Select all

"vlc.exe" "--vlm-conf=./mosaic.conf" "--mosaic-width=1440" "--mosaic-height=1152" "--mosaic-keep-picture" "--mosaic-rows=2" "--mosaic-cols=2" "--mosaic-position=1" "--mosaic-order=1,2,3,4" "--ttl=12" "--rtp-caching=800" "--sout-all" "--file-logging" "-vvv"
This is the conf file:

Code: Select all

new channel1 broadcast enabled setup channel1 input "rtsp://192.168.8.172:554/live1.sdp" option "access-filter=timeshift" setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=576,width=720},select=video,dst=bridge-out{id=1},select=audio} new channel2 broadcast enabled setup channel2 input "rtsp://192.168.8.172:554/live1.sdp" setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=576,width=720},select=video} new channel3 broadcast enabled setup channel3 input "rtsp://192.168.8.172:554/live1.sdp" setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=576,width=720},select=video} new channel4 broadcast enabled setup channel4 input "rtsp://192.168.8.172:554/live1.sdp" setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=576,width=720},select=video} new background broadcast enabled setup background input file:///background1440x1152.png setup background option image-duration=-1 #setup background output #transcode{vcodec=theo,vb=800,scale=1,sfilter=mosaic,acodec=vorb,ab=128,channels=2,samplerate=44100}:bridge-in{offset=100}:duplicate{dst=file{dst=f:\video\test.ogg},dst=rtp{sdp=rtsp://:554/rtsp}} control background play control channel1 play control channel2 play control channel3 play control channel4 play
and this is the log:

Code: Select all

-- logger module started -- limaivne 5d5e5b udge:b usgt:r eRaTmP= `sburbisdegses-iionn' 'audio/PCMU' live555 debug: RTP subsession 'video/H264' main debug: using interface module "logger" live555 debug: setup start: 0.000000 stop:0.000000 main debug: looking for sout stream module: 1 candidate live555 debug: RTP subsession 'audio/PCMU' main warning: option offset is unknown mamaiinn ddeebbuugg:: usseinlge cstoiuntg sptrroegarma mm oiddu=l0e "stream_out_bridge" live555 debug: setuplive555 debug: play start: 0.000000 stop:0.000000 start: 0.000000 stop:0.000000 live555 debug: RTP subsession 'audio/PCMU' main debug: using access_demux module "live555" live555 debug: setup start: 0.000000 stop:0.000000 live555 debug: play start: 0.000000 stop:0.000000 limavien5 5d5e bduegb:u gT:I MsEeRt umpo dsutlaer_tn:e e0d.(0)0 0:0 0102 1s.t1o6p8: 0m.s0 0-0 0T0o0t al 121.168 ms / 1 intvls (Avg 121.168 ms) main debug: usimanign adcecbeusgs:_ dTeImMuExR mmoodduullee _"nleievde(5)5 5:" 88.816 ms - Total 88.816 ms / 1 intvls (Avg 88.816 ms) live555 debug: play start: 0.000000 stop:0.000000 main debug: TIMER module_need() : 212.408 ms - Total 212.408 ms / 1 intvls (Avg 212.408 ms) main debug: looking for packetizer module: 21 candidates main debug: using access_demux module "live555" packetizer_h264 debug: found NAL_SPS (sps_id=0) maimapianc dkeebtuigz:e rT_IhM2E6R4 mdoedbuulge:_need() : 222 .f6o6u4n dm sN A-L _TPoPtSa (lpipvse_5i5d5=0 sps_id=0) n ld e2b2u2g: dsetbruea.m6=6`4t rmasn s/c o1d ei'n tvls (Avg 222.664 ms) g: play start: 0.000000 stop:0.000000 main debug: TIMER module_need() : 253.241 ms - Total 253.241 mamiani nd edbeubgu:g :lo ouksiinngg access_demux module "live555" main debug: looking for packetizer module: 21 candidates msm a/i n1 dienbtuvgl:s u(sAivngg 2p5a3c.k2e4t1i zmesr) module "packetizer_h264" for interface module: 1 candidate main debug: looking for packemapianc kdeetbiuzge:t iTzIeMrE Rm omdoudluel:e _2n1e ecda(n)d i:d a4t1e.s1 55 mr_h264 debsu g-: Tfootuanld 4N1A.L1_5S5PS ms (/s p1s _iindt=v0l)s (Avg 41.155 ms) packetizemari_nh 2d6e4b udge:b ulgo:o kfionugn df oNrA Ls_oSuPtS s(tsrpesa_mi dm=o0d) ule: 1 candidate main debug: TIMER module_need() : 271.758 ms - Total 271.758 ms / 1 intvls (Avg 271.758 ms) packetizer_h264 mamiani nd edbeubgu:g :l olookoiknign gf ofro rp apcakcektetizer module: 21 candidates deibzuegr: mfooduunlde :N A2L1_ PcPaSn d(ipdates ps_id=0 sps_id=0) main debug: usimapianc kdeetbiuzge:r _uhs2i6n4g pangm apianc kdeetbiuzge:r smeotd ucloen f"ipga cokpettiiozne:r sout-transcode-vcodec to theo madiecbkuegt:i zfeoru nmdo dNuAlLe_ P"PpSa c(kpeptsi_ziedr=_0c osppys"_ id=n0 ) deb_uhg2:6 4u"s ipnagc kienttiezrefra_che2 6m4o dduelbeu g":g lfoobuanldh oNtAkLe_ySsP" S (sps_id=0) mamamiani dne bduegb:u gu:s iTnIgM EpRa cmkoedtuilzee_rn emeodd(u)l e: "2p3a.c8k0e6t imzse r-_ hT2ot6a4l" 23.806 ms / 1 intvls (Avg 23.806 ms) in debug: set config option: sout-transcode-vb to 800 packetizer_hma2i6n4 ddebeubgu:g :s efto ucnodnf iNgA Lo_pPtPiSo n(:p psso_iudt=-0 tsrpasn_sicdo=d0e)- scale to 1 main debug: usmamiani nd edbeubgu:g :s eTtI McEoRn fmiogd uolpet_inoene:d (s)o u:t -64.299 ms - Total 64.299 ms / 1 intvls (Avg 64.299 mmasi)n debug:i nsgt apatcrkaentsiczoedre -msofdiulltee r" ptaoc kmeotsiaziecr _hr2t6i4n"g in async mode main debug: set config option: sout-transcode-acodec to vorb main madienb udge:b uTgI:M EsRe tmodule_nee dc(o)n :f i4g8 .o0p7t6i omns: s-o uTto-ttarla n4s8c.o0d7e6- ambs t/o 11 2i8n tvls (Avg 48.076 ms) main debug: set config option: sout-transcode-channels to 2 main debug: set config option: sout-transcode-samplerate to 44100 stream_out_transcode debug: codec audio=vorb 44100Hz 2 channels 128Kb/s stream_out_transcode debug: codec video=theo 0x0 scaling: 1.000000 800kb/s main debug: TIMER module_need() : 104.869 ms - Total 104.869 ms / 1 intvls (Avg 104.869 ms) main debug: looking for meta reader module: 2 candidates mamaiinn ddeebug: loobkuigng: fToIrM EtRe xmto druelned_enreeerd (m)o d:u l1e0:1 .725 2c amnsd i- Tdoattaels 101.752 ms / 1 intvls (Avg 101.752 ms) lua debug: Trying Lua scripts in C:\Users\martins\AppData\Roaming\vlc\lua\meta\reader freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader freetype debug: using fontsize: 2 lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader\filename.luac main debug: using text renderer module "freetype" mamaiinn dedbeubgu:g :l oToIkMiEnRg mfoodru lpea_cnkeeetdi(z)e r: m2o7d.u1l2e1: m2s1 -c aTnodtiadla t2e7s. 121 ms / 1 intvls (Avg 27.121 ms) main: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden. mamaiinn ddeebbuugg:: unsoi ng mpeatcak erteiazdeerr mmoodduullee "packe tmiaztecrh_icnogp y"" any" could be loaded main debug: looking for video filter2 module: 18 candidates main debug: TIMER modulesw_snceaelde( )d e:b u1g5:. 13628x 3m2s c-h rToomtaal: 1Y5U.V1A6 8- >m s1 6/x 116 icnhtrvolmsa :( ARvGgB A1 5w.i1t6h8 smcsal)i ng using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: starting in async modmaei n debug: TIMER module_need() : 47.593 ms - Total 47.593 ms / 1 intvls (Avg 47.593 ms) main debug: `rtsp://192.168.8.172:554/live1.sdp' successfully opened main debug: looking for interface module: 4 candidates main debug: TIMER module_need() : 21.429 ms - Total 21.429 ms / 1 intvls (Avg 21.429 ms) main debug: looking for video filter2 module: 18 candidates main debug: loyuovkpi ndge bfuogr: mYeUtVaP rteoa dYeUrV Am oconverter dule: 2 candidates main debug: using video filter2 module "yuvp" lua debmauign: dTerbyugi:n gs wLiutac hsicnrgi pttos siynn cC :m\oUdsee rs\martins\AppData\Roaming\vlc\lua\meta\reader main debug: Buffering 0% main debug: TIMER module_need() : 20.496 ms - Total 20.496 ms / 1 intvls (Avg 20.496 ms) lua debug: Trying Lua scripts in C:\Progrmain debumama Fiilnes dge:b uagd:d iunsgi nag nseowu ts osuttr eianmp umto d(usloeu t"_sitnrpeuatm:_0o2udt6_ct5r1a0n)s cod(ex" 86)\VideoLAN\VLC2.0.3\lua\meta\reader stream_out_duplicate debug: duplicated a new masitnr edaemb ucgo:d eBcu=fmflearwi n(ge s8=% 1 group=0) main debug: TIMER module_need() : 178.033 ms - Total 178.033 ms / 1 intvls (Avg 178.033 ms) stream_out_duplicate debug: - ignored for output 0 main debug: Buffering 20% mamaiinn edrerbougr:: luuascianngn otti mceresateh ipfatc kgertainzuelra roiuttyp uotf (5m0la wM) i Bd,e biung :p aTtrhy i'ngC :L\uUas eprlsa\ymlairstti nssc\rAippptD aCt:a\\PLroocgarla\mT eFmipl'e s (x86)\VideoLAN\VLC2.0.3\lua\meta\reader\filename.luac main debug: Buffering 20% main debug: `file:///background1440x1152.png' gives access `file' demux `' path `/background1440x1152.png' main debug: no meta reader module matching "any" could be loaded main debug: Buffering 20% mamaiinn ddeebbuugg:: TcIrMeEaRt imnogd udleem_unxe:e da(c)c e:s s5=9'.f0i0l9e 'm sd e-m uTxo=t'a'l l5o9c.a0t0i9o nm=s' //b a1c kignrtovulnsd 1(4A4v0gx 15195.20.0p9n gm's )f ile='background1440x1152.png' main debug: looking for access_demux module: 3 candidates mamaiinn ddeebbuugg:: B`urftfsepr:i/n/g1 9220.%1 68.8.172:554/live1.sdp' successfully opened main debug: no access_demux module matching "file" could be loaded mamaiinn ddeebbuugg:: sBwuiftfcehriinngg 2t0o% sync mode main debug: TIMER module_need() : 10.775 ms - Total 10.775 ms / 1 intvls (Avg 10.775 ms) mamaiinn ddeebbuugg:: BBuuffffeerriinng g2 00% % mamaiinn ddeebbuugg:: acdrdeiantgi nag naecwc essosu t' fiinpulte '( slooucta_tiinopnu=t:02d6c3f0')/ background1440x1152.png', path='background1440x1152.png' main debug: Buffering 20% main debug: adding a new sout input (sout_input:02d6c510) main debug: Buffering 12% stream_out_duplicate debug: duplicated a new stream comadienc =dmelbauwg :( els=ooking for access module: 31 cgarnoduipd=a0t)e s mastirne adme_bouugt:_ dBuupflfiecraitneg deb u3g4:% - ignored for output 0 filesystem debug: opening file `background1440x1152.png' main error: cannot create packetizer output (mlaw) main debug: Buffering 34% main debug: Buffering ma2i6n %d ebug: using access module "filesystem" main debug: Buffering 34% mainst rdeeabmu_go:u tB_udfufpelriicnagt e2 6d%e bug: duplicated a new stream codec=h264 (es=0 group=0) main debug: TIMER module_need() : 20.320 ms - Total 20.320 ms / 1 intvls (Avg 20.320 ms) mamain debug: Using stream method for AStream* maiinn debug: Buffering 34% debug: Buffering 26% main debug: Buffering 26ma%i n debug: Buffering 34% main debug: starting pre-buffering main debug: Buffering 26% main debug: received first data after 0 ms main debumagi:n Bduefbfuegr:i npgr e2-b6u%f fering done 1024 bytes in 0s - 278 KiB/s mamaiinn ddeebbuugg:: BBuuffffeerriinngg 2366%% main debug: looking for stream_filter module: 4 candidates mainma idne bduebgu:g :B ulfofoekringi n2g6 %for main debug: no stream_filter module matching "any" could be loaded decoder module: 31 candidates mamaiinn ddeebbuugg:: BBuuffffeerriinngg 2398%% main debug: Buffering 42% main debug: TIMER module_need() : 11.122 ms - Total 11.122 ms / 1 intvls (Avg 11.122 ms) main debug: Buffering 33% main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 4.698 ms - Total 4.698 ms / 1 intvls (Avg 4.698 ms) avcodec debug: libavcodec initialized (interface 0x361100) main debug: creating demux: access='file' demux='' location='/background1440x1152.png' file='background1440x1152.png' main debug: looking for demux module: 55 candidates ts debug: TS module discarded (lost sync) mod debug: MOD validation failed (ext=png) avcodec debug: trying to use direct rendering main debug: Buffering 46% image debug: Detected image: PNG Image main debug: Bufferinmagi n3 8de%b ug: looking for decoder module: 31 candidates main debug: Buffering 47% main debug: Buffering 38% main debug: using decoder module "png" main debug: TIMER module_need() : 7.029 ms - Total 7.029 ms / 1 intvls (Avg 7.029 ms) avcodec debug: allowing 3 thread(s) for decoding avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: using frame thread mode with 3 threads main debug: using decoder module "avcodec" main debug: Buffering 41% main debug: Buffering 50% main debug: TIMER module_need() : 112.670 ms - Total 112.670 ms / 1 intvls (Avg 112.670 ms) stream_out_mosaic_bridge debug: mosaic bridge id=3 pos=0 stream_out_mosaic_bridge debug: psz_chain: (null) stream_out_duplicate debug: - added for output 0 main debug: removing module "png" main debug: Buffering 46% main debug: selecting program id=0 main debug: Buffering 56% main debug: using demux module "image" main debug: TIMER module_need() : 118.319 ms - Total 118.319 ms / 1 intvls (Avg 118.319 ms) main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "rawvideo" main debug: mlaoionk indge bfuogr: pTaIcMkEeRt imzoedr moudluel_en:e e2d1( )c a: 4n.d3i6d5a tmess - Total 4.365 ms / 1 intvls (Avg 4.365 ms) main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_copy" main debug: Buffering 49% main debug: using packetizer module "packetizer_copy" main debug: TIMER module_need() : 10.848 ms - Total 10.848 ms / 1 intvls (Avg 10.848 ms) main debug: TIMER module_need() : 15.022 ms - Total 15.022 ms / 1 intvls (Avg 15.022 ms) main debug: Buffering 50% main debug: Buffering 58% main debug: stmamiani nd debug: starting in async mode aretbiungg: iBnu fafseyrnicn mgo d5e8 % main debug: looking for meta reader module: 2 candidates main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\martins\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Users\martins\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader lua debmauign: dTerbyuign:g BLuufaf eprlianygl i6s2t% script C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader\filename.luac lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader main debug: Buffering 53% main debug: no meta reader module matching "any" could be loaded lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader\filename.luac main debug: TIMER module_need() : 27.632 ms - Total 27.632 ms / 1 intvls (Avg 27.632 ms) main debug: no meta reader module matching "any" could be loaded main debug: `rtsp://192.168.8.172:554/live1.sdp' successfully opened main debug: TIMER module_need() : 36.462 ms - Total 36.462 ms / 1 intvls (Avg 36.462 ms) main debug: `rtsp://192.168.8.172:554/live1.sdp' successfully opened main debug: smwaiitnc hdienbgu gt:o lsoyonkci nmgo dfe or extension module: 1 candidate lua debug: main debug: switching to sync mode main debug: Buffering 0% Opening Lua maEixnt ednesbiuogn: maoddduilneg a new sout input (sout_input:02d6cc90) main debug: starting in async mode stream_out_duplicate debug: duplicated a new stream codec=mlaw (es=1 group=0) strmaeianm _doeubtu_gd:u plloiockaitneg debug: f o r- miegtnao rreeda dfeorr mooudtupluet: 02 candidates lua debug:s Tryingt rLeuaam _socurti_pbtrsi digne Cd:\eUbsuegr: brisd\gmianrtg out input icnosd\eAcp=pmDlataaw\ Rioda=m1i npgo\sv=l0c \lua\extensions main debug: Buffering 0% stream_out_duplicate debug: - added for outputma i1n debug: adding a new sout input (sout_input:02d6ccc0) stream_out_duplicate debug: duplicated a new stream codec=mlaw (es=1 group=0) stmariena md_eobuugt:_ dBuupflfiecraitneg d1e2b% ug: - ignored for output 0 main debug: Buffering 68% main debug: Buffering 12% lua debug: Trying Lua scripts in C:\Users\martins\AppData\Roaming\vlc\lua\meta\reader main error: cannot create packetizer output (mlaw) main debug: Buffering 26% mluaai nd edbeubgu:g :T rByuifnfge rLiunag s5c8r%i pts in C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VimadeoLluian ddebeubgu:g :B uTfrfyeirnign gL u2a6 %p laylist script C:\Program Files (x86)\VideoLAN\VLC2.0.3\lua\meta\reader\filename.luac AN\VLC2main debug: Buffering 38% mamiain debug: no meta reader module matching "any" could be loaded main debug: Buffermain debug: TIMER module_need() : 52.448 ms - Total 52.448 ms / 1 intvls (Avg 52.448 ms) main debug: `file:///background1440x1152.png' successfully opened .0n debug: Buffering 38% in.g 35\0l%u a\extensions (...)

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

Re: Mosaic: Problems combining Audio and Video

Postby Jean-Baptiste Kempf » 14 Aug 2012 17:11

Maybe you need to transcode?
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.

slimjim
New Cone
New Cone
Posts: 7
Joined: 23 Mar 2010 09:16

Re: Mosaic: Problems combining Audio and Video

Postby slimjim » 17 Aug 2012 10:58

As far as I understand it, I do transcode with the options in the "setup background output ..." lines in the conf files. Do you refer to that? Do you think I need to use different transcoding methods?
Or do you refer to the input streams?
I'd appreciate a little further hint or specification.
Thank you :-)

slimjim
New Cone
New Cone
Posts: 7
Joined: 23 Mar 2010 09:16

Re: Mosaic: Problems combining Audio and Video

Postby slimjim » 29 Aug 2012 14:13

I followed your hint a little, and found out that in the cases where the audio track actually found its way into the file, the audio format was not what the transcode statement said it should be, so obviously my audio part of the transcoding did not work, and the audio format that my camera produced seems not to work in MP4 containers.
This recognized, I re-arranged the input chains in my .conf file to this:

Code: Select all

new channel1 broadcast enabled setup channel1 input "rtsp://192.168.8.172:554/live1.sdp" option "access-filter=timeshift" setup channel1 output #transcode{acodec=mp4a,ab=64,channels=2,samplerate=44100}:duplicate{dst=mosaic-bridge{id=1,height=576,width=720},select=video,dst=bridge-out{id=1},select=audio} (...) setup background output #bridge-in{offset=100}:transcode{vcodec=h264,vb=800,scale=1,sfilter=mosaic}:duplicate{dst=file{dst=f:\video\test.mp4},dst=rtp{sdp=rtsp://:554/rtsp}} control background play control channel1 play (...)
et voilà, the audio works and the saved file contains an audio track which is formatted as expected.
-> Issue solved, thanks a lot :-)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests