.ts files overly large

About encoding, codec settings, muxers and filter usage
bbriedis
New Cone
New Cone
Posts: 2
Joined: 27 Oct 2017 05:04

.ts files overly large

Postby bbriedis » 27 Oct 2017 05:43

Hi there! I'm streaming AAC from a radio station to an Icecast server, adding VLC as a listener and using it to output HLS. The VLC process is sitting on a Debian machine. It all seems to be working well, but the one issue I have is that the .ts files are quite large. They are about 30% larger than those generated by ffmpeg which is going to be a problem as I expect the system to be heavily used. I was wondering if anyone can give me an insight as to the cause of it and a possible fix. (Using ffmpeg instead is a possibility, but it has other issues.)

My best guess so far is that the extra space is being put into extra headers (MPEG-TS has so many layers!).
Here are the results of some diagnostics on the VLC output:

Code: Select all

$ tsreport 00000005.ts Reading from 00000005.ts Read 1247 TS packets

Code: Select all

$ tsinfo 00000005.ts Reading from 00000005.ts Scanning 1000 TS packets Packet 17 is PAT Program list: Program 1 -> PID 0042 (66) Packet 18 is PMT with PID 0042 (66) Program 1, version 22, PCR PID 0044 (68) Program streams: PID 0044 ( 68) -> Stream type 0f ( 15) 13818-7 Audio with ADTS transport syntax ES info (6 bytes): 0a 04 00 00 00 00 Languages: Found 74 PAT packets and 37 PMT packets in 1000 TS packets
By comparison the output for ffmpeg is:

Code: Select all

$ tsreport 5.ts Reading from 5.ts Read 63 TS packets
and

Code: Select all

$ tsinfo 5.ts Reading from 5.ts Scanning 1000 TS packets Packet 2 is PAT Program list: Program 1 -> PID 1000 (4096) Packet 3 is PMT with PID 1000 (4096) Program 1, version 0, PCR PID 0100 (256) Program streams: PID 0100 ( 256) -> Stream type 0f ( 15) 13818-7 Audio with ADTS transport syntax EOF Found 2 PAT packets and 1 PMT packet in 1000 TS packets
As you can see there are many more TS, PAT and PMT packets in the VLC file than the ffmpeg file.

In case it's useful here are the mediainfo outputs as well. First for VLC:

Code: Select all

$ mediainfo 00000005.ts General ID : 7149 (0x1BED) Complete name : 00000005.ts Format : MPEG-TS File size : 229 KiB Duration : 9s 729ms Overall bit rate mode : Variable Overall bit rate : 188 Kbps Audio ID : 68 (0x44) Menu ID : 1 (0x1) Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Muxing mode : ADTS Codec ID : 15 Duration : 9s 834ms Bit rate mode : Variable Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy
and the ffmpeg:

Code: Select all

$ mediainfo 5.ts General ID : 1 (0x1) Complete name : 5.ts Format : MPEG-TS File size : 171 KiB Duration : 9s 899ms Overall bit rate mode : Variable Overall bit rate : 140 Kbps Audio ID : 256 (0x100) Menu ID : 1 (0x1) Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Muxing mode : ADTS Codec ID : 15 Duration : 9s 898ms Bit rate mode : Variable Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy
The difference in file size is apparent here.

The VLC command I'm using is:

Code: Select all

cvlc -vvv "http://128.199.174.170:8000/stream" --no-sout-display-video --sout='#std{select=novideo,access=livehttp{seglen=10,numsegs=360,splitanywhere=false,index=out.m3u8,index-url=########.ts},mux=ts,dst=########.ts}'
while the ffmpeg command is:

Code: Select all

ffmpeg -i "http://128.199.174.170:8000/stream" -vn -f hls -hls_time 10 -hls_list_size 360 -hls_segment_filename "%d.ts" "out.m3u8"
The VLC output is:

Code: Select all

$ cvlc -vvv "http://128.199.174.170:8000/stream" --no-sout-display-video --sout='#std{select=novideo,access=livehttp{seglen=10,numsegs=360,splitanywhere=false,index=out.m3u8,index-url=########.ts},mux=ts,dst=########.ts}' [0000000000731118] core libvlc debug: VLC media player - 2.2.5.1 Umbrella [0000000000731118] core libvlc debug: Copyright © 1996-2017 the VideoLAN team [0000000000731118] core libvlc debug: revision 2.2.5.1~ppa [0000000000731118] core libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fdkaac' '--enable-fluidsynth' '--enable-freerdp' '--enable-freetype' '--enable-fribidi' '--enable-gles1' '--enable-gles2' '--enable-glx' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcdx' '--enable-vorbis' '--enable-vpx' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-gnomevfs' '--disable-goom' '--disable-libtar' '--disable-mfx' '--disable-opencv' '--disable-projectm' '--disable-sndio' '--disable-svgdec' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-oss' '--enable-vcd' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' [0000000000731118] core libvlc debug: searching plug-in modules [0000000000731118] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0000000000731118] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0000000000731118] core libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0000000000731118] core libvlc debug: plug-ins loaded: 454 modules [0000000000731118] core libvlc debug: opening config file (/home/ben/.config/vlc/vlcrc) [0000000000731118] core libvlc debug: translation test: code is "C" [0000000000731118] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX FPU [000000000075cd18] core input debug: Creating an input for 'Media Library' [000000000075cd18] core input debug: Input is a meta file: disabling unneeded options [000000000075cd18] core input debug: using timeshift granularity of 50 MiB, in path '/tmp' [000000000075cd18] core input debug: `file/xspf-open:///home/ben/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/ben/.local/share/vlc/ml.xspf' [000000000075cd18] core input debug: creating demux: access='file' demux='xspf-open' location='/home/ben/.local/share/vlc/ml.xspf' file='/home/ben/.local/share/vlc/ml.xspf' [00000000009355c8] core demux debug: looking for access_demux module matching "file": 21 candidates [00000000009355c8] core demux debug: no access_demux modules matched [000000000075cd18] core input debug: creating access 'file' location='/home/ben/.local/share/vlc/ml.xspf', path='/home/ben/.local/share/vlc/ml.xspf' [00000000009355c8] core access debug: looking for access module matching "file": 24 candidates [00000000009355c8] filesystem access debug: opening file `/home/ben/.local/share/vlc/ml.xspf' [00000000009355c8] core access debug: using access module "filesystem" [000000000074e428] core stream debug: Using stream method for AStream* [000000000074e428] core stream debug: starting pre-buffering [000000000074e428] core stream debug: received first data after 0 ms [000000000074e428] core stream debug: pre-buffering done 296 bytes in 0s - 32118 KiB/s [00000000007f9ba8] core stream debug: looking for stream_filter module matching "any": 9 candidates [00000000007f9ba8] core stream debug: no stream_filter modules matched [00000000007f9ba8] core stream debug: looking for stream_filter module matching "record": 9 candidates [00000000007f9ba8] core stream debug: using stream_filter module "record" [000000000075cd18] core input debug: creating demux: access='file' demux='xspf-open' location='/home/ben/.local/share/vlc/ml.xspf' file='/home/ben/.local/share/vlc/ml.xspf' [00000000007fc7d8] core demux debug: looking for demux module matching "xspf-open": 66 candidates [00000000007fc7d8] xspf demux debug: using XSPF playlist reader [00000000007fc7d8] core demux debug: using demux module "playlist" [00000000007fcaf8] core demux meta debug: looking for meta reader module matching "any": 2 candidates [00000000007fcaf8] lua demux meta debug: Trying Lua scripts in /home/ben/.local/share/vlc/lua/meta/reader [00000000007fcaf8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [00000000007fcaf8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [00000000007fcaf8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [00000000007fcaf8] core demux meta debug: no meta reader modules matched [000000000075cd18] core input debug: `file/xspf-open:///home/ben/.local/share/vlc/ml.xspf' successfully opened [0000000000805c88] core xml reader debug: looking for xml reader module matching "any": 1 candidates [0000000000805c88] core xml reader debug: using xml reader module "xml" [00000000007fc7d8] xspf demux debug: parsed 0 tracks successfully [000000000075cd18] core input debug: EOF reached [00000000007fc7d8] core demux debug: removing module "playlist" [00000000007f9ba8] core stream debug: removing module "record" [00000000009355c8] core access debug: removing module "filesystem" [0000000000745038] core playlist debug: creating audio output [000000000080c208] core audio output debug: looking for audio output module matching "any": 7 candidates [000000000080c208] pulse audio output debug: using library version 4.0.0 [000000000080c208] pulse audio output debug: (compiled with version 4.0.0, protocol 28) [000000000080c208] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #3028 [000000000080c208] pulse audio output debug: using protocol 28, server protocol 28 [000000000080c208] pulse audio output debug: adding sink 0: alsa_output.pci-0000_01_00.1.hdmi-stereo (HDA NVidia Digital Stereo (HDMI)) [000000000080c208] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analogue Stereo) [000000000080c208] core audio output debug: using audio output module "pulse" [0000000000745038] core playlist debug: keeping audio output [0000000000745038] core playlist debug: adding item `http://128.199.174.170:8000/stream' ( http://128.199.174.170:8000/stream ) [0000000000745038] core playlist debug: meta ok for (null), need to fetch art [0000000000934b68] core interface debug: looking for interface module matching "hotkeys,none": 19 candidates [00007f3eec000958] core art finder debug: looking for meta fetcher module matching "any": 1 candidates [0000000000934b68] core interface debug: using interface module "hotkeys" [000000000080bd18] core interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates [000000000080bd18] core interface debug: using interface module "xcb_hotkeys" [000000000075e2d8] core interface debug: looking for interface module matching "dbus,none": 19 candidates [000000000075e2d8] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc [000000000075e2d8] core interface debug: using interface module "dbus" [0000000000762438] core interface debug: looking for interface module matching "dummy": 19 candidates [0000000000762438] dummy interface: using the dummy interface module... [0000000000762438] core interface debug: using interface module "dummy" [0000000000745038] core playlist debug: processing request item: null, node: Playlist, skip: 0 [0000000000745038] core playlist debug: rebuilding array of current - root Playlist [0000000000745038] core playlist debug: rebuild done - 1 items, index -1 [0000000000745038] core playlist debug: starting playback of the new playlist item [0000000000745038] core playlist debug: resyncing on http://128.199.174.170:8000/stream [0000000000745038] core playlist debug: http://128.199.174.170:8000/stream is at 0 [0000000000745038] core playlist debug: creating new input thread [00007f3ef4000c18] core input debug: Creating an input for 'http://128.199.174.170:8000/stream' [00007f3eec000958] lua art finder debug: Trying Lua scripts in /home/ben/.local/share/vlc/lua/meta/fetcher [00007f3eec000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher [00007f3eec000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [0000000000745038] core playlist debug: requesting art for http://128.199.174.170:8000/stream [00007f3ef0000c58] core stream output debug: using sout chain=`std{select=novideo,access=livehttp{seglen=10,numsegs=360,splitanywhere=false,index=out.m3u8,index-url=########.ts},mux=ts,dst=########.ts}' [00007f3ef0000c58] core stream output debug: stream=`std' [00007f3ef0001178] core stream out debug: looking for sout stream module matching "std": 22 candidates [00007f3ee8000958] core art finder debug: looking for meta fetcher module matching "any": 1 candidates [00007f3ef0001178] core stream out warning: option select is unknown [00007f3ef0001178] core stream out debug: set config option: sout-standard-access to livehttp{seglen=10,numsegs=360,splitanywhere=false,index=out.m3u8,index-url=########.ts} [00007f3ef0001178] core stream out debug: set config option: sout-standard-mux to ts [00007f3ef0001178] core stream out debug: set config option: sout-standard-dst to ########.ts [00007f3ef0002118] core access out debug: looking for sout access module matching "livehttp": 8 candidates [00007f3ef0002118] core access out debug: set config option: sout-livehttp-seglen to 10 [00007f3ef0002118] core access out debug: set config option: sout-livehttp-numsegs to 360 [00007f3ef0002118] core access out debug: set config option: sout-livehttp-splitanywhere to false [00007f3ef0002118] core access out debug: set config option: sout-livehttp-index to out.m3u8 [00007f3ef0002118] core access out debug: set config option: sout-livehttp-index-url to ########.ts [00007f3ef0002118] access_output_livehttp access out debug: No key uri, no encryption [00007f3ef0002118] core access out debug: using sout access module "access_output_livehttp" [00007f3ef0004258] core mux debug: looking for sout mux module matching "ts": 10 candidates [00007f3ef0004258] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [00007f3ef0004258] core mux debug: using sout mux module "mux_ts" [00007f3ef0000c58] core stream output debug: muxer support adding stream at any time [00007f3ef0000c58] core stream output debug: muxer prefers to wait for all ES before starting to mux [00007f3ef0001178] stream_out_standard stream out debug: using `livehttp{seglen=10,numsegs=360,splitanywhere=false,index=out.m3u8,index-url=########.ts}/ts://########.ts' [00007f3ef0001178] core stream out debug: using sout stream module "stream_out_standard" [00007f3ef4000c18] core input debug: using timeshift granularity of 50 MiB, in path '/tmp' [00007f3ef4000c18] core input debug: `http://128.199.174.170:8000/stream' gives access `http' demux `' path `128.199.174.170:8000/stream' [00007f3ef4000c18] core input debug: specified demux `any' [00007f3ef4000c18] core input debug: creating demux: access='http' demux='any' location='128.199.174.170:8000/stream' file='(null)' [00007f3ef00090a8] core demux debug: looking for access_demux module matching "http": 21 candidates [00007f3ef00090a8] core demux debug: no access_demux modules matched [00007f3ef4000c18] core input debug: creating access 'http' location='128.199.174.170:8000/stream', path='(null)' [00007f3ef00090a8] core access debug: looking for access module matching "http": 24 candidates [00007f3ef00090a8] http access debug: querying proxy for http://128.199.174.170:8000/stream [00007f3ee8000958] lua art finder debug: Trying Lua scripts in /home/ben/.local/share/vlc/lua/meta/fetcher [00007f3ee8000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher [00007f3eec000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [00007f3ee8000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [00007f3eec000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f3eec000958] core art finder debug: no meta fetcher modules matched [0000000000745038] core playlist debug: searching art for http://128.199.174.170:8000/stream [00007f3eec000958] core art finder debug: looking for art finder module matching "any": 2 candidates [00007f3eec000958] lua art finder debug: Trying Lua scripts in /home/ben/.local/share/vlc/lua/meta/art [00007f3ef00090a8] http access debug: no proxy [00007f3ef00090a8] http access debug: http: server='128.199.174.170' port=8000 file='/stream' [00007f3eec000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art [00007f3ef00090a8] core access debug: net: connecting to 128.199.174.170 port 8000 [00007f3ee8000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [00007f3eec000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f3ee8000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f3ee8000958] core art finder debug: no meta fetcher modules matched [0000000000731118] core libvlc debug: searching art for http://128.199.174.170:8000/stream [00007f3ee8000958] core art finder debug: looking for art finder module matching "any": 2 candidates [00007f3ee8000958] lua art finder debug: Trying Lua scripts in /home/ben/.local/share/vlc/lua/meta/art [00007f3ee8000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art [00007f3ee8000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f3eec000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f3eec000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f3eec000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f3ee8000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [00007f3eec000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f3ee8000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f3ee8000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac [00007f3eec000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f3ee8000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f3eec000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac [00007f3eec000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac [00007f3ee8000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [00007f3eec000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f3eec000958] core art finder debug: no art finder modules matched [00007f3ee8000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac [0000000000745038] core playlist debug: art not found for http://128.199.174.170:8000/stream [00007f3ee8000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac [00007f3ee8000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f3ee8000958] core art finder debug: no art finder modules matched [0000000000731118] core libvlc debug: art not found for http://128.199.174.170:8000/stream [00007f3ef00090a8] core access debug: connection succeeded (socket = 10) [00007f3ef00090a8] http access debug: protocol 'HTTP' answer code 200 [00007f3ef00090a8] http access debug: Server: Icecast 2.4.2 [00007f3ef00090a8] http access debug: Content-Type: audio/aac [00007f3ef00090a8] http access debug: Pragma: no-cache [00007f3ef00090a8] http access debug: Meta-Info: icy-br: 128 [00007f3ef00090a8] http access debug: Icy-Genre: Other [00007f3ef00090a8] http access debug: Icy-Name: RadioCaster Stream [00007f3ef00090a8] http access debug: Meta-Info: icy-pub: 0 [00007f3ef00090a8] http access debug: Meta-Info: icy-url: http://www.example.com [00007f3ef00090a8] http access debug: Icy-MetaInt: 16000 [00007f3ef00090a8] http access warning: ICY metaint=16000 [00007f3ef00090a8] http access: Raw-audio server found, m4a demuxer selected [00007f3ef00090a8] http access debug: auto re-connect enabled [00007f3ef00090a8] core access debug: using access module "http" [00007f3ef000bb48] core stream debug: Using stream method for AStream* [00007f3ef000bb48] core stream debug: starting pre-buffering [00007f3ef000bb48] core stream debug: received first data after 156 ms [00007f3ef000bb48] core stream debug: pre-buffering done 1024 bytes in 0s - 6 KiB/s [00007f3ef0c0bfb8] core stream debug: looking for stream_filter module matching "any": 9 candidates [00007f3ef0c0bfb8] core stream debug: no stream_filter modules matched [00007f3ef0c0bfb8] core stream debug: looking for stream_filter module matching "record": 9 candidates [00007f3ef0c0bfb8] core stream debug: using stream_filter module "record" [00007f3ef4000c18] core input debug: creating demux: access='http' demux='m4a' location='128.199.174.170:8000/stream' file='(null)' [00007f3ef0c0c248] core demux debug: looking for demux module matching "m4a": 66 candidates [00007f3ef0c0c248] es demux debug: detected format mp4a [00007f3ef0c0cc08] core demux packetizer debug: looking for packetizer module matching "any": 23 candidates [00007f3ef0c0cc08] packetizer_mpeg4audio demux packetizer debug: running MPEG4 audio packetizer [00007f3ef0c0cc08] packetizer_mpeg4audio demux packetizer debug: no decoder specific info, must be an ADTS or LOAS stream [00007f3ef0c0cc08] core demux packetizer debug: using packetizer module "packetizer_mpeg4audio" [00007f3ef0c0cc08] packetizer_mpeg4audio demux packetizer debug: detected ADTS format [00007f3ef0c0cc08] packetizer_mpeg4audio demux packetizer: AAC channels: 2 samplerate: 48000 [00007f3ef4000c18] core input debug: selecting program id=0 [00007f3ef0c0c248] core demux debug: using demux module "es" [00007f3ef0c1a098] core decoder debug: looking for packetizer module matching "any": 23 candidates [00007f3ef0c1a098] packetizer_mpeg4audio decoder debug: running MPEG4 audio packetizer [00007f3ef0c1a098] packetizer_mpeg4audio decoder debug: AAC 48000Hz 1024 samples/frame [00007f3ef0c1a098] core decoder debug: using packetizer module "packetizer_mpeg4audio" [00007f3ef4000c18] core input debug: starting in sync mode [00007f3ef0c1ea38] core demux meta debug: looking for meta reader module matching "any": 2 candidates [00007f3ef0c1ea38] lua demux meta debug: Trying Lua scripts in /home/ben/.local/share/vlc/lua/meta/reader [00007f3ef0c1ea38] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [00007f3ef0c1ea38] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [00007f3ef0c1ea38] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [00007f3ef0c1ea38] core demux meta debug: no meta reader modules matched [00007f3ef4000c18] core input debug: `http://128.199.174.170:8000/stream' successfully opened [00007f3ef4000c18] core input debug: Buffering 0% [00007f3ef4000c18] core input debug: switching to async mode [00007f3ef4000c18] core input debug: Buffering 2% [00007f3ef0000c58] core stream output debug: adding a new sout input (sout_input:0x7f3ee8009ff0) [00007f3ef0004258] core mux debug: adding a new input [00007f3ef4000c18] core input debug: Buffering 4% [00007f3ef0004258] mux_ts mux debug: adding input codec=mp4a pid=68 [00007f3ef0004258] mux_ts mux debug: new PCR PID is 68 [00007f3ef4000c18] core input debug: Buffering 6% [00007f3ef4000c18] core input debug: Buffering 8% [00007f3ef4000c18] core input debug: Buffering 10% [00007f3ef4000c18] core input debug: Buffering 12% [00007f3ef4000c18] core input debug: Buffering 14% [00007f3ef4000c18] core input debug: Buffering 17% [00007f3ef4000c18] core input debug: Buffering 19% [00007f3ef4000c18] core input debug: Buffering 21% [00007f3ef4000c18] core input debug: Buffering 23% [00007f3ef4000c18] core input debug: Buffering 25% [00007f3ef4000c18] core input debug: Buffering 27% [00007f3ef4000c18] core input debug: Buffering 29% [00007f3ef4000c18] core input debug: Buffering 32% [00007f3ef4000c18] core input debug: Buffering 34% [00007f3ef4000c18] core input debug: Buffering 36% [00007f3ef4000c18] core input debug: Buffering 38% [00007f3ef4000c18] core input debug: Buffering 40% [00007f3ef4000c18] core input debug: Buffering 42% [00007f3ef4000c18] core input debug: Buffering 44% [00007f3ef4000c18] core input debug: Buffering 46% [00007f3ef4000c18] core input debug: Buffering 49% [00007f3ef4000c18] core input debug: Buffering 51% [00007f3ef4000c18] core input debug: Buffering 53% [00007f3ef4000c18] core input debug: Buffering 55% [00007f3ef4000c18] core input debug: Buffering 57% [00007f3ef4000c18] core input debug: Buffering 59% [00007f3ef4000c18] core input debug: Buffering 61% [00007f3ef4000c18] core input debug: Buffering 64% [00007f3ef4000c18] core input debug: Buffering 66% [00007f3ef4000c18] core input debug: Buffering 68% [00007f3ef4000c18] core input debug: Buffering 70% [00007f3ef00090a8] http access debug: New Icy-Title= [00007f3ef4000c18] core input debug: Buffering 72% [00007f3ef4000c18] core input debug: Buffering 74% [00007f3ef4000c18] core input debug: Buffering 76% [00007f3ef4000c18] core input debug: Buffering 78% [00007f3ef4000c18] core input debug: Buffering 81% [00007f3ef4000c18] core input debug: Buffering 83% [00007f3ef4000c18] core input debug: Buffering 85% [00007f3ef4000c18] core input debug: Buffering 87% [00007f3ef4000c18] core input debug: Buffering 89% [00007f3ef4000c18] core input debug: Buffering 91% [00007f3ef4000c18] core input debug: Buffering 93% [00007f3ef4000c18] core input debug: Buffering 96% [00007f3ef4000c18] core input debug: Buffering 98% [00007f3ef4000c18] core input debug: Stream buffering done (1002 ms in 155 ms) [00007f3ef4000c18] core input debug: Decoder wait done in 0 ms [00007f3ef0002118] access_output_livehttp access out debug: Successfully opened livehttp file: 00000001.ts (1) [00007f3ef0002118] access_output_livehttp access out debug: LiveHttpSegmentComplete: 00000001.ts (1) [00007f3ef0002118] access_output_livehttp access out debug: LiveHttpIndexComplete: out.m3u8 [00007f3ef0002118] access_output_livehttp access out debug: Successfully opened livehttp file: 00000002.ts (2) [0000000000731118] core libvlc debug: removing all interfaces [0000000000731118] core libvlc debug: exiting [0000000000762438] core interface debug: removing module "dummy" [000000000075e2d8] core interface debug: removing module "dbus" [000000000080bd18] core interface debug: removing module "xcb_hotkeys" [0000000000934b68] core interface debug: removing module "hotkeys" [0000000000745038] core playlist debug: destroying [0000000000745038] core playlist debug: deactivating the playlist [0000000000745038] core playlist debug: incoming request - stopping current input [00007f3ef00090a8] core access debug: object waitpipe triggered [00007f3ef00090a8] core access debug: socket 10 polling interrupted [00007f3ef4000c18] core input debug: control: stopping input [0000000000745038] core playlist debug: incoming request - stopping current input [0000000000745038] core playlist debug: finished input [00007f3ef0c1a098] core decoder debug: removing module "packetizer_mpeg4audio" [00007f3ef0c1a098] core decoder debug: killing decoder fourcc `mp4a', 2 PES in FIFO [00007f3ef0000c58] core stream output debug: removing a sout input (sout_input:0x7f3ee8009ff0) [00007f3ef0004258] mux_ts mux debug: removing input pid=68 [00007f3ef0004258] mux_ts mux debug: new PCR PID is 8191 [00007f3ef0004258] core mux warning: no more input streams for this mux [00007f3ef0c0c248] core demux debug: removing module "es" [00007f3ef0c0cc08] core demux packetizer debug: removing module "packetizer_mpeg4audio" [00007f3ef0c0bfb8] core stream debug: removing module "record" [00007f3ef00090a8] core access debug: removing module "http" [00007f3ef4000c18] core input debug: Program doesn't contain anymore ES [0000000000745038] core playlist debug: incoming request - stopping current input [0000000000745038] core playlist debug: dead input [00007f3ef0000c58] core stream output debug: destroying useless sout [00007f3ef0001178] core stream out debug: destroying chain... (name=std) [00007f3ef0001178] core stream out debug: removing module "stream_out_standard" [00007f3ef0004258] core mux debug: removing module "mux_ts" [00007f3ef0002118] core access out debug: removing module "access_output_livehttp" [00007f3ef0002118] access_output_livehttp access out debug: Writing.. 188 [00007f3ef0002118] access_output_livehttp access out debug: LiveHttpSegmentComplete: 00000002.ts (2) [00007f3ef0002118] access_output_livehttp access out debug: LiveHttpIndexComplete: out.m3u8 [00007f3ef0002118] access_output_livehttp access out debug: Removing segment number 1 name 00000001.ts [00007f3ef0002118] access_output_livehttp access out debug: Removing segment number 2 name 00000002.ts [00007f3ef0002118] access_output_livehttp access out debug: livehttp access output closed [00007f3ef0001178] core stream out debug: destroying chain done [000000000080c208] core audio output debug: removing module "pulse" [00000000007620e8] core playlist export debug: saving Media Library to file /home/ben/.local/share/vlc/ml.xspf.tmp895 [00000000007620e8] core playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates [00000000007620e8] core playlist export debug: using playlist export module "export" [00000000007620e8] core playlist export debug: removing module "export"
Cheers!

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: .ts files overly large

Postby InTheWings » 28 Nov 2017 16:00

making stats on 1K packets is pointless has we have no idea of duration
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

bbriedis
New Cone
New Cone
Posts: 2
Joined: 27 Oct 2017 05:04

Re: .ts files overly large

Postby bbriedis » 29 Nov 2017 05:38

If you are referring to the input stream, it was .aac/ADTS The ADTS frames presumably would have contained 1024 samples each. The output information format can be seen in the "cvlc" command line above. For me the problem is academic now as I've jumped over to using a different method.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 33 guests