문제

나는이 자료를 찾는다. http://wiki.videolan.org/documentation:play_howto/format_string.나는이 파일 이름 접두사에서 비디오 코드를 시도해 봅니다. "scene-$ t-".그러나 장면 필터는 파일 이름에 시간 코드를 출력하지 않습니다.이러한 형식 문자열 변수는 0.9.0 버전 만 지원합니까?

미리 감사드립니다.

도움이 되었습니까?

해결책 2

I think there is a bug over this module, so I just write a separate function to extract the time info.

다른 팁

Take a look @ the documentation on this page and variables, for me for example

  1. Tools -> Preferences
  2. Video
  3. On the snapshot section I put $N- which is the name of the file, you could actually do whatever you want with following variables

enter image description here

It's not clear from your questions whether you refer to taking video snapshots, but that's what I'll assume here.

Looking at the documentation (https://wiki.videolan.org/Documentation:Snapshots/), --snapshot-path and --snapshot-prefix can only be expanded from version 2.2.0. I.e. if you want to insert time and date as part of your snapshot filename, you will have to use VLC version 2.2.0 or greater.

A number of Linux distributions have not upgraded their stock VLC to 2.2.0, including Linux Mint, and, it seems Ubuntu. What you're trying to do works for me on Windows with the latest VLC.

Goto Tools->Preferences or alternatively press Ctrl + P

Then Goto Video -> Video snpashot

Enter in Prefix text box

vlcsnap-%H-%M-%S

Options expansions that can be added are

%Y : year
%m : month
%d : day
%H : hour
%M : minute
%S : second

For a list of other common formatted string option, Goto

https://wiki.videolan.org/Documentation:Play_HowTo/Format_String

enter image description here

$N-%H-%M-%S-

it works for me while using build 3.0.3

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top