So I was looking through the ivtv.py file and noticed that freevo uses some odd re-mapping for the encoder: IVTV_STREAM_PS 0 -> 0: MPEG-2 Program Stream IVTV_STREAM_TS 1 -> 3: IVTV_STREAM_MPEG1 2 -> 2: MPEG-1 System Stream IVTV_STREAM_PES_AV 3 -> 3: IVTV_STREAM_PES_V 5 -> 3: IVTV_STREAM_PES_A 7 -> 3: IVTV_STREAM_DVD 10 -> 3: MPEG-2 DVD-compatible Stream IVTV_STREAM_VCD 11 -> 4: MPEG-1 VCD-compatible Stream IVTV_STREAM_SVCD 12 -> 5: MPEG-2 SVCD-compatible Stream IVTV_STREAM_DVD_S1 13 -> 3: IVTV_STREAM_DVD_S2 14 -> 3:
I suppose either works, From what I gather from the ivtv docs is that 0 is probably wat I want, highest quality mpeg, which isn't all that high anyway. Also tv.v4l2.Videodev.updatecontrol(self, 'Video Aspect', codec.aspect-1) kinda gives away why the aspect is off by one. I think this was introduced to fix an issue where ther ivtv driver itself was wrong, but they long ago fixed this I belive, so in order to be in sync with the ivtv driver, i think the -1 would need to be removed. Oliver John Molohan wrote: > oliver wrote: > >> Hey, >> >> I've noticed the array IVTV_OPTIONS isn't quite up to date with the >> output of v4l2-ctl for the IVTV kind of cards. For example, it lists the >> old name aspect, which is now called aspect_video. I noticed the backend >> works reasonable well with it (I think there's an offset of 1 but I >> noticed a while ago that it may have been fixed in cvs allready). >> >> A nother thing is that stream_type is completly being ignored, it's >> always set to '3' (out of 0 - 5) which is a reasonable quality, but >> might aswell use the highest setting I figure as i'm not timeshifting. >> >> > Grep says that /usr/lib/python2.5/site-packages/freevo/tv/ivtv.py is the > only file that stream_types exists in. If you have time to do some > testing you should be able to find an answer there. If you do find a > problem a patch would be great. > http://freevo.sourceforge.net/about/trackers.php > > >> I can't set them properly before starting freevo because freevo always >> changes the settings when starting a TV stream. >> >> Also, the Ch+ key makes mplayer crash horribly, I have configured it to >> send the Ch+ command to freevo, and nothing else. When playing other >> files, it'll skip fwd/backward but when watching TV it should change >> channels? It tries to skip fwd/backwards and just hangs due to missing >> data obviously. >> >> Oliver >> > It's working with MPlayer 1.0-1.rc2.18.2plf2009.0-4.3.2 for me so > hopefully a change of mplayer versions should fix it for you. > > John > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users