View Full Version : hd-dvd .ts files and slackware
Carpo
29th May 2006, 13:56
i cant get them to play smooth no matter what, could it be the system im using - tis an old thing but has served me well
1.7 p4
1.25gb ram
have tried using mplayer xine and vlc - all play but the picture stutters
on my windows box they play fine but thats besides the point 3ghz p4 so it should play ok on there
Which graphics card and drivers do you use and which video output (xv, xvmc/xxmc, opengl, ...) is used by the video players? If the video is 1080i or 720p MPEG-2, NVIDIA GF4 MX 440 or newer with the binary drivers and XvMC output should play the video fine. If you only have Xv, that CPU could be a bit too slow. Also, if the video is VC-1 or H.264, you're out of luck. Even CoreAVC is probably not fast enough to decode 1080i30 or 720p60 on that CPU.
Carpo
29th May 2006, 15:50
seeing as im still new to using linux - i have no idear how to use the different options for each player @ cli
but info as required
agp geforce 5600 fx 128meg
8762 nvfidia linux drivers
films are mainly 1080i .ts files combined with nullpacketstripper mpeg2 - i do have some wmv hd stuff - think im out of luck on that tho
mplayer gui (like i said still new so have to rely on them for a little while longer) does give me quite a few options in the video output area (i'll try all of them and get back to you )- but audio lets me down as it seems to say it cant decode ac3 although i have compiled the right libs for that (i think - and hope/pray ;) )
i would use the p4 3.4ghz box but there arent any drivers for x-fi soundcards on linux yet :(
edit/update: well after trying all the options i could under video none of them would play it smoothly - someplayed without stuttering but in slow motion ;), although it will play dvds xvids and x264 files (not hi deff) ok without a problem - so i guess i'll use the linux box for dvds and the win box for HD-DVD
thanks for your help
Revgen
29th May 2006, 22:24
I'd be willing to guess that it's a CPU problem.
Manual pages usually help with command lines; try "man mplayer" for example. At least they help once you get used to CLI.
As I said, the MPEG-2 files should play fine with XvMC. Try "mplayer -vc ffmpeg12mc -vo xvmc FILE.ts".
About your AC3 problems, just make sure you have liba52 library and headers installed and check that it is found when running ./configure. However, I would recommend the easy way of installing a distro that has decent packages for most of these video tools. Debian, Gentoo, Ubuntu, Fedora and SuSE are fine. Even if you would like to compile stuff like MPlayer youself, it is much easier when the distro has up-to-date (development) packages for the libraries that MPlayer uses.
Carpo
30th May 2006, 17:36
well as a little test i installed xp on there will all the tools/codecs you need to play all types of film and hd-dvd did not play on there smoothly either - and after looking at the spaces for hd-dvd playback u nedd a 2ghz + pc to play even the low end stuff so yes its a cpu issue, still gives me an excuse to upgrade my pc :)
Did you try with PureVideo or some DxVA-compatible player on Windows XP? Ffdshow and some other decoders might not use the hardware acceleration (motion compensation) that your GPU supports. At least VLC and MPlayer won't.
I still think it should work with XvMC. See some example configurations and CPU usage rates here: http://www.mythtv.org/wiki/index.php/XvMC. For example 1080i can be played without skips on 1GHz Athlon TBird and GF4 MX 440, according to that page. Of course the bitrate on HD-DVD's could be too high, if you are already using xvmc and it doesn't work smoothly.
Carpo
1st June 2006, 21:19
well i think i have done it right and have compiled mplayer with XvMC but i get the error cannot open video filters(-vf) and with video output (-vo) - well its along those lines, i did go to the site you posted and did as it said - patched it and mplayer would not compile - poss due to it being from cvs 20060519 (grabbed that as was told a lot of bugs were fixed in cvs - although i know its liek beta)- i will get the pre2 version and see it it works with that
seems i should have complied the XvMC lib ;) cant use someting that aint there
MPlayer CVS is currently a lot better and probably more stable than 1.0pre7try2. They are about to release the next version soon. Also, there is no need to patch MPlayer for NVIDIA XvMC support, only for VIA Unichrome.
Post the error you're getting with the CVS version.
seems i should have complied the XvMC lib cant use someting that aint there
Ok :)
Carpo
2nd June 2006, 07:55
cant open video filters(-vf) with video output (-vo)
is the erorr im getting
they seem to pkay ok in xine using xv - am compiling vlc now to see how that one holds up
KafesneBikaina
2nd June 2006, 08:58
You probably need more CPU power for 1080i playback I think.
Carpo
2nd June 2006, 09:32
thats what i think but it seems you can offload alot of the work to the gpu so the cpu and vid card should be able to handle it, as i say it plays quite well in xine - will have to see how things work out
For 1920x1080i->1920x1080p with the better deinterlacing methods done in real time a 2.4GHz CPU is taxed, but should work if you use "Bob and Weave" deinterlacing, or if you have an NVIDIA card with MPEG-2 hardware acceleration. If you enable the hardware acceleration, you may be able to use a 1.8GHz processor.
cant open video filters(-vf) with video output (-vo)
is the erorr im getting
Try this command line: mplayer -vf-clr -vc ffmpeg12mc -vo xvmc FILE.ts
The -vf-clr option will clear all video filters from the list. Apparently there are some configured in your config files. That may also slow MPlayer down with other outputs. Normally MPlayer is always the fastest player on single-core machines and there is something wrong with the configuration if it is slower than Xine or VLC on Linux.
If that doesn't help, post the full log with -v option for more verbose output: mplayer -v -vf-clr -vc ffmpeg12mc -vo xvmc FILE.ts
Carpo
2nd June 2006, 16:11
Playing world.is.not.enough.1080i.dd51.oar.0020.ts.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=17)AUDIO A52(pid=20) NO SUBS (yet)! PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 20), video: 10000002(pid 17)...POS=22372, PROBE=2000000
VIDEO: MPEG2 1920x1088 (aspect 3) 29.970 fps 14200.0 kbps (1775.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.0
==========================================================================
Forced video codec: ffmpeg12mc
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'mpegvideo_xvmc' in libavcodec...
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x10000002.
Read DOCS/HTML/en/codecs.html!
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
i can see that there is something it cant find but i have selected none in both drop down boxes for audio and video yet when ever i start mplayer libmpeg2 and liba52 is always selected
Did you install libavcodec, libavformat and libavutil from the FFmpeg project's SVN under the MPlayer source code directory?
I just compiled a month-old MPlayer+FFmpeg CVS snapshot and it worked fine with xvmc output.
Carpo
3rd June 2006, 00:03
i downloaded the latest versions from cvs and compiled them yes - do i have to take part of the cvs version of ffmpeg and add it to cvs of mplayer ? is that what you mean
if so i will try it in the morn
i got the latest versions from http://www.mplayerhq.hu/~rtogni/snapshots/ - as cvs is down atm
ffmpeg was compiled with
./configure --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faac --enable-gpl --enable-xvid --enable-x264 --enable-a52 --enable-dts --enable-shared
and mplayer with
./configure --enable-xvmc --enable-gui
It's best to copy the libavcodec, libavutil and libavformat directories under the MPlayer directory as described in the README file, STEP1. It should be possible to use external dynamic libraries, but that is not the standard way of compiling MPlayer. In this case, the problem is probably disabled xvmc support in FFmpeg, but you don't have to think about that with the integrated static libraries.
Run "make distclean" and "./configure --enable-xvmc --enable-gui" again after copying the directories.
unixfs
3rd June 2006, 10:23
you can also try:
mplayer -vc ffmpeg12, -lavdopts lowres=1 -vo xvidix,xv FILE.ts
this command line decodes at lower resolution but is much faster
Carpo
3rd June 2006, 10:29
yep that got it working :) - thanks
although i still get that error if i use the gui to try and play the file :( think i need to check my conf file - although
gmplayer -vf-clr -vc ffmpeg12mc -vo xvmc world.is.not.enough.1080i.dd51.oar.0020.ts - works :D
now to see if i can set a mode line so it will play it back at full res :D
Thread closed, please see rule 6 & the announcement in the newbies forum, and consider yourself warned.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.