[MPlayer-users] No video output on ivtv/v4l2 TV out

Peter Daum gator_ml at yahoo.de
Wed Feb 27 12:52:55 CET 2008


Russell Treleaven wrote:
> Is the video file you are trying to play mpeg2?
> I am pretty sure that is the only type that will play properly with -vo
> v4l2 or -vo ivtv

Yes, I am aware of that ;-)

Actually, since mpeg2-decoding doesn't require that much cpu power,
an alternative would be to do without the hardware decoder and use
the XV driver.

Unfortunately, when the output is sent to another X server using
the TV out, as soon as I switch the virtual console back to my
"real" X server (my regular X desktop; the machine is not a dedicated
"media center") the TV out is turned off.

Can anybody think of a way how to avoid this?

Regards,
                     Peter Daum

>> -----Original Message-----
>> From: mplayer-users-bounces at mplayerhq.hu 
>> [mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of Peter Daum
>> Sent: Monday, February 25, 2008 12:26 PM
>> To: mplayer-users at mplayerhq.hu
>> Subject: Re: [MPlayer-users] No video output on ivtv/v4l2 TV out
>>
>>
>> Hi,
>>
>> Russell Treleaven wrote:
>>> These params work for me (source is not the very latest)
>>> I think it should at least solve your audio problem.
>>> -vo v4l2 -ao v4l2 -ac hwmpa
>> thanks for the hint!
>>
>> Now at least for a little while (< 1 min and even that with some
>> glitches) the audio part is played on the TV. Then mplayer 
>> somehow gets stuck and spills out thousands of messages saying:
>>
>> :A:  47.3 V:  26.6 A-V: 20.728 ct:  2.626 659/659  0% 104%  
>> 0.2% 0 0 :Too many video packets in the buffer: (4096 in 
>> 7765496 bytes). :Maybe you are playing a non-interleaved 
>> stream/file or the codec failed? :For AVI files, try to force 
>> non-interleaved mode with the -ni option.
>>
>> occasionally interrupted by:
>>
>> :Cannot sync MPA frame: 0
>>
>> Should I ever get the video output working, I'll look into 
>> this closer.
>>
>> Regards,
>>                   Peter Daum
>>
>>>> -----Original Message-----
>>>> From: mplayer-users-bounces at mplayerhq.hu
>>>> [mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of Peter Daum
>>>> Sent: Monday, February 25, 2008 11:01 AM
>>>> To: mplayer-users at mplayerhq.hu
>>>> Subject: [MPlayer-users] No video output on ivtv/v4l2 TV out
>>>>
>>>>
>>>> I am trying to get mplayer (latest source from svn) to send
>>>> output to the TV out of a Hauppauge PVR-350 with "-vo ivtv".
>>>>
>>>> Mplayer obviously thinks everything is alright, discovers the
>>>> correct devices and "plays" (see output below), but there is 
>>>> no visible output. The same happens with "-vo v4l2".
>>>>
>>>> The hardware setup is working. When I use "-vo fbdev" or
>>>> fvdev2, I also get visible output (only my machine is not 
>>>> nearly fast enough). When I start an X server on the ivtv 
>>>> framebuffer, mplayer also displays its output on it.
>>>>
>>>> Any idea what is going wrong?
>>>>
>>>> Regards,
>>>>                        Peter Daum
>>>>
>>>> (Btw. "-ao ivtv"/v4l2 isn't working, either: It always
>>>> complains "can only handle MPEG audio streams" even with mpeg 
>>>> audio created by the very same card)
>>>>
>>>> - - - - - 8< - - - - - 8< - - - - - 8< - - - - - 8< - - - - -
>>>> 8< - - - - -
>>>>
>>>> MPlayer dev-SVN-r26100-4.1.2 (C) 2000-2008 MPlayer Team
>>>> CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (Family: 15, Model: 2,
>>>> Stepping: 7)
>>>> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 
>>>> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Using 
>>>> built-in default codecs.conf.
>>>> Configuration: --prefix=/usr --mandir=/usr/share/man 
>>>> --confdir=/etc/mplayer --enable-menu --enable-gui 
>>>> --disable-inet6 --enable-largefiles --enable-xmms 
>>>> --enable-dvdread --enable-tv --enable-dvb --enable-dvbhead 
>>>> --enable-lirc --enable-dxr3 --enable-ivtv --enable-v4l2 
>>>> --with-vidix-drivers=ivtv 
>>>> --with-dvdnav-config=/opt/dvdnav/bin/dvdnav-config
>>>> CommandLine: '-v' '-vo' 'ivtv' 'heimat_3.mpg'
>>>> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
>>>> [file] File size is 1606704640 bytes
>>>> Searching demuxer type for filename heimat_3.mpg ext: .mpg 
>>>> system stream synced at 0xD (13)! ==> Found video stream: 0 
>>>> ==> Found audio stream: 0 MPEG-PS file format detected. 
>>>> Searching for sequence header... OK!
>>>> VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  7000.0 kbps 
>>>> (875.0 kbyte/s) [V] filefmt:2  fourcc:0x10000002  
>>>> size:720x576  fps:25.00  ftime:=0.0400
>>>> get_path('sub/') -> '/home/gator/.mplayer/sub/'
>>>> VO: [ivtv] Available video outputs: '#0, S-Video + Composite' 
>>>> '#1, Composite' '#2, S-Video' '#3, RGB' '#4, YUV C' '#5, YUV V'
>>>> VO: [ivtv] using /dev/video16
>>>> VO: [ivtv] video output: S-Video + Composite 
>>>> ==============================================================
>>>> ============
>>>> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
>>>> VDec: vo config request - 720 x 576 (preferred colorspace: 
>>>> Mpeg PES) Trying filter chain: vo
>>>> VDec: using Mpeg PES as output csp (no 0)
>>>> Movie-Aspect is undefined - no prescaling applied.
>>>> VO Config (720x576->720x576,flags=0,'MPlayer',0x4D504553)
>>>> VO: [ivtv] 720x576 => 720x576 Mpeg PES
>>>> VO: Description: IVTV MPEG Video Decoder TV-Out
>>>> VO: Author: Benjamin Zores
>>>> Selected video codec: [mpegpes] vfm: mpegpes (MPEG-PES output 
>>>> (.mpg or DXR3/IVTV/DVB/V4L2 card)) Starting playback... 
>>>> Increasing filtered audio buffer size from 0 to 65536
>>>> VDec: vo config request - 720 x 576 (preferred colorspace: 
>>>> Mpeg PES) Trying filter chain: vo
>>>> VDec: using Mpeg PES as output csp (no 0)
>>>> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
>>>> VO Config (720x576->768x576,flags=0,'MPlayer',0x4D504553)
>>>> VO: [ivtv] 720x576 => 768x576 Mpeg PES
>>>> VO: Description: IVTV MPEG Video Decoder TV-Out
>>>> VO: Author: Benjamin Zores
>>>>
>>>> _______________________________________________
>>>> MPlayer-users mailing list
>>>> MPlayer-users at mplayerhq.hu
>>>> https://lists.mplayerhq.hu/mailman/listinfo/mp> layer-users
>>>>
>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>




More information about the MPlayer-users mailing list