Late Buffer For Mux Input Mac Vlc
It throws out the packets in the buffer with a 'late buffer for mux input' which is expected. It also throws clock gap errors on all inputs. 0xb7a018b8 Media: camera2 main input warning: clock gap, unexpected stream discontinuity 0xb7a018b8 Media: camera2 main input warning: feeding synchro with a new reference point trying to recover. Videolan not streaming to display. GitHub Gist: instantly share code, notes, and snippets.
- ************ (No output during these messages)*******************************
- [0x6f0c88] main mux warning: late buffer for mux input (51748)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52463)
- [0x6f0c88] main mux warning: late buffer for mux input (57060)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52570)
- [0x6f0c88] main mux warning: late buffer for mux input (62341)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52707)
- [0x6f0c88] main mux warning: late buffer for mux input (67199)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52410)
- [0x6f0c88] main mux warning: late buffer for mux input (72626)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52631)
- [0x6f0c88] main mux warning: late buffer for mux input (42965)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52629)
- [0x6f0c88] main mux warning: late buffer for mux input (48260)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52777)
- [0x6f0c88] main mux warning: late buffer for mux input (53394)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52701)
- [0x6f0c88] main mux warning: late buffer for mux input (58559)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52744)
- [0x6f0c88] main mux warning: late buffer for mux input (63736)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52741)
- [0x6f0c88] main mux warning: late buffer for mux input (68868)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52682)
- [0x6f0c88] main mux warning: late buffer for mux input (74091)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52778)
- [0x6f0c88] main mux warning: late buffer for mux input (44318)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52619)
- [0x6f0c88] main mux warning: late buffer for mux input (49479)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52578)
- [0x6f0c88] main mux warning: late buffer for mux input (54612)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52551)
- [0x6f0c88] main mux warning: late buffer for mux input (59724)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52582)
- [0x6f0c88] main mux warning: late buffer for mux input (65068)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52689)
- [0x6f0c88] main mux warning: late buffer for mux input (70410)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (52905)
- [0x7f1c2400d938] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
- [0x7f1c2400d938] main input error: ES_OUT_RESET_PCR called
- [0x6fcb58] rawvideo decoder warning: invalid frame size (128 < 4147200)
- [0x7f1c2400d938] main input debug: Buffering 13%
- [0x7f1c2400d938] main input debug: Buffering 26%
- [0x7f1c2400d938] main input debug: Buffering 39%
- [0x7f1c2400d938] main input debug: Buffering 53%
- [0x7f1c2400d938] main input debug: Buffering 66%
- [0x7f1c2400d938] main input debug: Buffering 79%
- [0x7f1c2400d938] main input debug: Buffering 93%
- [0x7f1c2400d938] main input debug: Stream buffering done (320 ms in 320 ms)
- [0x7f1c2400d938] main input debug: Decoder buffering done in 0 ms
- [0x6f6b68] stream_out_transcode stream out debug: drift is too high, resetting master sync
- [0x6f0c88] main mux warning: late buffer for mux input (30698)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (46755)
- [0x6f6b68] stream_out_transcode stream out debug: late picture skipped (8875)
- [0x6f6b68] stream_out_transcode stream out debug: drift is too high, resetting master sync
- *************( Encoding and output resume here ) **************************
- [0x6f0c88] main mux warning: late buffer for mux input (232018932)
- [0x6f0c88] main mux warning: late buffer for mux input (231987986)
- [0x6f0c88] main mux warning: late buffer for mux input (231957038)
- [0x6f0c88] main mux warning: late buffer for mux input (231926258)
- [0x6f0c88] main mux warning: late buffer for mux input (231895333)
- [0x6f0c88] main mux warning: late buffer for mux input (231864360)
- [0x6f0c88] main mux warning: late buffer for mux input (231835339)
- [0x6f0c88] main mux warning: late buffer for mux input (231835339)
- [0x6f0c88] main mux warning: late buffer for mux input (231804997)
- [0x6f0c88] main mux warning: late buffer for mux input (231776540)
- [0x6f0c88] main mux warning: late buffer for mux input (231770189)
- [0x6f0c88] main mux warning: late buffer for mux input (231769946)
- [0x6f0c88] main mux warning: late buffer for mux input (231770139)
- [0x6f0c88] main mux warning: late buffer for mux input (231770179)
- [0x6f0c88] main mux warning: late buffer for mux input (231770355)
- [0x6f0c88] main mux warning: late buffer for mux input (231770062)
- [0x6f0c88] main mux warning: late buffer for mux input (231770182)
- [0x6f0c88] main mux warning: late buffer for mux input (231770247)
- [0x6f0c88] main mux warning: late buffer for mux input (231769997)
- [0x6f0c88] main mux warning: late buffer for mux input (231770190)
- [0x6f0c88] main mux warning: late buffer for mux input (231770353)
- [0x6f0c88] main mux warning: late buffer for mux input (231770284)
- [0x6f0c88] main mux warning: late buffer for mux input (231770074)
- [0x6f0c88] main mux warning: late buffer for mux input (231770206)
- [0x6f0c88] main mux warning: late buffer for mux input (231770257)
- [0x6f0c88] main mux warning: late buffer for mux input (231770095)
- [0x6f0c88] main mux warning: late buffer for mux input (231770148)
- [0x6f0c88] main mux warning: late buffer for mux input (231770246)
- [0x6f0c88] main mux warning: late buffer for mux input (231770346)
- [0x6f0c88] main mux warning: late buffer for mux input (231770053)
- [0x6f0c88] main mux warning: late buffer for mux input (231770277)
- [0x6f0c88] main mux warning: late buffer for mux input (231770330)
- [0x6f0c88] main mux warning: late buffer for mux input (231770678)
- [0x6f0c88] main mux warning: late buffer for mux input (231770114)
- [0x6f0c88] main mux warning: late buffer for mux input (231770263)
- [0x6f0c88] main mux warning: late buffer for mux input (231770374)
- [0x6f0c88] main mux warning: late buffer for mux input (231770466)
- [0x6f0c88] main mux warning: late buffer for mux input (231770169)
- [0x6f0c88] main mux warning: late buffer for mux input (231770352)
- [0x6f0c88] main mux warning: late buffer for mux input (231770518)
- [0x6f0c88] main mux warning: late buffer for mux input (231770092)
- [0x6f0c88] main mux warning: late buffer for mux input (231770199)
- [0x6f0c88] main mux warning: late buffer for mux input (231650411)
- [0x6f0c88] main mux warning: late buffer for mux input (231650523)
- [0x6f0c88] main mux warning: late buffer for mux input (231650359)
- [0x6f0c88] main mux warning: late buffer for mux input (231650381)
- [0x6f0c88] main mux warning: late buffer for mux input (231530642)
- [0x6f0c88] main mux warning: late buffer for mux input (231530199)
- [0x6f0c88] main mux warning: late buffer for mux input (231530597)
- [0x6f0c88] main mux warning: late buffer for mux input (231570543)
- [0x6f0c88] main mux warning: late buffer for mux input (231370588)
- [0x6f0c88] main mux warning: late buffer for mux input (231370547)
- [0x6f0c88] main mux warning: late buffer for mux input (231410589)
- [0x6f0c88] main mux warning: late buffer for mux input (231210511)
- [0x6f0c88] main mux warning: late buffer for mux input (231090442)
- [0x6f0c88] main mux warning: late buffer for mux input (231090451)
- [0x6f0c88] main mux warning: late buffer for mux input (231130480)
- [0x6f0c88] main mux warning: late buffer for mux input (230930456)
- [0x6f0c88] main mux warning: late buffer for mux input (1959811)
- [0x6f0c88] main mux warning: late buffer for mux input (1959541)
- [0x6f0c88] mux_ts mux warning: packet with too strange dts (dts=443721887208,old=443492876340,pcr=443492876340)
- [0x6f0c88] main mux warning: late buffer for mux input (1959576)
- [0x6f0c88] main mux warning: late buffer for mux input (1959700)
- [0x6f0c88] main mux warning: late buffer for mux input (1959908)
- [0x6f0c88] main mux warning: late buffer for mux input (1959591)
- [0x6f0c88] main mux warning: late buffer for mux input (1959591)
- [0x6f0c88] main mux warning: late buffer for mux input (1959662)
- [0x6f0c88] mux_ts mux debug: adjusting rate at -229079711/200000 (3/26295)
- [0x6f0c88] mux_ts mux debug: adjusting rate at 199262036/229279711 (22884/3411)
- [0x6f0c88] mux_ts mux debug: adjusting rate at 25878639/30017675 (2972/439)
- [0x6f0c88] mux_ts mux debug: adjusting rate at 3343679/4139036 (384/55)
- [0x6f0c88] main mux warning: late buffer for mux input (2179885)
- [0x6f0c88] main mux warning: late buffer for mux input (2147728)
- [0x6f0c88] main mux warning: late buffer for mux input (2115727)
- [0x6f0c88] main mux warning: late buffer for mux input (2083588)
- [0x6f0c88] main mux warning: late buffer for mux input (2051367)
- [0x6f0c88] main mux warning: late buffer for mux input (2019558)
- [0x6f0c88] main mux warning: late buffer for mux input (1990605)
- [0x6f0c88] main mux warning: late buffer for mux input (19142)
- [0x6f0c88] main mux warning: late buffer for mux input (1964403)
- [0x6f0c88] main mux warning: late buffer for mux input (1959980)
- [0x6f0c88] main mux warning: late buffer for mux input (1959636)
- [0x6f0c88] main mux warning: late buffer for mux input (1959726)
- [0x6f0c88] main mux warning: late buffer for mux input (1959811)
- [0x6f0c88] main mux warning: late buffer for mux input (1959971)
- [0x6f0c88] main mux warning: late buffer for mux input (1959704)
- [0x6f0c88] main mux warning: late buffer for mux input (1959896)
- [0x6f0c88] main mux warning: late buffer for mux input (1959977)
- [0x6f0c88] main mux warning: late buffer for mux input (1959722)
- [0x6f0c88] main mux warning: late buffer for mux input (1959782)
- [0x6f0c88] main mux warning: late buffer for mux input (1959944)
- [0x6f0c88] main mux warning: late buffer for mux input (1960030)
- [0x6f0c88] main mux warning: late buffer for mux input (1959757)
- [0x6f0c88] main mux warning: late buffer for mux input (1959956)
- [0x6f0c88] main mux warning: late buffer for mux input (1960034)
- [0x6f0c88] main mux warning: late buffer for mux input (1960069)
- [0x6f0c88] main mux warning: late buffer for mux input (1959788)
- [0x6f0c88] main mux warning: late buffer for mux input (1959165)
- [0x6f0c88] main mux warning: late buffer for mux input (1959934)
- [0x6f0c88] main mux warning: late buffer for mux input (1959679)
- [0x6f0c88] main mux warning: late buffer for mux input (1959820)
- [0x6f0c88] main mux warning: late buffer for mux input (1959875)
- [0x6f0c88] main mux warning: late buffer for mux input (1959970)
- [0x6f0c88] main mux warning: late buffer for mux input (1959750)
- [0x6f0c88] main mux warning: late buffer for mux input (1959854)
- [0x6f0c88] main mux warning: late buffer for mux input (1959300)
- [0x6f0c88] main mux warning: late buffer for mux input (1960090)
- [0x6f0c88] main mux warning: late buffer for mux input (1959166)
- [0x6f0c88] main mux warning: late buffer for mux input (1959267)
- [0x6f0c88] main mux warning: late buffer for mux input (1959340)
- [0x6f0c88] main mux warning: late buffer for mux input (1959075)
- **************** (I hit CTRL+C here) ***************************
- ^C[0x605998] main libvlc debug: deactivating the playlist
- [0x6e7e58] main playlist debug: deactivating the playlist
- [0x6e7e58] main playlist debug: incoming request - stopping current input
- [0x7f1c2400d938] main input debug: control: stopping input
- [0x6f0c88] main mux warning: late buffer for mux input (1960189)
- [0x6fcb58] main decoder debug: removing module 'rawvideo'
- [0x6fcb58] main decoder debug: killing decoder fourcc `UYVY', 0 PES in FIFO
- [0x6f20e8] main stream output debug: removing a sout input (sout_input:0x6f3980)
- [0x6f0c88] main mux warning: late buffer for mux input (1971488)
- [0xaf9be8] main encoder debug: TIMER encoding video frame : 0.000 ms - Total 46138.945 ms / 211880 intvls (Avg 0.218 ms)
- [0xb02988] main generic debug: removing module 'rawvideo'
- [0xaf9be8] main encoder debug: removing module 'x264'
- [0xaf9be8] x264 encoder debug: framecount still in libx264 buffer: 0
- x264 [info]: frame P:54485 Avg QP:10.00 size: 1420
- x264 [info]: frame B:156491 Avg QP:10.03 size: 320
- x264 [info]: consecutive B-frames: 1.5% 0.0% 0.0% 98.5%
- x264 [info]: mb P I16.4: 0.0% 0.0% 0.0% P16.4: 2.9% 2.1% 2.0% 0.0% 0.0% skip:93.0%
- x264 [info]: mb B I16.4: 0.0% 0.0% 0.0% B16.8: 1.9% 0.0% 0.0% direct: 1.4% skip:96.7% L0:14.0% L1:48.1% BI:37.9%
- x264 [info]: 8x8 transform intra:37.6% inter:39.7%
- x264 [info]: coded y,uvDC,uvAC intra: 91.5% 82.2% 78.0% inter: 3.3% 1.2% 0.8%
- x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 1% 61% 11% 2% 3% 1% 7% 1% 14%
- x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 59% 6% 2% 3% 1% 9% 1% 14%
- x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
- x264 [info]: ref B L0: 87.8% 10.3% 1.9%
- x264 [info]: kb/s:148.91
- [0x6f6b68] main stream out debug: Filter 0x149b988 removed from chain
- [0x149b988] main filter debug: removing module 'swscale'
- [0x6f0c88] mux_ts mux debug: removing input pid=69
- [0xaf96b8] main decoder debug: removing module 'packetizer_copy'
- [0xaf96b8] main decoder debug: killing decoder fourcc `s16l', 0 PES in FIFO
- [0x6f20e8] main stream output debug: removing a sout input (sout_input:0xf0b890)
- [0xb03698] main encoder debug: TIMER encoding audio frame : 0.000 ms - Total 40325.734 ms / 503252 intvls (Avg 0.080 ms)
- [0xf06158] main generic debug: removing module 'araw'
- [0xb03698] main encoder debug: removing module 'avcodec'
- [0x6f6b68] main stream out debug: Filter 0xf29698 removed from chain
- [0xf29698] main filter debug: removing module 'audio_format'
- [0x6f6b68] main stream out debug: Filter 0x149a528 removed from chain
- [0x149a528] main filter debug: removing module 'speex_resampler'
- [0x6f0c88] mux_ts mux debug: removing input pid=68
- [0x6f0c88] main mux warning: no more input streams for this mux
- [0x6f38e8] main demux debug: removing module 'decklink'
- [0x7f1c2400d938] main input debug: Program doesn't contain anymore ES
- [0x7f1c2400d938] main input debug: TIMER input launching for 'decklink://' : 75.749 ms - Total 75.749 ms / 1 intvls (Avg 75.749 ms)
- [0x6f20e8] main stream output debug: destroying useless sout
- [0x6f6b68] main stream out debug: destroying chain.. (name=transcode)
- [0x6f6b68] main stream out debug: removing module 'stream_out_transcode'
- [0x6f6b68] main stream out debug: destroying chain done
- [0x6f28f8] main stream out debug: destroying chain.. (name=rtp)
- [0x6f28f8] main stream out debug: removing module 'stream_out_rtp'
- [0x6f0c88] main mux debug: removing module 'mux_ts'
- [0x6f28f8] main stream out debug: destroying chain done
- [0x6fe208] main playlist export debug: saving Media Library to file /home/mrgoblin/.local/share/vlc/ml.xspf
- [0x6fe208] main playlist export debug: looking for playlist export module: 1 candidate
- [0x6fe208] main playlist export debug: using playlist export module 'export'
- [0x6fe208] main playlist export debug: TIMER module_need() : 0.224 ms - Total 0.224 ms / 1 intvls (Avg 0.224 ms)
- [0x6fe208] main playlist export debug: removing module 'export'
- [0x6e7e58] main playlist debug: playlist correctly deactivated
- [0x605998] main libvlc debug: removing all services discovery tasks
- [0x605998] main libvlc debug: removing all interfaces
- [0x6e20e8] main interface debug: removing module 'dummy'
- [0x6ded58] main interface debug: removing module 'hotkeys'
- [0x605998] main libvlc debug: TIMER ML Load : Total 6.602 ms / 1 intvls (Avg 6.602 ms)
- [0x605998] main libvlc debug: TIMER Items array build : Total 0.052 ms / 1 intvls (Avg 0.052 ms)
- [0x605998] main libvlc debug: TIMER ML Dump : Total 0.344 ms / 1 intvls (Avg 0.344 ms)
- [0x605998] main libvlc debug: removing module 'memcpymmxext'
I’ve been trying to figure out a way to do this on the cheap for a long time and I finally figured it out today. This process allows you to grab HDV from a HDV Camera via firewire, feed it into linux, transcode the 25Mb/s mpeg-ts stream to a 4 Mb/s mpeg4 stream (inside a TS). This mpeg4 stream in turn can be viewed at full resolution (1920×1080) on a remote client running just vlc. How to force quit quickbooks for mac 2015. Here is the prerequisites:
- A decent machine with working Firewire port (anything from the past 2-3 years should do). Laptops might work as well although I have not tried it yet. My machine is a Athlon 4200+ w/ 2GB of RAM and a 512 MB NVIDIA 7900.
- Ubuntu 7.10 (Gutsy Gibbon) installation CD.
- 4-pin to 6-pin Firewire cable.
- HDV Camera with Firewire out (I use a Canon HV20).

- Get Ubuntu 7.10 installed on your machine. This should be standard installation from the Live-CD.
- Reboot, do all adjustments to your display, get network setup, install all the updates.
- Using synaptic package manager install the following extra packages: ubuntu-extras, ffmpeg, dvgrab 3 and VLC plus anything else you might want.
- Connect the firewire camera to the computer and check /var/log/messages to make sure it gets recognized.
sudo dvgrab -f hdv -noavc -nostop - vlc -
You have to use sudo under ubuntu to get proper access to the firewire device. The above command runs dvgrab with hdv format and makes sure that 1394 AV/Device control is turned off (this way you can be in Camera mode and get a live feed). The nostop switch prevents dvgrab from sending stop commands to the camera everytime you stop it via Ctrl-C, which I though was a good thing. The last dash forces dvgrab to output to stdout, which we’ll then pipe into vlc (the dash for vlc tells it to use stdin as input). Msi warranty.

sudo dvgrab -f hdv -noavc -nostop - vlc - --sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=0.5,deinterlace,width=1920,height=1080}:duplicate{dst=std{access=udp,mux=ts,dst=receiver_ip_address:1234}}'
This is one massive command, the first part we already discussed, so lets take a look at the second half:
- –sout is our output chain.
- #transcode tells vlc that we first want to transcode the input using parameters to follow
- {} contains our transcoding parameters
- vcodec=mp4v sets the video codec to mpeg4 video
- vb=4096 sets the bitrate of the transcoded video (4Mb/s)
- acodec=mpga sets the audio codec to mpeg audio (mp3)
- ab=256 sets the bitrate of the transcoded audio (256 Kb/s)
- scale=1 sets the scaling value
- deinterlace sets guess what?
- width=1920 sets the width of the transcoded video to 1920 pixels
- height=1080 sets the height of the transcoded video to 1080 pixels
- :duplicate tells VLC that we want to duplicate the transcoded signal and send a copy of it to our receiver machine.
- dst is the destination string
- access=udp specifies UDP protocol
- mux=ts sets multiplexing to mpeg-2 Transport stream
- dst=receiver_ip_address:1234 is the ip address and port number of the receiving machine