[mythtv] h.264 & GOP frames

Jean-Francois Roy roy.jean-francois at crc.ca
Mon Apr 10 12:46:50 UTC 2006


I will be submitting a patch for this this week.

Mark Buechler wrote:
> I've been talking with someone off-list concerning h.264 TS streams in
> MythTV and it seems Myth already has everything necessary for this to
> work. However, it seems Myth makes some assumptions which break h.264
> in having to do with GOP headers. Is anyone on this list familiar with
> how h.264 streams handle GOPs differently than mpeg2? Or if they are
> even required in an h.264 stream? The following patch to libmythtv
> will allow DVB h.264 TS streams here in the US to play but not very
> well. The playback can get very choppy over time.
>
> Index: avformatdecoder.cpp
> ===================================================================
> --- avformatdecoder.cpp (revision 9631)
> +++ avformatdecoder.cpp (working copy)
> @@ -2565,7 +2671,9 @@
>                      seq_count++;
>                      if (!seen_gop && seq_count > 1)
>                      {
> -                        HandleGopStart(pkt);
> +//                        HandleGopStart(pkt);
> +                        seen_gop = true;
> +                        justAfterChange = true;
>                      }
>                  }
>              }
>
> Can someone with expertise in this give some insight?
>
> Thanks, Mark.
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>   



More information about the mythtv-dev mailing list