VLC 3.0.x records m3u8 streams different than 2.x.x (only one audio track)

About encoding, codec settings, muxers and filter usage
vilapupu
Blank Cone
Blank Cone
Posts: 28
Joined: 01 Jun 2009 04:15
VLC version: 3.0.12
Operating System: Win 10 Pro x64
Location: MD, USA

VLC 3.0.x records m3u8 streams different than 2.x.x (only one audio track)

Postby vilapupu » 06 Jun 2019 10:40

I've been having this issue where VLC 3.0.x (any current version) records m3u8 streams, with more than one audio track, differently than 2.2.8. For starters, the recording gets put to the "My Videos" folder. In 2.2.8 it outputed to "My Documents."

The main issue is that i takes out the 2nd audio track. I'm not sure how or why it does that. I have noticed it throws out an .mp4 file rather than a proper .ts file (as this is a live mpeg transport stream).

Is there any way to change this as it is on 2.2.8? I'm not sure why it'll throw out an .mp4 output. Please NOTE this is when I use the "record" button function of VLC, both 2.2.8 and 3.0.x

Logs:


3.0.6:

Code: Select all

main debug: using sout chain=`record{dst-prefix='C:\\Users\\USER\\Videos\\vlc-record-2019-06-06-03h58m56s-CN L4TAM cl4ro-'}' main debug: stream=`record' main debug: looking for sout stream module matching "record": 23 candidates main debug: set config option: sout-record-dst-prefix to C:\Users\USER\Videos\vlc-record-2019-06-06-03h58m56s-CN L4TAM cl4ro- main debug: using sout stream module "record" main debug: looking for packetizer module matching "any": 25 candidates main debug: using packetizer module "h264" main debug: looking for packetizer module matching "any": 25 candidates mpeg4audio debug: running MPEG4 audio packetizer mpeg4audio debug: ADTS Mode main debug: using packetizer module "mpeg4audio" mpeg4audio info: AAC channels: 2 samplerate: 48000 main debug: adding a new sout input for `mp4a` (sout_input: 005806a8) h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS main debug: auto hiding mouse cursor h264 warning: waiting for SPS/PPS h264 warning: waiting for SPS/PPS h264 debug: found NAL_SPS (sps_id=0) h264 debug: found NAL_PPS (pps_id=0 sps_id=0) main debug: adding a new sout input for `h264` (sout_input: 097eb380) main debug: killing decoder fourcc `h264' main debug: removing module "h264" main debug: removing a sout input (sout_input: 097eb380) record debug: Using record output `std{access=file{no-append,no-format,no-overwrite},mux='mp4',dst='C:\\Users\\USER\\Videos\\vlc-record-2019-06-06-03h58m56s-CN L4TAM cl4ro-.mp4'}' main debug: stream=`std' main debug: looking for sout stream module matching "std": 23 candidates main debug: set config option: sout-standard-access to file{no-append,no-format,no-overwrite} main debug: set config option: sout-standard-mux to mp4 main debug: set config option: sout-standard-dst to C:\Users\USER\Videos\vlc-record-2019-06-06-03h58m56s-CN L4TAM cl4ro-.mp4 main debug: looking for sout access module matching "file": 10 candidates main debug: set config option: sout-file-append to (null) main debug: set config option: sout-file-format to (null) main debug: set config option: sout-file-overwrite to (null) file debug: file access output opened (C:\Users\USER\Videos\vlc-record-2019-06-06-03h58m56s-CN L4TAM cl4ro-.mp4) main debug: using sout access module "file" main debug: looking for sout mux module matching "mp4": 11 candidates mp4 debug: Mp4 muxer opened main debug: using sout mux module "mp4" stream_out_standard debug: using `file{no-append,no-format,no-overwrite}/mp4://C:\Users\USER\Videos\vlc-record-2019-06-06-03h58m56s-CN L4TAM cl4ro-.mp4' main debug: using sout stream module "stream_out_standard" main debug: adding a new input mp4 debug: adding input main debug: adding a new input mp4 debug: adding input mp4 debug: tk 2 elst media time 0 duration 2102099 offset 0 mp4 debug: removing input main debug: killing decoder fourcc `mp4a' main debug: removing module "mpeg4audio" main debug: removing a sout input (sout_input: 005806a8) mp4 debug: tk 1 elst media time 0 duration 2005334 offset 16732 mp4 debug: removing input main warning: no more input streams for this mux main debug: destroying chain... (name=record) main debug: removing module "record" main debug: destroying chain... (name=std) main debug: removing module "stream_out_standard" main debug: removing module "mp4" mp4 debug: Close mp4 debug: movie duration 2s mp4 debug: created 60 chunks (stco) mp4 debug: created 61 chunks (stco) main debug: removing module "file" file debug: file access output closed main debug: destroying chain done main debug: destroying chain done

2.2.8
- I removed some URL stuff, and also had to put it on pastebin as it was too big for the forum

Code: Select all

https://pastebin.com/raw/ee0f5uh6

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.x records m3u8 streams different than 2.x.x (only one audio track)

Postby Rémi Denis-Courmont » 07 Jun 2019 21:42

Keeping a single audio track has been the default for over a decade. Use --sout-all if you to keep all tracks.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests