Summary: | media-video/transcode-1.0.4 fails for ppc64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexis Ballier <aballier> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ppc64 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexis Ballier
![]() in fact, just the same as bug #93797 any clue why the patch has been dropped / not upstreamed ? oh.. a comment would be good I think: that's the thread showing that I've posted the patch upstream. they rejected it. I don't know why it was dropped from the ebuild though. (In reply to comment #3) > oh.. a comment would be good I think: that's the thread showing that I've > posted the patch upstream. they rejected it. > > I don't know why it was dropped from the ebuild though. > Thanks for the info. The problem seems more serious than a build failure on ppc64 though : grabbing samples from http://samples.mplayerhq.hu/nuv/ On x86 (chroot from amd64) : transcode -i nirvana.nuv -o foo.mjpeg -y mjpeg,null transcode v1.0.4 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2007 Transcode Team (dvd_reader.c) no support for DVD reading configured - exit. [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms [transcode] auto-probing source nirvana.nuv (ok) [transcode] V: import format | RTjpeg NuppelVideo (V=nuv|A=nuv) [transcode] V: import frame | 352x288 1.22:1 [transcode] V: bits/pixel | 0.710 [transcode] V: decoding fps,frc | 25.000,0 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x1 PCM [44100,16,2] [transcode] A: export | disabled [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 7056 (7056.000000) [transcode] A: adjustment | 0@1000 [transcode] V: IA32/AMD64 accel | sse2 (sse2 sse 3dnowext 3dnow mmxext mmx asm C) tc_memcpy: using sse for memcpy [transcode] V: video buffer | 10 @ 352x288 [import_nuv.so] v0.1.2 (2002-08-01) (video) YUV | (audio) PCM [export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null [export_mjpeg.so] v0.0.5 (2003-07-24) (video) Motion JPEG | (audio) MPEG/AC3/PCM [import_nuv.so] effdsp=43947 0 encoding frames [000000-000268], 79.88 fps, EMT: 0:00:10, ( 0| 0| 0) clean up | frame threads | unload modules | cancel signal | internal threads | done [transcode] encoded 269 frames (0 dropped, 0 cloned), clip length 10.76 s produced file is ok on amd64: transcode -i nirvana.nuv -o foo.mjpeg -y mjpeg,null transcode v1.0.4 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2007 Transcode Team [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms [transcode] auto-probing source nirvana.nuv (ok) [transcode] V: import format | RTjpeg NuppelVideo (V=nuv|A=nuv) [transcode] V: import frame | 352x288 1.22:1 [transcode] V: bits/pixel | 0.710 [transcode] V: decoding fps,frc | 25.000,0 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x1 PCM [44100,16,2] [transcode] A: export | disabled [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 7056 (7056.000000) [transcode] A: adjustment | 0@1000 [transcode] V: IA32/AMD64 accel | sse2 (sse2 sse 3dnowext 3dnow mmxext mmx asm C) tc_memcpy: using amd64 for memcpy [transcode] V: video buffer | 10 @ 352x288 [import_nuv.so] v0.1.2 (2002-08-01) (video) YUV | (audio) PCM [export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null [export_mjpeg.so] v0.0.5 (2003-07-24) (video) Motion JPEG | (audio) MPEG/AC3/PCM [import_nuv.so] effdsp=43947 0 Segmentation fault basic debugging shows : (gdb) bt #0 0x00002aaaab75349a in RTjpeg_idct_init () from /usr/lib64/transcode/import_nuv.so #1 0x00002aaaab75b4a4 in rtjpeg_vid_open () from /usr/lib64/transcode/import_nuv.so #2 0x00002aaaab7564c9 in tc_import () from /usr/lib64/transcode/import_nuv.so #3 0x0000000000418362 in tcv_import () #4 0x00000000004166e5 in import_open () #5 0x000000000041226e in main () so I suppose nuv import plugin is broken there. on ppc64, I had an 'invalid data' or something, transcode refused to open the nuv file. upstream's reason for rejecting the patch are understandable, but as of now, it seems only x86 can use nuv demuxer :/ Forgot to mention : x86 and am64 tests were made without the dropped patch, ppc64 with it. Readding the types patch gives me that on amd64 : transcode -i nirvana.nuv -o foo.mjpeg -y mjpeg,null transcode v1.0.4 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2007 Transcode Team [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms [transcode] auto-probing source nirvana.nuv (ok) [transcode] V: import format | RTjpeg NuppelVideo (V=nuv|A=nuv) [transcode] V: import frame | 352x288 1.22:1 [transcode] V: bits/pixel | 0.710 [transcode] V: decoding fps,frc | 25.000,0 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x1 PCM [44100,16,2] [transcode] A: export | disabled [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 7056 (7056.000000) [transcode] A: adjustment | 0@1000 [transcode] V: IA32/AMD64 accel | sse2 (sse2 sse 3dnowext 3dnow mmxext mmx asm C) tc_memcpy: using amd64 for memcpy [transcode] V: video buffer | 10 @ 352x288 [import_nuv.so] v0.1.2 (2002-08-01) (video) YUV | (audio) PCM [export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null [export_mjpeg.so] v0.0.5 (2003-07-24) (video) Motion JPEG | (audio) MPEG/AC3/PCM [import_nuv.so] effdsp=43947 0 (null): resample: Can not handle this sample rate change. Nx not positive: 1160528863 so the patch probably needs to be polished a bit :/ 1.0.5 fixes this, there is that in configure.in: if test x"$have_x86cpu" = x"false" ; then force_nuv_off=yes iirc I read on upstream ml's that it failed on debian sid amd64 so they disabled it on anything but x86 transcode 1.0.5 at least builds unlike 1.0.4. When will this be stable? |