WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: [1] 2 3 ... 10
1
Raspberry Pi / Re: Community thread on building a RPi2 kernel
« Last post by andyj on Today at 04:08:01 PM »
Try this patch to the scripts directory:

--- linux-rpi-3.18.y/scripts/kconfig/Makefile
+++ linux-rpi-3.18.y-menuconfig-patched/scripts/kconfig/Makefile
@@ -212,7 +212,7 @@
 HOSTLOADLIBES_nconf    = $(shell \
                                pkg-config --libs menuw panelw ncursesw 2>/dev/null \
                                || pkg-config --libs menu panel ncurses 2>/dev/null \
-                               || echo "-lmenu -lpanel -lncurses"  )
+                               || echo "-lmenu -lpanel -lncursesw"  )
 $(obj)/qconf.o: $(obj)/.tmp_qtcheck
 
 ifeq ($(MAKECMDGOALS),xconfig)
--- linux-rpi-3.18.y/scripts/kconfig/lxdialog/check-lxdialog.sh
+++ linux-rpi-3.18.y-menuconfig-patched/scripts/kconfig/lxdialog/check-lxdialog.sh
@@ -15,6 +15,7 @@
                        fi
                done
        done
+       echo "-lncursesw"
        exit 1
 }
 
@@ -25,14 +26,14 @@
                echo '-DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1'
        elif pkg-config --cflags ncurses 2>/dev/null; then
                echo '-DCURSES_LOC="<ncurses.h>"'
-       elif [ -f /usr/include/ncursesw/curses.h ]; then
-               echo '-I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"'
+       elif [ -f /usr/local/include/ncursesw/curses.h ]; then
+               echo '-I/usr/local/include/ncursesw -DCURSES_LOC="<curses.h>"'
                echo ' -DNCURSES_WIDECHAR=1'
-       elif [ -f /usr/include/ncurses/ncurses.h ]; then
-               echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"'
-       elif [ -f /usr/include/ncurses/curses.h ]; then
-               echo '-I/usr/include/ncurses -DCURSES_LOC="<curses.h>"'
-       elif [ -f /usr/include/ncurses.h ]; then
+       elif [ -f /usr/local/include/ncurses/ncurses.h ]; then
+               echo '-I/usr/local/include/ncurses -DCURSES_LOC="<ncurses.h>"'
+       elif [ -f /usr/local/include/ncurses/curses.h ]; then
+               echo '-I/usr/local/include/ncurses -DCURSES_LOC="<curses.h>"'
+       elif [ -f /usr/local/include/ncurses.h ]; then
                echo '-DCURSES_LOC="<ncurses.h>"'
        else
                echo '-DCURSES_LOC="<curses.h>"'
2
Another one video I tried to view was OK, but it won't get fullscreen, even with -fs set. Nor did -zoom option do. It played in the middle of screen, right "above" the console.
3
It works for me with graphics-kernel, but now I'm getting trouble with mplayer. It doesn't want to play some videos because of some scale or colorspace issue. Here:

Quote
MPlayer 1.1-4.9.1 (C) 2000-2012 MPlayer Team
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled

Playing Lowrider.avi.
libavformat version 54.6.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [FMP4]  640x360  24bpp  25.000 fps  350.8 kbps (42.8 kbyte/s)
Clip info:
 Software: Lavf52.64.2
Load subtitles in ./
Opening video filter: [scale w=1024 h=600]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.23.100 (internal)
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Requested audio codec family [vorbis] (afm=libvorbis) not available.
Enable it at compilation.
Opening audio decoder: [tremor] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [tremor] afm: tremor (OggVorbis audio)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
[swscaler @ 0x8774380]BICUBIC scaler, from yuv420p to bgra using C
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO: [fbdev] 1024x600 => 1024x838 BGRA
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)

tried mplayer -vo fbdev -fs Lowrider.avi
4
With a onboot.lst of:
alsa-config.tcz
mplayer.tcz

I can also play videos, but the video performance is much worse than the mplayer-nodeps from Core 5.
I couldn't with "/dev/fb0: No such device" error.

mplayer -vo fbdev file.avi
5
With a onboot.lst of:
alsa-config.tcz
mplayer.tcz

I can also play videos, but the video performance is much worse than the mplayer-nodeps from Core 5.
6
TCE Bugs / Re: Core 6 Mplayer-nodeps deps
« Last post by gerald_clark on Today at 01:44:14 PM »
Then I must have copied it from Core 5 repo.
It is working fine though.
7
You do not need graphics-KERNEL.tcz for Mplayer-nodeps.

I am playing a video right now on CentOS 6 with onboot.lst
alsa-config.tcz
libpng12.tcz
libjpeg-turbo.tcz
freetype.tcz
libXext.tcz
Mplayer-nodeps.tcz
8
If you want to compile MPlayer, have a look here:
http://forum.tinycorelinux.net/index.php/topic,18142.0.html

You would load  compiletc.tcz  to have the basic build tools.
I might be able to send my build to you for testing. Not before tomorrow though and it currently has more deps than actually needed.
9
I had big performance problems with MPlayer too. So, for personal use, I compiled it from source and made sure it included MMX and SSE instructions, which are not present in the version available in the 6.x repo.
In that case I believe it only depends on proper use of fbdev and correct video output, for it may not be able to synchronize both tracks correctly when not playing one of them or something.

Quote
Graphics-KERNEL.tcz (?)
You're quite right, dear sir. After installing that mplayer made an effort to start playing video but I didn't set the size for video output so it crashed. I don't know nothing of which size do I choose, now I gotta google.

But, to return to what Misalf was saying, what the source building process looks like in TC? What should I do to preserve all built and installed options, configs and libraries after reboot? Must I compile it and pack as tcz extension?
10
I had big performance problems with MPlayer too. So, for personal use, I compiled it from source and made sure it included MMX and SSE instructions, which are not present in the build available from the 6.x repo.
Pages: [1] 2 3 ... 10