sannies / isoviewer

GUI application to have closer look ISO 14496-12 and other MP4 files.
Apache License 2.0
230 stars 54 forks source link

isoviewer crashes when trying to open a DASH segment #12

Open go4shoe opened 8 years ago

go4shoe commented 8 years ago

I am trying to open a DASH segment which crashes the viewer - see linked file:

https://www.dropbox.com/s/zb76dlvb276l9k4/segment0.mp4?dl=0

sannies commented 8 years ago

The isoviewer is not always robust when it comes to corrupt files. It looks like that this segment is missing some bytes at the end! It crashes when it tries to read the samples as it would have to read beyond the end of the file.

2015-11-11 20:37 GMT+01:00 go4shoe notifications@github.com:

I am trying to open a DASH segment which crashes the viewer - see linked file:

https://www.dropbox.com/s/zb76dlvb276l9k4/segment0.mp4?dl=0

— Reply to this email directly or view it on GitHub https://github.com/sannies/isoviewer/issues/12.

go4shoe commented 8 years ago

Thanks for checking - understandable - but I'd use something like "isoviewer" for files that I suspect being incorrectly authored. Any chance you can fix it? Thanks

sannies commented 8 years ago

Just append a megabyte of zeros and open the file again. That will help ;)

2015-11-11 20:50 GMT+01:00 go4shoe notifications@github.com:

Thanks for checking - understandable - but I'd use something like "isoviewer" for files that I suspect being incorrectly authored. Any chance you can fix it? Thanks

— Reply to this email directly or view it on GitHub https://github.com/sannies/isoviewer/issues/12#issuecomment-155892094.

go4shoe commented 8 years ago

I'd guess a size field is off - correct?

sannies commented 8 years ago

I believe that just some bytes are missing at the end. I'd need to look into it in more details - but no time at the moment. I'm wrestling with mpeg2ts

2015-11-11 20:56 GMT+01:00 go4shoe notifications@github.com:

I'd guess a size field is off - correct?

— Reply to this email directly or view it on GitHub https://github.com/sannies/isoviewer/issues/12#issuecomment-155893711.

go4shoe commented 8 years ago

transport streams are fun - are you creating a viewer?

sannies commented 8 years ago

A live server: Elemental Live Encoder pushes smooth streaming to the server and the server emits (a) a DASH stream and (b) an HLS stream. Perhaps you could say it's a very minimal version of a wowza server or unified streaming platform. (they are absolutely no fun in my eyes - they are an ancient technology from the pre-internet age ;) )

2015-11-11 20:59 GMT+01:00 go4shoe notifications@github.com:

transport streams are fun - are you creating a viewer?

— Reply to this email directly or view it on GitHub https://github.com/sannies/isoviewer/issues/12#issuecomment-155894525.

go4shoe commented 8 years ago

I am working on a DASH packager for on demand content - good luck.

sannies commented 8 years ago

You might want to have a look here: https://github.com/castlabs/dashencrypt The license doesn't allow commercial use but you might get some inspirations ;)

2015-11-11 21:31 GMT+01:00 go4shoe notifications@github.com:

I am working on a DASH packager for on demand content - good luck.

— Reply to this email directly or view it on GitHub https://github.com/sannies/isoviewer/issues/12#issuecomment-155901646.

go4shoe commented 8 years ago

I have to implement a specific feature on top of an existing code base - but it is still interesting to use other packager - for comparing generated output.