[mythtv] H.264 over MPEG-2 TS recording and playback

Mark Buechler mark.buechler at gmail.com
Thu Mar 23 16:09:58 UTC 2006


Does anyone have a contact with the ffmpeg folks who might be able to shed
some light on what's going on?

- Mark.

On 3/23/06, Jean-Francois Roy <roy.jean-francois at crc.ca> wrote:
>
> Indeed, the problem is simply that no frames are ever decoded. The
> prebuffer messages are output every 10 times MythTV fails to prebuffer
> frames when you start playback.
>
> It's interesting you mention mplayer is having issues as well. I know my
> TS files work in VLC. I wonder if I could use the VLC TS demuxer instead
> of libavformat and pass elementary stream packets to libavcodec for
> decompression...
>
> Mark Buechler wrote:
> > Looks like newer Myth versions are getting closer to playing h.264
> > content. This an excerpt from mfe. I believe the video PIDs are
> > correctly being identified but ffmpeg is having trouble decoding the
> > stream. The same sort of errors come out of mplayer (which uses ffmpeg
> > for h.264) as well.
> >
> > - Mark.
> >
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > [h264 @ 0xb73c6630]non existing PPS referenced
> > [h264 @ 0xb73c6630]decode_slice_header error
> > 2006-03-22 18:38:08.130 AFD: Opened codec 0x858dcd0, id(MPEG2VIDEO)
> > type(Video)
> > 2006-03-22 18:38:08.130 AFD: Opened codec 0x858e000, id(MP3) type(Audio)
> > 2006-03-22 18:38:08.132 AFD: Opened codec 0x8e445f0, id(H264)
> type(Video)
> > 2006-03-22 18:38:08.132 AFD: Opened codec 0x87091d0, id(AC3) type(Audio)
> > 0: start_time: 7983.373 duration: 1.611
> > 1: start_time: 7983.173 duration: 1.601
> > stream: start_time: 88701.926 duration: 20.124 bitrate=5040 kb/s
> > 2006-03-22 18:38:08.174 AFD: Warning, video codec 0x8e445f0 id(H264)
> > type (Video) already open.
> > 2006-03-22 18:38:08.174 AFD: Warning, audio codec 0x87091d0 id(AC3)
> > type (Audio) already open, leaving it alone.
> > 2006-03-22 18:38:08.174 NVP: Disabling Audio, params(0,0,0)
> > 2006-03-22 18:38:08.396 AFD: Opened codec 0x8709500, id(MPEG2VIDEO)
> > type(Video)
> > 2006-03-22 18:38:08.396 AFD: Opened codec 0x8d325c0, id(MP3) type(Audio)
> > 2006-03-22 18:38:08.398 AFD: Opened codec 0x8e455d0, id(H264)
> type(Video)
> > 2006-03-22 18:38:08.398 AFD: Opened codec 0x8e45b30, id(AC3) type(Audio)
> > 2006-03-22 18:38:09.107 NVP: Prebuffer wait timed out 10 times.
> > 2006-03-22 18:38:10.457 NVP: Prebuffer wait timed out 10 times.
> > 2006-03-22 18:38:11.807 NVP: Prebuffer wait timed out 10 times.
> > 2006-03-22 18:38: 13.156 NVP: Prebuffer wait timed out 10 times.
> > 2006-03-22 18:38:14.506 NVP: Prebuffer wait timed out 10 times.
> > 2006-03-22 18:38:15.856 NVP: Prebuffer wait timed out 10 times.
> > 2006-03-22 18:38:17.205 NVP: Prebuffer wait timed out 10 times.
> >
> > On 3/18/06, *Steven Adeff* <adeffs.mythtv at gmail.com
> > <mailto:adeffs.mythtv at gmail.com>> wrote:
> >
> >     On 3/18/06, Daniel Kristjansson <danielk at cuymedia.net
> >     <mailto:danielk at cuymedia.net>> wrote:
> >     > On Fri, 2006-03-17 at 13:08 -0500, Steven Adeff wrote:
> >     > > On 3/17/06, Mark Buechler < mark.buechler at gmail.com
> >     <mailto:mark.buechler at gmail.com>> wrote:
> >     > > > I can provide sample streams but they come from an FTA
> >     channel here in the
> >     > > > US. I doubt it's copyright free. If anyone needs a sample
> >     stream contact me
> >     > > > off-list and we'll discuss further.
> >     > > if its FTA then there should be no issue in distributing it
> >     for free,
> >     > > you just can't make any money off of distribution.
> >     >
> >     > Umm no... If it is copyrighted, you have to be very careful to
> stay
> >     > within fair use rules which are ambiguous and differ greatly by
> >     country.
> >     >
> >     > What I meant by test streams was an organized set of streams with
> >     > different video attributes (high motion, low motion, color, B&W,
> >     > different resolutions) and different attached audio (ACC, AC3,
> >     > MP2, MP3, etc.) It should be public domain, or at least
> distributed
> >     > under a license that allows me to redistribute the stream to a
> user
> >     > for testing.
> >     >
> >     > I don't care if the high motion video is of your dog playing
> catch,
> >     > but I do care about the copyright.
> >     >
> >     > I'm willing to host these videos, but only if it is unquestionably
> >     > legal to do so in any country I might ever want to visit.
> >     >
> >     > -- Daniel
> >
> >     I've been trying to figure out how to mux into a TS stream but it
> >     doesn't look like mencoder or ffmpeg support this? If anyone know
> how
> >     to do this I'll create a slew of h264 streams. There are some
> >     non-copyrighted test streams available that I can reencode to h264
> at
> >     various bitrates with various audio tracks like Daniel asks for.
> >
> >     --
> >     Steve
> >     _______________________________________________
> >     mythtv-dev mailing list
> >     mythtv-dev at mythtv.org <mailto:mythtv-dev at mythtv.org>
> >     http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >     <http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060323/e1ec48b8/attachment.htm 


More information about the mythtv-dev mailing list