PDA

View Full Version : EyeTV XBMC .mpg


Hilbe
2009-02-27, 04:47
I recorded a show on my EyeTV into a .mpg file, encapsulated in a .eyetv file. For some reason the .mpg is not playable in XBMC. Steps tried:

1. Open .mpg with Plex...FAIL (usually Audio only)
2. Open .mpg with XBMC...FAIL (usually Audio only)
3. Open .mpg with Quicktime...FAIL (unplayable error)
4. Open .mpg with VLC...Plays
5. Open using EyeTV UPNP Server...Garbled Video, No Audio
5. Open .eyetv in EyeTV...Plays
6. Open using XBMCEyeTVParser plugin...FAIL

I'm willing to send a dev a copy of the mpg if you would like to try to reproduce it.

VLC labelled the file "mpgv" for a codec, but it supposedly is just the native digital TV signal received from my digital tuner.

Thanks.

Hilbe
2009-03-02, 01:29
Looks like this is MPEG-TS formatted files that XBMC doesn't play...form of MPEG2.

criti
2009-03-02, 03:11
Looks like this is MPEG-TS formatted files that XBMC doesn't play...form of MPEG2.

recordings from eyetv play fine on my xbmc. its probably something wrong with the recording.

Hilbe
2009-03-02, 03:22
recordings from eyetv play fine on my xbmc. its probably something wrong with the recording.

It is not. The format EyeTV uses depends on the encoding sent to you by your cable provider. EyeTV simply saves what it gets to file. XBMC will play all of my HD local recordings fine, but can't play my digital SD recordings (MPEG-TS). VLC plays it fine. QuickTime will play it if you buy the $20 MPEG2 component (which does MPEG-TS).

davilla
2009-03-05, 02:02
I've verified this and am looking into it. Even MediaInfo has no clue what format the file is. But VLC does.

criti
2009-03-05, 02:30
works fine for me. here's a mediainfo readout on a 60 second clip recorded in eyetv from my hdhomerun. maybe i'm just not clear what you are recording.

------

General

ID : 8210
Complete name : /Volumes/My Book/000000000f5f531f.mpg
Format : MPEG-TS
File size : 25.8 MiB
Duration : 1mn 2s
Overall bit rate : 3 466 Kbps

Video

ID : 2048 (0x800)
Menu ID : 7 (0x7)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Duration : 1mn 2s
Bit rate mode : Constant
Bit rate : 3 137 Kbps
Nominal bit rate : 3 089 Kbps
Width : 704 pixels
Height : 480 pixels
Display aspect ratio : 4/3
Frame rate : 29.970 fps
Standard : NTSC
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.310

Audio

ID : 2049 (0x801)
Menu ID : 7 (0x7)
Format : AC-3
Format/Info : Audio Coding 3
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -323ms
Language : English

Menu #1

ID : 48 (0x30)
Menu ID : 5 (0x5)

Menu #2

ID : 49 (0x31)
Menu ID : 7 (0x7)
Format : MPEG Video / AC-3
List : 2048 (0x800) (MPEG Video) / 2049 (0x801) (AC-3, eng)
Language : / eng

Menu #3

ID : 50 (0x32)
Menu ID : 8 (0x8)

Menu #4

ID : 51 (0x33)
Menu ID : 10 (0xA)

Menu #5

ID : 52 (0x34)
Menu ID : 12 (0xC)

Hilbe
2009-03-05, 02:41
Here is a sample attached to the Plex ticket. Plex is also impacted by this odd mpg.

http://plexapp.lighthouseapp.com/projects/14382/tickets/272-mpg-created-by-eyetv-unplayable

criti
2009-03-05, 03:22
i mean i guess my confusion is does it do this for every SD recording you do or just this particular recording, particular show, particular channel, etc?

how can i replicate it with my eyetv is what I'm getting at because my SD recordings seem to work fine in xbmc/plex/etc

i assume davilla was able to find the problem in something other than the clip you posted.

Hilbe
2009-03-05, 03:48
i mean i guess my confusion is does it do this for every SD recording you do or just this particular recording, particular show, particular channel, etc?

how can i replicate it with my eyetv is what I'm getting at because my SD recordings seem to work fine in xbmc/plex/etc

i assume davilla was able to find the problem in something other than the clip you posted.

Every SD recording I've made so far. It think it has something to do with the format my cable company is sending it to me. I have no problems with my HD recordings.

davilla
2009-03-05, 18:55
Hilbe, can you go into detail about exactly how and with what hardware are you recording these files.

The issue is (from your sample file);

nb_programs reports 11 programs, but all but one is valid. That one contains just two audio streams. However, nb_streams says, there are three streams, one video, two audio.

In CDVDDemuxFFmpeg, nb_programs is checked before nb_streams so XBMC picks the nb_programs path for demuxing. If I force, nb_programs = 0, then XBMC takes the nb_streams path and your sample plays fine.

So the question here is, are we dealing with a malformed mpegts or is there a bug in ffmpeg.

Hilbe
2009-03-05, 19:08
Hilbe, can you go into detail about exactly how and with what hardware are you recording these files.

The issue is (from your sample file);

nb_programs reports 11 programs, but all but one is valid. That one contains just two audio streams. However, nb_streams says, there are three streams, one video, two audio.

In CDVDDemuxFFmpeg, nb_programs is checked before nb_streams so XBMC picks the nb_programs path for demuxing. If I force, nb_programs = 0, then XBMC takes the nb_streams path and your sample plays fine.

So the question here is, are we dealing with a malformed mpegts or is there a bug in ffmpeg.

I have a HD HomeRun by Silicon Dust. It has 2 coaxial cable lines coming in from my cable company Wide Open West (WOW). All the WOW channels I get are ClearQAM channels, but not all are HD. The HD recordings must be encoded differently by my cable provider, since they play fine in XBMC. EyeTV receives the input from the HD HomeRun and supposedly saves the input unaltered it to this mpg file.

davilla
2009-03-05, 19:15
ok, I have an HD HomeRun but it's recording OTA. The HD HomeRun does not touch the bits but just transports them. So this mpegts format is coming from your provider un-mangled by the HD HomeRun or eyetv.

Hilbe
2009-03-05, 19:17
ok, I have an HD HomeRun but it's recording OTA. The HD HomeRun does not touch the bits but just transports them. So this mpegts format is coming from your provider un-mangled by the HD HomeRun or eyetv.

Thats what I believe yes. I can send you another mpg if you want some more test samples.

davilla
2009-03-05, 20:56
fixed in svn, pull 18288 as this fixes the Xcode build.

Hilbe
2009-03-07, 16:49
I tested the pre-built SVN and it did indeed fix the SDTV programs such as the one I sent you. However, now my HDTV no longer work. The audio comes through but shows some gobbly gook on the video. Do you need an HD recording now?

davilla
2009-03-07, 17:24
Grrr, yes. drop a sample to ftp.cloee.net. Thanks.

Hilbe
2009-03-07, 18:16
000000000f62ca39.mpg

A little bigger since its HD.

davilla
2009-03-07, 19:10
000000000f62ca39.mpg

A little bigger since its HD.

Plays fine for me :) 1280x720 @60Hz. This is from svn 18291

Hilbe
2009-03-07, 23:29
You are right. I am not sure what the problem was. I completely blew away XBMC and clean installed the SVN again. Its OK now. Thank you.

Any chance next you can steal the Harmony code from Plex? :)

davilla
2009-03-07, 23:59
Any chance next you can steal the Harmony code from Plex? :)

It's on the list, I don't particularly like their implementation which is why I'm not just copy/paste it.