unable to determine file format for TS transport stream

Think you found a bug in getID3()? Post here with details.
Post Reply
WaldoMonster
getID3() contributor
Posts: 108
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

unable to determine file format for TS transport stream

Post by WaldoMonster » Sat Feb 25, 2012 10:38 am

I get "unable to determine file format" on all my large transport stream files.
I have used a 64bit operating system that supports large integers in PHP.
The error message is the same with two different progragam's I have use to rip the dvd's: MPEG streamclip & VLC.
Any idea what caused this problem?
Attachments
CapturFiles_1.png
VLC info
CapturFiles_1.png (42.73 KiB) Viewed 26131 times
CapturFiles.png
getID3() info
CapturFiles.png (51.97 KiB) Viewed 26131 times

James Heinrich
getID3() v1 developer
Posts: 1430
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: unable to determine file format

Post by James Heinrich » Sat Feb 25, 2012 1:09 pm

MPEG-1 / MPEG-2 video support is very limited in getID3(). I've somehow never found good workable documentation to fully support these formats properly.

If you can send me the first 100kB or 500kB of the file I can try taking a look and see if it's something obvious, but no promises.

WaldoMonster
getID3() contributor
Posts: 108
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Re: unable to determine file format

Post by WaldoMonster » Sat Feb 25, 2012 1:48 pm

James Heinrich wrote:MPEG-1 / MPEG-2 video support is very limited in getID3(). I've somehow never found good workable documentation to fully support these formats properly.

If you can send me the first 100kB or 500kB of the file I can try taking a look and see if it's something obvious, but no promises.
Because I coudn't uploud the files on the forum I have send you a mail.

I used this litle script to get the first 500 k:

Code: Select all

$data = file_get_contents ('/data/Video/Music/LIVE - LIVE at the Paradiso (2008).ts',null, null, null, 500*1024);
file_put_contents('/data/first_500k_02.ts', $data);
Can this also be done from the console?

James Heinrich
getID3() v1 developer
Posts: 1430
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: unable to determine file format

Post by James Heinrich » Sat Feb 25, 2012 2:00 pm

WaldoMonster wrote:Can this also be done from the console?
On Windows, not easily. On *nix, see head (also tail is related). e.g. head -c512000

WaldoMonster
getID3() contributor
Posts: 108
Joined: Mon Apr 01, 2002 12:20 am
Location: Netherlands
Contact:

Re: unable to determine file format

Post by WaldoMonster » Sat Feb 25, 2012 2:47 pm

James Heinrich wrote:On Windows, not easily. On *nix, see head (also tail is related). e.g. head -c512000
Thanks, that is very helpful!
I'm using Linux just for a half year ;-)

James Heinrich
getID3() v1 developer
Posts: 1430
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: unable to determine file format

Post by James Heinrich » Sat Feb 25, 2012 2:48 pm

That's half a year more than me ;)

angleblue63
User
Posts: 1
Joined: Mon Oct 22, 2012 11:50 am
Are you a spambot?: no

Re: unable to determine file format

Post by angleblue63 » Mon Oct 22, 2012 11:52 am

ut what about other opensource projects such as ffmpeg? They tend to correctly detect the width x height of FLV files when I convert FLV to MPEG-4 for example?

James Heinrich
getID3() v1 developer
Posts: 1430
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: unable to determine file format

Post by James Heinrich » Mon Oct 22, 2012 12:23 pm

angleblue63 wrote:ut what about other opensource projects such as ffmpeg?
What about it?

Post Reply