[mythtv] [mythtv-commits] Ticket #2662: Internal playercannotseek in Matroska-Files (*.mkv)

Steven Adeff adeffs.mythtv at gmail.com
Wed Oct 3 14:30:43 UTC 2007


On 10/2/07, Mark Spieth <mark at dclabs.com.au> wrote:
> >> >> > #2662: Internal player cannot seek in Matroska-Files (*.mkv)
> >> >> > -----------------------+----------------------------------------------------
> >> >> > Reporter:  anonymous  |        Owner:  ijr
> >> >> >     Type:  defect     |       Status:  new
> >> >> > Priority:  minor      |    Milestone:  unknown
> >> >> > Component:  mythtv     |      Version:  0.20
> >> >> > Severity:  medium     |   Resolution:
> >> >> >  Mlocked:  0          |
> >> >> > -----------------------+----------------------------------------------------
> >> >> >
> >> >> > I have compiled from SVN.
> >> >> >
> >> >> > I am experiencing the same issue with Matroska files (mkv).
> >> >> > I can submit more info if needed.
> >> >> >
> >> >> I think this has to do with mythvid update as before things worked
> >> >> fine.
> >> >> if
> >> >> you have XVMC enabled, H264 gets changed to MPEG4 and voila it doesnt
> >> >> work.
> >> >> however it does in the preview window since the XVMC test and rename
> >> >> is
> >> >> disabled.
> >> >> simple fix is to change mpeg_version return to 5 for H264 case.
> >> >> currently
> >> >> building and testing this fix but logically it should work.
> >> >>
> >> > I was never able to seek in x264 Matroska files, before or after the
> >> > mythvid merge.
> >> >
> >> you are correct (I think). However I couldnt play mkv (H264) at all if I
> >> compile in xvmc. the above fixes this. verified.
> >>
> >> mark
> >
> > do you have a patch i could try?
> there is enough detail in the text above but here it is.
> mark
>
> --- libs/libmythtv/avformatdecoder.cpp  (revision 14586)
> +++ libs/libmythtv/avformatdecoder.cpp  (working copy)
> @@ -1128,7 +1179,7 @@
>          case CODEC_ID_MPEG4:
>              return 4;
>          case CODEC_ID_H264:
> -            return 4;
> +            return 5;
>      }
>      return 0;
>  }

perhaps, but I'm a coding idiot...

Thanks, I'll have to recompile this file and give it a go.

-- 
Steve


More information about the mythtv-dev mailing list