Hi,
I'm pleased to announce a the maintenance release 0.8.2. You can find it on my homepage as usual:
Excerpt from HISTORY:
2008-03-10: Version 0.8.2
- Fixed optional parameter processing for parameter -p. As getopt() requires that optional arguments must follow the option switch without any delimiters, I've updated MANUAL accordingly, i. e. all options are documented without delimiters. Furthermore you'll get an error message when specifying the argument for -p incorrectly. - Fixed compilation of patched xine-lib-1.1 (thanks to Darren Salt and Fabian Foerg for contributing fixes for this issue). - Provided xine_get_current_frame_alloc() to xine-lib which allows retrieving the current frame image without the need to pause the stream for a second call to the function after allocating sufficient memory. - Fixed retrieving only valid PTS from xine. xine's metronom is now intercepted to monitor PTS changes after which PTS are considered to be valid. - Fixed handling VDR's clear command. Adding sync points to the stream makes sure that all data on the way to xine up to sync point gets properly dropped. - Added Russian translation (thanks to Oleg Roitburd for providing ru_RU.po).
Enjoy.
Bye.
Hi,
Придворов Андрей schrieb:
Length of patches/xine-ui.patch is 0. Is it right?
Yes, it is. At the moment there are no patches to xine-ui necessary. I kept the file as some people use build scripts which apply the patches and I didn't want to break those.
Bye.
Hallo Reinhard,
which revision of external ffmpeg do you use? I can't compile xine-lib-cvs-20080310200000 + your patch with last ffmpeg revisions. In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:34:20: error: avutil.h: No such file or directory In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:716: error: expected specifier-qualifier-list before 'AVClass' ./libavcodec/avcodec.h:2098: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token ./libavcodec/avcodec.h:2131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'attribute_deprecated' ./libavcodec/avcodec.h:2524: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
Last checkout from xine-lib-1.2 does works. But your xine/patches/xine-lib.patch has many rejects and reverts with this tree.
Regards Oleg
I demand that oleg roitburd may or may not have written...
which revision of external ffmpeg do you use? I can't compile xine-lib-cvs-20080310200000 + your patch with last ffmpeg revisions. In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:34:20: error: avutil.h: No such file or directory In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:716: error: expected specifier-qualifier-list before 'AVClass'
Could you re-check with current xine-lib hg?
[snip]
Hi
2008/3/15, Darren Salt linux@youmustbejoking.demon.co.uk:
Could you re-check with current xine-lib hg?
I made fresh checkout of ffmpeg trunk URL: svn://svn.mplayerhq.hu/ffmpeg/trunk Repository Root: svn://svn.mplayerhq.hu/ffmpeg Repository UUID: 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b Revision: 12464 Node Kind: directory Schedule: normal Last Changed Author: bcoudurier Last Changed Rev: 12464 Last Changed Date: 2008-03-16 18:54:36 +0100 (Sun, 16 Mar 2008) Configured as follow: ./configure --enable-shared --enable-gpl --enable-postproc --enable-liba52 --enable-libmp3lame --enable-libvorbis --enable-pthreads --enable-swscale
Then I have cloned xine-lib ( 1.1) # hg identify c04027c00dc0+ tip Then I have patched with xine-lib.patch from xine-0.8.2, configured ./autogen.sh --with-external-ffmpeg --disable-dxr3
And I became error gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -fvisibility=hidden -I/usr/local/include -I/usr/local/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -mtune=pentiumpro -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -g -O2 -DNDEBUG -MT xineplug_decode_ff_la-ffmpeg_decoder.lo -MD -MP -MF .deps/xineplug_decode_ff_la-ffmpeg_decoder.Tpo -c ffmpeg_decoder.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ffmpeg_decoder.o In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:34:20: error: avutil.h: No such file or directory In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:716: error: expected specifier-qualifier-list before 'AVClass' ./libavcodec/avcodec.h:2098: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token ./libavcodec/avcodec.h:2131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'attribute_deprecated' ./libavcodec/avcodec.h:2524: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' make[3]: *** [xineplug_decode_ff_la-ffmpeg_decoder.lo] Error 1
Regards Oleg Roitburd
I demand that oleg roitburd may or may not have written...
2008/3/15, Darren Salt linux@youmustbejoking.demon.co.uk:
Could you re-check with current xine-lib hg?
I made fresh checkout of ffmpeg trunk URL: svn://svn.mplayerhq.hu/ffmpeg/trunk Repository Root: svn://svn.mplayerhq.hu/ffmpeg Repository UUID: 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b Revision: 12464
[snip]
Then I have cloned xine-lib ( 1.1) # hg identify c04027c00dc0+ tip Then I have patched with xine-lib.patch from xine-0.8.2, configured ./autogen.sh --with-external-ffmpeg --disable-dxr3
And I became error
You became an error? How did you manage that? ;-)
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include
[snip gcc flags]
.deps/xineplug_decode_ff_la-ffmpeg_decoder.Tpo -c ffmpeg_decoder.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ffmpeg_decoder.o In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:34:20: error: avutil.h: No such file or directory
[snip]
It shouldn't be including that ‒ that's the internal copy. Could you try the attached patch? (If it works, it'll be included in 1.1.11.)
2008/3/16, Darren Salt linux@youmustbejoking.demon.co.uk:
It shouldn't be including that ‒ that's the internal copy. Could you try the attached patch? (If it works, it'll be included in 1.1.11.)
No. This patch doesn't work. Same compiler error
regards Oleg Roitburd
I demand that oleg roitburd may or may not have written...
2008/3/16, Darren Salt linux@youmustbejoking.demon.co.uk:
It shouldn't be including that ‒ that's the internal copy. Could you try the attached patch? (If it works, it'll be included in 1.1.11.)
No. This patch doesn't work. Same compiler error
Well... I've now actually got a recent ffmpeg snapshot installed and working (something that I was hoping to avoid until it's packaged for Debian), and I think that it's properly fixed in current hg now: it seems fine with three different ffmpeg snapshots (internal, old external, recent external).
Update your snapshot and try again.
Hi,
2008/3/18, Darren Salt linux@youmustbejoking.demon.co.uk:
Update your snapshot and try again.
Well, it works now. thx a lot
Regards Oleg Roitburd
Hi,
oleg roitburd schrieb:
Could you re-check with current xine-lib hg?
I made fresh checkout of ffmpeg trunk URL: svn://svn.mplayerhq.hu/ffmpeg/trunk Repository Root: svn://svn.mplayerhq.hu/ffmpeg Repository UUID: 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b Revision: 12464 Node Kind: directory Schedule: normal Last Changed Author: bcoudurier Last Changed Rev: 12464 Last Changed Date: 2008-03-16 18:54:36 +0100 (Sun, 16 Mar 2008) Configured as follow: ./configure --enable-shared --enable-gpl --enable-postproc --enable-liba52 --enable-libmp3lame --enable-libvorbis --enable-pthreads --enable-swscale
Then I have cloned xine-lib ( 1.1) # hg identify c04027c00dc0+ tip Then I have patched with xine-lib.patch from xine-0.8.2, configured ./autogen.sh --with-external-ffmpeg --disable-dxr3
And I became error gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -fvisibility=hidden -I/usr/local/include -I/usr/local/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -mtune=pentiumpro -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -g -O2 -DNDEBUG -MT xineplug_decode_ff_la-ffmpeg_decoder.lo -MD -MP -MF .deps/xineplug_decode_ff_la-ffmpeg_decoder.Tpo -c ffmpeg_decoder.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ffmpeg_decoder.o In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:34:20: error: avutil.h: No such file or directory In file included from ffmpeg_decoder.h:31, from ffmpeg_decoder.c:30: ./libavcodec/avcodec.h:716: error: expected specifier-qualifier-list before 'AVClass' ./libavcodec/avcodec.h:2098: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token ./libavcodec/avcodec.h:2131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'attribute_deprecated' ./libavcodec/avcodec.h:2524: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' make[3]: *** [xineplug_decode_ff_la-ffmpeg_decoder.lo] Error 1
Tried to reproduce this error by using the same versions as you mentioned above (i. e. most recent ffmpeg-svn as well as most recent xine-lib-1.1-hg), but it builds perfectly.
But I usually run configure in a separate build directory, i. e.
./autogen.sh noconfig
in source directory and
CFLAGS='-g3 -O3 -march=pentium4 -pipe' ../xine-lib-1.1/configure --prefix=/soft/xine-lib-1.1-video --disable-debug --with-external-ffmpeg --disable-dxr3
in build directory.
Are there any old files floating around?
./libavcodec/avcodec.h
looks a bit strange to me.
Bye.
Reinhard Nissl rnissl@gmx.de wrote:
I'm pleased to announce a the maintenance release 0.8.2. You can find it on my homepage as usual:
I'm trying to build a small playback-only box using vdr-xine based on a Via Epia-15000 board with the onboard video adapter. I don't try to scale images -- the X server is set to 1024x576 (16:9 PAL). (The TV set has a nice rescaler to blow images up to 1366x768). Whatever I do, the image shows lots of artifacts, especially when there's a lot of movement in a scene, visibly more than softdevice with DirectFB on my old Matrox G450. I'm actually thinking about buying a PCI Matrox card (mind you, I don't even use the BES since I also set the FB to 1024x576 and let the TV set rescale), plug it into the Via board and use softdevice again.
I did a lot of reading in various fora, trying to find out what other people do but the image doesn't get significantly better...
Any idea? Any information missing?
(Just want to get rid of the loud old VDR and replace it by a small quiet network attached one)
On Mon, 17 Mar 2008 14:19:42 +0000 (UTC) Harald Milz hm@seneca.muc.de wrote:
I'm trying to build a small playback-only box using vdr-xine based on a Via Epia-15000 board with the onboard video adapter. I don't try to scale images -- the X server is set to 1024x576 (16:9 PAL). (The TV set has a nice rescaler to blow images up to 1366x768). Whatever I do, the image shows lots of artifacts, especially when there's a lot of movement in a scene, visibly more than softdevice with DirectFB on my old Matrox G450. I'm actually thinking about buying a PCI Matrox card (mind you, I don't even use the BES since I also set the FB to 1024x576 and let the TV set rescale), plug it into the Via board and use softdevice again.
You still need to scale anamorphic 720x576 horizontally to 1024x576, and deinterlace before that. It would be best to use the native resolution of the panel so that the video is scaled only once. However, some panels don't let you use a 50 Hz display mode at native resolution, but only at 720p or through a specific input port (VGA, DVI or HDMI). Make sure you use a 50 Hz or 100 Hz refresh rate for PAL. This is more important than using the native resolution, especially when watching sports and other interlaced broadcasts (when deinterlaced at full rate).
The motion artifacts that you are seeing are probably due to interlacing (http://en.wikipedia.org/wiki/Interlace), either because you don't deinterlace at all, or because you use a poor deinterlacing filter. Xine does have some moderate filters ported from tvtime (or originally from DScaler). I'd recommend trying Greedy2Frame, with these parameters:
xine --post tvtime:enable=1,method=Greedy2Frame,framerate_mode=full,cheap_mode=0
Regards,
Niko Mikkilä