Skip to content

Commit 47e2083

Browse files
committed
README.md: add info about audio and video indexing
1 parent 743ea59 commit 47e2083

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@
1010

1111
If you have issues about the file names save the AviSynth script (`.avs`) as UTF-8 or just enable UTF-8 code pages in Windows (if available) - `Windows Settings > Time & language > Language & region > Administrative language settings > Change system locale, and check Beta: Use Unicode UTF-8 for worldwide language support.`
1212

13+
##### Note about decoding audio and video from the same file in the same script
14+
15+
Always prefer this order
16+
17+
```
18+
audio = LWLibavAudioSource()
19+
video = LWLibavVideoSource()
20+
```
21+
22+
over this order
23+
24+
```
25+
video = LWLibavVideoSource()
26+
audio = LWLibavAudioSource()
27+
```
28+
29+
In the second case the file will be scanned twice and the video info will be written twice (overwritted) in the index file.
30+
1331
##### FFmpeg
1432

1533
[This](https://github.com/HomeOfAviSynthPlusEvolution/FFmpeg/tree/custom-patches-for-lsmashsource) is the recommended FFmpeg version.

0 commit comments

Comments
 (0)