Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

720p 30fps playback

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


dmoo1790 at ihug

Sep 19, 2011, 10:51 PM

Post #1 of 6 (466 views)
Permalink
720p 30fps playback

Anybody got smooth playback at the correct speed working for 720p 30fps
video in mythvideo? I get rough and double-speed playback and found this
in mythfrontend.log: "Video sync method can't support double framerate
(refresh rate too low for bob deint)". Not sure why myth is trying to
deinterlace progressive video anyway.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


stephen_agent at jsw

Sep 20, 2011, 12:33 AM

Post #2 of 6 (460 views)
Permalink
Re: 720p 30fps playback [In reply to]

On Tue, 20 Sep 2011 17:51:27 +1200, you wrote:

>Anybody got smooth playback at the correct speed working for 720p 30fps
>video in mythvideo? I get rough and double-speed playback and found this
>in mythfrontend.log: "Video sync method can't support double framerate
>(refresh rate too low for bob deint)". Not sure why myth is trying to
>deinterlace progressive video anyway.

What is your video card? Some cards only support certain combinations
of frame rate and frame size.

Have you checked using MediaInfo to make sure that your file is
actually 720p?

Have a look at this page for how to set up Mythfrontend to change the
output format to match the video it is playing:

http://www.avenard.org/media/Patches_%26_Add-Ons/Entries/2010/6/7_Matching_refresh_rate_with_input_framerate_to_reduce_judder_%3B_final_part.html

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Sep 20, 2011, 1:53 AM

Post #3 of 6 (454 views)
Permalink
Re: 720p 30fps playback [In reply to]

On 20/09/11 19:33, Stephen Worthington wrote:
> On Tue, 20 Sep 2011 17:51:27 +1200, you wrote:
>
>> Anybody got smooth playback at the correct speed working for 720p 30fps
>> video in mythvideo? I get rough and double-speed playback and found this
>> in mythfrontend.log: "Video sync method can't support double framerate
>> (refresh rate too low for bob deint)". Not sure why myth is trying to
>> deinterlace progressive video anyway.
>
> What is your video card? Some cards only support certain combinations
> of frame rate and frame size.
>
> Have you checked using MediaInfo to make sure that your file is
> actually 720p?
>
> Have a look at this page for how to set up Mythfrontend to change the
> output format to match the video it is playing:
>
> http://www.avenard.org/media/Patches_%26_Add-Ons/Entries/2010/6/7_Matching_refresh_rate_with_input_framerate_to_reduce_judder_%3B_final_part.html
>
Thanks for the feedback Stephen. I have an Asus EN9400GT Silent. I think
it should do 60 Hz. I found a similar (identical?) web page
(http://www.mythtv.org/wiki/User_Manual:JudderFree) to the avenard one
and I did have a bit of play but no joy so far.

Pretty sure my TV (Pana Plasma) will do 60 Hz but need to check this and
then xorg config and then yada yada .... Sigh. I banged my head against
refresh rates a couple of years ago when I first set up MediaPortal on
Vista (cringe).

Certain the video is 30fps or probably 29.xx Hz NTSC. It's from my camera.

Haven't got MediaInfo but ffmpeg say 30fps.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


stephen_agent at jsw

Sep 20, 2011, 3:06 AM

Post #4 of 6 (454 views)
Permalink
Re: 720p 30fps playback [In reply to]

On Tue, 20 Sep 2011 20:53:35 +1200, you wrote:

>On 20/09/11 19:33, Stephen Worthington wrote:
>> On Tue, 20 Sep 2011 17:51:27 +1200, you wrote:
>>
>>> Anybody got smooth playback at the correct speed working for 720p 30fps
>>> video in mythvideo? I get rough and double-speed playback and found this
>>> in mythfrontend.log: "Video sync method can't support double framerate
>>> (refresh rate too low for bob deint)". Not sure why myth is trying to
>>> deinterlace progressive video anyway.
>>
>> What is your video card? Some cards only support certain combinations
>> of frame rate and frame size.
>>
>> Have you checked using MediaInfo to make sure that your file is
>> actually 720p?
>>
>> Have a look at this page for how to set up Mythfrontend to change the
>> output format to match the video it is playing:
>>
>> http://www.avenard.org/media/Patches_%26_Add-Ons/Entries/2010/6/7_Matching_refresh_rate_with_input_framerate_to_reduce_judder_%3B_final_part.html
>>
>Thanks for the feedback Stephen. I have an Asus EN9400GT Silent. I think
>it should do 60 Hz. I found a similar (identical?) web page
>(http://www.mythtv.org/wiki/User_Manual:JudderFree) to the avenard one
>and I did have a bit of play but no joy so far.
>
>Pretty sure my TV (Pana Plasma) will do 60 Hz but need to check this and
>then xorg config and then yada yada .... Sigh. I banged my head against
>refresh rates a couple of years ago when I first set up MediaPortal on
>Vista (cringe).
>
>Certain the video is 30fps or probably 29.xx Hz NTSC. It's from my camera.
>
>Haven't got MediaInfo but ffmpeg say 30fps.

Yes, plasma TVs seem to be much less flexible about what they can cope
with. My Sony LCD TV (KDL-35V5500) copes with most refresh rates,
although its native mode is 60 Hz, according to its EDID data. One of
the reasons I chose it was for that ability. I am sometimes surprised
when playing a video file to have it pop up a little 1080p/24 message
window, but since I got this TV and set up the refresh rate changing
as per that page, I have never had any judder again. My video card is
an Asus Bravo 220 silent one, rather more modern than yours, so it
does all the available modes and the best hardware deinterlace, which
may also account for lack of judder.

I just tried playing an NTSC 720p file on my setup (29.970 Hz), and it
looks as though Mythfrontend decided that the best playing mode was
actually 1080p, and used that. Mythfrontend reported it used
1920x1080 @ 0 Hz, which I presume meant default = 60 Hz (or actually
59.94 Hz) was used as that is the native mode of the TV and the TV
reported it was in 1080p mode. The Nvidia 220 GPU had no problem with
upscaling and produced a superb picture.

Unfortunately, the 9400 GT is not so capable (or the Nvidia Linux
drivers for it are not so capable). Have a look here:

/usr/share/doc/nvidia-current/html/supportedchips.html

and you will find that the 220 GPU is listed as having feature set C,
which allows it to do what is needed. The 9400 GT is listed as having
the much more restricted feature set A. My old 8400GS that I used
before the 220 was also feature set A and no matter what settings I
tried always had judder problems on some files, including 1080i TV
recordings.

There should be a table in the html files in that directory that lists
what each feature set does, but I can not find it at the moment.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Sep 20, 2011, 3:24 AM

Post #5 of 6 (452 views)
Permalink
Re: 720p 30fps playback [In reply to]

On 20/09/11 22:06, Stephen Worthington wrote:
> On Tue, 20 Sep 2011 20:53:35 +1200, you wrote:
>
>> On 20/09/11 19:33, Stephen Worthington wrote:
>>> On Tue, 20 Sep 2011 17:51:27 +1200, you wrote:
>>>
>>>> Anybody got smooth playback at the correct speed working for 720p 30fps
>>>> video in mythvideo? I get rough and double-speed playback and found this
>>>> in mythfrontend.log: "Video sync method can't support double framerate
>>>> (refresh rate too low for bob deint)". Not sure why myth is trying to
>>>> deinterlace progressive video anyway.
>>>
>>> What is your video card? Some cards only support certain combinations
>>> of frame rate and frame size.
>>>
>>> Have you checked using MediaInfo to make sure that your file is
>>> actually 720p?
>>>
>>> Have a look at this page for how to set up Mythfrontend to change the
>>> output format to match the video it is playing:
>>>
>>> http://www.avenard.org/media/Patches_%26_Add-Ons/Entries/2010/6/7_Matching_refresh_rate_with_input_framerate_to_reduce_judder_%3B_final_part.html
>>>
>> Thanks for the feedback Stephen. I have an Asus EN9400GT Silent. I think
>> it should do 60 Hz. I found a similar (identical?) web page
>> (http://www.mythtv.org/wiki/User_Manual:JudderFree) to the avenard one
>> and I did have a bit of play but no joy so far.
>>
>> Pretty sure my TV (Pana Plasma) will do 60 Hz but need to check this and
>> then xorg config and then yada yada .... Sigh. I banged my head against
>> refresh rates a couple of years ago when I first set up MediaPortal on
>> Vista (cringe).
>>
>> Certain the video is 30fps or probably 29.xx Hz NTSC. It's from my camera.
>>
>> Haven't got MediaInfo but ffmpeg say 30fps.
>
> Yes, plasma TVs seem to be much less flexible about what they can cope
> with. My Sony LCD TV (KDL-35V5500) copes with most refresh rates,
> although its native mode is 60 Hz, according to its EDID data. One of
> the reasons I chose it was for that ability. I am sometimes surprised
> when playing a video file to have it pop up a little 1080p/24 message
> window, but since I got this TV and set up the refresh rate changing
> as per that page, I have never had any judder again. My video card is
> an Asus Bravo 220 silent one, rather more modern than yours, so it
> does all the available modes and the best hardware deinterlace, which
> may also account for lack of judder.
>
> I just tried playing an NTSC 720p file on my setup (29.970 Hz), and it
> looks as though Mythfrontend decided that the best playing mode was
> actually 1080p, and used that. Mythfrontend reported it used
> 1920x1080 @ 0 Hz, which I presume meant default = 60 Hz (or actually
> 59.94 Hz) was used as that is the native mode of the TV and the TV
> reported it was in 1080p mode. The Nvidia 220 GPU had no problem with
> upscaling and produced a superb picture.
>
> Unfortunately, the 9400 GT is not so capable (or the Nvidia Linux
> drivers for it are not so capable). Have a look here:
>
> /usr/share/doc/nvidia-current/html/supportedchips.html
>
> and you will find that the 220 GPU is listed as having feature set C,
> which allows it to do what is needed. The 9400 GT is listed as having
> the much more restricted feature set A. My old 8400GS that I used
> before the 220 was also feature set A and no matter what settings I
> tried always had judder problems on some files, including 1080i TV
> recordings.
>
> There should be a table in the html files in that directory that lists
> what each feature set does, but I can not find it at the moment.
>
Yep, I was aware that the 9400GT is a bit limited but so far it's been
fine for broadcast stuff.

I'm actually getting somewhere. I set the GUI and TV playback modes as
per avenard's page and now I get this in Xorg.0.log when playing the
720p 30fps vid: Setting mode "1920x1080_60". I also see the TV switch
modes and xrandr says it's mode "51.0" (60 Hz) instead of the normal
"50.0" (auto). Then if I play some recorded TV it goes back to mode 50
and the xorg log says Setting mode "nvidia-auto-select".

All this happens with no changes to xorg.conf which is nice. But the vid
still plays back too fast and jerkily. So next step is to troll through
the very verbose mythfrontend log file I created during testing. I
suspect it could be a deinterlacing issue, i.e., if you take a 30fps
progressive signal and treat it as a 60 Hz interlaced signal wouldn't it
play back at 2x speed?

EDID data for my TV was a bit suss but it seems to handle whatever I've
thrown at it so far. No flickering or other complaints.


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Sep 21, 2011, 1:30 AM

Post #6 of 6 (443 views)
Permalink
Re: 720p 30fps playback [In reply to]

FYI for anyone who may have been following this thread, my issue turned
out to be an audio/video sync problem, not a video frame rate problem. I
successfully played several files with the internal player to confirm this:

- File with identical video but no audio created with "ffmpeg -i
badfile.mov -vcodec copy -an goodfile.mov"
- mpg files at 30 Hz and 60 Hz frame rates but with different audio
codec created with "ffmpeg -i badfile.mov -sameq -r xx goodfile.mpg"
where xx = 30 or 60

I also checked the mythfrontend log created with "all" verbosity and it
seemed that all the video frame rate and deinterlacing stuff was as it
should be. Couldn't spot a clear indication of the A/V sync problem though.

The file played OK in VLC so I decided to set up VLC as the player for
.mov files. This was not easy due to the ALSA audio setup on my machine
and VLC defaulting to using PulseAudio. Finally got it working by using
the .asoundrc file here:
http://www.mythtv.org/wiki/Configuring_Digital_Sound#Setting_up_ALSA.27s_.asoundrc.2C_Properly
and then setting VLC audio config to ALSA instead of Default.

Note that I am using simple analogue stereo audio and separate DVI->HDMI
video.

I might need to look at upgrading from myth 0.23 to 0.24 although I'm
not sure if this would fix my problem.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.