Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?
Date: Sat, 18 Mar 2017 18:56:49
Message-Id: A0460E14-4610-4F65-8863-04E9396F9329@antarean.org
In Reply to: Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ? by tuxic@posteo.de
1 On March 18, 2017 7:44:59 PM GMT+01:00, tuxic@××××××.de wrote:
2 >No.
3 >Starting mpv as root "fixes" the problem...so it is
4 >a permission problem (see my second mail). But mpv
5 >does not complain about missing permissions and plays
6 >the file....after 5 seconds (when used as unpriveledged
7 >user).
8 >
9 >I am member of group "video" though and -- for example -- Blender
10 >gets full access to video infrastructure without problems...
11 >
12 >
13 >
14 >On 03/18 12:35, Maxim Wexler wrote:
15 >> Do the files repose on a on a big(terabytes!) outboard drive? This
16 >> could cause a delay on account of the OS having to read the thing
17 >> first.
18 >>
19 >> On 3/18/17, tuxic@××××××.de <tuxic@××××××.de> wrote:
20 >> > Hi,
21 >> >
22 >> > very often I use mpv to watch videos.
23 >> >
24 >> > On my old root, the start of that tool
25 >> > was nearly instantly.
26 >> >
27 >> > With my new root, it seems, that mpv
28 >> > is waiting for something. For example:
29 >> >
30 >> > Playing: <Some videoZ=>
31 >> > [ffmpeg/demuxer] flv: video stream discovered after head already
32 >parsed
33 >> > [ffmpeg/demuxer] flv: audio stream discovered after head already
34 >parsed
35 >> > (+) Video --vid=1 (h264)
36 >> > (+) Audio --aid=1 (aac)
37 >> > AO: [alsa] 48000Hz stereo 2ch float
38 >> > VO: [opengl] 480x360 yuv420p
39 >> >
40 >> > The above is printed instantly onto the console...than it waits
41 >> > ~5 seconds, then the video is started and this is printed
42 >> > and updated:
43 >> >
44 >> > AV: 00:00:00 / 01:25:09 (0%) A-V: 0.000
45 >> >
46 >> >
47 >> > . This happens with flv, mp4 but it happens to pure audio
48 >> > files like ogg and wav also.
49 >> >
50 >> > I have no idea, for what mpv is waiting for -- but it annoys me.
51 >> >
52 >> >
53 >> > Is it fixable...and
54 >> > if( true )
55 >> > then
56 >> > how( "?" )
57 >> > fi
58 >> >
59 >> > :)
60 >> >
61 >> > Cheers
62 >> > Meino
63 >> >
64 >> >
65 >> >
66 >> >
67 >> >
68 >> >
69 >> >
70 >>
71
72 If it also happens with pure audio files, I would suspect an issue with the audio subsystem.
73 Maybe it tries direct access. Doesn't work, so it switches to something else (maybe pulseaudio)
74 Root being allowed direct access, doesn't suffer from this?
75
76 --
77 Joost
78 --
79 Sent from my Android device with K-9 Mail. Please excuse my brevity.