Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

Thread Tools Display Modes
Old 2 Days Ago   #191
quvil
5 Cups of Ubuntu
 
Join Date: Jul 2005
My beans are hidden!
Re: [Howto] MPlayer with CoreAVC

When I tried to test whether codec registration had worked (dshowserver -c CoreAVCDecoder.ax -s 1280x720 ...), dshowserver crashed with an assertion:

No id specified, assuming test mode
Opening device
dshowserver: malloc.c:3074: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted

Did somebody encounter something similar?

I compiled dshowserver statically according to the instructions on a system with Atom n280 running Karmic, and tried to use it on a 64 bit system with Core 2 Duo T7250 running Jaunty.

P.S.: site hosting a tarball with precompiled binaries was unavailable, I could not check whether it would behave differently.
quvil is offline   Reply With Quote
Old 2 Days Ago   #192
Cesaar
5 Cups of Ubuntu
 
Join Date: Feb 2009
Location: Austin, Tx
Beans: 30
Ubuntu 9.04 Jaunty Jackalope
Re: [Howto] MPlayer with CoreAVC

Quote:
Originally Posted by quvil View Post
When I tried to test whether codec registration had worked (dshowserver -c CoreAVCDecoder.ax -s 1280x720 ...), dshowserver crashed with an assertion:

No id specified, assuming test mode
Opening device
dshowserver: malloc.c:3074: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted

Did somebody encounter something similar?

I compiled dshowserver statically according to the instructions on a system with Atom n280 running Karmic, and tried to use it on a 64 bit system with Core 2 Duo T7250 running Jaunty.

P.S.: site hosting a tarball with precompiled binaries was unavailable, I could not check whether it would behave differently.
Hi, I got exactly the same crash, using 32bit system also running karmic
Cesaar is offline   Reply With Quote
Unread 1 Day Ago   #193
quvil
5 Cups of Ubuntu
 
Join Date: Jul 2005
My beans are hidden!
Re: [Howto] MPlayer with CoreAVC

Indeed there is a problem with compiling dshowserver on Karmic and using it on Jaunty: I tried to compile on some old 32 bit Red Hat, and it worked. Maybe the problem is in gcc version (4.4.1 on Karmic).
quvil is offline   Reply With Quote
Unread 17 Hours Ago   #194
christian667
First Cup of Ubuntu
 
Join Date: Oct 2009
Beans: 1
Re: [Howto] MPlayer with CoreAVC

Hi there!
I did the tutorial and everything looked well.
I'm running a Ubuntu Karmic machine, and used
the CoreAVC with jaunty before without any problems.
But now I have audio and the video window, but now
video
This is the mplayer output without audio:

Code:
mplayer -vc CoreAVC -ao no-audio big_buck_bunny_720p_h264.mov 
MPlayer SVN-r29969-4.4.1 (C) 2000-2009 MPlayer Team
141 audio & 309 video codecs

Playing big_buck_bunny_720p_h264.mov.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [H264]  1280x720  24bpp  25.000 fps  3945.2 kbps (481.6 kbyte/s)
Clip info:
 major_brand: qt  
 minor_version: 537199360
 compatible_brands: qt  
==========================================================================
Forced video codec: CoreAVC
Opening video decoder: [dshowserver] DirectShowServer video codecs
Opening device
Called unk_IsDebuggerPresent
len: 992
ProductVersion: 1.9.5
Decoder supports the following YUV formats: YUY2 UYVY YV12 I420 
Decoder is capable of YUV output (flags 0x2b)
Setting fmt
Starting
Initialization is complete
Dshowserver Connected to host
[PP] Using codec's postprocessing, max q = 4.
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x720 => 1280x720 Planar YV12 
Found DirectShow filterSelected video codec: [CoreAVC] vfm: dshowserver (CoreAVC DShow H264 decoder 1.3 for x86 - http://corecodec.org/)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 428.6 kbit/27.90% (ratio: 53575->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
No such audio driver 'no-audio'
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...
V:   0.0   0/  0 ??% ??% ??,?% 0 0 
Destroying filter
Exiting... (End of file)
Any ideas?
christian667 is offline   Reply With Quote

Bookmarks

Tags
l l

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:39 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry