Re: SEGMENTATION FAULT bypassed with new issues

View: New views
6 Messages — Rating Filter:   Alert me  

Re: SEGMENTATION FAULT bypassed with new issues

by first last-20 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I finally got it going somehow (random buttons/reboots/compiles/slot swaps/etc)

It plays files but I am now having 2 issues.

1) I need to be root as the others don't have permission to write to /dev/em* (I think this is easy to fix for a more permanent solution?) [I did a chown to my username but I think that will reset with a reboot with the way the drivers load?]
2) playback with a avi file just over 4 minutes has sound end at 3 1/2 minutes
single core cpu (file plays normal under non-dxr3 vo)
top set to 0.5sec updates reports 75%id->85%id

I tried some of the options listed but the only thing that did anything was autosync (didn't fix the issue, just didn't have the message pop-up in the normal amount of time)

The exiting was me just quiting as it would have just continued until both audio and video finished.



sudo mplayer -vo dxr3 -ao alsa  new1.avi
MPlayer 2:1.0~rc1-0ubuntu13.1 (C) 2000-2006 MPlayer Team
CPU: AMD Opteron(tm) Processor 144 (Family: 15, Model: 39, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing new1.avi.
AVI file format detected.
VIDEO:  [XVID]  640x480  24bpp  30.000 fps  827.1 kbps (101.0 kbyte/s)
[VO_DXR3] Opened: /dev/em8300-0.
[VO_DXR3] Opened: /dev/em8300_mv-0.
[VO_DXR3] Opened: /dev/em8300_sp-0.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[mpeg1video @ 0x88a96d8]removing common factors from framerate
VO: [dxr3] 640x480 => 640x480 Mpeg PES
[VO_DXR3] Setting up for NTSC.
[VO_DXR3] Setting aspect ratio to 4:3.
[mpeg4 @ 0x88a96d8]frame skip 8t:  0.000   1/  1 ??% ??% ??,?% 0 0
[mpeg4 @ 0x88a96d8]frame skip 8t:  0.000   2/  2 ??% ??% ??,?% 1 0
A:  29.8 V:  29.4 A-V:  0.409 ct:  0.000 882/882  6% 17%  0.6% 52 0

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

[VO_DXR3] Uninitializing..607 ct:  0.000 978/978  6% 29%  0.6% 146 0

Exiting... (Quit)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: SEGMENTATION FAULT bypassed with new issues

by Nicolas Boullis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Sun, Mar 02, 2008 at 05:56:54PM -0500, first last wrote:
>
> I finally got it going somehow (random buttons/reboots/compiles/slot swaps/etc)
>
> It plays files but I am now having 2 issues.
>
> 1) I need to be root as the others don't have permission to write to /dev/em* (I think this is easy to fix for a more permanent solution?) [I did a chown to my username but I think that will reset with a reboot with the way the drivers load?]

If you were using a static /dev, the chown should have permanent
effect.
If you are using udev, you should configure it appropriately; look at
the provided em8300-udev.rules file for example.

> 2) playback with a avi file just over 4 minutes has sound end at 3 1/2 minutes
> single core cpu (file plays normal under non-dxr3 vo)
> top set to 0.5sec updates reports 75%id->85%id
>
> I tried some of the options listed but the only thing that did anything was autosync (didn't fix the issue, just didn't have the message pop-up in the normal amount of time)
>
> The exiting was me just quiting as it would have just continued until both audio and video finished.

I have no idea how mplayer works, but it certainly has to recode the
file to MPEG to play it on your H+/DXR3 board, which is much more
CPU-intensive than simply decoding the video. You should consider
transcoding your videos before trying to play them.


Cheers,

Nicolas

PS: do you consider that answers to your questions are useless messages?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

mkv+mplayer

by Gabor Z. Papp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Nicolas Boullis <nboullis@...>:

| I have no idea how mplayer works, but it certainly has to recode the
| file to MPEG to play it on your H+/DXR3 board, which is much more
| CPU-intensive than simply decoding the video. You should consider
| transcoding your videos before trying to play them.

BTW, someone using mplayer for playing mkv files on dxr3?

I'm not really successfull. ;-)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: mkv+mplayer

by Jan Willies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gabor Z. Papp wrote:

> * Nicolas Boullis <nboullis@...>:
>
> | I have no idea how mplayer works, but it certainly has to recode the
> | file to MPEG to play it on your H+/DXR3 board, which is much more
> | CPU-intensive than simply decoding the video. You should consider
> | transcoding your videos before trying to play them.
>
> BTW, someone using mplayer for playing mkv files on dxr3?
>
> I'm not really successfull. ;-)

Works fine here. What does the log say?


- Jan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: mkv+mplayer

by Gabor Z. Papp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Jan Willies <jan@...>:

| > BTW, someone using mplayer for playing mkv files on dxr3?
| > I'm not really successfull. ;-)

| Works fine here. What does the log say?

Trying files from http://www.matroska.org/samples/index.html

Using several different mplayer versions, currently the latest:

MPlayer dev-SVN-r26038-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

Here are the logs: http://gzp.hu/tmp/mkv/

mkv files plays very bu-uckly, but other formats are OK.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: mkv+mplayer

by Jan Willies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gabor Z. Papp wrote:

> * Jan Willies <jan@...>:
>
> | > BTW, someone using mplayer for playing mkv files on dxr3?
> | > I'm not really successfull. ;-)
>
> | Works fine here. What does the log say?
>
> Trying files from http://www.matroska.org/samples/index.html
>
> Using several different mplayer versions, currently the latest:
>
> MPlayer dev-SVN-r26038-4.2.3 (C) 2000-2008 MPlayer Team
> CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 10)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
>
> Here are the logs: http://gzp.hu/tmp/mkv/
>
> mkv files plays very bu-uckly, but other formats are OK.

Most likely an mplayer/mkv problem then, although I can't tell anything from the log.


- Jan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel