Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

ingenic-mplayer now considered as beta!

Only for posting new Dingux software releases.

Moderator: Moderators

Re: ingenic-mplayer now considered as beta!

Postby lordbla on Fri Sep 11, 2009 10:53 am

Did you test it on your pc or on the dingoo?

The kexec-releases won't compile on mipsel without some obscure patching (no idea for wich version those patches are), that's why I ask.
lordbla
 
Posts: 30
Joined: Sun Aug 02, 2009 11:55 pm

Re: ingenic-mplayer now considered as beta!

Postby cyberic99 on Fri Sep 11, 2009 1:12 pm

I've done it on the dingoo, I was able to compile kexec statically without any patch.

And I had also built a kernel with kexec support.

It worked well, but I had to use a 'vmlinux' kernel file, not the normal zImage.

The difference is that the vmlinux is not compressed.
cyberic99
 
Posts: 36
Joined: Sat Jun 27, 2009 2:44 pm

Re: ingenic-mplayer now considered as beta!

Postby lordbla on Fri Sep 11, 2009 1:19 pm

great to hear it works. I just wonder why the kernel has to be uncompressed, kexec should have support for zImages as far as I read.

So, for a mplayer-setup, we would need the normal zImage for uboot, 2 vmlinux-images and 2 entries for dmenu ("media mode" = kexec -l vmlinux-media "normal mode" = kexec -l vmlinux), right?
lordbla
 
Posts: 30
Joined: Sun Aug 02, 2009 11:55 pm

Re: ingenic-mplayer now considered as beta!

Postby cyberic99 on Fri Sep 11, 2009 1:22 pm

yes, right

The fact that only uncompressed image works can be fixed in user space I think, it should be doable.

But for now we could use this workaround.

Nevertheless, the kexec support might enlarge the kernel a (small) bit.
cyberic99
 
Posts: 36
Joined: Sat Jun 27, 2009 2:44 pm

Re: ingenic-mplayer now considered as beta!

Postby vimrc on Sat Sep 26, 2009 4:52 pm

Any update? I also download the sources, but I got the problem: the mxu_as doesn't have any output??
How did you solve it? I copy it to /usr/bin or $toolchains/usr/bin, but there is still no output.
vimrc
 
Posts: 28
Joined: Mon Jul 13, 2009 6:49 pm
Location: Delft, NL

Re: ingenic-mplayer now considered as beta!

Postby vimrc on Sat Sep 26, 2009 6:25 pm

I fixed the problem myself. It seems the version of my gawk is low, so I update the gawk and the mux_as works well...
vimrc
 
Posts: 28
Joined: Mon Jul 13, 2009 6:49 pm
Location: Delft, NL

Re: ingenic-mplayer now considered as beta!

Postby vimrc on Sat Sep 26, 2009 9:49 pm

Yep, it works but still has problems. I tried to make it support subtitle, but the mplayer can't find the subfont.ttf which I have put one subfont.ttf into the .mplayer directory, and it still doesn't support rmvb .I notice there are several bin files in /jzsoc/linux/codecs, guess maybe they are useful, however, mplayer can't find the right codecs even though i put them into dingux according to the readme. Anyone has idea?
vimrc
 
Posts: 28
Joined: Mon Jul 13, 2009 6:49 pm
Location: Delft, NL

Re: ingenic-mplayer now considered as beta!

Postby sonicnkt on Mon Oct 05, 2009 2:59 pm

Hi,
i just uploaded a small comparison Video of the Native Player and Mplayer.

http://www.youtube.com/watch?v=tAkI_ghcDhs

The tested file is a AVI Video:
General / Container Stream # 1
Total Video Streams for this File -> 1
Total Audio Streams for this File -> 2
Video Codecs Used -> DivX 3 Low
Audio Codecs Used -> AC3 / AC3
File Format -> AVI
Play Time -> 21mn 35s
Total File Size -> 250 MiB
Total Stream BitRate -> 1 621 Kbps
Encoded with -> Nandub v1.0rc2
Encoding Library -> Nandub build 1853/release
Video Stream # 1
Codec (Human Name) -> MPEG-4 Visual
Codec (FourCC) -> DIV3
Frame Width -> 576 pixels
Frame Height -> 416 pixels
Frame Rate -> 25.000 fps
Total Frames -> 32395
Display Aspect Ratio -> 1.385
Codec Settings (Packet BitStream) -> No
QF (like Gordian Knot) -> 0.204
Video Stream Length -> 21mn 35s 800ms
Video Stream BitRate -> 1 222 Kbps
Bit Depth -> 24 bits
Video Stream Size -> 189 MiB (75%)
Audio Stream # 1
Codec -> AC-3
Codec (FourCC) -> 2000
Codec Profile -> Dolby Digital
Audio Stream Length -> 21mn 35s 776ms
Audio Stream BitRate -> 192 Kbps
Audio Stream BitRate Mode -> CBR
Number of Audio Channels -> 2
Audio Channel's Positions -> L R
Sampling Rate -> 48.0 KHz
Audio Stream Size -> 29.7 MiB (12%)
Audio Stream # 2
Codec -> AC-3
Codec (FourCC) -> 2000
Codec Profile -> Dolby Digital
Audio Stream Length -> 21mn 35s 800ms
Audio Stream BitRate -> 192 Kbps
Audio Stream BitRate Mode -> CBR
Number of Audio Channels -> 2
Audio Channel's Positions -> L R
Sampling Rate -> 48.0 KHz
Audio Stream Size -> 29.7 MiB (12%)

As you can see mplayer works better, for some reason the native player freezes from time to time.

PS: at the end of the video is a small mkv/H264 playing on dingux, a filetype that wont work on the native firmware at all ;)
sonicnkt
 
Posts: 2
Joined: Mon Oct 05, 2009 2:20 pm

Re: ingenic-mplayer now considered as beta!

Postby joyrider on Wed Oct 07, 2009 2:41 pm

Hey can someone upload the video used to test it.

I just compiled mplayer from the latest official sources (so not the ones from igenics ftp). But i don't know much about mplayer. I had to disable a lot for it to compile and link but i managed to get it working. It plays an 320x240 mpeg fine using fbdev but the onscreen console interferes a bit with it so goana try with the sdl driver now to see how that goes.
joyrider
 
Posts: 81
Joined: Sun May 03, 2009 4:27 pm

Re: ingenic-mplayer now considered as beta!

Postby lordbla on Thu Oct 08, 2009 5:54 pm

hi joyrider.

You won't get acceptable performance from native mplayer. 320x240 mpeg might be fine, but xvid etc. are totally out of scope. You are way better of using the binaries I provided or compiling ingenics sources yourself (though that ain't really easy).
The onscreen console interference and problems with the osd are probably due to missing double-buffering in dingux.
lordbla
 
Posts: 30
Joined: Sun Aug 02, 2009 11:55 pm

PreviousNext

Return to Dingux Releases

Who is online

Users browsing this forum: vimrc and 1 guest