Skip to content
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

m3u8 to mpd conversion not working when EXT-X-KEY option is present #631

Closed
3 tasks done
AdithyanIlangovan opened this issue Sep 9, 2016 · 1 comment
Closed
3 tasks done

Comments

@AdithyanIlangovan
Copy link

AdithyanIlangovan commented Sep 9, 2016

Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!

I am trying to convert a .m3u8 manifest to .mpd manifest.
For this purpose, I use the following command :

MP4Box -mpd master.m3u8

You can find the master.m3u8 file attached here [master.m3u8.zip].

Normally, this works. But whenever the .m3u8 file has a EXT-X-KEY method in it, the command does not work. That is whenever such an option is present:

EXT-X-KEY:METHOD=AES-128,URI="https://priv.example.com/key.php?r=52", \

IV=0x9c7db8778570d05c3177c349fd9236aa

The code crashes, by generating an half-completed master.mpd file : master.mpd.zip

The log file is attached below :
mp4box-bug-log.txt

The backtrace from gdb:

(gdb) backtrace

0 0x00000000005b5af0 in gf_mpd_print_segment_list ()

1 0x00000000005bb3fa in gf_mpd_write_file ()

2 0x0000000000413782 in mp4boxMain ()

3 0x00007ffff75247ed in __libc_start_main (main=0x40b080,argc=3,ubp_av=0x7fffffffdff8,init=,fini=,rtld_fini=,

stack_end=0x7fffffffdfe8) at libc-start.c:226

4 0x000000000040b0b1 in _start ()

I am happy to provide other supporting information.

Edit 1 : I took the sample m3u8 from apple official site : https://developer.apple.com/library/ios/technotes/tn2288/_index.html.

@jeanlf
Copy link
Member

jeanlf commented Sep 12, 2016

Fixed on git thanks to your comments !

@jeanlf jeanlf closed this as completed Sep 12, 2016
RodolpheFouquet pushed a commit to rauf/gpac that referenced this issue Sep 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants