MacOS, trying to get vlc read streamable h264 from stdin.

macOS specific usage questions
cburns
New Cone
New Cone
Posts: 1
Joined: 22 Aug 2020 03:53

MacOS, trying to get vlc read streamable h264 from stdin.

Postby cburns » 22 Aug 2020 04:19

MacOS, trying to get vlc to read from stdin. It’s an h264 file which I believe is streamable. ( I have streamed it to another program. )

"vlc file.h264" works.

"cat file.h264 | vlc -“ does not work.

Is there a command line option to tell vlc what to expect on the stdin? Maybe that is the issue?

Thanks!

$ alias
alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'

$ file file.h264
file.h264: JVT NAL sequence, H.264 video, baseline @ L 30

$ vlc file.h264
VLC media player 3.0.10 Vetinari (revision 3.0.10-0-g7f145afa84)
[00007ff2a2513010] main interface error: no suitable interface module
[00007ff2a241cad0] main libvlc error: interface "(null),none" initialization failed
[00007ff2a241cad0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007ff2a274ac60] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[00007ff2a274ac60] videotoolbox decoder: vt cvpx chroma: 420v


$ cat file.h264 | vlc -
VLC media player 3.0.10 Vetinari (revision 3.0.10-0-g7f145afa84)
[00007fcecc47fe40] main interface error: no suitable interface module
[00007fcecc423ce0] main libvlc error: interface "(null),none" initialization failed
[00007fcecc423ce0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests