You are not logged in.

#1 2009-12-26 05:17:46

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Linux and hd video

hd video is watched with brakes

hd conf: GeForce 9800 GT, nvidia drivers with vdpau support /AMD Phenom 9550 quad-core /4 GB RAM/500 GB hdd

is watching films with smplayer. If I change settings to vdpau vo in the smplayer then see nothing. Smplayer begin to works as audioplayer (image of smplayer window).

I tryed to install mplayer from aur but get error of compilation:

yaourt -Sy mplayer-vdpau-svn
..
..................
x86/vp3dsp_sse2.o x86/vp6dsp_mmx.o x86/vp6dsp_sse2.o x86/dsputil_yasm.o x86/fft_mmx.o x86/fft_3dn.o x86/fft_3dn2.o x86/fft_sse.o x86/h264_deblock_sse2.o x86/h264_idct_sse2.o
true libavcodec.a
make[1]: Leaving directory `/var/abs/local/yaourtbuild/mplayer-vdpau-svn/src/mplayer-vdpau-svn-build/libavcodec'
touch libavcodec/libavcodec.a
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build mplayer-vdpau-svn package.


Help please. WDINR?

Last edited by veranyon (2010-01-07 17:36:31)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#2 2009-12-26 12:00:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Linux and hd video

Either translate the error messages or change to an english locale. Only people who can read russian can help you at the moment.

Offline

#3 2009-12-26 16:36:33

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

tomk wrote:

Either translate the error messages or change to an english locale.

was fixed


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#4 2009-12-26 17:30:58

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Linux and hd video

I can't see where the build failed from the output, but it almost looks as if you caught mplayer in a weird subversion state. You may simply want to try again. If it fails another time, scan back a bit in the output and see if you get any more information.

Offline

#5 2009-12-27 00:16:23

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

There're some errors:
..

help/help_create.sh help/help_mp-en.h UTF-8

./version.sh `cc -dumpversion`

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found
......
...
cc -MM -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     codec-cfg.c | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," > codec-cfg.d

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found
...
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o mp_msg.o mp_msg.c

command.c: In function 'mp_property_tv_color':

command.c:1862: warning: cast from pointer to integer of different size

command.c:1864: warning: cast from pointer to integer of different size

command.c:1867: warning: cast from pointer to integer of different size

command.c:1873: warning: cast from pointer to integer of different size

command.c: In function 'mp_property_teletext_common':

command.c:1886: warning: cast from pointer to integer of different size

command.c: In function 'mp_property_teletext_mode':

command.c:1934: warning: cast from pointer to integer of different size

mp_msg.c: In function 'filename_recode':

mp_msg.c:66: warning: passing argument 2 of 'iconv' from incompatible pointer type

/usr/include/iconv.h:43: note: expected 'char ** restrict' but argument is of type 'const char **'
...
c -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c

libao2/ao_mpegpes.c: In function 'play':

libao2/ao_mpegpes.c:330: warning: passing argument 6 of 'send_mpeg_pes_packet' from incompatible pointer type

./libmpdemux/mpeg_packetizer.h:34: note: expected 'int (*)(const unsigned char *, int)' but argument is of type 'int (*)(unsigned char *, int)'

libao2/ao_mpegpes.c:338: warning: passing argument 6 of 'send_mpeg_lpcm_packet' from incompatible pointer type

./libmpdemux/mpeg_packetizer.h:42: note: expected 'int (*)(const unsigned char *, int)' but argument is of type 'int (*)(unsigned char *, int)'

In file included from mplayer.c:832:

cfg-mplayer.h:358: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mplayer.h:363,

                 from mplayer.c:832:

cfg-common-opts.h:13: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:25: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mplayer.h:363,

                 from mplayer.c:832:

cfg-common-opts.h:158: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:165: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:170: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:174: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:176: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:218: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:242: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:265: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:268: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:271: warning: initialization discards qualifiers from pointer target type

In file included from mplayer.c:832:

cfg-mplayer.h:367: warning: initialization discards qualifiers from pointer target type

cfg-mplayer.h:368: warning: initialization discards qualifiers from pointer target type

cfg-mplayer.h:369: warning: initialization discards qualifiers from pointer target type

cfg-mplayer.h:371: warning: initialization discards qualifiers from pointer target type
....
.
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libvo/vosub_vidix.o libvo/vosub_vidix.c

libvo/vosub_vidix.c: In function 'vidix_init':

libvo/vosub_vidix.c:536: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:538: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:540: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:541: warning: assignment from incompatible pointer type

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o mencoder.o mencoder.c

libvo/vosub_vidix.c: In function 'vidix_preinit':

libvo/vosub_vidix.c:703: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:704: warning: assignment from incompatible pointer type

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o mp_msg-mencoder.o mp_msg-mencoder.c

In file included from mencoder.c:284:

cfg-mencoder.h:187: warning: initialization discards qualifiers from pointer target type

cfg-mencoder.h:188: warning: initialization discards qualifiers from pointer target type

cfg-mencoder.h:191: warning: initialization discards qualifiers from pointer target type

cfg-mencoder.h:218: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mencoder.h:261,

                 from mencoder.c:284:

cfg-common-opts.h:13: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:25: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mencoder.h:261,

                 from mencoder.c:284:

cfg-common-opts.h:158: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:165: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:170: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:174: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:176: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:218: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:242: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:265: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:268: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:271: warning: initialization discards qualifiers from pointer target type

In file included from mp_msg-mencoder.c:3:

mp_msg.c: In function 'filename_recode':

mp_msg.c:66: warning: passing argument 2 of 'iconv' from incompatible pointer type

/usr/include/iconv.h:43: note: expected 'char ** restrict' but argument is of type 'const char **'
...
include/freetype2     -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c

libmpdemux/muxer_avi.c: In function 'write_avi_chunk':

libmpdemux/muxer_avi.c:154: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c:155: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c: In function 'avifile_odml_new_riff':

libmpdemux/muxer_avi.c:200: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'uint32_t *'

libmpdemux/muxer_avi.c: In function 'write_avi_list':

libmpdemux/muxer_avi.c:276: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:277: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c:278: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c: In function 'avifile_write_header':

libmpdemux/muxer_avi.c:326: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:331: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:344: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'uint32_t (*)[3]'

libmpdemux/muxer_avi.c:481: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:489: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c: In function 'avifile_odml_write_index':

libmpdemux/muxer_avi.c:641: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:647: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
....
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c

libmpdemux/muxer_mpeg.c: In function 'parse_mpeg12_video':

libmpdemux/muxer_mpeg.c:1654: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c:1778: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c: In function 'parse_mpeg4_video':

libmpdemux/muxer_mpeg.c:1867: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c:1924: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_chunk':

libmpdemux/muxer_mpeg.c:2358: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
...
include/freetype2     -c -o libmpcodecs/ad_imaadpcm.o libmpcodecs/ad_imaadpcm.c

libmpcodecs/ad_hwmpa.c: In function 'control':

libmpcodecs/ad_hwmpa.c:136: warning: 'len' may be used uninitialized in this function
...
include/freetype2     -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c

libmpcodecs/dec_video.c: In function 'set_video_colors':

libmpcodecs/dec_video.c:92: warning: cast to pointer from integer of different size

libmpcodecs/dec_video.c:92: warning: passing argument 3 of 'mpvdec->control' discards qualifiers from pointer target type

libmpcodecs/dec_video.c:92: note: expected 'void *' but argument is of type 'const char *'

libmpcodecs/dec_video.c: In function 'get_video_colors':

libmpcodecs/dec_video.c:115: warning: passing argument 3 of 'mpvdec->control' discards qualifiers from pointer target type

libmpcodecs/dec_video.c:115: note: expected 'void *' but argument is of type 'const char *'

libmpcodecs/dec_video.c: In function 'init_video':

libmpcodecs/dec_video.c:204: warning: assignment discards qualifiers from pointer target type
...
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c

libmpcodecs/vf_scale.c: In function 'scale':

libmpcodecs/vf_scale.c:343: warning: 'sws_scale_ordered' is deprecated (declared at ./libswscale/swscale.h:181)

libmpcodecs/vf_scale.c:348: warning: 'sws_scale_ordered' is deprecated (declared at ./libswscale/swscale.h:181)

libmpcodecs/vf_scale.c:350: warning: 'sws_scale_ordered' is deprecated (declared at ./libswscale/swscale.h:181)

libmpcodecs/vf_smartblur.c: In function 'put_image':

libmpcodecs/vf_smartblur.c:186: warning: initialization from incompatible pointer type
.....
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c

libmpcodecs/vf_smartblur.c: In function 'config':

libmpcodecs/vf_smartblur.c:101: warning: 'sw' may be used uninitialized in this function

libmpcodecs/vf_smartblur.c:101: warning: 'sh' may be used uninitialized in this function
...
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c

libmpcodecs/vf_vo.c: In function 'control':

libmpcodecs/vf_vo.c:107: warning: passing argument 2 of 'vf->priv->vo->control' discards qualifiers from pointer target type

libmpcodecs/vf_vo.c:107: note: expected 'void *' but argument is of type 'const char *'

libmpcodecs/vf_vo.c:113: warning: passing argument 2 of 'vf->priv->vo->control' discards qualifiers from pointer target type

libmpcodecs/vf_vo.c:113: note: expected 'void *' but argument is of type 'const char *'
.....
etc

there're very much simular errors errors
I don't know what I must see
I can put a full output to some filehosting resource. But where. I can't press rapidshare upload button because I remove Adobe flash http://bbs.archlinux.org/viewtopic.php? … 72#p677572

ifolder.ru is russian resource and You couldn't understand where and who you must press there.


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#6 2009-12-27 00:18:26

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Linux and hd video

Try adding this repo http://gitorious.org/arch-linux-greece for mplayer packages with vdpau support enabled.

Offline

#7 2009-12-27 00:29:46

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Linux and hd video

Where your errors are in the code is using awk extensively. Do have all of the group base-devel installed? If not:

pacman -S base-devel

Offline

#8 2009-12-27 00:43:02

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

flamelab wrote:

Try adding this repo http://gitorious.org/arch-linux-greece for mplayer packages with vdpau support enabled.

mplayer -vo vdpau -vc ffh264vdpau Last_house_on_the_left.mkv
MPlayer SVN-r29776-4.4.1 (C) 2000-2009 MPlayer Team
141 audio & 306 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/iron/1/video/The Last House on the Left/The.Last.House.on.the.Left.2009.BD.Remux.mkv.
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang rus
[mkv] Track ID 3: audio (A_DTS), -aid 1, -alang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang rus
[mkv] Track ID 5: subtitles (S_TEXT/UTF8), -sid 1, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [WVC1]  1920x1080  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   4.7 (04.6) of 6817.8 ( 1:53:37.8)  4.2% 

MPlayer interrupted by signal 2 in module: play_audio
A:   4.7 (04.7) of 6817.8 ( 1:53:37.8)  4.2%

Video: no video

It's lucking when I had install mplayer-svn from that repo.


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#9 2009-12-27 01:05:14

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

skottish wrote:

Where your errors are in the code is using awk extensively. Do have all of the group base-devel installed? If not:

pacman -S base-devel

# pacman -S base-devel
..
ok

yaourt -Sy aur/mplayer-vdpau-svn
..
Config files successfully generated by ./configure --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --confdir=/etc/mplayer --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --language=all --disable-esd --disable-mga --extra-cflags=-fno-strict-aliasing --enable-vdpau !
..
help/help_create.sh help/help_mp-en.h UTF-8

./version.sh `cc -dumpversion`

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found
..
cc -MM -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     codec-cfg.c | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," > codec-cfg.d

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found

vidix/pci_db2c.awk vidix/pci.db 1

make: vidix/pci_db2c.awk: Command not found
...
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o parser-mpcmd.o parser-mpcmd.c

mp_msg.c: In function 'filename_recode':

mp_msg.c:66: warning: passing argument 2 of 'iconv' from incompatible pointer type

/usr/include/iconv.h:43: note: expected 'char ** restrict' but argument is of type 'const char **'

command.c: In function 'mp_property_tv_color':

command.c:1862: warning: cast from pointer to integer of different size

command.c:1864: warning: cast from pointer to integer of different size

command.c:1867: warning: cast from pointer to integer of different size

command.c:1873: warning: cast from pointer to integer of different size

command.c: In function 'mp_property_teletext_common':

command.c:1886: warning: cast from pointer to integer of different size

command.c: In function 'mp_property_teletext_mode':

command.c:1934: warning: cast from pointer to integer of different size

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o input/input.o input/input.c

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c

libao2/ao_mpegpes.c: In function 'play':

libao2/ao_mpegpes.c:330: warning: passing argument 6 of 'send_mpeg_pes_packet' from incompatible pointer type

./libmpdemux/mpeg_packetizer.h:34: note: expected 'int (*)(const unsigned char *, int)' but argument is of type 'int (*)(unsigned char *, int)'

libao2/ao_mpegpes.c:338: warning: passing argument 6 of 'send_mpeg_lpcm_packet' from incompatible pointer type

./libmpdemux/mpeg_packetizer.h:42: note: expected 'int (*)(const unsigned char *, int)' but argument is of type 'int (*)(unsigned char *, int)'

In file included from mplayer.c:832:

cfg-mplayer.h:358: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mplayer.h:363,

                 from mplayer.c:832:

cfg-common-opts.h:13: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:25: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mplayer.h:363,

                 from mplayer.c:832:

cfg-common-opts.h:158: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:165: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:170: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:174: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:176: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:218: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:242: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:265: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:268: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:271: warning: initialization discards qualifiers from pointer target type

In file included from mplayer.c:832:

cfg-mplayer.h:367: warning: initialization discards qualifiers from pointer target type

cfg-mplayer.h:368: warning: initialization discards qualifiers from pointer target type

cfg-mplayer.h:369: warning: initialization discards qualifiers from pointer target type

cfg-mplayer.h:371: warning: initialization discards qualifiers from pointer target type
...
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o mencoder.o mencoder.c

libvo/vosub_vidix.c: In function 'vidix_init':

libvo/vosub_vidix.c:536: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:538: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:540: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:541: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c: In function 'vidix_preinit':

libvo/vosub_vidix.c:703: warning: assignment from incompatible pointer type

libvo/vosub_vidix.c:704: warning: assignment from incompatible pointer type

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o mp_msg-mencoder.o mp_msg-mencoder.c

In file included from mp_msg-mencoder.c:3:

mp_msg.c: In function 'filename_recode':

mp_msg.c:66: warning: passing argument 2 of 'iconv' from incompatible pointer type

/usr/include/iconv.h:43: note: expected 'char ** restrict' but argument is of type 'const char **'

In file included from mencoder.c:284:

cfg-mencoder.h:187: warning: initialization discards qualifiers from pointer target type

cfg-mencoder.h:188: warning: initialization discards qualifiers from pointer target type

cfg-mencoder.h:191: warning: initialization discards qualifiers from pointer target type

cfg-mencoder.h:218: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mencoder.h:261,

                 from mencoder.c:284:

cfg-common-opts.h:13: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:25: warning: initialization discards qualifiers from pointer target type

In file included from cfg-mencoder.h:261,

                 from mencoder.c:284:

cfg-common-opts.h:158: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:165: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:170: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:174: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:176: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:218: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:242: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:265: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:268: warning: initialization discards qualifiers from pointer target type

cfg-common-opts.h:271: warning: initialization discards qualifiers from pointer target type
..
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c

libmpdemux/muxer_avi.c: In function 'write_avi_chunk':

libmpdemux/muxer_avi.c:154: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c:155: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c: In function 'avifile_odml_new_riff':

libmpdemux/muxer_avi.c:200: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'uint32_t *'

libmpdemux/muxer_avi.c: In function 'write_avi_list':

libmpdemux/muxer_avi.c:276: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:277: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c:278: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'int *'

libmpdemux/muxer_avi.c: In function 'avifile_write_header':

libmpdemux/muxer_avi.c:326: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:331: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:344: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'uint32_t (*)[3]'

libmpdemux/muxer_avi.c:481: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:489: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c

libmpdemux/muxer_avi.c: In function 'avifile_odml_write_index':

libmpdemux/muxer_avi.c:641: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_avi.c:647: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type

./stream/stream.h:139: note: expected 'unsigned char *' but argument is of type 'unsigned int *'

libmpdemux/muxer_mpeg.c: In function 'parse_mpeg12_video':

libmpdemux/muxer_mpeg.c:1654: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c:1778: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c: In function 'parse_mpeg4_video':

libmpdemux/muxer_mpeg.c:1867: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c:1924: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_chunk':

libmpdemux/muxer_mpeg.c:2358: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
..
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpcodecs/native/xa_gsm.o libmpcodecs/native/xa_gsm.c

libmpcodecs/dec_video.c: In function 'set_video_colors':

libmpcodecs/dec_video.c:92: warning: cast to pointer from integer of different size

libmpcodecs/dec_video.c:92: warning: passing argument 3 of 'mpvdec->control' discards qualifiers from pointer target type

libmpcodecs/dec_video.c:92: note: expected 'void *' but argument is of type 'const char *'

libmpcodecs/dec_video.c: In function 'get_video_colors':

libmpcodecs/dec_video.c:115: warning: passing argument 3 of 'mpvdec->control' discards qualifiers from pointer target type

libmpcodecs/dec_video.c:115: note: expected 'void *' but argument is of type 'const char *'

libmpcodecs/dec_video.c: In function 'init_video':

libmpcodecs/dec_video.c:204: warning: assignment discards qualifiers from pointer target type
....
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c

libmpcodecs/vf_scale.c: In function 'scale':

libmpcodecs/vf_scale.c:343: warning: 'sws_scale_ordered' is deprecated (declared at ./libswscale/swscale.h:181)

libmpcodecs/vf_scale.c:348: warning: 'sws_scale_ordered' is deprecated (declared at ./libswscale/swscale.h:181)

libmpcodecs/vf_scale.c:350: warning: 'sws_scale_ordered' is deprecated (declared at ./libswscale/swscale.h:181)

libmpcodecs/vf_smartblur.c: In function 'put_image':

libmpcodecs/vf_smartblur.c:186: warning: initialization from incompatible pointer type

libmpcodecs/vf_smartblur.c: In function 'config':

libmpcodecs/vf_smartblur.c:101: warning: 'sw' may be used uninitialized in this function

libmpcodecs/vf_smartblur.c:101: warning: 'sh' may be used uninitialized in this function

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c

libmpcodecs/vf_sab.c: In function 'config':

libmpcodecs/vf_sab.c:142: warning: 'sw' may be used uninitialized in this function

libmpcodecs/vf_sab.c:142: warning: 'sh' may be used uninitialized in this function
...
etc............
......
cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o snow.o snow.c

motion_est.c: In function 'h263_mv4_search':

motion_est.c:539: warning: 'P[4][1]' may be used uninitialized in this function

motion_est.c:539: warning: 'P[3][1]' may be used uninitialized in this function

motion_est.c:539: warning: 'P[2][1]' may be used uninitialized in this function

cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o sonic.o sonic.c

cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o sunrast.o sunrast.c

cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o svq1dec.o svq1dec.c

cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o svq1.o svq1.c

cc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -fno-strict-aliasing -D_REENTRANT -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2     -c -o svq1enc.o svq1enc.c

svq1dec.c: In function 'svq1_decode_frame':

svq1dec.c:349: warning: 'mv.x' may be used uninitialized in this function

svq1dec.c:349: note: 'mv.x' was declared here
...........
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-mplayer-vdpau-svn/mplayer-vdpau-svn/src/mplayer-vdpau-svn-build/libavcodec'

touch libavcodec/libavcodec.a

ERROR: Build Failed.
Aborting...
Error Makepkg was unable to build mplayer-vdpau-svn package.

Leaving directory `/tmp/yaourt-tmp-root/aur-mplayer-vdpau-svn/mplayer-vdpau-svn/src/mplayer-vdpau-svn-build/libavcodec'

touch libavcodec/libavcodec.a

ERROR: Build Failed.
Aborting...

I'll really make something but I don't kmow what I must do.

A simular topic: http://aur.archlinux.org/packages.php?ID=22231

Last edited by veranyon (2009-12-27 01:41:50)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#10 2009-12-27 01:49:23

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Linux and hd video

veranyon wrote:
mplayer -vo vdpau -vc ffh264vdpau Last_house_on_the_left.mkv
[...]
VIDEO:  [WVC1]  1920x1080  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.

Why you use a h264 codec for a VC-1 encoded video? try "-vc ffvc1vdpau" (but I think that your video card 9800GT dont support VC-1)

Offline

#11 2009-12-27 01:54:47

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Linux and hd video

kazuo wrote:
veranyon wrote:
mplayer -vo vdpau -vc ffh264vdpau Last_house_on_the_left.mkv
[...]
VIDEO:  [WVC1]  1920x1080  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.

Why you use a h264 codec for a VC-1 encoded video? try "-vc ffvc1vdpau" (but I think that your video card 9800GT dont support VC-1)

My 9600GT supports VC-1 with the ffvc1vdpau driver.

Offline

#12 2009-12-27 02:06:52

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Linux and hd video

skottish wrote:

My 9600GT supports VC-1 with the ffvc1vdpau driver.

Ok. I searched now. 9600GT and 9800GT have *partial* support for VC-1 (source: http://en.wikipedia.org/wiki/VDPAU), and note that the ffvc1vdpau codec in mplayer have a "problems" status in mplayer (but for me it works ok too, I have a 9300M GS)

Offline

#13 2009-12-27 02:15:19

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

Maybe does somebody know how play hd video here.
I used winxp and "The Kmplayer"/wmplayer and hadn't any problems. brakes etc. any codecs. external or internal.. never

I'm sorry if that ask is getting wise.

Last edited by veranyon (2009-12-27 02:15:45)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#14 2009-12-27 03:09:39

hidefromkgb
Member
Registered: 2009-08-03
Posts: 148

Re: Linux and hd video

veranyon,
What exactly is your problem?

Do you mean:
- frame "tearing" (in russian: "разрыв" кадра, т.е. когда в одном углу кадра уже следующая картинка, а из другого ещё не успела стереться старая)
- high (100%) CPU load (ну тут понятно, загрузка процессора достигает сотни)
- "slideshow" (т.е. когда за кадром с временнОй отметки М идёт кадр сразу, скажем, от М+3 секунды, и все 3 секунды на экране висит М)

So, in either cases you can try this:
- use no wrappers such SMPlayer, just plain MPlayer
- render video via OpenGL ("GL" option in video settings instead of "XV")

BTW, high-def video is played without any problems on my lappy (ASUS W2Pc), so Arch is capable of it smile
I can even share my SMP config, but i don't think that it will be of much help — 9600GT != Mobility X1700...

Offline

#15 2009-12-27 04:03:29

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

2 hidefromkgb

Каждые пол секунды картинка дергается (останавливается на мгновение). Процессор грузится процентов на 50% (без рывков).
Это, как если бы я смотрел обычный фильм на втором пне 266.

GL вывод в smplayer не помогает. MPlayer'ом пользоваться не хочу. В нем нельзя перемотать фильм сразу в конец (его опр. часть). Словом, не удобен он мне, хотя знаю его очень хорошо. Пользовался в 2001го им.

=============

There's every half second I'm seying brakes of fps stream. If speak summary - I watch hd film as if be I watch a simple avi 640x480 one on the P-II 266/233 Mhz

2. A gl "vo" can't help there.
3. You're telling me ...
I like native mplayer but by no means always. There's time when I like use gui of that one as so smplayer etc. For example I can't rewind a film to 90% from 10% with the simple movement of cursor. And another thing - if I would watch film al fine that mplayer is closing. And fluff it.. etc..

I understand that I have got to prove with reasons that I don't like some moments.. Maybe it's not my beer smile

Last edited by veranyon (2009-12-27 04:05:14)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#16 2009-12-27 04:13:15

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

When I wrote that all I slipped from my mind) - when I use mplayer natively it use a cpu very hardly and here. around ~50-60%. For example "must due" use ~15%. +- 5% and nothing else.
And the sound of film doesn't keep pace with video stream. any mkv material. For example the windows media player 11/12 doesn't do it. Sound keeps pace with video ideally. I speak about mkv container.
To be my sign below..

Last edited by veranyon (2009-12-27 04:29:29)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#17 2009-12-27 04:33:34

hidefromkgb
Member
Registered: 2009-08-03
Posts: 148

Re: Linux and hd video

veranyon wrote:

When I wrote that all I slipped from my mind) - when I use mplayer natively it use a cpu very hardly and here. around ~50-60%. For example "must due" use ~15%. +- 5% and nothing else.
To be my sign below..

veranyon, i guess this post is quite misunderstandable for people who don't know russian smile

So.
Does everything work as it should when you use MP instead of SMP?
If yes, than i know where the problem is:

1. Sound output (General -> Sound). Change "ALSA" to "SDL". Set "Automatic A/V synchronization" to "100", "Max. A/V correction" to "0.10" (don't forget to enable it first).
2. Video (General -> Video). Uncheck "Direct rendering".
3. Framedrop (Performance -> Performance). Uncheck (yes, it's not a misprint; uncheck) "Enable framedrop" and "Heavy framedrop". Change "Loop filter" to "Never".
4. Cache (Performance -> Cache). Set main cache to 16 MB (works fine for me, but i only have Core2Duo 1.6 and 1GB RAM).

I can post the whole config here if you want to see another params, but not now. Maybe a couple of hours later, when I finally come home.

PS. For me, the situation with CPU load is quite different: 40-50% load (each of 2 cores) under Arch, about 80% under pre-installed Vista (now R.I.P. smile )...

Last edited by hidefromkgb (2009-12-27 04:40:29)

Offline

#18 2009-12-27 05:15:58

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

2 hidefromkgb
Thanks a thousand and I was all geared-up to building mplayer again and again smile
But there is a baddie - a/v synchronization. A sound's in the middle of nowhere) I recheck your solution and can't go into orbit anyway)
For every video material must I have got individually a/v correction?

Performance>threads - 4 and allow hard frame drop (without simple frame drop). sommat of "low-down" but I wouldn't watch film for >10 minutes.

Thanks a million anyway.

Last edited by veranyon (2009-12-27 05:34:21)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#19 2009-12-27 05:28:31

hidefromkgb
Member
Registered: 2009-08-03
Posts: 148

Re: Linux and hd video

veranyon wrote:

For every video material must I have got individually a/v correction?

Hm.
I think no, you don't have to switch correction on or off for every individual video.
Is something is wrong with the sound?
(I see that it is, but can't get what exactly — can you please post a description of the problem in russian?)
PS. Gone home, will be back online in 4-5 hrs.

Offline

#20 2009-12-27 05:45:07

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

...
Yes. It's finish.
1. Sound output (General -> Sound). output - "SDL";
"Automatic A/V synchronization" - "100";
"Max. A/V correction" to "0.10";
2. Video (General -> Video). "Direct rendering" - no;
3. Framedrop (Performance -> Performance);
"Enable framedrop" -no;
"Heavy framedrop" - yes;
Change "Loop filter" to "Never";
4. Cache (Performance -> Cache):
Set main cache to 128 MB. Threads 4.

watched the film around 10 min. all're ok.


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#21 2009-12-27 16:46:06

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Linux and hd video

veranyon wrote:
flamelab wrote:

Try adding this repo http://gitorious.org/arch-linux-greece for mplayer packages with vdpau support enabled.

mplayer -vo vdpau -vc ffh264vdpau Last_house_on_the_left.mkv
MPlayer SVN-r29776-4.4.1 (C) 2000-2009 MPlayer Team
141 audio & 306 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/iron/1/video/The Last House on the Left/The.Last.House.on.the.Left.2009.BD.Remux.mkv.
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang rus
[mkv] Track ID 3: audio (A_DTS), -aid 1, -alang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang rus
[mkv] Track ID 5: subtitles (S_TEXT/UTF8), -sid 1, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [WVC1]  1920x1080  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   4.7 (04.6) of 6817.8 ( 1:53:37.8)  4.2% 

MPlayer interrupted by signal 2 in module: play_audio
A:   4.7 (04.7) of 6817.8 ( 1:53:37.8)  4.2%

Video: no video

It's lucking when I had install mplayer-svn from that repo.

Τry smplayer-svn and choose vdpau instead of i.e. Xv or anything else.

Offline

#22 2009-12-27 17:25:10

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

flamelab wrote:

Τry smplayer-svn and choose vdpau instead of i.e. Xv or anything else.

smplayer-svn (if i choose vdpau) will take mplayer-..vdpau when I begin to get it from aur and it is problem "today", don't it?: http://aur.archlinux.org/packages.php?ID=22231

Last edited by veranyon (2009-12-27 17:30:40)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#23 2009-12-27 17:26:20

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Linux and hd video

Can you please rewrite your post, I didn't understand what you mean :S

Offline

#24 2009-12-27 17:34:38

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: Linux and hd video

smplayer is a piece of mplayer. And if be slap on time it's GUI for mplayer only and that "GUI" ask vdpau feature in the mplayer and there's not that one.


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#25 2009-12-27 17:38:00

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: Linux and hd video

Has anyone really been far even as decided to use even go want to do look more like?

Offline

Board footer

Powered by FluxBB