Skip to content

VLC media player

VLC 미디어 플레이어(영어: VLC media player)는 VideoLAN에서 개발한 미디어 플레이어이다. 원래는 프랑스의 공과대학 에콜 센트랄 파리에서 학생 프로젝트로 시작하여 개발되었고, 대표적으로 널리 알려진 자유 소프트웨어 프로그램이며 아이콘은 러버콘이다.

Categories

Options

Interface

  • Interfaces - VideoLAN Wiki
  • qt - Current (>=0.9.0) default Qt4 interface on Linux and Windows.
  • wx - Previous (<0.9.0) default wxWidgets interface on Linux and Windows.
  • skins2 - Load VLC with a skin. (Linux and Windows only)
  • macosx - Default Mac OS X interface.
  • minimal_macosx - Minimal Mac OS X interface.
  • beos - Default BeOS interface.
  • http - Web Interface, used for controlling VLC from over a network.
  • gestures - Mouse Gestures, where you can control VLC by moving the mouse
  • rc, ncurses, telnet - Console Interfaces, non-graphical interfaces.
  • showintf - Show interfaces module.
  • hotkeys and joystick - Control VLC with the keyboard/joystick (see HotKeys).
  • dummy - Don't use an interface (HotKeys still available).

RTSP streaming

VIDEO_PATH=$HOME/Movies/video.mp4
./VLC -vvv ${VIDEO_PATH} --sout '#rtp{dst=0.0.0.0,port=8090,sdp=rtsp://0.0.0.0:8080/test.sdp,proto=udp}'

macOS의 경우 VLC.app/Contents/MacOS/VLC경로에 존재한다.

여러 인스턴스 동시 실행

--no-one-instance 옵션을 추가하면 된다.

vlc --no-one-instance rtmp://localhost/cam1

UI 없이 실행

-I dummy 옵션을 사용한다:

vlc -I dummy your_video_file.mp4

루프 모드

--loop옵션을 던지면 된다.

vlc --loop video.mp4

Use RTP over RTSP (TCP)

vlc --rtsp-tcp rtsp://path/to/stream

스트리밍 무한 재생

만약 오디오 없는 스트리밍 영상을 (e.g. CCTV) 종료 없이 무한 재생(연결이 끊어져도 다시 연결된다)하고 싶다면:

vlc -I dummy --no-one-instance --loop --noaudio rtmp://localhost/cam1

모자이크(mosaic) 모드

mosaic.vlm이름으로 VLM 파일을 만든다:

new channel1 broadcast enabled
setup channel1 input "file:///C:/Users/UserName/Desktop/sample1.mkv"
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,width=960,height=540},select=video,dst=bridge-out{id=11},select=audio}

new channel2 broadcast enabled
setup channel2 input "file:///C:/Users/UserName/Desktop/sample2.mkv"
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,width=960,height=540},select=video,dst=bridge-out{id=12},select=audio}

new channel3 broadcast enabled
setup channel3 input "file:///C:/Users/UserName/Desktop/sample3.mkv"
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,width=960,height=540},select=video,dst=bridge-out{id=13},select=audio}

new channel4 broadcast enabled
setup channel4 input "file:///C:/Users/UserName/Desktop/sample4.mkv"
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,width=960,height=540},select=video,dst=bridge-out{id=14},select=audio}

new mosaic broadcast enabled
setup mosaic input "file:///C:/Users/UserName/Desktop/bg.jpg"
setup mosaic option image-duration=-1
setup mosaic output #transcode{sfilter=mosaic{width=1920,height=1080,cols=2,rows=2,order="1,2,3,4",keep-aspect-ratio=enabled,keep-picture=1,mosaic-align=5},vcodec=mp4v}:bridge-in:display

control mosaic play
control channel1 play
control channel2 play
control channel3 play
control channel4 play

그리고 --vlm-conf옵션을 사용하여 실행한다:

vlc --vlm-conf=mosaic.vlm

Youtube playlist VLC Playlist Parser

Download And Install The Extension:

  • Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\playlist\
  • Windows (current user only): %APPDATA%\vlc\lua\playlist\
  • Linux (all users): /usr/lib/vlc/lua/playlist/
  • Linux (current user only): ~/.local/share/vlc/lua/playlist/
  • Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/playlist/

GNOME Desktop Icon

[Desktop Entry]
Version=1.0
Name=VLC media player
GenericName=Media player
Comment=Read, capture, broadcast your multimedia streams

# ... 다른 언어는 너무 많아서 생략

Name[ja]=VLCメディアプレイヤー
GenericName[ja]=メディアプレイヤー
Comment[ja]=マルチメディアストリームの読み込み、キャプチャー、ブロードキャスト
Name[ko]=VLC 미디어 플레이어
GenericName[ko]=미디어 플레이어
Comment[ko]=당신의 멀티미디어 스트림을 캡쳐 및 방송 할 수 있습니다
Exec=/usr/bin/vlc --started-from-file %U
TryExec=/usr/bin/vlc
Icon=vlc
Terminal=false
Type=Application
Categories=AudioVideo;Player;Recorder;
MimeType=application/ogg;application/x-ogg;audio/ogg;audio/vorbis;audio/x-vorbis;audio/x-vorbis+ogg;video/ogg;video/x-ogm;video/x-ogm+ogg;video/x-theora+ogg;video/x-theora;audio/x-speex;audio/opus;application/x-flac;audio/flac;audio/x-flac;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;video/x-ms-asf;video/x-ms-asf-plugin;video/x-ms-asx;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;audio/x-pn-windows-acm;video/divx;video/msvideo;video/vnd.divx;video/avi;video/x-avi;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/vnd.rn-realaudio;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-real-audio;audio/x-realaudio;video/vnd.rn-realvideo;audio/mpeg;audio/mpg;audio/mp1;audio/mp2;audio/mp3;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpeg;audio/x-mpg;video/mp2t;video/mpeg;video/mpeg-system;video/x-mpeg;video/x-mpeg2;video/x-mpeg-system;application/mpeg4-iod;application/mpeg4-muxcodetable;application/x-extension-m4a;application/x-extension-mp4;audio/aac;audio/m4a;audio/mp4;audio/x-m4a;audio/x-aac;video/mp4;video/mp4v-es;video/x-m4v;application/x-quicktime-media-link;application/x-quicktimeplayer;video/quicktime;application/x-matroska;audio/x-matroska;video/x-matroska;video/webm;audio/webm;audio/3gpp;audio/3gpp2;audio/AMR;audio/AMR-WB;video/3gp;video/3gpp;video/3gpp2;x-scheme-handler/mms;x-scheme-handler/mmsh;x-scheme-handler/rtsp;x-scheme-handler/rtp;x-scheme-handler/rtmp;x-scheme-handler/icy;x-scheme-handler/icyx;application/x-cd-image;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;application/ram;application/xspf+xml;audio/mpegurl;audio/x-mpegurl;audio/scpls;audio/x-scpls;text/google-video-pointer;text/x-google-video-pointer;video/vnd.mpegurl;application/vnd.apple.mpegurl;application/vnd.ms-asf;application/vnd.ms-wpl;application/sdp;audio/dv;video/dv;audio/x-aiff;audio/x-pn-aiff;video/x-anim;video/x-nsv;video/fli;video/flv;video/x-flc;video/x-fli;video/x-flv;audio/wav;audio/x-pn-au;audio/x-pn-wav;audio/x-wav;audio/x-adpcm;audio/ac3;audio/eac3;audio/vnd.dts;audio/vnd.dts.hd;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/vnd.dolby.mlp;audio/basic;audio/midi;audio/x-ape;audio/x-gsm;audio/x-musepack;audio/x-tta;audio/x-wavpack;audio/x-shorten;application/x-shockwave-flash;application/x-flash-video;misc/ultravox;image/vnd.rn-realpix;audio/x-it;audio/x-mod;audio/x-s3m;audio/x-xm;application/mxf;
X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb
Keywords=Player;Capture;DVD;Audio;Video;Server;Broadcast;

See also

Favorite site