Re: [MPlayer-users] Video File Format in LG DVR TVs

352 views
Skip to first unread message

Andy Furniss

unread,
Mar 23, 2012, 6:23:30 AM3/23/12
to MPlayer usage questions, feature requests, bug reports, Risanecek
Risanecek wrote:
> Hi,
>
> I recently upgraded the HDD in my LG TV (42LT75 with builtin DVR). The
> HDD has some weird ext2 partitions on it (32768 blocksize) and the
> files that hold the recorded videos seem to resemble no known format.

I don't know what the situation is where you are, or anything about your
TV, but in the UK TVs/recorders are now required to encrypt content so
that it can only be played back on the device it was recorded on.

_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Andy Furniss

unread,
Mar 23, 2012, 6:58:39 AM3/23/12
to MPlayer usage questions, feature requests, bug reports, Risanecek
Andy Furniss wrote:

> I don't know what the situation is where you are, or anything about your
> TV, but in the UK TVs/recorders are now required to encrypt content so
> that it can only be played back on the device it was recorded on.

Just to clarify a bit, when I say required I don't mean it's some UK
law, I think it's part of some standard (DVB?) that manufacturers comply
to to be able to use the logo.

Tom Evans

unread,
Mar 23, 2012, 7:03:44 AM3/23/12
to MPlayer usage questions, feature requests, bug reports
On Fri, Mar 23, 2012 at 10:58 AM, Andy Furniss <and...@ukfsn.org> wrote:
> Andy Furniss wrote:
>
>> I don't know what the situation is where you are, or anything about your
>> TV, but in the UK TVs/recorders are now required to encrypt content so
>> that it can only be played back on the device it was recorded on.
>
>
> Just to clarify a bit, when I say required I don't mean it's some UK law, I
> think it's part of some standard (DVB?) that manufacturers comply to to be
> able to use the logo.
>

It would be the Freeview logo I think, rather than DVB.

Also, I think it only applies to HD, where there is a broadcast flag
set in the stream - although, according to wikipedia, there is no
broadcast flag in dvb:

http://en.wikipedia.org/wiki/Broadcast_flag#European_Broadcast_Flag

Cheers

Tom

Reimar Döffinger

unread,
Mar 23, 2012, 8:45:16 AM3/23/12
to MPlayer usage questions, feature requests, bug reports
On Fri, Mar 23, 2012 at 11:13:44AM +0100, Risanecek wrote:
> Per recorded "movie", there is a folder containing one .idx file and
> one or more .trp files. The .trp files are split to 376.000 KB length
> (except the last one which may be smaller). There is also one .ifo
> file of the same name as the folder (except the folder has ~ prepended
> to it).
>
> Should anyone be in hacking mood - let me know. ;-)

FFmpeg may be more suitable for this, but anyway people will need the
files (or at least parts of them) to do anything about it.

Marco Munderloh

unread,
Mar 23, 2012, 9:30:11 AM3/23/12
to MPlayer usage questions, feature requests, bug reports
> Per recorded "movie", there is a folder containing one .idx file and
> one or more .trp files. The .trp files are split to 376.000 KB length
> (except the last one which may be smaller). There is also one .ifo
> file of the same name as the folder (except the folder has ~ prepended
> to it).

The trp file format (combined with ifo and idx) is quiet common on PVRs
based on STi Chipset. Normally the trp files are just ts files with PAT
and PMT missing (some "header" like stuff describing the content of the
file). This information can be found in the ifo file.

The structure of the ifo varies from device to device. I once created a
converter for EDISION and Vantage ifo/trp to standard TS and vice versa.
It just adds the missing PAT/PMT to the TS stream.

Saying so, recorded SD-movies in MPEG2 format should play right away
with mplayer. HD with h.264 content will not play, as MPEG2 is hardwired
if no PMT is found. For this I once created a patch which tries to guess
if the video stream is h.264 or MPEG2. It works in 90% of my files
correctly but needs some improvements to reach the 100%. If your SD
recordings play in mplayer, this patch might get HD working. The
converter does a way better job, however.

If you could provide the ifo + ~100MB of the first trp I might be able
to adept the converter to LG format.

CU, Marco

Risanecek

unread,
Mar 23, 2012, 11:12:44 AM3/23/12
to MPlayer usage questions, feature requests, bug reports
> Saying so, recorded SD-movies in MPEG2 format should play right away with
> mplayer. HD with h.264 content will not play, as MPEG2 is hardwired if no
> PMT is found.

----------
$ mplayer 01023adf6c031773019f00.trp
MPlayer SVN-r34709 (Gentoo)-4.5.3 (C) 2000-2012 MPlayer Team
MMX supported but disabled
MMX2 supported but disabled

Spiele 01023adf6c031773019f00.trp.
libavformat version 53.32.100 (external)

Beenden... (Dateiende erreicht)
-------------------

Nothing. trying to play ifo, idx files or just the dir - same result.

I doubt the stream is h.264, as the TV is not able to even decode HD
mpeg-4 streams. I also seriously doubt the files are encrypted. The TV
allows recording of analog signals and I see no motivation in
encrypting those records.

> For this I once created a patch which tries to guess if the
> video stream is h.264 or MPEG2. It works in 90% of my files correctly but
> needs some improvements to reach the 100%. If your SD recordings play in
> mplayer, this patch might get HD working. The converter does a way better
> job, however.
>
> If you could provide the ifo + ~100MB of the first trp I might be able to
> adept the converter to LG format.

Here you are: http://vega.petamem.com/stuff/LG-VID/

There's an .ifx, an .ifo and the first 100MB of the .trp file


Thanks for looking.

Richard

Marco Munderloh

unread,
Mar 23, 2012, 2:57:45 PM3/23/12
to MPlayer usage questions, feature requests, bug reports
> There's an .ifx, an .ifo and the first 100MB of the .trp file

Hmm.. the trp is definitely not a MPEG-TS file but the ifo looks quiet
familial. I will look a little bit deeper into it if I find some time,
but for now I would say the trp files are indeed encrypted :(


Reply all
Reply to author
Forward
0 new messages