usleep's pvrxxx port and FreeBSD 8.0-stable
torfinn.ingolfsen at broadpark.no
Fri Jun 11 13:15:29 UTC 2010
On Sat, 22 May 2010 14:58:58 +0200
Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> wrote:
> 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 at kg-fil$ gmplayer test.mpg
MPlayer SVN-r30341-snapshot-4.2.1 (C) 2000-2009 MPlayer Team
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)
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 at 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.
More information about the freebsd-multimedia