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

Mailing List Archive: MythTV: Users

What differences do you see between Standard/ffmpeg and libmpeg2?

 

 

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


ylee at pobox

Apr 15, 2007, 8:21 PM

Post #1 of 2 (2318 views)
Permalink
What differences do you see between Standard/ffmpeg and libmpeg2?

I ran into an interesting bug yesterday with an ATSC recording that
always kills mythfrontend, even in the preview window; please see
<URL:http://svn.mythtv.org/trac/ticket/3312> for
details. Interestingly, the bug only occurs when using the Standard
(ffmpeg) decoder, not libmpeg2. I use ATrpms 0.20-155 r13228 (but have
seen the bug at least as far back as 151) with the ffmpeg
0.4.9-19_r7407 and libmpeg2_0-0.4.1-3 (both the latest ATrpms
versions) on a Fedora Core 6 x86_64 distribution running on a Pentium
4 EM64T system.

This brings me to my main question: Just what other differences do
people find between the ffmpeg and libmpeg2 decoders?

Let's first go to what mythfrontend 0.20-fixes says:

* ffmpeg: "Standard will use ffmpeg library." Not much help.
* libmpeg2: "libmpeg2 will use mpeg2 library; this is faster on
some AMD processors."

That description for libmpeg2 sounds intriguing, except that I don't
have an AMD processor. However, could "AMD" here merely be a reference
to the AMD 64-bit extensions which EM64T clones? I wrote almost a year
ago
(<URL:http://www.gossamer-threads.com/lists/mythtv/users/203862#203862>)
that I didn't see a performance difference between the two decoders
when playing back HD video, but that was using a 32-bit version of
Fedora Core 4 on the same hardware. Now, using the same HD recording
as a benchmark for both decoders, I see:

* ffmpeg: 60-70% CPU usage (sometimes dips down to 50%)
* libmpeg2: 40-55% (sometimes spikes up to 60%)

This, plus what I discuss in ticket #3312, would seem to make libmpeg2
the obvious choice for me, except that fast forwarding or rewinding
does not work at any speed above 3X
(<URL:http://www.gossamer-threads.com/lists/mythtv/users/236735#236735>)
when using libmpeg2. (Come to think of it, I should file this as a
ticket, too.) It's not a big deal because I use time skips 99% of the
time anyway. However, that's more because I became used to skipping
instead of fast forwarding/rewinding (as I did with my Series 1 TiVo)
due to this bug.

--
Yeechang Lee <ylee[at]pobox.com> | +1 650 776 7763 | San Francisco CA US
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


decepticon at gmail

Apr 16, 2007, 7:46 AM

Post #2 of 2 (2117 views)
Permalink
Re: What differences do you see between Standard/ffmpeg and libmpeg2? [In reply to]

On 4/15/07, Yeechang Lee <ylee[at]pobox.com> wrote:
> I ran into an interesting bug yesterday with an ATSC recording that
> always kills mythfrontend, even in the preview window; please see
> <URL:http://svn.mythtv.org/trac/ticket/3312> for
> details. Interestingly, the bug only occurs when using the Standard
> (ffmpeg) decoder, not libmpeg2. I use ATrpms 0.20-155 r13228 (but have
> seen the bug at least as far back as 151) with the ffmpeg
> 0.4.9-19_r7407 and libmpeg2_0-0.4.1-3 (both the latest ATrpms
> versions) on a Fedora Core 6 x86_64 distribution running on a Pentium
> 4 EM64T system.
>
> This brings me to my main question: Just what other differences do
> people find between the ffmpeg and libmpeg2 decoders?

I havnt done any serious benchmarking, but I tried both when I first
built my box. I didnt notice any performance differences between the
2, but I preferred the ffmpeg method. It just seemed to look
sharper/cleaner to my eyes. I am running Ubuntu 64 on an AMD 4200+ X2,
1G DDR2 800, Nvidia 6200, with Myth fixes SVN from mid march or so.

The only issues I see are with some ghosting and slight combing
artifacts with some 1080i sources, which I see with both libs, and all
deinterlacing algorithms. I'm outputting to 720p via DVI-HDMI.
-J

>
> Let's first go to what mythfrontend 0.20-fixes says:
>
> * ffmpeg: "Standard will use ffmpeg library." Not much help.
> * libmpeg2: "libmpeg2 will use mpeg2 library; this is faster on
> some AMD processors."
>
[snip]
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

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


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.