Mp4 Stream Recording Doesn't Include Audio

macOS specific usage questions
mahzaib
New Cone
New Cone
Posts: 1
Joined: 21 Nov 2020 01:51

Mp4 Stream Recording Doesn't Include Audio

Postby mahzaib » 21 Nov 2020 02:26

I am trying to use command-line VLAN to record a streaming video; however, the mp4 recordings do not contain any audio.

I am running MacOS 11.0.1 (Big Sur)

This is the command that I am typing (although I have tried numerous variations to no avail):
/Applications/VLC.app/Contents/MacOS/VLC --run-time=5 -vvv --sout '#transcode{vcodec=mp4v,acodec=mp4a,vb=800,ab=128}:file{dst=/Users/marjoram/Downloads/vlc-output-4.mp4}' 'https://www.youtube.com/watch?v=9lN2X2QGjNQ'

Verbose Log File:
https://pastebin.com/AqC8g67k

I have tried different sampling rates & audio / video codecs, but each time I am able to get an mp4 file - however, it doesn't contain audio.


GUI Issues (entirely separate issue - however, being that the GUI didn't work, I moved to the command line)
Additionally, I started with the GUI; however, the file was either always empty or it contained just a few bytes.
Repo Steps in GUI:
- Select File->Open Network
- Provide URL
- Select Stream Output checkbox
- Select Settings box
- Select Display the stream locally
- Select File & provide file location - file extension is 'mp4'
- Select Encapsulation Method -> Raw (I've similarly tried MPEG 4)

Additionally, I've tried dumping raw (I get an error for this) & modifying video and audio transcoding options. None of which result in the stream being converted to the mp4 file.

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests