Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 15:15:27 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: usleep's pvrxxx  port and FreeBSD 8.0-stable
Message-ID:  <20100611151527.b8601ccf.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20100522145858.fe653d29.torfinn.ingolfsen@broadpark.no>
References:  <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> <201005212042.42604.shoesoft@gmx.net> <20100522130442.7dd0c114.torfinn.ingolfsen@broadpark.no> <20100522145858.fe653d29.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 May 2010 14:58:58 +0200
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote:

> Update:
> Ok, I have tested the port with mplayer, and it works (at least for
> video, for some reason my quick test didn't have any audio. Might be a
> problem with mplayer).

Update: mplayer works fine with older files recorded with MythTV.
However if I now do 'cat /dev/cxm0 > test.mpg' I get a nice file and
according to mplayer output it has both video and audio frames, but I
can't hear no sound. Output:
tingo@kg-fil$ gmplayer test.mpg
MPlayer SVN-r30341-snapshot-4.2.1 (C) 2000-2009 MPlayer Team

Playing /usr/home/tingo/work/test.mpg.
Cache fill:  0.00% (0 bytes)   
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  9520.0 kbps (1190.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12 
[mpeg2video @ 0xc15940]warning: first frame is no keyframe
[VD_FFMPEG] DRI failure.
[mpeg2video @ 0xc15940]warning: first frame is no keyframe?,?% 0 0 94%          
[mp2 @ 0xc15940]incomplete frame: -0.075 1111/1111 12%  2%  0.7% 3 0 0%         
A:  44.9 V:  44.9 A-V:  0.006 ct: -0.076 1116/1116 12%  2%  0.7% 3 0 0%         
tingo@kg-fil$ 


I really don't know how to debug this.
I've used pvr250-setchannel -d 0 -t and pvr250-setchannel -d 0 147.25
prior to my testing with mplayer.
I have used both plain gmplayer, and gmaplayer -cache 8192, it doesn't
make a difference.
-- 
Regards,
Torfinn Ingolfsen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100611151527.b8601ccf.torfinn.ingolfsen>