New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation faults trying to package TTML captions #4
Comments
I'm looking at it. The report of Valgrind here is perfect (except a small leak not related to ttml fixed at 37d4a1d). I'll try in another VM. |
I ould reproduce on a ubuntu 14.04 VM. Investigating. |
79c5e36 should fix the issue. Thanks for reporting! |
Hi Romain, that did fix the segfault (thanks!), but I still cannot package the sample EBU-TTD file from your own regression tests:
I end up with an ISOBMFF file of only 500+ bytes (empty file essentially). See
It explicitly passes NULL and NULL for if (!xmlnamespace || !xml_schema_loc || !mimes) {
GF_LOG(GF_LOG_WARNING, GF_LOG_PARSER, ("XML Subtitle SampleEntry: namespace, schema and location are mandatory. Abort.\n"));
return GF_BAD_PARAM;
} |
I'll have a look at the different specs involved. My examples come from the EBU spec and an example provided by EBU members. The code comes from the MPEG specs. |
Ok, thanks, but can you confirm what I posted here above, that the current code (which passes explicit NULL values) results in the fact that no TTML documents currently can be imported because these NULL values will fail the test in |
I confirm. |
I checked on the latest spec draft and I fixed my prev patch: https://sourceforge.net/p/gpac/code/5530/ |
Hello, I am running the following version: "MP4Box - GPAC version 0.5.2-DEV-rev99-gb44dfd1-master". I tried using the following command to package my ebu-tt-d captions into ISOBMMF file and obtained the following error report:
As well as @tieleman, I obtain a ~500ko file almost empty:
Thanks for the help. |
Hi Solène, |
Thanks |
Hi,
I'm getting segmentation faults when trying to wrap TTML captions into ISOBMFF as explained here:
http://gpac.wp.mines-telecom.fr/2014/08/23/ebu-ttd-support-in-gpac/
I'm using the latest revision of GPAC (r5526). For the TTML file I'm using the file from your own regression tests (as well as several of my own):
https://raw.githubusercontent.com/gpac/gpac/master/regression_tests/ttml/ebu-ttd_sample.ttml
Segmentation faults occur on the following platforms:
The text was updated successfully, but these errors were encountered: