DVD pb broken after X up & r18979 make fails
#1
I ran distclean first and make stops here:
Code:
make -C xbmc/utils
make[1]: Entering directory `/home/user/src/xbmc/xbmc/XBMC/xbmc/utils'
/usr/bin/ccache g++ -MD -c -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18979M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I. -I.. -I../linux -I../../guilib -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -I/usr/include/lzo Atomics.cpp -o Atomics.o
In file included from Atomics.cpp:23:
Atomics.h: In function ‘long int cas(volatile long int*, long int, long int)’:
Atomics.h:69: error: expected `(' before ‘{’ token
Atomics.h:71: error: ‘mov’ was not declared in this scope
Atomics.h:71: error: expected `;' before ‘eax’
Atomics.h:72: error: expected `;' before ‘ebx’
Atomics.h:73: error: expected `;' before ‘ecx’
Atomics.h:76: error: ‘lock’ was not declared in this scope
Atomics.h:76: error: expected `;' before ‘cmpxchg’
Atomics.h:79: error: expected `;' before ‘prev’
make[1]: *** [Atomics.o] Error 1
make[1]: Leaving directory `/home/user/src/xbmc/xbmc/XBMC/xbmc/utils'
make: *** [utils] Error 2
I installed yasm yesterday -- if that's the problem, what do I tell configure, or should I just remove it before compiling?

EDIT: removed yasm --no dice. Trying reallyclean...

EDIT 2: still nuthin. Any ideas?
Reply
#2
Looking at Atomics.h, it shouldn't even be falling into that "#else // Win32 / OSX" on line 62, and if I pull out 62-83, then "cas" doesn't get declared. Line 47 "#elseif #defined LINUX // Linux" should be catching it, but it isn't for some reason.
Reply
#3
For me the same. Looks like -r18979 is borked.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#4
-r18980 should work, Al fixed it.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
r18981 builds, but still no dvd playback.
Reply
#6
Erm - sorry, i cannot check if it works, don't have an optical drive in my htpc.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
It's ok, I've been ripping them to x264 anyway. Wink
Reply
#8
OT: You have any bashscript for that? I've been looking for something quite some time but nothing fits my needs. I just want all audio streams left uncompressed in ac3 and video in 2pass h264 - and that all in 'one' shot. i thought about writing a script for that but seems like i'm a bit too lazy :-)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#9
Haggy Wrote:OT: You have any bashscript for that? I've been looking for something quite some time but nothing fits my needs. I just want all audio streams left uncompressed in ac3 and video in 2pass h264 - and that all in 'one' shot. i thought about writing a script for that but seems like i'm a bit too lazy :-)

Not yet...I just started on this stuff yesterday, still tweaking, but here's what I've got so far...doesn't include extra audio tracks and subs. I guess you could substitute crop and filename with vars. I don't want to get too involved with writing complicated scripts:
Code:
mencoder dvd://1 -dvd-device /dev/scd0 -ovc x264 -oac copy -sws 2 -vf crop=704:448:8:14,pullup,softskip,harddup -x264encopts bitrate=1500:frameref=3:bframes=4:subq=6:me=umh:b_pyramid:weight_b:threads=auto:pass=1 -ofps 24000/1001 -o /dev/null
mencoder dvd://1 -dvd-device /dev/scd0 -ovc x264 -oac copy -sws 2 -vf crop=704:448:8:14,pullup,softskip,harddup -x264encopts bitrate=1500:frameref=3:bframes=4:subq=6:me=umh:b_pyramid:weight_b:threads=auto:pass=2 -ofps 24000/1001 -o video.mp4
mplayer dvd://1 -dvd-device /dev/scd0 -v -dumpaudio -dumpfile sound.ac3
mkvmerge -o Monty.Python.And.Now.For.Something.Completely.Different.mkv video.mp4 sound.ac3

EDIT: I've totally changed this now, but the x264 opts are the same -- getting ~47 fps
Reply
#10
Looks good - any issues with a/v sync using your method? I would further suggest detecting crop values with mencoder/mplayer so you don't have to re-encode those black bars.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
A/V sync is perfect. Crop was detected w/ mplayer Wink. Oh, you mean in the script? That could work, I guess. Anyway, this is faster ~50 fps:
Code:
mplayer dvd://1 -dvd-device /dev/scd0 -v -dumpstream -dumpfile /tmp/title.vob
mencoder /tmp/title.vob -ovc x264 -oac copy -sws 2 -vf crop=704:448:8:14,pullup,softskip,harddup -x264encopts bitrate=1500:frameref=3:bframes=4:subq=6:me=umh:b_pyramid:weight_b:threads=auto:pass=1 -ofps 24000/1001 -o /dev/null
mencoder /tmp/title.vob -ovc x264 -oac copy -sws 2 -vf crop=704:448:8:14,pullup,softskip,harddup -x264encopts bitrate=1500:frameref=3:bframes=4:subq=6:me=umh:b_pyramid:weight_b:threads=auto:pass=2 -ofps 24000/1001 -o /tmp/video.mp4
mkvmerge -o $HOME/Videos/Monty.Python.And.Now.For.Something.Completely.Different.mkv /tmp/video.mp4
rm /tmp/title.vob /tmp/video.mp4
real 88m58.594s
user 210m5.880s
sys 17m27.485s
Reply

Logout Mark Read Team Forum Stats Members Help
DVD pb broken after X up & r18979 make fails0