inputselector: Always proxy position/duration query
[platform/upstream/gstreamer.git] / docs / random / usecases
1 Use cases for audio applications
2 --------------------------------
3
4 ANALYSIS
5 ========
6
7 * find start and end  -x dB boundary
8
9 * find overall volume for complete track (peak/RMS/average)
10
11 * do level-triggered playback
12
13 CUE FILES
14 =========
15
16 Given a long audio file and a .cue file:
17 - an element should be able to read an audio input stream and a cue input
18   stream and send new-media events based on the .cue file information
19 - a audiocdsink should be able to record this stream straight to disk
20
21 Use cases for core functionality
22 --------------------------------
23
24 THREADS
25 =======
26
27 * { sinesrc } ! { queue ! osssink }
28   - play thread
29   - pause input thread
30   - output thread should keep playing as long as queue not empty
31   - play input thread again
32   - no gaps should be heard
33
34 Use cases for video applications
35 --------------------------------
36
37 THUMBNAILING
38 ============
39 - load file
40 - figure out if it's playable
41 - ask length of file
42 - seek to middle
43 - snapshot one frame
44 - save to disk