1 |
Alan McKinnon wrote: |
2 |
> On Saturday 24 October 2009 22:16:03 Dale wrote: |
3 |
> |
4 |
>> Hi, |
5 |
>> |
6 |
>> I'm still using KDE 3.5 for this but this is annoying at times. I'm |
7 |
>> looking for a way to adjust the audio/video so that they sync up. Mine |
8 |
>> seems to be about 1.5 to 2 seconds out of adjustment here. I googled |
9 |
>> and found that the + and - keys should adjust this but I can't tell that |
10 |
>> it is working here. Is there some other way to adjust this setting? |
11 |
>> I'm using kmplayer with mplayer for the backend. |
12 |
>> |
13 |
> |
14 |
> Are you sure the input file isn't broken? Does it happen with many files? What |
15 |
> type of files? |
16 |
> |
17 |
> 2 seconds is a huge lag, much too big to explain as a mere bug, so I'd be |
18 |
> looking for other data to correlate first. |
19 |
> |
20 |
> |
21 |
> |
22 |
|
23 |
Well, it does vary by a bit. Some are not quite so far off. I did find |
24 |
this little tidbit of info in 'console' under view. This is interesting: |
25 |
|
26 |
MPlayer SVN-r29463-4.4.1 (C) 2000-2009 MPlayer Team |
27 |
Terminal type `unknown' is not defined. |
28 |
|
29 |
libavformat file format detected. |
30 |
ID_VIDEO_ID=0 |
31 |
[lavf] Video stream found, -vid 0 |
32 |
ID_AUDIO_ID=1 |
33 |
[lavf] Audio stream found, -aid 1 |
34 |
VIDEO: [H264] 480x360 0bpp 29.917 fps 550.2 kbps (67.2 kbyte/s) |
35 |
ID_FILENAME=/data/Movies/Movies/Clue Club 03 The Real Gone Gondola Pt 1.flv |
36 |
ID_DEMUXER=lavfpref |
37 |
ID_VIDEO_FORMAT=H264 |
38 |
ID_VIDEO_BITRATE=550208 |
39 |
ID_VIDEO_FPS=29.917 |
40 |
ID_AUDIO_FORMAT=255 |
41 |
ID_AUDIO_BITRATE=0 |
42 |
ID_AUDIO_RATE=44100 |
43 |
ID_AUDIO_NCH=2 |
44 |
ID_SEEKABLE=1 |
45 |
ID_CHAPTERS=0 |
46 |
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. |
47 |
Opening video filter: [pp=de] |
48 |
Opening video filter: [scale] |
49 |
========================================================================== |
50 |
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family |
51 |
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) |
52 |
========================================================================== |
53 |
ID_VIDEO_CODEC=ffh264 |
54 |
========================================================================== |
55 |
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) |
56 |
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) |
57 |
ID_AUDIO_BITRATE=128000 |
58 |
ID_AUDIO_RATE=44100 |
59 |
ID_AUDIO_NCH=2 |
60 |
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) |
61 |
========================================================================== |
62 |
FAAD: compressed input bitrate missing, assuming 128kbit/s! |
63 |
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) |
64 |
ID_AUDIO_CODEC=faad |
65 |
Starting playback... |
66 |
VDec: vo config request - 480 x 360 (preferred colorspace: Planar YV12) |
67 |
[PP] Using external postprocessing filter, max q = 6. |
68 |
VDec: using Planar YV12 as output csp (no 0) |
69 |
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. |
70 |
[swscaler @ 0x8939540]using unscaled yuv420p -> rgb32 special converter |
71 |
VO: [gl] 480x360 => 480x360 BGRA |
72 |
X11 error: BadMatch (invalid parameter attributes) |
73 |
|
74 |
|
75 |
************************************************ |
76 |
**** Your system is too SLOW to play this! **** |
77 |
************************************************ |
78 |
|
79 |
Possible reasons, problems, workarounds: |
80 |
- Most common: broken/buggy _audio_ driver |
81 |
- Try -ao sdl or use the OSS emulation of ALSA. |
82 |
- Experiment with different values for -autosync, 30 is a good start. |
83 |
- Slow video output |
84 |
- Try a different -vo driver (-vo help for a list) or try -framedrop! |
85 |
- Slow CPU |
86 |
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the |
87 |
lavdopts, |
88 |
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all. |
89 |
- Broken file |
90 |
- Try various combinations of -nobps -ni -forceidx -mc 0. |
91 |
- Slow media (NFS/SMB mounts, DVD, VCD etc) |
92 |
- Try -cache 8192. |
93 |
- Are you using -cache to play a non-interleaved AVI file? |
94 |
- Try -nocache. |
95 |
Read DOCS/HTML/en/video.html for tuning/speedup tips. |
96 |
If none of this helps you, read DOCS/HTML/en/bugreports.html. |
97 |
|
98 |
|
99 |
So, my AMD 2500+ with 2GBs of ram is to slow? I know this is a older |
100 |
rig but surely it ain't that slow. o_O |
101 |
|
102 |
I also realized something else that may contribute to this a little. I |
103 |
started a emerge last night and thought it would be through by now. |
104 |
It's still running. It's compiling OOo and some KDE stuff. Could that |
105 |
slow things down a bit? Everything else seems to be responding fine. I |
106 |
have portage set to a lower nice level than my desktop. I even have |
107 |
ionice set. |
108 |
|
109 |
Ideas? |
110 |
|
111 |
Dale |
112 |
|
113 |
:-) :-) |