[mythtv-users] I've asked on ffmpeg and mplayer irc channels....perhaps someone here will know...

Another Sillyname anothersname at googlemail.com
Sat Aug 28 02:09:02 UTC 2010


Guys and any? Gals

When you record HD in the UK it captures as a h264 stream.

To identify what streams are contained you can do a number of things....

ffmpeg -i /path/to/file/name

or

mplayer /path/to/file/name -identify

This is fine in so far you can get a complete breakdown of all the
streams contained.

However the problem is that usually you record prior to the start of
the program you want to watch and as a consequence you can get told
the wrong identifier information for the AC3 stream, i.e. it sees a
stereo stream when the main movie starting in 3 minutes is actually
5.1 surround or vice versa.

Normally I would have thought that using either -ss or -sb would allow
you to 'jump' to a point in the h264 stream and identify it there,
however it would appear that both ffmpeg and mplayer ONLY read the
info from the header.

Does anyone know a way to identify the stream 'now' as it were, so if
I record a movie instead of taking the read at the start instead take
the read in the middle of the stream (or even better take 4 or 5
readings to ensure you don't read from a commercial break spot).

Thanks in advance.


More information about the mythtv-users mailing list