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

Mark Buechler mark.buechler at gmail.com
Fri Mar 17 19:20:17 UTC 2006


I have a sample at the following URL:

http://www.mentasm.com/h264_1.mpg

The file is 55 megs in size. Its run is about 15-20 seconds. Let me know if
a larger/smaller one is needed.

Here is mplayer's output:

VIDEO H264(pid=4130)...AUDIO A52(pid=4131) NO SUBS (yet)!  PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 4131), video: 10000005(pid
4130)...POS=564
FPS seems to be: 1198801/10000
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
ID_FILENAME=test.mpg
ID_VIDEO_FORMAT=0x10000005
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=0
ID_VIDEO_HEIGHT=0
ID_VIDEO_FPS=119.880
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=a52
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=384000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=0
vo: X11 running at 1920x1080 with depth 24 and 32 bpp (":0" => local
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm:ffmpeg (FFmpeg H.264)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
[h264 @ 0x85d9440]concealing 3120 DC, 3120 AC, 3120 MV errors
VDec: vo config request - 1280 x 720 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12

And then it goes into endless:

[h264 @ 0x85d9440]top block unavailable for requested intra mode at 0
6
[h264 @ 0x85d9440]error while decoding MB 0 6
[h264 @ 0x85d9440]concealing 3600 DC, 3600 AC, 3600 MV errors
[h264 @ 0x85d9440]concealing 2960 DC, 2960 AC, 2960 MV errors,?% 0
0
[h264 @ 0x85d9440]left block unavailable for requested intra mode at 0
22
[h264 @ 0x85d9440]error while decoding MB 0 22
...

- Mark.

On 3/17/06, Isaac Richards <ijr at case.edu> wrote:
>
> On Friday 17 March 2006 13:04, Steven Adeff wrote:
> > On 3/17/06, Isaac Richards <ijr at case.edu> wrote:
> > > On Friday 17 March 2006 12:48, Steven Adeff wrote:
> > > > On 3/17/06, Jean-Francois Roy <roy.jean-francois at crc.ca> wrote:
> > > > > Mark Buechler wrote:
> > > > > > I can provide sample HD streams if needed.
> > > > >
> > > > > That would be great. If hosting is a problem, I can arrange
> > > > > something. Even though I'm certainly not working in the range of
> HDTV
> > > > > bitrates or resolutions, the more sample streams I have, the
> better.
> > > >
> > > > some sample h264 encoded videos....
> > > > http://jfl1974.free.fr/upload/superman.mp4
> > > > http://jfl1974.free.fr/upload/XMenIII.mp4
> > > > Nero has some trailers encoded using their h264 codec, max
> resolution
> > > > they have is dvd quality:
> > > > http://trailer.nerodigital.com/enu/index.html
> > >
> > > Read the subject line.  'H.264 over MPEG-2 TS'.  This does not mean
> > > 'H.264 in MP4', or any other container format.
> > >
> > > Isaac
> >
> > aherm....
> >
> > On 3/17/06, Jean-Francois Roy <roy.jean-francois at crc.ca> wrote:
> > > As for constructing sample H.264 streams, you can encode using x264 (I
> > > haven't read DVB's specifications pertaining to what profiles and
> levels
> > > will be allowed or required, but likely the main profile will be
> > > adequate for testing) and output to say .mp4 or raw, then mux in a TS
> > > stream using VLC or ffmpeg.
> >
> > so the encoding has been done, it just needs to be remuxed into a TS
> > stream. sorry for trying to help.
>
> I'd hope that most people on this list are capable of doing a google
> search.
> Finding h264 content in mp4 isn't exactly difficult.  Unless you're going
> to
> create a mpeg2-ts file, you're not 'helping'.
>
> Isaac
> _______________________________________________
> 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/20060317/f6f91d09/attachment.htm 


More information about the mythtv-dev mailing list