issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "gpac", "gpac" ]
The "osmo4-0.5.2-DEV-rev286-g0239d11-master-stagefright.apk" was used to play "http://www.digitalprimates.net/dash/streams/gpac/mp4-main-multi-mpd-AV-NBS.mpd" in android, but I met three problems: 1. sometimes audio and video out of sync; 2. sometimes, after play a period time, the audio stop and the video play frame by frame; 3. sometimes video stop, but the audio not. BTW, I could not find the "osmo4-0.5.2-DEV-rev286-g0239d11-master-stagefright.apk" in gpac download page today. And the latest version "rev360" stop video after play about 1 minute every time. My android service is 4.4.2. I have no idea how to fix those problems, please help.
[Android] play video frame by frame after a period time
https://api.github.com/repos/gpac/gpac/issues/133/comments
9
2015-05-04T07:19:58Z
2019-06-28T14:43:57Z
https://github.com/gpac/gpac/issues/133
72,942,351
133
[ "gpac", "gpac" ]
Hi, #128 was resolved and one of our MP4 file can apply CENC correctly. However, we have another MP4 file that would cause segmentation fault. Here is the cmd we use: wesleywen@Wesley-MBP tmp $MP4Box -noprog -crypt /var/folders/jn/tky0ntx10pbgsmgy547xs45h0000gp/T/tmpwNelCD.xml /private/tmp/tmp6jCrXq/ABCDE_tid_0000450735_m_vdeo_p8.mp4 -tmp /tmp -out /private/tmp/tmp6jCrXq/enc/ABCDE_tid_0000450735_m_video_p8.mp4 Saving to /private/tmp/tmp6jCrXq/enc/ABCDE_tid_0000450735_m_video_p8.mp4: 0.500 secs Interleaving Segmentation fault: 11 The repro rate is very hight, but not 100%. I tried to debug the issue but the call stack is not same every time. I can list few here. ``` C++ * thread #1: tid = 0x964bcc, 0x00000001002def7f libgpac.dylib`gf_isom_box_size_listing(a=0x7af8e98800000000) + 15 at box_funcs.c:2496, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00000001002def7f libgpac.dylib`gf_isom_box_size_listing(a=0x7af8e98800000000) + 15 at box_funcs.c:2496 2493 2494 static GF_Err gf_isom_box_size_listing(GF_Box *a) 2495 { -> 2496 switch (a->type) { 2497 case GF_ISOM_BOX_TYPE_REFT: 2498 return reftype_Size(a); 2499 case GF_ISOM_BOX_TYPE_FREE: (lldb) bt * thread #1: tid = 0x964bcc, 0x00000001002def7f libgpac.dylib`gf_isom_box_size_listing(a=0x7af8e98800000000) + 15 at box_funcs.c:2496, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) * frame #0: 0x00000001002def7f libgpac.dylib`gf_isom_box_size_listing(a=0x7af8e98800000000) + 15 at box_funcs.c:2496 frame #1: 0x00000001002db495 libgpac.dylib`gf_isom_box_size(a=0x7af8e98800000000) + 21 at box_funcs.c:2959 frame #2: 0x00000001002db3d0 libgpac.dylib`gf_isom_box_array_size(parent=0x0000000100f005e0, list=0x0000000100e1db20) + 112 at box_funcs.c:377 frame #3: 0x00000001002a63ee libgpac.dylib`stbl_Size(s=0x0000000100f005e0) + 1502 at box_code_base.c:4882 frame #4: 0x00000001002e1a1f libgpac.dylib`gf_isom_box_size_listing(a=0x0000000100f005e0) + 10927 at box_funcs.c:2523 frame #5: 0x00000001002db495 libgpac.dylib`gf_isom_box_size(a=0x0000000100f005e0) + 21 at box_funcs.c:2959 frame #6: 0x000000010029f597 libgpac.dylib`minf_Size(s=0x0000000100f00490) + 263 at box_code_base.c:3209 frame #7: 0x00000001002e1c3f libgpac.dylib`gf_isom_box_size_listing(a=0x0000000100f00490) + 11471 at box_funcs.c:2588 frame #8: 0x00000001002db495 libgpac.dylib`gf_isom_box_size(a=0x0000000100f00490) + 21 at box_funcs.c:2959 frame #9: 0x000000010029e8ba libgpac.dylib`mdia_Size(s=0x0000000100f003b0) + 266 at box_code_base.c:2969 frame #10: 0x00000001002e1c72 libgpac.dylib`gf_isom_box_size_listing(a=0x0000000100f003b0) + 11522 at box_funcs.c:2594 frame #11: 0x00000001002db495 libgpac.dylib`gf_isom_box_size(a=0x0000000100f003b0) + 21 at box_funcs.c:2959 frame #12: 0x00000001002ac9ea libgpac.dylib`trak_Size(s=0x0000000100f001d0) + 442 at box_code_base.c:6668 frame #13: 0x00000001002e1ab8 libgpac.dylib`gf_isom_box_size_listing(a=0x0000000100f001d0) + 11080 at box_funcs.c:2541 frame #14: 0x00000001002db495 libgpac.dylib`gf_isom_box_size(a=0x0000000100f001d0) + 21 at box_funcs.c:2959 frame #15: 0x00000001002db3d0 libgpac.dylib`gf_isom_box_array_size(parent=0x0000000100f000e0, list=0x0000000100f00130) + 112 at box_funcs.c:377 frame #16: 0x00000001002a0521 libgpac.dylib`moov_Size(s=0x0000000100f000e0) + 513 at box_code_base.c:3461 frame #17: 0x00000001002e19a8 libgpac.dylib`gf_isom_box_size_listing(a=0x0000000100f000e0) + 10808 at box_funcs.c:2505 frame #18: 0x00000001002db495 libgpac.dylib`gf_isom_box_size(a=0x0000000100f000e0) + 21 at box_funcs.c:2959 frame #19: 0x00000001002f71ea libgpac.dylib`GetMoovAndMetaSize(movie=0x0000000100e1d240, writers=0x0000000100e1daf0) + 58 at isom_store.c:322 frame #20: 0x00000001002fab4a libgpac.dylib`WriteInterleaved(mw=0x00007fff5fbf2220, bs=0x0000000103e96390, drift_inter=GF_TRUE) + 746 at isom_store.c:1217 frame #21: 0x00000001002fa61d libgpac.dylib`WriteToFile(movie=0x0000000100e1d240) + 573 at isom_store.c:1309 frame #22: 0x00000001002eb9bd libgpac.dylib`gf_isom_close(movie=0x0000000100e1d240) + 173 at isom_read.c:257 frame #23: 0x0000000100045f58 MP4Box`mp4boxMain(argc=9, argv=0x00007fff5fbff760) + 273256 at main.c:4626 frame #24: 0x0000000100048062 MP4Box`main(argc=9, argv=0x00007fff5fbff760) + 34 at main.c:4663 frame #25: 0x00007fff8a4505c9 libdyld.dylib`start + 1 ``` ``` C++ * thread #1: tid = 0x96be23, 0x00000001002f959a libgpac.dylib`ShiftOffset(file=0x0000000100f00000, writers=0x0000000103e8f3b0, offset=18446744073709509388) + 970 at isom_store.c:252, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00000001002f959a libgpac.dylib`ShiftOffset(file=0x0000000100f00000, writers=0x0000000103e8f3b0, offset=18446744073709509388) + 970 at isom_store.c:252 249 //be carefull for the last entry ... 250 last = ent->nextChunk ? ent->nextChunk : co64->nb_entries + 1; 251 for (k = ent->firstChunk; k < last; k++) { -> 252 co64->offsets[k-1] += offset; 253 } 254 } 255 } (lldb) bt * thread #1: tid = 0x96be23, 0x00000001002f959a libgpac.dylib`ShiftOffset(file=0x0000000100f00000, writers=0x0000000103e8f3b0, offset=18446744073709509388) + 970 at isom_store.c:252, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) * frame #0: 0x00000001002f959a libgpac.dylib`ShiftOffset(file=0x0000000100f00000, writers=0x0000000103e8f3b0, offset=18446744073709509388) + 970 at isom_store.c:252 frame #1: 0x00000001002fab28 libgpac.dylib`WriteInterleaved(mw=0x00007fff5fbf22a0, bs=0x0000000103e8d5c0, drift_inter=GF_TRUE) + 712 at isom_store.c:1215 frame #2: 0x00000001002fa61d libgpac.dylib`WriteToFile(movie=0x0000000100f00000) + 573 at isom_store.c:1309 frame #3: 0x00000001002eb9bd libgpac.dylib`gf_isom_close(movie=0x0000000100f00000) + 173 at isom_read.c:257 frame #4: 0x0000000100045f58 MP4Box`mp4boxMain(argc=9, argv=0x00007fff5fbff7e0) + 273256 at main.c:4626 frame #5: 0x0000000100048062 MP4Box`main(argc=9, argv=0x00007fff5fbff7e0) + 34 at main.c:4663 frame #6: 0x00007fff8a4505c9 libdyld.dylib`start + 1 ``` ``` C++ * thread #1: tid = 0x96ec0f, 0x00000001002f7248 libgpac.dylib`GetMoovAndMetaSize(movie=0x0000000100e1d220, writers=0x0000000103d856a0) + 152 at isom_store.c:328, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5971) frame #0: 0x00000001002f7248 libgpac.dylib`GetMoovAndMetaSize(movie=0x0000000100e1d220, writers=0x0000000103d856a0) + 152 at isom_store.c:328 325 326 i=0; 327 while ((writer = (TrackWriter*)gf_list_enum(writers, &i))) { -> 328 size -= writer->mdia->information->sampleTable->ChunkOffset->size; 329 size -= writer->mdia->information->sampleTable->SampleToChunk->size; 330 gf_isom_box_size((GF_Box *)writer->stsc); 331 gf_isom_box_size(writer->stco); (lldb) bt * thread #1: tid = 0x96ec0f, 0x00000001002f7248 libgpac.dylib`GetMoovAndMetaSize(movie=0x0000000100e1d220, writers=0x0000000103d856a0) + 152 at isom_store.c:328, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5971) * frame #0: 0x00000001002f7248 libgpac.dylib`GetMoovAndMetaSize(movie=0x0000000100e1d220, writers=0x0000000103d856a0) + 152 at isom_store.c:328 frame #1: 0x00000001002fab4a libgpac.dylib`WriteInterleaved(mw=0x00007fff5fbf22a0, bs=0x0000000103d85470, drift_inter=GF_TRUE) + 746 at isom_store.c:1217 frame #2: 0x00000001002fa61d libgpac.dylib`WriteToFile(movie=0x0000000100e1d220) + 573 at isom_store.c:1309 frame #3: 0x00000001002eb9bd libgpac.dylib`gf_isom_close(movie=0x0000000100e1d220) + 173 at isom_read.c:257 frame #4: 0x0000000100045f58 MP4Box`mp4boxMain(argc=9, argv=0x00007fff5fbff7e0) + 273256 at main.c:4626 frame #5: 0x0000000100048062 MP4Box`main(argc=9, argv=0x00007fff5fbff7e0) + 34 at main.c:4663 frame #6: 0x00007fff8a4505c9 libdyld.dylib`start + 1 ```
Segmentation fault when applying CENC encryption on large MP4 file
https://api.github.com/repos/gpac/gpac/issues/132/comments
11
2015-05-01T08:36:09Z
2015-09-15T09:41:53Z
https://github.com/gpac/gpac/issues/132
72,385,274
132
[ "gpac", "gpac" ]
Hi Jean Sorry, I commented on #121 but hadn't noticed that you had closed the issue just beforehand. I promise not to re-open the issue! But can I just seek clarification on my last comment before closure and then I can go away and do my own research to ensure DASH conformance. Please re-close the issue again immediately once this has been clarified. ## Here was your final answer:- using MP4Box -info you should have: for the explicit signaling: 'MPEG-4 Audio SBR - 2 Channel(s) - SampleRate 24000 - SBR SampleRate 48000' for the implicit signaling: 'MPEG-4 Audio LC - 2 Channel(s) - SampleRate 24000 - SBR SampleRate 48000' Checking the Audio DecSpecInfo is indeed not exposed in MP4Box, but you can inspect its values using -diso For explicit SBR, It seems that MP4Reader shows the object type after parsing rather than what is written in the bitstream, hence you have "audioObjectType=2" and "extensionAudioObjectType=5", but what is written in the bitstream is indeed "audioObjectType=5" and in the SBR section, audioObjectType=2 For SBR SBR implicit, the signaling is appended at the end of the audio DSI , and it seems MP4Reader does not show this one, only audioObjectType=2 is shown. ## Here was my final question after closure:- We had been talking previously about sbr and sbrx. Just for clarification, in your answer above, when you talk about "implicit signaling" did you mean "explicit backwards compatible signaling" where you state: ...for the implicit signaling... ...For SBR implicit... And when you talk about "explicit signaling" did you mean "explicit non-backwards compatible signaling" ??? Could you review your answer in-line and verify/confirm between "implicit", "explicit backwards", and "explicit non-backwards" where stated please. Thanks Richard
SBR vs SBRX Signaling (Conclusion)
https://api.github.com/repos/gpac/gpac/issues/131/comments
0
2015-04-30T17:31:02Z
2016-09-04T17:45:29Z
https://github.com/gpac/gpac/issues/131
72,228,193
131
[ "gpac", "gpac" ]
Hi, We do CENC encryption and then generate MPEG-DASH stream; both steps use MP4Box. We encoded several MP4 (with various bitrate) files and do CENC one-bye-one. And then running MP4Box to do MPEG-DASH. The problem is MP4Box failed to dash one of the MP4 files, and reports invalid IsoMedia file. I did some code trace and noticed the reason MP4Box thought the file is invalid is due to enctry_count of stsc box is zero. So, my question is why CENC encryption does not generate stsc entryies correctly. I see there is code snippet at isom_store.c:1204 to compare firstSize and finalSize. I did not understand what they mean, but what I can tell is those two values are different for the problematic file. Does anyone could provide some hint for me that I can help identify the issue? I believe you could easily resolve the issue with the clip, but we can't share it due to legal problem. Oh. The file size (before encryption) is 4293562962 bytes. Thanks, Wesley
STSC entry_count is zero after doing CENC encryption
https://api.github.com/repos/gpac/gpac/issues/128/comments
3
2015-04-28T10:54:24Z
2015-04-29T11:05:41Z
https://github.com/gpac/gpac/issues/128
71,554,674
128
[ "gpac", "gpac" ]
Hi, I tried to package a file using MP4Box but the tool returns an error : ``` [iso file] Apple 'alis' box found, not supported - converting to self-pointing 'url ' ``` I don't realy understand this message, and I can't found documentation about that. This is the file spec : ``` General Complete name : test_5_1.mp4 Format : MPEG-4 Format profile : QuickTime Codec ID : qt File size : 215 KiB Duration : 8s 0ms Overall bit rate : 220 Kbps Encoded date : UTC 2015-02-18 17:14:21 Tagged date : UTC 2015-02-18 17:14:21 Writing library : Apple QuickTime Comment : Encoded by com.apple.quicktime.software : Sorenson Squeeze Video ID : 2 Format : AVC Format/Info : Advanced Video Codec Format profile : [email protected] Format settings, CABAC : No Format settings, ReFrames : 2 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 8s 0ms Bit rate : 38.4 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 15.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.003 Stream size : 37.5 KiB (17%) Language : English Encoded date : UTC 2015-02-18 17:14:17 Tagged date : UTC 2015-02-18 17:14:21 Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format profile : HE-AACv2 / HE-AAC / LC Codec ID : 40 Duration : 7s 40ms Bit rate mode : Constant Bit rate : 202 Kbps Nominal bit rate : 192 Kbps Channel(s) : 2 channels / 6 channels / 6 channels Channel positions : Front: L R / Front: L C R, Side: L R, LFE / Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz / 48.0 KHz / 24.0 KHz Compression mode : Lossy Stream size : 174 KiB (81%) Language : English Encoded date : UTC 2015-02-18 17:14:17 Tagged date : UTC 2015-02-18 17:14:21 ``` Do you have an idea to fix this ? Thanx for your help, and this tool :-)
Dashing an HE-AAC 5.1 video
https://api.github.com/repos/gpac/gpac/issues/127/comments
7
2015-04-28T08:35:23Z
2017-02-23T08:15:50Z
https://github.com/gpac/gpac/issues/127
71,524,221
127
[ "gpac", "gpac" ]
x64 installer is ok
sdk/ in Win32 installer doesn't contain the includes
https://api.github.com/repos/gpac/gpac/issues/124/comments
1
2015-04-27T09:52:48Z
2015-04-27T10:10:15Z
https://github.com/gpac/gpac/issues/124
71,235,813
124
[ "gpac", "gpac" ]
As of GPAC 0.6.1, there are many places where data pointers are `char *` while not being strings. It would be better to deal with type `u8 *` (wrapper around `unsigned char *`) for generic data. Examples: - gf_bs (bitstream): https://github.com/gpac/gpac/blob/9e3d1939b30331cf58088a39a01d62f14ea7b0b3/include/gpac/bitstream.h#L70 - https://github.com/gpac/gpac/blob/9e3d1939b30331cf58088a39a01d62f14ea7b0b3/src/utils/xml_parser.c#L151 - https://github.com/gpac/gpac/blob/9e3d1939b30331cf58088a39a01d62f14ea7b0b3/src/terminal/media_memory.h#L100 - src\scenegraph\x3d_nodes.c - src\scenegraph\vrml_tools.c - src\scene_manager\scene_manager.c - src\odf\odf_code.c(2425): ipmp->opaque_data = (char*)gf_malloc(size + 1); - src\odf\ipmpx_code.c(90): ba->data = (char_)gf_malloc(sizeof(char)_size); - src\media_tools\mpegts.c(3405): ts->buffer = (char_)gf_realloc(ts->buffer, sizeof(char)_ts->alloc_size); - src\media_tools\media_import.c(5848): slc->data = (char_)gf_malloc(sizeof(char)_slc->size); - src\media_tools\dsmcc.c(245): DownloadInfoRequest->privateDataByte = (char*)gf_calloc(DownloadInfoRequest->privateDataLength,sizeof(char)); - and a lot more ...
buffers should all be u8*, not char*
https://api.github.com/repos/gpac/gpac/issues/123/comments
3
2015-04-22T09:26:27Z
2019-07-03T15:52:25Z
https://github.com/gpac/gpac/issues/123
70,070,709
123
[ "gpac", "gpac" ]
In the android audio driver, in the WriteAudio callback, the java audio buffer is filled like this: ``` pBuffer = (*env)->GetPrimitiveArrayCritical(env, ctx->buff, NULL); if (pBuffer) { written = dr->FillBuffer(dr->audio_renderer, pBuffer, ctx->mbufferSizeInBytes); (*env)->ReleasePrimitiveArrayCritical(env, ctx->buff, pBuffer, 0); ... } ``` It uses the GetPrimitiveArrayCritical and ReleasePrimitiveArrayCritical to try to have a direct memory access to the buffer behind the java Array. In between those call, no JNI call can occur. It might happen that, when calling FillBuffer, a buffering event is triggered due to having to download more data I suppose. In order to report that event to the java layer, some JNI call must be made which than triggers the crash. This is not reproducible in Osmo for Android because the buffering events are not reported to the java layer there. But I think the description here is pretty clear. Do you have any suggestion on how to avoid this ? Would it be possible to queue the buffering events to make sure they are triggered out of the critical section in the Android audio driver JNI code ?
[Android] Crash in the audio driver due to JNI
https://api.github.com/repos/gpac/gpac/issues/122/comments
3
2015-04-22T08:28:53Z
2019-06-28T14:40:10Z
https://github.com/gpac/gpac/issues/122
70,058,351
122
[ "gpac", "gpac" ]
Hi Jean, A few weeks back you changed some code to fix -SBRX explicit signaling for Audio using AAC-HE. Could you also do the same please for -SBR explicit BACKWARDS-COMPATIBLE signaling. These currently don't record the correct info in the MPD (still reporting AAC-LC at half the sample rate). Our test file is here: http://living.tv/mob/test_3840_baseline_he.mp4 DASH IOP 3.0 (Page 96) states: For all HE-AAC and HE-AACv2 bitstreams, EXPLICIT BACKWARDS-COMPATIBLE SIGNALING should be used to indicate the use of the SBR and PS coding tools. And I note that some browsers (e.g. Chrome) only seem to be supporting Explicit Backwards-Compatible Signaling. On a separate note I believe Apple do the same for HLS too. Please fix asap and advise. Richard
AAC-HE not creating valid MPDs or segment info in MP4box using -SBR Explicit Backwards-Compatibility Signaling
https://api.github.com/repos/gpac/gpac/issues/121/comments
13
2015-04-21T11:29:52Z
2015-04-30T10:21:04Z
https://github.com/gpac/gpac/issues/121
69,820,035
121
[ "gpac", "gpac" ]
Hi, I'm using MP4Box to create MPEG-DASH stream with below commands. `MP4Box -noprog -dash 5005 -frag 10000 -rap -segment-name %s_ -url-template -bs-switching no -mpd-title "sample mpd" -tmp "/tmp" -out "movie_tmp.mpd" /private/tmp/tmpB0bWPr/audio_p0.mp4#audio:id=32k /private/tmp/tmpB0bWPr/audio_p1.mp4#audio:id=64k /private/tmp/tmpB0bWPr/audio_p2.mp4#audio:id=96k /private/tmp/tmpB0bWPr/audio_p3.mp4#audio:id=128k /private/tmp/tmpB0bWPr/video_p0.mp4#video:id=240p_80k /private/tmp/tmpB0bWPr/video_p1.mp4#video:id=240p_200k /private/tmp/tmpB0bWPr/video_p2.mp4#video:id=240p_350k /private/tmp/tmpB0bWPr/video_p3.mp4#video:id=480p_700k /private/tmp/tmpB0bWPr/video_p4.mp4#video:id=480p_1200k /private/tmp/tmpB0bWPr/video_p5.mp4#video:id=480p_2000k /private/tmp/tmpB0bWPr/video_p6.mp4#video:id=720p_2500k /private/tmp/tmpB0bWPr/video_p7.mp4#video:id=720p_4000k /private/tmp/tmpB0bWPr/video_p8.mp4#video:id=720p_7000k` I expect the segment duration should be 150150 (=5.005 \* 30000), but it looks like the value of duration is average segment duration (49.68 / 10 \* 30000). Below is the snippet of the result MPD. `````` xml <?xml version="1.0" encoding="utf-8"?> <MPD maxSegmentDuration="PT0H0M5.00S" mediaPresentationDuration="PT0H0M49.68S" minBufferTime="PT1.500000S" profiles="urn:mpeg:dash:profile:full:2011" type="static" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready"> <ProgramInformation> <Title> sample mpd </Title> </ProgramInformation> <Period duration="PT0H0M49.68S"> <AdaptationSet segmentAlignment="true"> <SegmentTemplate duration="149046" initialization="1429516988_dash/$RepresentationID$/init.mp4" media="1429516988_dash/$RepresentationID$/$Number$.m4s" startNumber="1" timescale="30000"/> <Representation bandwidth="87141" codecs="avc1.640015" frameRate="30000/1001" height="240" id="240p_80k" mimeType="video/mp4" sar="640:639" startWithSAP="1" width="426">``` I remember SegmentTemplate@duration should be constant, not average one; am I correct? And constant duration makes the player easy to locate segment(s). Thanks, Wesley ``````
Average segment duration?
https://api.github.com/repos/gpac/gpac/issues/120/comments
6
2015-04-21T06:50:52Z
2015-05-22T10:11:03Z
https://github.com/gpac/gpac/issues/120
69,759,498
120
[ "gpac", "gpac" ]
Most MP4Box users don't need streaming features that use threading. This causes issues with toolchains or libc where pthread is not completely implemented (e.g. bionic, the android libc).
MP4Box static has a depency on libpthread
https://api.github.com/repos/gpac/gpac/issues/119/comments
3
2015-04-20T12:47:37Z
2019-06-28T14:36:28Z
https://github.com/gpac/gpac/issues/119
69,579,464
119
[ "gpac", "gpac" ]
See https://github.com/hiteshsondhi88/ffmpeg-android
Upload last build from travis on github
https://api.github.com/repos/gpac/gpac/issues/118/comments
2
2015-04-20T09:51:15Z
2019-06-28T14:33:10Z
https://github.com/gpac/gpac/issues/118
69,550,285
118
[ "gpac", "gpac" ]
Requires README modifications
Display travis result on github
https://api.github.com/repos/gpac/gpac/issues/117/comments
0
2015-04-20T09:51:00Z
2015-06-25T05:21:56Z
https://github.com/gpac/gpac/issues/117
69,550,234
117
[ "gpac", "gpac" ]
https://www.openhub.net/p/gpac/widgets https://code.google.com/p/gitinspector/
Use widgets to display general GPAC info on websites
https://api.github.com/repos/gpac/gpac/issues/116/comments
2
2015-04-20T09:49:10Z
2020-09-10T15:38:45Z
https://github.com/gpac/gpac/issues/116
69,549,942
116
[ "gpac", "gpac" ]
We seem to have working DASH for our Baseline Profile tests, but are now testing our Main Profile files and we get SIDX box timing errors reported in DASH Validator. Here is our test file: http://living.tv/mob/test.mp4 This is Main Profile 3.1 at 25fps. The strict keyframes are 3.84 seconds (3840ms). We used:- MP4Box -raw 1:output=test.h264 test.mp4 -new MP4Box -add test.h264 -fps 25 -new test.m4v MP4Box -dash 3840 -frag 3840 -rap -frag-rap -no-frags-default -profile dashavc264:live -new -segment-name $RepresentationID$\seg_ -url-template -out "out\test.mpd" test.m4v:id=testVideo I can confirm that the video segments do correctly report as being 3840ms each. The resulting mpd can be found here: http://living.tv/mob/test.mpd ## The DASH Conformance Validator ( http://dashif.org/conformance.html ) reports the following problems with the SIDX timings:- ### Section 6.3.4.3. of ISO/IEC 23009-1:2012(E): If 'sidx' is present in a Media Segment, the first 'sidx' box ... shall document the entire Segment. Violated for Media Segment 10. Segment duration 3.840000, Sidx documents 171802.531840 for track 1, diff 171798.691840 ### Referenced moof earliest_presentation_time 38.280000 does not match to reference EPT 171833.211840 for sidx number 10 at reference count 1 ### SAP found with presentation time 38.280000 lesser than the declared SAP time 171833.211840 (SAP_delta_time 0.000000), for sidx number 10 at reference count 1; first SAP shall be signaled as per Section 8.16.3.3 of ISO/IEC 14496-12 4th edition ### starts_with_SAP declared but the first sample's composition time does not match, for sidx number 10 at reference count 1 (checking sample 1 of trun 1, traf 1, moof 11) ### SAP found with presentation time 38.320000 lesser than the declared SAP time 171833.211840 (SAP_delta_time 0.000000), for sidx number 10 at reference count 1; first SAP shall be signaled as per Section 8.16.3.3 of ISO/IEC 14496-12 4th edition ### SAP not found at the expected presentation time for sidx number 10 at reference count 1 ### Referenced moof earliest_presentation_time 45.960000 does not match to reference EPT 42.240000 for sidx number 12 at reference count 1 ### starts_with_SAP declared but the first sample's composition time does not match, for sidx number 12 at reference count 1 (checking sample 1 of trun 1, traf 1, moof 14) ### SAP not found at the expected presentation time for sidx number 12 at reference count 1 ### Referenced track duration 3.720000 of track 1 does not match to subsegment_duration 171798.651840 for leaf with EPT 34.560000, difference 1.717949e+005, threshold 4.000000e-005 (Leaf count 10) ### Referenced track duration 0.120000 of track 1 does not match to subsegment_duration 3.880000 for leaf with EPT 38.280000, difference 3.760000e+000, threshold 4.000000e-005 (Leaf count 11) ### Referenced track duration 3.720000 of track 1 does not match to subsegment_duration 0.000000 for leaf with EPT 42.240000, difference 3.720000e+000, threshold 4.000000e-005 (Leaf count 13) ### Referenced track duration 0.120000 of track 1 does not match to subsegment_duration 3.840000 for leaf with EPT 45.960000, difference 3.720000e+000, threshold 4.000000e-005 (Leaf count 14) --- We have also tried it without -raw using the mp4 directly as the video and get the same. Is MP4Box writing the wrong figures in the SIDX box? Richard
Main Profile SIDX box timing errors
https://api.github.com/repos/gpac/gpac/issues/115/comments
3
2015-04-19T11:25:10Z
2015-04-29T06:16:19Z
https://github.com/gpac/gpac/issues/115
69,414,875
115
[ "gpac", "gpac" ]
On PC, start a dash or HLS stream and send q to the terminal before the service connected message appears, it will trigger a crash in the dash thread as soon as the service is connected. On unix, for example: ``` echo q | /Applications/Osmo4.app/Contents/MacOS/Osmo4 http://dash.edgesuite.net/dash264/TestCases/1a/netflix/exMPD_BIP_TC1.mpd ``` It's a problem because on android, the application can be paused at any moment.
[DASH/HLS] Crash when disconnecting while dash thread is running
https://api.github.com/repos/gpac/gpac/issues/110/comments
2
2015-04-17T12:14:05Z
2016-10-09T22:24:55Z
https://github.com/gpac/gpac/issues/110
69,127,174
110
[ "gpac", "gpac" ]
Start a HLS stream, let it play for 5 seconds then seek at the end of the stream. The GF_EVENT_EOS is never received. Here with a test stream of 1385 seconds: ``` Osmo4 -exit http://... Using config file in /Users/dam/.gpac directory System info: 16384 MB RAM - 8 cores Modules Found : 33 Loading GPAC Terminal Terminal Loaded in 110 ms Opening URL http://... Service Connected ``` [wait 5 seconds] ``` T Duration: 00:23:05.000 - Current Time: 00:00:04.096 Enter seek time (Format: s, m:s or h:m:s): 1370 [socket] cannot select, BAD descriptor ``` and the application never exits. It seems it behave as if the seek time was relative but from what I understand, it should be absolute: if I repeatedly seek to 1 second in the stream it always restart at 1 second.
[HLS] No GF_EVENT_EOS received after playing and then seek till the end
https://api.github.com/repos/gpac/gpac/issues/108/comments
1
2015-04-15T16:00:52Z
2015-04-21T09:53:51Z
https://github.com/gpac/gpac/issues/108
68,720,658
108
[ "gpac", "gpac" ]
Hello, I'm trying to implement pause/play correctly and I notice this, when using ``` gf_term_connect_from_time(term, url, 0, GF_TRUE); ``` and later do a ``` gf_term_set_option(term, GF_OPT_PLAY_STATE, GF_STATE_PLAYING); ``` the stream does not play. It's reproducible on pc using the -pause option, when connected, pressing p in the terminal does not start the stream.
[HLS] Starting in paused state.
https://api.github.com/repos/gpac/gpac/issues/105/comments
1
2015-04-10T07:54:40Z
2015-05-05T12:13:54Z
https://github.com/gpac/gpac/issues/105
67,535,887
105
[ "gpac", "gpac" ]
Hi Jean Sorry, I saw you closed this issue but we still have an issue. Is there a way to re-open an issue my end? Anyway, I've posted this as a new issue in case closed comments aren't seen. Using the same original file as before, located here: http://living.tv/mob/ibeani_i4_mcstdlow.mp4 The DASH Conformance Validator got past the original warning, but now says: Validate_IODS: visualProfileLevelIndication ( IOD: 127 (0x7f) ) signalled .. but there seems to be no video track Also the Audio error is thrown: Validate_IODS: ISMA expects no-capability(0xFF) or Hi-Quality@L1/L2 (0x0E, 0x0F) or AAC@L4 (0x2a) or HE-AAC@L2 (0x2c) for audioProfileLevelIndication. Both were 255 in the original. The audio is AAC LOW. Richard
MP4box visualProfileLevelIndication and audioProfileLevelIndication changing?
https://api.github.com/repos/gpac/gpac/issues/104/comments
1
2015-04-09T09:45:32Z
2015-04-29T12:19:00Z
https://github.com/gpac/gpac/issues/104
67,323,262
104
[ "gpac", "gpac" ]
Hi Jean I have an issue with the visualProfileLevelIndication value changing between the original file and the raw/m4v intermediate file. Using the same original file as before, located here: http://living.tv/mob/ibeani_i4_mcstdlow.mp4 Using -DISO on this original file I see visualProfileLevelIndication="255" in the IOD (which I believe is the correct value) When I extract the RAW video track with MP4box -raw option, then -add it to create a new m4v file, then using -DISO on this m4v file shows visualProfileLevelIndication="21" (which I believe is now incorrect?). This then reports a conformance error in the DASH Validator. Is this a bug? Or could this value change for any reason? Richard
MP4box visualProfileLevelIndication changing?
https://api.github.com/repos/gpac/gpac/issues/102/comments
8
2015-04-08T20:40:38Z
2016-09-04T17:44:44Z
https://github.com/gpac/gpac/issues/102
67,215,304
102
[ "gpac", "gpac" ]
Here is a subtitle file in TTML format: http://jmp.sh/tdhTk8I When trying package it into a new .mp4 file using this command: `mp4box.exe -v -add subtitles.ttml -new output.mp4` The result on stdout is: ``` TTML Import Found root attribute name xmlns:ttm, value http://www.w3.org/ns/ttml#metadata Found root attribute name xmlns:tts, value http://www.w3.org/ns/ttml#styling Found root attribute name xmlns:ttp, value http://www.w3.org/ns/ttml#parameter Found root attribute name xml:lang, value en Found root attribute name xmlns, value http://www.w3.org/ns/ttml TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. TTML: incomplete sample (begin=-1, end=-1, text="NULL"). Skip. last_sample_duration=0, last_sample_end=0 Note: TTML import - EBU-TTD detected Saving output.mp4: 0.500 secs Interleaving ``` The output.mp4 file is saved but it doesn't contain the subtitles. Basically, I could feed in a 100 KB subtitle file but the resulting .mp4 would still be 1 KB, containing just the container and an empty track. Here is mp4box -info: ``` * Movie Info * Timescale 600 - Duration 00:00:00.000 1 track(s) Fragmented File: no File suitable for progressive download (moov before mdat) File Brand isom - version 1 Created: GMT Wed Apr 08 05:35:49 2015 Modified: GMT Wed Apr 08 05:35:49 2015 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 1000 - Media Duration 00:00:00.000 Media Info: Language "und (und)" - Type "subt:stpp" - 0 samples XML Subtitle Stream - namespace http://www.w3.org/ns/ttml Size 0 x 0 - Translation X=0 Y=0 - Layer 0 RFC6381 Codec Parameters: stpp All samples are sync ``` Version of mp4box: 0.5.2-DEV-rev248-g39d5978-master Anvar
Packaging TTML produces an empty .mp4 file
https://api.github.com/repos/gpac/gpac/issues/99/comments
12
2015-04-08T05:39:10Z
2015-04-13T17:25:49Z
https://github.com/gpac/gpac/issues/99
67,053,602
99
[ "gpac", "gpac" ]
If I segment a 2 seconds video with 10 seconds segments, the SegmentTimeline have ``` xml <S t="2046" d="2046"/> ``` Instead of: ``` xml <S t="0" d="2046"/> ``` Command used: ``` MP4Box -dash 10000 -frag 10000 -rap -frag-rap -segment-timeline bunny_test.mp4 ``` Video used: http://kura-tests.s3.amazonaws.com/bunny_test.mp4 While I don't usually segment video that short, I found this behaviour while writing unit tests, so I'm wondering if this is normal.
Segment time is wrong if video is shorter than segment duration
https://api.github.com/repos/gpac/gpac/issues/98/comments
1
2015-04-07T22:04:01Z
2015-04-08T09:25:56Z
https://github.com/gpac/gpac/issues/98
67,000,624
98
[ "gpac", "gpac" ]
When I dash an mp4(h264/aac 48k) with MP4Box, with RAP/keyframes every 10 seconds, I have the proper timing in the generated mp4, but the segments in SegmentTimeline differs. (I'm going to limit to the first 3 segments, as the issue is the same for the whole file) The first three sidx boxes have earliest presentation times of (timescale 12288) respectively: 0, 122880, 245760 which are exactly 0, 10 and 20 seconds. The tfdt boxes have the following track offsets: video (timescale 12288): 0, 122880, 245760 audio (timescale 48000): 0, 484352, 964608 (which are aligned to aac encoding window of 1024 samples) The SegmentTimeline starts with: ``` xml <SegmentList timescale="1000"> <SegmentTimeline> <S t="0" d="10090"/> <S d="10005" r="1"/> <S d="10000"/> ``` I understand that the audio being longer creates this issue (484352/48000 = 1009.06~). What I do not understand is why my segments are not interlapping in the timeline. I expect something like: ``` xml <SegmentList timescale="1000"> <SegmentTimeline> <S t="0" d="10090"/> <S t="10000" d="10005"/> <S t="20000" d="10005"/> <S t="30000" d="10000"/> ``` Because to play the time (in ts 1000) 10045 for example, I will need segment 1 for audio, but segment 2 for video. _Thinking out loud_: It's not going to cause issue with short videos as even if the user seeks at 10045, segment 2 will start playing, and nobody is going to notice the 45ms of missing sound, but this can cause minor issue with long video, if I have a 2hours video (720 segments) and the user seeks near the end, at 1h40, I'll have 3 seconds of sync error.
SegmentTimeline in MPD not in par with sidx boxes
https://api.github.com/repos/gpac/gpac/issues/97/comments
4
2015-04-07T21:43:11Z
2019-06-28T14:30:32Z
https://github.com/gpac/gpac/issues/97
66,997,305
97
[ "gpac", "gpac" ]
# ./configure --enable-pic # ./configure --enable-pic which: no jpeg-config in (/usr/local/bin) *\* System Configuration Install prefix: /usr/local Source path: /home/gama/UtilityProgram/gpac C compiler: gcc C++ compiler: g++ make: make CPU: x86_64 Big Endian: no *\* GPAC 0.5.0 rev Core Configuration ** debug version: no GProf enabled: no Static build enabled: no Memory tracking enabled: no Use standard memory allocator: no fixed-point version: no IPV6 Support: yes *\* Detected libraries ** zlib: system OSS Audio: yes ALSA Audio: yes Jack Audio: yes PulseAudio Audio: yes DirectFB support: no X11 Shared Memory support: yes (path: /usr/X11R6) X11 XVideo support: yes SDL Support: yes OpenGL support: yes TinyGL support: no OpenSSL support: no Mozilla XUL/GECKO support: no DVB Support: yes XMLRPC Support: no wxWidgets support: no *\* Extra Libraries used ** SpiderMonkey: no FreeType: system JPEG: no OpenJPEG: system PNG: system MAD: system FAAD: system XVID: system FFMPEG: system Xiph OGG: system Platinum UPnP: no AVCap: no Xiph Vorbis: system Xiph Theora: system A52 (AC3): system OpenSVCDecoder: no Freenect: system Creating config.mak config.h is unchanged Done - type 'make help' for make info, 'make' to build Then tried to make with make command Then it returns mv ../bin/gcc/libgpac.so ../bin/gcc/libgpac.so.2.0.0 ln -sf libgpac.so.2.0.0 ../bin/gcc/libgpac.so.2 ln -sf libgpac.so.2.0.0 ../bin/gcc/libgpac.so make[1]: Leaving directory `/home/gama/UtilityProgram/gpac/src' make -C applications all make[1]: Entering directory`/home/gama/UtilityProgram/gpac/applications' set -e; for i in mp4client mp4box mp42ts ; do make -C $i all; done make[2]: Entering directory `/home/gama/UtilityProgram/gpac/applications/mp4client' gcc -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/MP4Client main.o extract.o -L../../bin/gcc -lgpac -lpthread -ldl make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/applications/mp4client' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/applications/mp4box' gcc -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/MP4Box main.o filedump.o fileimport.o live.o -L../../bin/gcc -L../../extra_lib/lib/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/applications/mp4box' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/applications/mp42ts' gcc -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/mp42ts main.o -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/applications/mp42ts' make[1]: Leaving directory `/home/gama/UtilityProgram/gpac/applications' make -C modules all make[1]: Entering directory`/home/gama/UtilityProgram/gpac/modules' set -e; for i in aac_in ac3_in audio_filter bifs_dec dummy_in soft_raster mp3_in isom_in odf_dec rtp_in timedtext img_in saf_in mpegts_in ismacryp mpd_in ctx_load svg_in laser_dec svg_in widgetman osd ft_font ffmpeg_in xvid_dec ogg freenect oss_audio alsa jack sdl_out pulseaudio x11_out ; do make -C $i all; done make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/aac_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_aac_in.so aac_in.o faad_dec.o -L../../bin/gcc -lgpac -lm -lfaad make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/aac_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/ac3_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_ac3_in.so ac3_in.o liba52_dec.o -L../../bin/gcc -lgpac -lm -la52 make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/ac3_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/audio_filter' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_audio_filter.so audio_filter.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/audio_filter' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/bifs_dec' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_bifs_dec.so bifs_dec.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/bifs_dec' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/dummy_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_dummy_in.so dummy_in.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/dummy_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/soft_raster' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_soft_raster.so ftgrays.o raster_load.o raster_565.o raster_argb.o raster_rgb.o stencil.o surface.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/soft_raster' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/mp3_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_mp3_in.so mp3_in.o mad_dec.o -L../../bin/gcc -lgpac -lm -lmad make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/mp3_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/isom_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_isom_in.so load.o read.o read_ch.o cache.o -L../../bin/gcc -lgpac -lm make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/isom_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/odf_dec' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_odf_dec.so odf_dec.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/odf_dec' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/rtp_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_rtp_in.so rtp_in.o rtp_session.o rtp_signaling.o rtp_stream.o sdp_fetch.o sdp_load.o -L../../bin/gcc -lgpac -lm make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/rtp_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/timedtext' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_timedtext.so timedtext_dec.o timedtext_in.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/timedtext' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/img_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_img_in.so img_dec.o img_in.o bmp_dec.o png_dec.o jpeg_dec.o jp2_dec.o -lm -L../../bin/gcc -lgpac -lopenjpeg make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/img_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/saf_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_saf_in.so saf_in.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/saf_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/mpegts_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_mpegts_in.so mpegts_in.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/mpegts_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/ismacryp' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_ismacryp.so ismacryp.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/ismacryp' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/mpd_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_mpd_in.so mpd_in.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/mpd_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/ctx_load' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_ctx_load.so ctx_load.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/ctx_load' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/svg_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_svg_in.so svg_in.o -lm -L../../bin/gcc -lgpac -lz make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/svg_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/laser_dec' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_laser_dec.so laser_dec.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/laser_dec' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/svg_in' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_svg_in.so svg_in.o -lm -L../../bin/gcc -lgpac -lz make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/svg_in' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/widgetman' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_widgetman.so widgetman.o unzip.o widget.o wgt_load.o -lm -L../../bin/gcc -lgpac -lz make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/widgetman' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/osd' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_osd.so osd.o -lm -L../../bin/gcc -lgpac make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/osd' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/ft_font' gcc -shared -Wl,--warn-common -Wl,-z,defs -o ../../bin/gcc/gm_ft_font.so ft_font.o -L../../bin/gcc -lgpac -lfreetype -lz -lm make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/ft_font' make[2]: Entering directory `/home/gama/UtilityProgram/gpac/modules/ffmpeg_in' gcc -O3 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -fvisibility="hidden" -DGPAC_HAVE_CONFIG_H -I"/home/gama/UtilityProgram/gpac" -Wno-deprecated-declarations -I"/home/gama/UtilityProgram/gpac/include" -I/usr/include/ffmpeg -c -o ffmpeg_decode.o ffmpeg_decode.c In file included from ffmpeg_decode.c:25:0: ffmpeg_in.h:120:17: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared here (not in a function) char audio_buf[AVCODEC_MAX_AUDIO_FRAME_SIZE]; ^ ffmpeg_decode.c: In function ‘FFDEC_AttachStream’: ffmpeg_decode.c:172:4: warning: implicit declaration of function ‘avcodec_alloc_context’ [-Wimplicit-function-declaration] *ctx = avcodec_alloc_context(); ^ ffmpeg_decode.c:172:9: warning: assignment makes pointer from integer without a cast [enabled by default] *ctx = avcodec_alloc_context(); ^ ffmpeg_decode.c:320:3: warning: implicit declaration of function ‘avcodec_open’ [-Wimplicit-function-declaration] if (avcodec_open((*ctx), (*codec) )<0) return GF_NON_COMPLIANT_BITSTREAM; ^ make[2]: *** [ffmpeg_decode.o] Error 1 make[2]: Leaving directory`/home/gama/UtilityProgram/gpac/modules/ffmpeg_in' make[1]: **\* [plugs] Error 2 make[1]: Leaving directory `/home/gama/UtilityProgram/gpac/modules' make: **\* [all] Error 2 Please help to resolve the issue
Compile in Fedora 20 fails
https://api.github.com/repos/gpac/gpac/issues/96/comments
1
2015-04-07T05:04:12Z
2015-09-05T11:15:17Z
https://github.com/gpac/gpac/issues/96
66,776,073
96
[ "gpac", "gpac" ]
When muxing an SRT subtitle file (as well as additional audio/video tracks) using MP4Box, the end time of the last subtitle gets corrupted/changed. When demuxing the created MP4 file again, the end time of the last subtitle turns out to be the same as the end time of the second-to-last subtitle (making the duration of the last subtitle negative). During playback (for example in MPC HC) this leads to the last subtitle being shown from its start until the end of the video, which is quite irritating. The current version as well as several others before it are affected by this problem. I eventually found a very old version (0.4.6 from 2010) which does not exhibit this problem, so it seems to have been introduced in a version after that.
MP4Box muxing corrupts end time of last subtitle
https://api.github.com/repos/gpac/gpac/issues/95/comments
13
2015-04-04T19:15:57Z
2015-09-15T13:03:05Z
https://github.com/gpac/gpac/issues/95
66,354,961
95
[ "gpac", "gpac" ]
Hi Jean, I see you closed issue #78, but there is definitely some confusion here. I refer to TYPE="STATIC" MPDs (NOT Type="Dynamic") using SEGMENT TEMPLATE under a LIVE profile. These should these have 'lmsg' brand. They are STATIC so no MPD update can add any further segments. We KNOW that this is the last segment! The DASH Validator complains that they should be present as brand in last segment.
'lmsg' in STATIC MPDs with LIVE profiles.
https://api.github.com/repos/gpac/gpac/issues/93/comments
11
2015-04-02T18:14:07Z
2015-04-08T06:21:12Z
https://github.com/gpac/gpac/issues/93
65,981,709
93
[ "gpac", "gpac" ]
It seems some regression occured: on Mac or on Android, seek does not work on an hls test stream. Tested with http://download.tsi.telecom-paristech.fr/gpac/latest_builds/macosx_64/gpac-0.5.2-DEV-rev222-g0c09541-master.dmg Hitting the progress bar in the middle stops the streams for half a second and the stream restart from the same point.
[HLS] seek is not working anymore
https://api.github.com/repos/gpac/gpac/issues/89/comments
2
2015-04-01T13:45:55Z
2015-04-15T08:13:21Z
https://github.com/gpac/gpac/issues/89
65,688,003
89
[ "gpac", "gpac" ]
It would be nice to have a bit of documentation on when it is allowed to call gf_term_disconnect() && gf_term_del() and from which threads. On android, the application can be shutdown at anytime so I need this information to handle correct cleanup of gpac memory. Thanks,
Cleanup routine.
https://api.github.com/repos/gpac/gpac/issues/87/comments
6
2015-03-31T13:35:13Z
2020-09-04T08:12:33Z
https://github.com/gpac/gpac/issues/87
65,452,292
87
[ "gpac", "gpac" ]
I am trying to get the Segments to write to sub-directories when using -url-template addressing scheme, so that each representation's segment files are in different directories: I have tried several combinations such as: -segment-name $RepresentationID$\%s -segment-name $RepresentationID$\$RepresentationID$ -segment-name $RepresentationID$\$Number$ BUT even though the path looks valid, MP4Box always generates an error: [Core] system failure for file opening of out\ibeani_i2\ibeani_i2_track1_.mp4 in mode w+b: 0x00000003 I wish to generate in the MPD: <SegmentTemplate media="$RepresentationID$/ibeani_i2_track1_$Number$.m4s" ...> Does MP4Box not allow for sub-directories? Do all files of all representations have to be in the same folder? OR am I doing something wrong???
Dashed Segments in sub-directories for each Representation using MP4Box?
https://api.github.com/repos/gpac/gpac/issues/84/comments
11
2015-03-29T11:16:58Z
2015-04-28T15:14:41Z
https://github.com/gpac/gpac/issues/84
65,051,220
84
[ "gpac", "gpac" ]
I am sure that you already know, but MP4Box is now only creating the first segment only when DASHing files. e.g. an init segment and the first segment (e.g. the first 8 second segment of a 54 second file). No subsequent segments are being generated! It was working perfectly previously, something get broken in the code in the last day or so, you may want to work backwards through the commits and track it down....
MP4Box currently broken - only the first segment is being generated.
https://api.github.com/repos/gpac/gpac/issues/82/comments
5
2015-03-26T19:37:00Z
2015-03-27T14:03:33Z
https://github.com/gpac/gpac/issues/82
64,615,916
82
[ "gpac", "gpac" ]
Is there a way to specify interleaving when splitting a file? I have a problem that splitted files trigger a bug in Chromium when played back in an HTML5 video-tag. The file is split like that: `$ MP4Box -splits 250000 file.mp4` When i remux the splitted files afterwards with: `$ MP4Box -inter 500 file_001.mp4` the bug is not triggered. So, i guess the splitted files are not interleaved in a nice way which is the default in other commands. Is there a way to do this in one command?
split with interleaving
https://api.github.com/repos/gpac/gpac/issues/81/comments
6
2015-03-26T18:48:00Z
2015-04-03T09:57:39Z
https://github.com/gpac/gpac/issues/81
64,605,508
81
[ "gpac", "gpac" ]
Commit 1e09acb2340e1ad82118187e133732b3e6a4c5d2 added a call to reset_attributes() in gf_m3u8_parse_sub_playlist() when encountering a new subplaylist. This should not be the case as attributes are cumulative, they should be reused for each subplaylist I think. @jeanlf, any idea why that call was added ?
[HLS] Attributes are reseted at each new sub playlist.
https://api.github.com/repos/gpac/gpac/issues/80/comments
2
2015-03-26T16:57:46Z
2015-03-31T06:04:59Z
https://github.com/gpac/gpac/issues/80
64,581,920
80
[ "gpac", "gpac" ]
Just one request please. Could you please add an extra decimal place (so, 3 decimal places) to the MPD figures shown for: mediaPresentationDuration="PT0H0M54.78S" maxSegmentDuration="PT0H0M8.00S" Period duration="PT0H0M54.78S" Note, you seem to include 6 decimal places i.e. minBufferTime="PT1.500000S" mp4Box obviously requests its SEGMENT times in Milliseconds (so it would be much better to record 3 decimal places in the Duration times recorded in the MPD. And Milliseconds seems fairly standard across the industry. The regulations for the format actually allow for any number of Decimal Places. See:- http://en.wikipedia.org/wiki/ISO_8601#Durations which states: There is no limit on the number of decimal places for the decimal fraction. Would that be OK, could these figures be recorded as 3 decimal places please? I have pre-checked and 3 decimal places plays and conforms just fine too. Richard.
3 decimal places (milliseconds) written to MP4Box Dashed MPD file 'DURATIONS' please
https://api.github.com/repos/gpac/gpac/issues/79/comments
2
2015-03-26T10:37:10Z
2015-03-26T19:55:05Z
https://github.com/gpac/gpac/issues/79
64,492,501
79
[ "gpac", "gpac" ]
Is it possible for MP4Box to write 'lmsg' as the brand to last segment in a stream whilst DASHing? (as required by DASH Conformance).
'lmsg' written as brand to last segment
https://api.github.com/repos/gpac/gpac/issues/78/comments
3
2015-03-26T10:31:34Z
2015-04-02T17:15:26Z
https://github.com/gpac/gpac/issues/78
64,491,524
78
[ "gpac", "gpac" ]
The installers are ordered in a weird fashion the [night build download page](http://gpac.io/downloads/gpac-nightly-builds/) and the link for the latest does not point to the latest build.
Out-of-order installers on nightly build download page
https://api.github.com/repos/gpac/gpac/issues/77/comments
1
2015-03-23T15:26:52Z
2015-03-27T09:08:14Z
https://github.com/gpac/gpac/issues/77
63,751,033
77
[ "gpac", "gpac" ]
This issue is to discuss strategies for DASHing TTML content in MP4. For bug reports on GPAC when dashing or playing such content, file separate issues. Starting the discussion with a response to the comment https://github.com/gpac/gpac/issues/57#issuecomment-83944808. @nigelmegitt noted "Note that a `<p>` in TTML is not necessarily the same as a subtitle, and multiple `<p>`s in the same document are permitted with exactly the same, or overlapping, or non-overlapping timings. As @cconcolato pointed out, EBU-TT-D does permit overlapping paragraphs." Agreed, but for a while let's keep things simple and assume no overlap. @nigelmegitt wrote: "@cconcolato In your example of one sample for an hour long programme but segments of 1 minute, I wasn't aware that this is possible in DASH." I don't think there is any restriction in DASH regarding the duration of segments vs. the duration of samples. I don't think having the segment duration shorter than the sample duration was ever considered as it does not make sense for audio and video. For subtitling, we have to tackle the question. "Segments may contain one or more samples, right?" Yes "Are you suggesting that the samples are duplicated across multiple segments?" They could. "Or that the URL for the sample in each segment is in fact the same URL?" That could be possible too. Producing such content would be more tricky as you'd have to detect that the content is the same. "I did not envisage that anyone would want to do that, and I don't see why they would - there's no reason not to create a single 1 hour segment for the subtitle Representation is there?" I would agree with you in that extreme case. Now, at a finer scale, if a document is stored in a sample and you have to add a segment boundary in the middle of that sample (for instance because the segment durations are advertised in the MPD with an approximately constant duration), the sample has to be duplicated in the next segment. "When it comes to setting a redundant flag, I can see how your example would work @cconcolato but only if the sample content is identical." Yes. "I got the impression before that @rbouqueau was thinking of setting it if some part of the two samples is the same even if some other parts are not." If that's the case, then that would be a bug in MP4Box, but I don't think it is. Regarding your 5x18s example, I agree with your analysis on how samples/segments could be created. Note that while editing the times in the sample content should provide the same result as not editing them, in practice, the edited version would require terminating the rendering of the previous sample and loading/rendering the new one. That might introduce glitches. The redundant flag is a better option I think.
Dashing TTML content in MP4
https://api.github.com/repos/gpac/gpac/issues/76/comments
7
2015-03-20T14:51:42Z
2015-10-24T13:42:37Z
https://github.com/gpac/gpac/issues/76
63,242,249
76
[ "gpac", "gpac" ]
When I try to dash with the following command lines, I obtain the following error: - MP4Box -dash 10000 -frag 5000 -profile dashavc264:onDemand -rap counter_video_720.mp4 counter_audio.mp4 subtitles-10m-random-length.mp4 -out manifest - MP4Box -dash 20000 -frag 10000 -profile dashavc264:onDemand -rap counter_video_720.mp4 counter_audio.mp4 subtitles-10m-random-length.mp4 -out manifest - (same command lines for all profiles) ``` ERROR at generation: Assertion failed: (defaultDuration), function gf_media_isom_segment_file, file media_tools/dash_segmenter.c, line 1357. Abort trap: 6 ``` Sources are here: https://github.com/SoleneBuet/dash-subtitling_testings/tree/master/Sources Subtitles are EBU-TT-D documents.
"ERROR at generation" when dashing
https://api.github.com/repos/gpac/gpac/issues/75/comments
0
2015-03-20T14:36:18Z
2015-03-23T14:33:12Z
https://github.com/gpac/gpac/issues/75
63,239,901
75
[ "gpac", "gpac" ]
I tried creating a DASH video with dashavc264:live profile using time based segment addressing scheme but in the MPD the media attribute value of SegmentTemplate element becomes something that is not expected. Basically, the command line to create the DASH video is the following: `mp4box.exe -dash 10000 -rap -sample-groups-traf -profile dashavc264:live -segment-name seg_$RepresentationID$_$Time$ video.mp4 audio.mp4 -out manifest.mpd` The media attribute in the generated MPD looks like this: `media="seg_$RepresentationID$_$Time$$Number$.m4s"` What is see as the issue here is that $Number$ placeholder is also present in the template string. To me it looks like a hybrid between time based and number based addressing scheme but my goal is to create a DASH video solely with time based addressing scheme. Also, considering the fact that the $Number$ is present in the template string, the segment file names still do not include the numbers, they only include the time values. Am I doing something wrong or is there a possible defect in mp4box? Anvar
Using $Time$ in -segment-name gives weird results in manifest
https://api.github.com/repos/gpac/gpac/issues/74/comments
2
2015-03-20T14:02:42Z
2015-03-20T14:19:00Z
https://github.com/gpac/gpac/issues/74
63,233,487
74
[ "gpac", "gpac" ]
I'm using a BT file to open the camera but the video stream seems to be rotated (90deg counterclockwise) and there are horizontal green and pink lines. The pixels become all green when the camera is covered. In the portrait mode I get these lines and the camera view is not scaled properly while in the landscape mode the lines are not that visible but the pixel colors are messed up. I have attached 2 screenshots. The BT code that I'm using is: ``` Shape { appearance Appearance { texture DEF MT MovieTexture { url ["hw://camera"] } } geometry Rectangle { size 800 480 } } ``` I don't know if the issue is related to OpenGL but this is one of the messages that I get in the logs: `9372-9542/com.gpac.Osmo4 W/Adreno-ES20﹕ <process_gl_state_enables:511>: GL_INVALID_ENUM` ![screenshot_2015-03-18-15-07-46](https://cloud.githubusercontent.com/assets/2527837/6710413/cc504f46-cd80-11e4-8a0d-b7fde231497b.png) ![screenshot_2015-03-18-15-07-28](https://cloud.githubusercontent.com/assets/2527837/6710414/cc5237ca-cd80-11e4-99ff-51936d74c554.png)
[Android] Camera fail
https://api.github.com/repos/gpac/gpac/issues/71/comments
3
2015-03-18T14:10:24Z
2019-06-28T14:41:45Z
https://github.com/gpac/gpac/issues/71
62,703,481
71
[ "gpac", "gpac" ]
Regarding pull request #69, is there a way to attach custom data to a download session or to a cached file ? It would allow me to associate the key and iv of a segment to it's local copy and move the decryption at a better place. Also, could you point me to a good place where to do the decrypting ? Thanks.
Attaching info to cached segment
https://api.github.com/repos/gpac/gpac/issues/70/comments
1
2015-03-17T17:58:48Z
2019-06-28T14:27:35Z
https://github.com/gpac/gpac/issues/70
62,470,928
70
[ "gpac", "gpac" ]
I'm using MP4Box from latest GPAC git version (0.5.2-DEV-rev132-gd964e3b-master). When muxing several audio tracks, it seems only the first "-lang" arg is used. i.e.: ``` $ MP4Box -add video.hevc -lang 2=fra -add audio_fr.m4a -lang 3=eng -add audio_en.m4a -new out.mp4 IsoMedia import out.mp4 - track ID 1 - Video (size 1280 x 720) IsoMedia import out.mp4 - track ID 2 - Audio (SR 48000 - 2 channels) IsoMedia import out.mp4 - track ID 3 - Audio (SR 48000 - 2 channels) Saving out.mp4: 0.500 secs Interleaving $ ffprobe -hide_banner out.mp4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4': Metadata: major_brand : iso4 minor_version : 1 compatible_brands: iso4hvc1iso6 creation_time : 2015-03-16 14:59:40 Duration: 00:00:30.00, start: 0.021333, bitrate: 2140 kb/s Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 1962 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default) Metadata: creation_time : 2015-03-16 14:59:40 handler_name : [email protected] Stream #0:1(fra): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 86 kb/s (default) Metadata: handler_name : SoundHandler Stream #0:2(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 86 kb/s (default) Metadata: handler_name : SoundHandler ``` A workaround is to do an extra run for each lang to be tagged: ``` $ MP4Box -lang 3=eng -add out.mp4 -new out.mp4 IsoMedia import out.mp4 - track ID 1 - Video (size 1280 x 720) IsoMedia import out.mp4 - track ID 2 - Audio (SR 48000 - 2 channels) IsoMedia import out.mp4 - track ID 3 - Audio (SR 48000 - 2 channels) Saving out.mp4: 0.500 secs Interleaving $ ffprobe -hide_banner out.mp4 ... Stream #0:1(fra): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 86 kb/s (default) ... Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 86 kb/s (default) ... ```
Can't set several lang tag at once when muxing
https://api.github.com/repos/gpac/gpac/issues/68/comments
2
2015-03-16T15:07:18Z
2015-03-16T15:56:34Z
https://github.com/gpac/gpac/issues/68
62,109,068
68
[ "gpac", "gpac" ]
The reference HLS stream freezes after 20s on the lastest osmo4-0.5.2-DEV-rev128-gd792da9-master-stagefright.apk http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8 Last logs : I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU PCE shall be the first element in a frame I/GPAC_WRAPPER(16457): Rebuilding methods for thread 1969997840 I/GPAC_WRAPPER(16457): Getting current Thread 1969997840... I/GPAC_WRAPPER(16457): Getting current Thread DONE = 0x73ddc520, now registering before exit... I/GPAC_WRAPPER(16457): Registering DONE for 1969997840 I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU Bitstream value not allowed by specification I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU Invalid number of channels I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU Invalid number of channels I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU Bitstream value not allowed by specification D/GPAC_WRAPPER(16457): GPAC_EventProc() Message=108 D/GPAC_WRAPPER(16457): GPAC_EventProc() Message=108 I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU Bitstream value not allowed by specification I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU Bitstream value not allowed by specification I/GF_LOG_CODEC(16457): [FAAD] Error decoding AU Channel coupling not yet implemented
[Android] Stream from apple freeze after 20 s
https://api.github.com/repos/gpac/gpac/issues/67/comments
10
2015-03-16T11:57:03Z
2015-08-26T12:41:53Z
https://github.com/gpac/gpac/issues/67
62,056,480
67
[ "gpac", "gpac" ]
From the DASH-AVC/264 IOP 2.00: ``` If the MPD@type is equal to "static" and the MPD@profiles attribute includes "urn:mpeg:dash:profile:isoff-on-demand:2011" then *􏰁 AdaptationSet elements with AdaptationSet@subsegmentAlignment not present, or set to 'false' may be ignored. 􏰁* Representation elements with a @subsegmentStartsWithSAP value ab-sent, zero or greater than 2 may be ignored. *􏰁 If the Representation element does not contain a BaseURL element then this Representation element may be ignored. ``` I'm using the following options: `MP4Box -dash 4000 -profile dashavc264:onDemand video.mp4 video_180.mp4 audio.mp4 -out out/dash` The resulting MPD does not include the `@subsegmentAlignment` and `subsegmentStartsWithSAP` attributes, which allows a client to ignore them per the spec. The resulting MPD is: ``` xml <?xml version="1.0"?> <!-- MPD file Generated with GPAC version 0.5.2-DEV-rev128-gd792da9-master on 2015-03-16T09:44:20Z--> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500000S" type="static" mediaPresentationDuration="PT0H14M48.03S" maxSegmentDuration="PT0H0M4.00S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011, http://dashif.org/guildelines/dash264"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>out/dash.mpd generated by GPAC</Title> </ProgramInformation> <Period duration="PT0H14M48.03S"> <AdaptationSet segmentAlignment="true" maxWidth="640" maxHeight="360" maxFrameRate="24" par="16:9" lang="und"> <Representation id="1" mimeType="video/mp4" codecs="avc1.42c01f" width="640" height="360" frameRate="24" sar="540:409" startWithSAP="1" bandwidth="978613"> <BaseURL>video_dashinit.mp4</BaseURL> <SegmentBase indexRangeExact="true" indexRange="935-3630"> <Initialization range="0-934"/> </SegmentBase> </Representation> <Representation id="2" mimeType="video/mp4" codecs="avc1.42c01f" width="320" height="180" frameRate="24" sar="540:409" startWithSAP="1" bandwidth="487754"> <BaseURL>video_180_dashinit.mp4</BaseURL> <SegmentBase indexRangeExact="true" indexRange="935-3630"> <Initialization range="0-934"/> </SegmentBase> </Representation> </AdaptationSet> <AdaptationSet segmentAlignment="true" lang="eng"> <Representation id="3" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="48000" startWithSAP="1" bandwidth="129952"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <BaseURL>audio_dashinit.mp4</BaseURL> <SegmentBase indexRangeExact="true" indexRange="851-3558"> <Initialization range="0-850"/> </SegmentBase> </Representation> </AdaptationSet> </Period> </MPD> ```
DASH-AVC/264 profile does not include @subsegmentAlignment and @subsegmentStartsWithSAP
https://api.github.com/repos/gpac/gpac/issues/65/comments
9
2015-03-16T09:46:38Z
2015-03-17T09:02:51Z
https://github.com/gpac/gpac/issues/65
62,027,942
65
[ "gpac", "gpac" ]
mp4box seems to have a BUG when creating DASH files containing aacplus/sbr audio. You can download my source file from this link: http//living.tv/mob/ibeani_i4.mp4 This is an MP4 video containing aacplus/sbr (HEAAC+1) file. It is strict 4 second keyframes. We have been successfully streaming a copy of this file via Akamai, using in-the-network segmentation to HDS, HLS, etc... We are sure the file is fine! But through mp4box:- - if we process the file directly we get an audio codec reported incorrectly in the MPD file as codec 'mp4a.40.2' (which is LC-AAC). The dash file still plays fine in IE11 Win8.1 through dash.js and through the Dash Reference Player, but it does not play in Chrome 41.0.2272.76 (desktop). Chrome does nothing. But interestingly, if I manually amend the MPD with a text editor to audio codec 'mp4a.40.5' (which is HE-AAC v1) then it now plays in Chrome too. BUT I also note that mediainfo reports the audio_init.mp4 file as LC-AAC (where I note it reports other AAC+1 files correctly). So, I fear I'm getting a loss in quality here. - I have then tried (both native and raw methods) of using the mp4box -sbr flag to force AAC+1 handling. It then correctly reports the 'mp4a.40.5' codec in the MPD file, but the DASHed audio segments are split into twice as many segments as the video segments and playback at half/double the rate of the video. I suspect mp4box is not handling the sampling rate correctly, and not sure why it's creating twice as many files as expected. I also recall a similar post a few weeks ago relating to incorrect mp4box audio sample rate for android. I have tried everything, but cannot find a solution. I am sure this is a BUG. I would happily talk through my attempts and methods, but wonder if you can confirm and replicate this error.
mp4box bug when creating DASH files containing aacplus/sbr audio
https://api.github.com/repos/gpac/gpac/issues/62/comments
27
2015-03-11T02:14:03Z
2015-03-26T10:49:17Z
https://github.com/gpac/gpac/issues/62
60,599,887
62
[ "gpac", "gpac" ]
mp4box writes files to the temp dir using filenames such as gpac_00302fa0.tmp, these files are large and remain after mp4box terminates, what's interesting is it happens only when mp4box is executed by a GUI such as StaxRip or MeGUI.
temp directory not being cleaned up
https://api.github.com/repos/gpac/gpac/issues/61/comments
11
2015-03-10T16:14:25Z
2015-09-15T19:02:32Z
https://github.com/gpac/gpac/issues/61
60,525,415
61
[ "gpac", "gpac" ]
Hi, When I try to run MP42TS on the last GPAC version with : _./bin/gcc/MP42TS -src ~/Downloads/Burn.mp4 -dst-rtp 234.0.0.10:50004_ I've got a segfault just after the little "waiting time" (buffering?). I run **gdb** with : _gdb -arg ./bin/gcc/MP42TS -src ~/Downloads/Burn.mp4 -dst-rtp 234.0.0.10:50004_ The backtrace shows this : - 0x00007ffff6f308f4 in pthread_mutex_lock () from /usr/lib/libpthread.so.0* - 0x00007ffff7a06706 in ?? () from /usr/local/lib/libgpac.so.4* - 0x00007ffff7a16f10 in gf_m2ts_mux_process () from /usr/local/lib/libgpac.so.4* - 0x0000000000405940 in main ()* I have the libpthread v. 2.21. Does anyones have any informations about this?
Segfault on Archlinux
https://api.github.com/repos/gpac/gpac/issues/60/comments
11
2015-03-10T12:31:18Z
2016-03-04T09:50:16Z
https://github.com/gpac/gpac/issues/60
60,492,119
60
[ "gpac", "gpac" ]
The steps to produce this bug: 1. git clone https://github.com/gpac/gpac.git 2. cd gpac 3. ./configure 4. make 5 sudo make install 6. MP4Box -dash-live 4000 -out final.mp4 -dash-profile live -mpd-refresh 100000 -min-buffer 4000 -segment-name pigeon pigeon.mp4 // assume you have pigeon.mp4 file in current directly Live DASH-ing - press 'q' to quit, 's' to save context and quit Segmentation fault (core dumpped) My environment is ubuntu14.04
Segmentation fault when using MP4Box
https://api.github.com/repos/gpac/gpac/issues/58/comments
2
2015-03-09T07:09:57Z
2015-03-10T10:06:00Z
https://github.com/gpac/gpac/issues/58
60,306,443
58
[ "gpac", "gpac" ]
According to https://github.com/Dash-Industry-Forum/dash.js/pull/451#issuecomment-77375968 we have a bug when packaging TTML in MP4 in some cases.
wrong tfhd value and duplicate subtitle
https://api.github.com/repos/gpac/gpac/issues/57/comments
40
2015-03-06T07:52:12Z
2015-03-23T11:41:46Z
https://github.com/gpac/gpac/issues/57
60,070,352
57
[ "gpac", "gpac" ]
Mediainfo "test.mp4": ``` Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : [email protected] Format settings, CABAC : No Format settings, ReFrames : 1 frame Codec ID : avc1 ... Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 ... Other ID : 3 Type : Time code Format : QuickTime TC Duration : 5mn 30s Time code of first frame : 10:38:29:13 Time code settings : Striped Language : English Encoded date : UTC 2010-11-03 02:29:42 Tagged date : UTC 2010-11-03 02:29:42 ``` ``` test@labptop:~/$ MP42TS -src test.mp4 -dst-rtp 234.0.0.10:50004 Erreur de segmentation ``` Seems like the stream with ID 3 cause a problem in the file "isomedia/box_code_base.c" at line 6495. This patch solve the problem but not sure that it will not cause other problem. ``` if (gf_bs_available(bs)) { u64 pos = gf_bs_get_position(bs); //try to parse as boxes GF_Err e = gf_isom_read_box_list((GF_Box *) genm, bs, mp4s_AddBox); - if (e) { + if (e >= GF_OK) { gf_bs_seek(bs, pos); genm->data_size = (u32) gf_bs_available(bs); if (genm->data_size) { ```
Segfault with special stream
https://api.github.com/repos/gpac/gpac/issues/55/comments
4
2015-03-05T12:16:14Z
2016-03-04T09:50:36Z
https://github.com/gpac/gpac/issues/55
59,943,889
55
[ "gpac", "gpac" ]
Hello, When starting with the minimum bandwidth representation, GPAC plays the audio stream only. I'd like it to start with the minimum bandwidth repersentation with both audio _and_ video. I know about GF_NET_SERVICE_QUALITY_QUERY and GF_NET_SERVICE_QUALITY_SWITCH command but when can I call them ? Also how to detect which representation is the one with lowest bandwidth and both audio and video ? And finally, how to make sure that if bandwidth decrease, GPAC won't switch to the audio only representation ? It seems that for my streams, the quality_ranking is always 0. Thanks!
[HLS/DASH] How to avoid displaying audio only representation
https://api.github.com/repos/gpac/gpac/issues/54/comments
1
2015-02-24T10:12:42Z
2016-10-09T22:23:28Z
https://github.com/gpac/gpac/issues/54
58,717,758
54
[ "gpac", "gpac" ]
When playing a stream on Android, it freezes after some time for about 30 seconds then starts again. I cannot reproduce it on PC and I cannot reproduce it on the Osmo4Android build because of issue 46. It might be a kind of race condition as it's harder to reproduce when activating logs and easier to reproduce with GF_TERM_NO_DECODER_THREAD. Note that on Android, its using GF_TERM_NO_COMPOSITOR_THREAD as its the jvm thread that's doing the blitting. Here are links to two traces: https://www.dropbox.com/s/3v0kvv4y6lfxsx5/gpac-log-before.gz?dl=0, https://www.dropbox.com/s/yl1dm2kp938ikvb/gpac-log-after.gz?dl=0. In the before trace, at the end the problem is happening. You can see that there are no more ffmpeg decoder traces. In the after traces the first ffmpeg traces are where the stream started playing again.
[Android] Stream freeze at seemingly random times.
https://api.github.com/repos/gpac/gpac/issues/53/comments
1
2015-02-24T09:16:51Z
2015-03-31T14:35:35Z
https://github.com/gpac/gpac/issues/53
58,711,763
53
[ "gpac", "gpac" ]
This is a feature request rather than a bug, but it would be very useful if MP4Client could output the data to stdout rather than direct to the audio/visual hardware. While I'm sure many developers/users would find this useful for chaining the output to other commands, my specific use would be to allow playback of MPEG-DASH streams within the squeezebox music system. There is a plugin which will play simple DASH streams created by MP4Box using vlc to handle the transcoding (see https://github.com/Mac0z/playDASH) but this cannot handle more complex streams such as the BBC's test MPEG-DASH feed (http://rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-audio.mpd) which MP4Client handles perfectly.
Request: MP4Client to output to stdout
https://api.github.com/repos/gpac/gpac/issues/52/comments
3
2015-02-23T12:09:18Z
2019-06-28T14:24:02Z
https://github.com/gpac/gpac/issues/52
58,577,721
52
[ "gpac", "gpac" ]
Sorry for the long title. I created a MPD like this: ``` MP4Box -dash 30000 ~/Videos/Lifting_Off_4K.ts ~/Videos/Lifting_Off.1080p.ts \ ~/Videos/Lifting_Off.360p.ts -out lifting-off.mpd \ -profile 'dashavc264:onDemand' ``` And it created 3 representations like this: ``` <Representation id="1" mimeType="video/mp2t" width="3840" height="2160" audioSamplingRate="48000" codecs="avc1.640033,mp4a.40.02" startWithSAP="1" bandwidth="24527754"> <BaseURL>Lifting_Off_4K_dash1.ts</BaseURL> <SegmentBase> <RepresentationIndex sourceURL="Lifting_Off_4K_dash.six"/> </SegmentBase> </Representation> ``` If I'm reading this correctly, the MPD is saying that the index is at `Lifting_Off_4K_dash1.ts/Lifting_Off_4K_dash.six`. I don't see any special cases for when `<BaseURL>` is a file, so I think MP4Box is wrong here.
MPD for single-file representation uses <SegmentBase> for media file and <RepresentationIndex> is broken because <SegmentBase> isn't a folder
https://api.github.com/repos/gpac/gpac/issues/51/comments
3
2015-02-10T00:48:27Z
2015-02-10T01:44:19Z
https://github.com/gpac/gpac/issues/51
57,114,154
51
[ "gpac", "gpac" ]
... then it plays back as fast as possible to catch up with live!
MP4Client retains frame when being minimized
https://api.github.com/repos/gpac/gpac/issues/50/comments
0
2015-02-02T19:18:21Z
2015-02-11T17:14:41Z
https://github.com/gpac/gpac/issues/50
56,280,020
50
[ "gpac", "gpac" ]
May be related to #45 What's the best way to proceed?
Can't load FFmpeg on the latest Android official APK
https://api.github.com/repos/gpac/gpac/issues/49/comments
1
2015-02-02T17:59:25Z
2015-02-05T12:42:51Z
https://github.com/gpac/gpac/issues/49
56,270,178
49
[ "gpac", "gpac" ]
When dashing a EBU-TT-D subtitle track, the generated MPD seems to have the wrong value for the mime type minetype="video/mp4" <Representation id="sub" mimeType="video/mp4" codecs="stpp" startWithSAP="1" bandwidth="9212"> The DVB spec: 7 DASH Specific Aspects for Subtitles , The signalling of subtitling codecs for the codec parameter uses RFC6381 [6] as shown in the Table 10: minetype=application/mp4
MP4Box: TTML (EBU-TT-D) mimeType looks wrong
https://api.github.com/repos/gpac/gpac/issues/48/comments
11
2015-02-02T16:56:56Z
2018-09-14T15:27:17Z
https://github.com/gpac/gpac/issues/48
56,262,036
48
[ "gpac", "gpac" ]
There are some possible bugs hidden in the confusion between track numbers and track IDs. Track IDs are from the specification while track numbers are GPAC's internals. Having a stronger type for each of them would certainly raise interesting warnings.
Use enum types for trackNum and trackId
https://api.github.com/repos/gpac/gpac/issues/47/comments
1
2015-02-02T11:27:58Z
2019-07-07T18:17:55Z
https://github.com/gpac/gpac/issues/47
56,224,978
47
[ "gpac", "gpac" ]
Commit 5fccaca14a3f653f9a49981707675a72d42d4ff4 "More fixes on AVI audio dumping and misc fixes" breaks playing on android, Audio is stuttering and playing http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4, it skips after some seconds right to the end.
Commit "More fixes on AVI audio dumping and misc fixes" breaks playing on Android
https://api.github.com/repos/gpac/gpac/issues/46/comments
10
2015-02-02T09:41:50Z
2015-03-31T14:35:45Z
https://github.com/gpac/gpac/issues/46
56,214,396
46
[ "gpac", "gpac" ]
When playing some streams on Android, the audio is not played at the right sampling rate. In function ``` c static GF_Err WAV_QueryOutputSampleRate(GF_AudioOutput *dr, u32 *desired_samplerate, u32 *NbChannels, u32 *nbBitsPerSample) ``` in modules/droid_audio/droid_audio.c, the desired_samplerate is argument is 24000 where the actual stream's sample rate is 48000.
[Android] Some streams are played at 24000
https://api.github.com/repos/gpac/gpac/issues/45/comments
8
2015-01-26T14:58:31Z
2015-03-18T18:57:26Z
https://github.com/gpac/gpac/issues/45
55,491,446
45
[ "gpac", "gpac" ]
When trying to play a dash stream where the sub-stream URLs contains parameters like http://foo.com/my/stream.ts?foo=bar&baz=bar, the ?foo=bar&baz=bar part is dropped due to the code at line 673 of src/media_tools/m3u8.c: ``` c char *fullURL = strstr(currentLine, "?"); if (fullURL) { /*some URL contains garbage after the filename*/ size_t len = fullURL-currentLine; fullURL = gf_malloc(len+1); strncpy(fullURL, currentLine, len); fullURL[len] = '\0'; } else { fullURL = currentLine; } ``` Using only ``` c fullURL = currentLine; ``` fixes the problem.
[DASH] When constructing sub-stream URLs, the ?... part of the URL is dropped
https://api.github.com/repos/gpac/gpac/issues/44/comments
2
2015-01-26T14:40:05Z
2015-01-30T18:45:31Z
https://github.com/gpac/gpac/issues/44
55,489,245
44
[ "gpac", "gpac" ]
When trying to play a dash stream, if the http servers reply with an HTTP redirect when fetching the m3u8 play list, the sub-stream URLs are constructed using the original URL instead of the redirected one. This ugly patch fixes the problem but I suppose you'd want something cleaner. ``` c --- a/src/media_tools/dash_client.c +++ b/src/media_tools/dash_client.c @@ -4285,3 +4285,3 @@ GF_Err gf_dash_open(GF_DashClient *dash, const char *manifest_url) } else { - gf_m3u8_to_mpd(local_url, manifest_url, NULL, dash->reload_count, dash->mimeTypeForM3U8Segments, 0, M3U8_TO_MPD_USE_TEMPLATE, &dash->getter); + gf_m3u8_to_mpd(local_url, dash->base_url /* manifest_url */, NULL, dash->reload_count, dash->mimeTypeForM3U8Segments, 0, M3U8_TO_MPD_USE_TEMPLATE, &dash->getter); } --- a/src/media_tools/m3u8.c +++ b/src/media_tools/m3u8.c @@ -698,5 +698,16 @@ GF_Err declare_sub_playlist(char *currentLine, const char *baseURL, s_accumulate char *currFullURL = fullURL; - fullURL = gf_url_concatenate(baseURL, currFullURL); + char *b = strstr(baseURL, "?"); + char *tmp; + if (b) { + tmp = gf_malloc(b - baseURL + 1); + strncpy(tmp, baseURL, b - baseURL); + tmp[b - baseURL] = 0; + } else { + tmp = strdup(baseURL); + } + fullURL = gf_url_concatenate(tmp, currFullURL); + if (currFullURL != currentLine) gf_free(currFullURL); + gf_free(tmp); } ```
[DASH] Streams URL not constructed correctly when receiving HTTP redirect
https://api.github.com/repos/gpac/gpac/issues/43/comments
1
2015-01-26T14:34:34Z
2015-01-30T17:55:44Z
https://github.com/gpac/gpac/issues/43
55,488,597
43
[ "gpac", "gpac" ]
Hi! At this moment, MP4Box allows to specify only specific DASH profiles (the `-profile` option). But DASH-IF IOP mentions (in section 1) that content authors may signal the specific subset of DASH-IF IOP. As far as I know (correct me if I'm wrong), the only thing that is needed is to be able to specify custom extension identifiers (Table 1) in MPD@profiles, which will describe the actual media. Right now, MP4Box uses generic "http://dashif.org/guildelines/dash264" for the DASH-264/AVC case, for example. But it would be nice if it would be possible to specify custom identifiers, like "http://dashif.org/guidelines/dashif#sd", for example. Perhaps, there could be another option added to MP4Box for that purpose. Maybe something like `-profile-extension`, or anything like that. So, the idea is that you still have to specify the `-profile`, but if you want another identifier, then you additionally specify it in the `-profile-extension`.
[DASH] Add the way to specify custom DASH profiles / interoperability points / extensions.
https://api.github.com/repos/gpac/gpac/issues/42/comments
1
2015-01-25T09:52:03Z
2015-04-27T12:40:40Z
https://github.com/gpac/gpac/issues/42
55,407,825
42
[ "gpac", "gpac" ]
Hi! While creating DASH HEVC media according to DASH-IF IOP guidelines (I'm using the publicly available version v2.9, which is a draft of soon to be released v3.0 (http://dashif.org/w/2014/08/DASH-IF-IOP-v2.90.pdf), I noticed that MP4Box knows only about DASH and DASH-264/AVC profiles (at least that's what I see in `mp4box -h dash` (`-profile` option)). Since HEVC is now also the part of DASH-IF IOP, it would be nice to have additional profiles for it. Perhaps, something similar to DASH-264/AVC, for example: "dashevc265:onDemand" and "dashevc265:live".
[DASH] Add missing DASH-IF IOP profiles.
https://api.github.com/repos/gpac/gpac/issues/41/comments
3
2015-01-25T09:32:12Z
2015-06-30T19:13:18Z
https://github.com/gpac/gpac/issues/41
55,407,153
41
[ "gpac", "gpac" ]
Hi! I noticed that MP4Box (GPAC rev 5612, 64-bit, Windows), when importing raw .h265 into .mp4, shows this error: > CMD> mp4box -add 720p.h265 720p.mp4 > [Importer] Unknown input file type for "720p.h265" > [Importer] Unknown input file type for "720p.h265" > Error importing 720p.h265: Corrupted Data in file/stream Changing the file extension from .h265 to .265 solves the issue, but by looking at other raw formats and their extensions using `CMD> mp4box -h format`, I guess the .h265 extension must be supported as well.
[HEVC] [MP4Box] Wrong error while importing raw HEVC (.h265) into .mp4.
https://api.github.com/repos/gpac/gpac/issues/39/comments
1
2015-01-18T07:36:36Z
2015-01-19T12:23:04Z
https://github.com/gpac/gpac/issues/39
54,689,300
39
[ "gpac", "gpac" ]
Hi! I noticed that MP4Box (GPAC rev 5612, 64-bit, Windows) doesn't show that it can HEVC. So, when doing `CMD> mp4box -h format`, the list doesn't contain anything about HEVC. I faced with this problem when I was trying to work with a .h265 file. MP4Box was reporting me that the file is corrupted (#39). It was surprising to me, since on the GPAC's web-site I saw that HEVC is supported. So, when I took a look at the supported formats, I didn't find anything related to HEVC. Although by looking at other supported formats (their extensions), I changed the extension of my file to .265, and the file was processed without any problems. So, it would be nice if `CMD> mp4box -h format` would show that HEVC is supported, and which its extensions are known. And one more thing related to this issue: the section header for supported raw formats and header has too many "p"-s in the word "supported".
[HEVC] [MP4Box] Supported raw formats don't mention HEVC.
https://api.github.com/repos/gpac/gpac/issues/38/comments
1
2015-01-18T07:29:49Z
2015-01-19T12:22:53Z
https://github.com/gpac/gpac/issues/38
54,689,190
38
[ "gpac", "gpac" ]
Hi Does DashCast support the $Time$ token, for file segments names and for the SegmentTemplate. MP4Box has a -segment-name option, but can find anything like this for DashCast. Thanks
DashCast $Time$ token
https://api.github.com/repos/gpac/gpac/issues/37/comments
3
2015-01-16T11:40:38Z
2019-06-28T13:46:21Z
https://github.com/gpac/gpac/issues/37
54,566,630
37
[ "gpac", "gpac" ]
Sorry about the long title. In 6.4.6.3 Representation Index Segment: > The Segment Index for each Media Segments is concatenated in order, preceded by a single > Segment Index box that indexes the Index Segment. This initial Segment Index box shall have one > entry in its loop for each Media Segment, and each entry refers to the Segment Index information for > a single Media Segment. When I use MP4Box to create a DASH stream from MPEG-TS files, the representation index doesn't start with this initial segment index box, but instead just has the segment indexes for media segments.
Representation segment index doesn't start with a segment index box which indexes the index segment
https://api.github.com/repos/gpac/gpac/issues/36/comments
5
2015-01-15T19:46:27Z
2019-06-28T13:44:23Z
https://github.com/gpac/gpac/issues/36
54,494,724
36
[ "gpac", "gpac" ]
In [the DASH spec](http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014.zip) (6.4.7.2 MPEG-2 TS PCR information box): ``` aligned(8) class MPEG2TSPCRInfoBox extends Box(‘pcrb’, 0) { unsigned int(32) subsegment_count; for( i = 1; i <= subsegment_count; i++){ unsigned int(42) pcr; unsigned int(6) pad = 0; } } ``` `pcr` + `pad` is 48 bits long, but in [`src/isomedia/box_code_base.c`](https://svn.code.sf.net/p/gpac/code/trunk/gpac/src/isomedia/box_code_base.c) functions you read and write them as 64-bit values: ``` GF_Err pcrb_Read(GF_Box *s,GF_BitStream *bs) { u32 i; GF_PcrInfoBox *ptr = (GF_PcrInfoBox*) s; ptr->subsegment_count = gf_bs_read_u32(bs); ptr->size -= 4; ptr->pcr_values = gf_malloc(sizeof(u64)*ptr->subsegment_count); for (i=0; i<ptr->subsegment_count; i++) { u64 data1 = gf_bs_read_u32(bs); u64 data2 = gf_bs_read_u32(bs); ptr->size -= 8; ptr->pcr_values[i] = (data1 << 10) | (data2 >> 22); } return GF_OK; } GF_Err pcrb_Write(GF_Box *s, GF_BitStream *bs) { GF_Err e; u32 i; GF_PcrInfoBox *ptr = (GF_PcrInfoBox*) s; e = gf_isom_box_write_header(s, bs); if (e) return e; gf_bs_write_u32(bs, ptr->subsegment_count); for (i=0; i<ptr->subsegment_count; i++ ) { u32 data1 = (u32) (ptr->pcr_values[i] >> 10); u32 data2 = (u32) ((ptr->pcr_values[i]& 0x3FF) << 22); gf_bs_write_u32(bs, data1); gf_bs_write_u32(bs, data2); } return GF_OK; } GF_Err pcrb_Size(GF_Box *s) { GF_Err e; GF_PcrInfoBox *ptr = (GF_PcrInfoBox*) s; e = gf_isom_box_get_size(s); if (e) return e; ptr->size += 4; ptr->size += ptr->subsegment_count * 8; return GF_OK; } ```
"pcr" in pcrb box is 48-bits long, but gpac reads and writes 64 bits for it
https://api.github.com/repos/gpac/gpac/issues/34/comments
1
2015-01-14T23:26:57Z
2015-01-19T12:22:00Z
https://github.com/gpac/gpac/issues/34
54,392,265
34
[ "gpac", "gpac" ]
I am still trying to convince my camera to replay an .MP4 file it recorded which I then re-muxed with MP4Box (as mentioned in issues #28 and #29 ). It seems that the one relevant remaining difference between the original and the re-muxed file is that the original contains a "udta" atom inside the "moov" section (hex "00 01 00 00 75 64 74 61" + 65528 bytes of data) that contains some camera vendor specific stuff, I can see the camera model name in there as well as a JFIF preview-image of the video. Now I wonder: Is there a feature available in MP4Box to insert such an "udta" atom into the "moov" section of the output file? If not, could one be implemented? (Just copying a blob from some binary input file into the "udta" atom should be sufficient.)
Can MP4Box write "udta" atoms into the "moov" section?
https://api.github.com/repos/gpac/gpac/issues/33/comments
5
2015-01-11T01:36:54Z
2020-06-30T08:12:21Z
https://github.com/gpac/gpac/issues/33
53,978,264
33
[ "gpac", "gpac" ]
I have an hour long video, and I noticed the last few seconds are not being played. (I am using the DASH-IF player after using mp4box to segment the video). I use the segment timeline option, so I summed up all the segment durations to be 3581 seconds, although the original video is 3575 seconds. I assume the video doesn't play to the end because the player thinks it has reached the end of the video, based on the video duration of 3575 seconds. (I verified segments up to #1917 are requested, although mp4box generated 1919 segments). If I manually edit the duration to match the sum of the segments, the video plays to the end. But that seems like such a hack to me, and is a pain if I need to fix other long videos. How can the sum of the segments exceed the video duration? Is it possible the video duration is inaccurate? I attached the generated .mpd file. (Needed to change the extension to make it uploadable). ![1_hour_dash](https://cloud.githubusercontent.com/assets/6590913/5668545/48ce09c4-9725-11e4-8e4b-16ac0191e25c.jpg)
Long videos don't play to end, due to sum of segment lengths > video duration
https://api.github.com/repos/gpac/gpac/issues/31/comments
3
2015-01-08T19:18:10Z
2015-04-08T11:38:06Z
https://github.com/gpac/gpac/issues/31
53,788,949
31
[ "gpac", "gpac" ]
I had trying install Osmo4 in my iphone5s. It just show in a small are of screen. And touch the screen the coordinates mismatched. Can you tell me how to build it for newer iphone device. Thank you
MP4Client Osmo4 dose not support newer iphone device.
https://api.github.com/repos/gpac/gpac/issues/30/comments
1
2015-01-07T08:42:04Z
2016-10-09T21:55:18Z
https://github.com/gpac/gpac/issues/30
53,609,667
30
[ "gpac", "gpac" ]
(This is a followup to issue #28 - but regarding another difference between original and re-muxed file:) I try to prepare an .MP4 file such that my camera (Panasonic LX100) is willing to replay it. As an supposedly easy first attempt I tried to re-mux an existing video clip the camera recorded using MP4Box, experimenting with options such that the output file would not differ from the input file. The options that yield the "least visible difference" for the output of `MP4Box -info` for me are: ``` MP4Box -brand mp42:1 -no-iod -no-sys -add P1000457.MP4 P1000999.MP4 ``` (You can download the (3.5 MB) sample video file here: http://filebin.ca/1knlOxMESIbK/P1000457.MP4 ) After issue #28 was fixed, there is no more difference between original and re-muxed file when looking at the output of `MP4Box -info ...`. But still, the camera is unwilling to play the re-muxed file, so I looked for other relevant differences, and found one in the outputs of `MP4Box -dts P1000457.MP4` and `MP4Box -dts P1000999.MP4`: The "isLeading" flag in the MP4Box written file is set to zero for all samples, while it is set to one for many samples in the original file. First lines from the `-dts` dump of the original file: ``` #dumping track ID 1 timing: Num DTS CTS Size RAP Offset isLeading DependsOn DependedOn Redundant RAP-SampleGroup Roll-SampleGroup Roll-Distance Sample 1 DTS 0 CTS 10800 91026 1 131080 1 0 0 0 0 0 0 Sample 2 DTS 3600 CTS 3600 41698 0 222106 0 0 2 0 0 0 0 Sample 3 DTS 7200 CTS 7200 35217 0 263804 0 0 2 0 0 0 0 Sample 4 DTS 10800 CTS 21600 59639 0 299021 1 0 0 0 0 0 0 Sample 5 DTS 14400 CTS 14400 34361 0 358660 0 0 2 0 0 0 0 Sample 6 DTS 18000 CTS 18000 35938 0 393021 0 0 2 0 0 0 0 Sample 7 DTS 21600 CTS 32400 62280 0 428959 1 0 0 0 0 0 0 Sample 8 DTS 25200 CTS 25200 36409 0 491239 0 0 2 0 0 0 0 Sample 9 DTS 28800 CTS 28800 36394 0 527648 0 0 2 0 0 0 0 Sample 10 DTS 32400 CTS 43200 62392 0 564042 1 0 0 0 0 0 0 ``` First lines from the `-dts` dump of the MP4Box writte file (as cited above): ``` #dumping track ID 1 timing: Num DTS CTS Size RAP Offset isLeading DependsOn DependedOn Redundant RAP-SampleGroup Roll-SampleGroup Roll-Distance Sample 1 DTS 0 CTS 10800 91026 1 2776 0 0 0 0 0 0 0 Sample 2 DTS 3600 CTS 3600 41698 0 93802 0 0 2 0 0 0 0 Sample 3 DTS 7200 CTS 7200 35217 0 135500 0 0 2 0 0 0 0 Sample 4 DTS 10800 CTS 21600 59639 0 170717 0 0 0 0 0 0 0 Sample 5 DTS 14400 CTS 14400 34361 0 230356 0 0 2 0 0 0 0 Sample 6 DTS 18000 CTS 18000 35938 0 264717 0 0 2 0 0 0 0 Sample 7 DTS 21600 CTS 32400 62280 0 300655 0 0 0 0 0 0 0 Sample 8 DTS 25200 CTS 25200 36409 0 362935 0 0 2 0 0 0 0 Sample 9 DTS 28800 CTS 28800 36394 0 399344 0 0 2 0 0 0 0 Sample 10 DTS 32400 CTS 43200 62392 0 435738 0 0 0 0 0 0 0 ``` I guess that the different offsets might be irrelevant, but the difference in "isLeading" looks fishy, doesn't it?
"isLeading" flag set to zero for all samples when re-muxing file
https://api.github.com/repos/gpac/gpac/issues/29/comments
1
2015-01-06T22:15:20Z
2015-01-07T07:48:08Z
https://github.com/gpac/gpac/issues/29
53,570,602
29
[ "gpac", "gpac" ]
Hi, I try to prepare an .MP4 file such that my camera (Panasonic LX100) is willing to replay it. As an supposedly easy first attempt I tried to re-mux an existing video clip the camera recorded using MP4Box, experimenting with options such that the output file would not differ from the input file. The options that yield the "least visible difference" for the output of `MP4Box -info` for me are: ``` MP4Box -brand mp42:1 -no-iod -no-sys -add P1000457.MP4 P1000999.MP4 ``` (You can download the (3.5 MB) sample video file here: http://filebin.ca/1knlOxMESIbK/P1000457.MP4 ) Unluckily, the resulting file P1000999.MP4 still shows at least one significant difference: ``` * Movie Info * - Timescale 90000 - Duration 00:00:02.880 + Timescale 600 - Duration 00:00:02.880 ``` ... and this may well be the reason why the camera is unwilling to replay it. I've tried all sorts of options, including the :timescale=... and :rescale=... syntax, but nothing seems to keep MP4Box from using "Timescale 600" in the output file, as displayed under "\* Movie Info *". Is there some possibility to avoid this and use the original Timescale 90000? Or is this just a bug in MP4Box? For reference, here's the full output of "-info" for the input file: ``` MP4Box -info P1000457.MP4 * Movie Info * Timescale 90000 - Duration 00:00:02.880 2 track(s) Fragmented File: no File suitable for progressive download (moov before mdat) File Brand mp42 - version 1 Created: GMT Tue Dec 16 06:37:43 2014 Modified: GMT Tue Dec 16 06:37:43 2014 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 90000 - Media Duration 00:00:02.880 Track has 1 edit lists: track duration is 00:00:02.880 Media Info: Language "und (und)" - Type "vide:avc1" - 72 samples Visual Track layout: x=0 y=0 width=1280 height=720 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 1280 x 720 AVC Info: 1 SPS - 1 PPS - Profile High @ Level 3.1 NAL Unit length bits: 32 Pixel Aspect Ratio 1:1 - Indicated track size 1280 x 720 Chroma format 1 - Luma bit depth 8 - chroma bit depth 8 Self-synchronized Track # 2 Info - TrackID 2 - TimeScale 48000 - Media Duration 00:00:02.922 Track has 1 edit lists: track duration is 00:00:02.880 Media Info: Language "und (und)" - Type "soun:mp4a" - 137 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 ```
"Timescale 600" used regardless of content and options
https://api.github.com/repos/gpac/gpac/issues/28/comments
2
2014-12-25T00:27:31Z
2015-01-06T22:03:43Z
https://github.com/gpac/gpac/issues/28
52,841,352
28
[ "gpac", "gpac" ]
Hi! While creating DASH media using MP4Box (GPAC rev 5572), I noticed that when I don't specify the "-segment-name" parameter, and the DASH-AVC/264 live profile is used, then I get Representation.SegmentList elements in the MPD. But according to DASH-AVC/264 Interoperability Points v2.0 - "If the Representation.SegmentList is present in a Representation element then this Representation element may be ignored". And media with such MPD doesn't even work in dash.js 1.2.0. I also checked other profiles, and what I got is (format: profile - element in the Representation - playback status in dash.js 1.2.0): - dashavc264:live - SegmentList - FAIL - dashavc264:onDemand - SegmentBase - OK - live - SegmentTemplate - OK - onDemand - SegmentBase - OK So, instead of using SegmentList, SegmentTemplate (like in the "live" case, or while using the "-segment-name" parameter) must be used.
[DASH] Representation.SegmentList is not supported by DASH-AVC/264.
https://api.github.com/repos/gpac/gpac/issues/27/comments
1
2014-12-22T12:05:54Z
2015-01-06T14:23:07Z
https://github.com/gpac/gpac/issues/27
52,643,866
27
[ "gpac", "gpac" ]
Hi! While using MP4Box (GPAC rev 5572), I noticed that the AdaptationSet@lang attribute for audio streams is missing when the DASH-AVC/264 profiles are used, and a language of an audio stream is undefined. But, according to DASH-AVC/264 Interoperability Points v2.0, this attribute is mandatory - "For any Adaptation Sets with value of the @contentType="audio" the following attributes shall be present: @lang". Test media can be found here: http://1drv.ms/1AxRlrg There are 2 audio streams: 1) audio-240k.m4a - doesn't have the language "tag", so "mp4box.exe -info" reports "Media Info: Language "und (und)"". 2) audio-240k-en-US.m4a - has the language "tag" (en-US) (Media Info: Language "English (en-US)") (I used "mp4box.exe -lang en-US audio-240k-en-US.m4a" in order to set it). So, if the language is not set (the "und" case), then AdaptationSet@lang is missing. But this is wrong - this attribute must always present, and its value, in the "und" case, must be set to "und", according to 4.1 (5) of the BCP-47 (http://www.rfc-editor.org/rfc/bcp/bcp47.txt).
[DASH] AdaptationSet@lang (audio) is missing while using DASH-AVC/264 profiles.
https://api.github.com/repos/gpac/gpac/issues/26/comments
1
2014-12-22T11:37:17Z
2015-01-06T14:31:28Z
https://github.com/gpac/gpac/issues/26
52,641,973
26
[ "gpac", "gpac" ]
Hi! While using MP4Box (GPAC rev 5572), I noticed that the MPD@maxSegmentDuration attribute is missing when the DASH-AVC/264 live profile is used. According to DASH-AVC/264 Interoperability Points v2.0, this attribute is mandatory (3.2.2, page 2, lines 25 and 31) - "If the MPD@profiles attribute includes "urn:mpeg: dash:profile:isoff-live:2011", then the attribute MPD@maxSegmentDuration shall be present".
[DASH] MPD@maxSegmentDuration is missing while using DASH-AVC/264 live profile.
https://api.github.com/repos/gpac/gpac/issues/25/comments
8
2014-12-22T11:03:25Z
2015-03-02T19:57:48Z
https://github.com/gpac/gpac/issues/25
52,639,663
25
[ "gpac", "gpac" ]
Hi! I noticed that using MP4Box (GPAC rev 5572) it's possible to create muxed DASH media using DASH-AVC/264 profiles. But, as mentioned in the DASH-AVC/264 Interoperability Points v2.0, "only non-multiplexed Representations are supported, i.e. each Representation only contains a single media component" (see: Figure 7, page 16; 3.2.1, page 2, line 38). . I guess, at least a warning must be shown in this case. Test media can be found here: http://1drv.ms/1xDwuTP
[DASH] Muxed media is not supported by DASH-AVC/264.
https://api.github.com/repos/gpac/gpac/issues/24/comments
1
2014-12-22T09:36:41Z
2015-01-06T15:27:13Z
https://github.com/gpac/gpac/issues/24
52,633,350
24
[ "gpac", "gpac" ]
Hi! While creating DASH media using MP4Box (GPAC rev 5572), I noticed a warning that says "[DASH]: Couldnt merge AVC|H264 SPS from different files (same SPS ID used) - different sample descriptions will be used". Also, by looking at the code and by checking the MPD, I noticed that bitstream switching is turned off in this case: https://github.com/gpac/gpac/blob/25a10ffec1af2431a708d3b0ca4133c228cc4787/src/media_tools/dash_segmenter.c#L2437 My media consists of 2 video (v) and 1 audio (a) stream (http://1drv.ms/1xDsl27): 1.v) 360p using Constrained Baseline profile and level 3.0. 2.v) 720p using High profile and level 3.1. 1.a) AAC-LC. So, what triggers this behavior (and warning) is the fact that I'm using different codecs for different video Representations. But it seems that something is wrong here. 1) DASH-AVC/264 Interoperability Points v2.0 (and other versions) does not require Representations in one specific AdaptationSet to use the same codec. (This case is not even mentioned there.) 2) ISO/IEC 23009-1 (2nd edition) (DASH standard) also does not have such a requirement, but it additionally mentions in 4.3 that "Clients may ignore Representations that rely on codecs or other rendering technologies they do not support or that are otherwise unsuitable". In other words, only media players (Clients) must decide whether they're going to switch to specific (supported) streams. So, bitstream switching must not be disabled by default, if different codecs are used. Also, speaking of the warning itself, it seems wrong or misleading (although I must say that I don't know much about SPS NAL units). Why MP4Box is trying to merge SPSs? Since different profiles and levels are used, it should be OK that SPSs are different, isn't it? And if SPSs "couldn't be merged", then why the "same SPS ID used"?
[DASH] Bitstream switching between Representations that use different codecs.
https://api.github.com/repos/gpac/gpac/issues/23/comments
11
2014-12-22T08:59:54Z
2015-05-21T17:11:12Z
https://github.com/gpac/gpac/issues/23
52,630,874
23
[ "gpac", "gpac" ]
Hi! While creating DASH media using MP4Box (GPAC rev 5572), I noticed that sometimes invalid warnings may be shown. It looks like: > E:\Programs\GPAC>mp4box.exe -dash 10000 -frag 10000 -rap -frag-rap -profile dashavc264:live -segment-name %s- "E:\Media\Sintel\Trailer\Source\360-200k.mp4" "E:\Media\Sintel\Trailer\Source\360-350k.mp4" "E:\Media\Sintel\Trailer\Source\360-500k.mp4" "E:\Media\Sintel\Trailer\Source\audio-240k.m4a" -out "E:\Media\Sintel\Trailer\Clean\sintel.mpd" > DASH-ing files: 10.00s segments 10.00s fragments single sidx per segment > Spliting segments and fragments at GOP boundaries > [DASH] Generating MPD at time 2014-12-21T11:53:13Z > DASHing file E:\Media\Sintel\Trailer\Source\360-200k.mp4 > [DASH]: Segment duration variation is higher than the +/- 50% allowed by DASH-IF (min 2.208, max 10) - please reconsider encoding > DASHing file E:\Media\Sintel\Trailer\Source\360-350k.mp4 > [DASH]: Segment duration variation is higher than the +/- 50% allowed by DASH-IF (min 2.208, max 10) - please reconsider encoding > DASHing file E:\Media\Sintel\Trailer\Source\360-500k.mp4 > [DASH]: Segment duration variation is higher than the +/- 50% allowed by DASH-IF (min 2.208, max 10) - please reconsider encoding > DASHing file E:\Media\Sintel\Trailer\Source\audio-240k.m4a > [DASH]: Segment duration variation is higher than the +/- 50% allowed by DASH-IF (min 2.101, max 9.984) - please reconsider encoding The media that I was using can be found here: http://1drv.ms/1wRwk9A The media is using GOP equal to 2 seconds, which can be proven by looking into "*nalu.xml", "*ts.txt", "*ffmpeg.txt" and "*stats.txt" files. So, I-frames are located strictly at "FPS (24) * 2" positions. This means that "segment duration variation" can't happen. The warning (let's take the first one, for example) mentions that the minimum segment duration is 2.208, but I specified -dash 10000 (10 seconds). Knowing that GOP is constant, the only case when this may happen is the last segment, since it may contain less frames than in 1 whole segment. So, given that the video consist of 1253 frames, FPS is 24, and we're splitting it into 10 seconds segments, we get: 1253 / (24 * 10) = 5.22083(3). In other words, 5 whole segments, and 1 is 2.208, which is more than 50% smaller than other segments. And the warning proves it. But this is wrong. DASH-AVC/264 Interoperability Points v2.0 (http://dashif.org/w/2013/08/DASH-AVC-264-v2.00-hd-mca.pdf), in 3.2.1 (line 20) says "Note that the last segment in a representation may be shorter according to ISO/IEC 23009-1". So, such warnings must not be shown if they're caused only by the last segment. And seems that this logic is currently missing: https://github.com/gpac/gpac/blob/master/src/media_tools/dash_segmenter.c#L1665
[DASH] "Segment duration variation" warning is shown in the wrong case.
https://api.github.com/repos/gpac/gpac/issues/22/comments
1
2014-12-21T13:14:47Z
2014-12-21T17:04:05Z
https://github.com/gpac/gpac/issues/22
52,594,908
22
[ "gpac", "gpac" ]
put gpac_extra_libs in a repository on github
https://api.github.com/repos/gpac/gpac/issues/21/comments
1
2014-12-19T15:41:58Z
2019-06-28T13:43:02Z
https://github.com/gpac/gpac/issues/21
52,495,861
21
[ "gpac", "gpac" ]
'configure' should output a config.log file to help debugging
https://api.github.com/repos/gpac/gpac/issues/20/comments
1
2014-12-15T09:01:00Z
2014-12-15T10:28:51Z
https://github.com/gpac/gpac/issues/20
51,962,386
20
[ "gpac", "gpac" ]
I originally stumbled on this error in a discussion board here: http://sourceforge.net/p/gpac/discussion/287547/thread/1bea5b64/ Yesterday GPAC builds were working as expected on Ubuntu, today I was getting the same error as above with the latest commits.
Possible Regression: Commits from today introduce compile error
https://api.github.com/repos/gpac/gpac/issues/19/comments
2
2014-12-09T23:34:49Z
2014-12-10T20:52:25Z
https://github.com/gpac/gpac/issues/19
51,497,977
19
[ "gpac", "gpac" ]
Hi all, I'm trying to use the TTML (EBU-TT-D) support in MP4Box to package my content, but it just ends up in an endless loop maxing out my CPU without ever finishing. Steps to reproduce: 1) Use the TTML file found [here](https://dl.dropboxusercontent.com/u/5096472/gpac/sintel_en_ttml.xml) 2) Package the TTML file using the following command: `MP4Box -add sintel_en_ttml.xml:ext=ttml -new captions.mp4` 3) DASH the file with a subsegment duration of 4 seconds: `MP4Box -dash 4000 -profile onDemand -rap -frag-rap -url-template -segment-name %s_ -segment-ext mp4 captions.mp4 -out captions` The last command will freeze indefinitely on my computer (OS X 10.10 Yosemite) and max out my CPU usage. MP4Box output only shows: ``` DASH-ing file - single segment Subsegment duration 4.000 - Fragment duration: 4.000 secs Spliting segments and fragments at GOP boundaries [DASH] Generating MPD at time 2014-12-09T13:40:30Z DASHing file captions.mp4 ``` I am using MP4Box r5544. The loop also occurs when I add video and audio representations as well. Thanks for any help!
Infinite loop when packaging/DASH-ing TTML content
https://api.github.com/repos/gpac/gpac/issues/18/comments
6
2014-12-09T13:44:18Z
2014-12-09T16:29:47Z
https://github.com/gpac/gpac/issues/18
51,428,611
18
[ "gpac", "gpac" ]
Hello, Browsing the code, I found that in stbl_read.c (line 221) : if (stts->r_FirstSampleInEntry == 1) stts->r_FirstSampleInEntry = 1; Best Regards,
Useless code or bug
https://api.github.com/repos/gpac/gpac/issues/17/comments
0
2014-12-08T15:43:15Z
2015-02-02T11:26:23Z
https://github.com/gpac/gpac/issues/17
51,315,654
17
[ "gpac", "gpac" ]
- static analysis: - http://paulinsights.wordpress.com/2014/07/10/why-you-should-really-care-about-cc-static-analysis/comment-page-1/#comment-1 - ASAN, Valgrind etc. (cf new in gcc 4.9) - control flow integrity: https://sites.google.com/a/chromium.org/dev/developers/testing/control-flow-integrity - http://frama-c.com/what_is.html - coverity: http://www.coverity.com/ (can be integrated with TravisCI) - securizing the code: - https://wiki.libav.org/Security/Tools - http://gynvael.coldwind.pl/?id=524 - https://code.google.com/p/address-sanitizer/downloads/list - compiling: - http://blog.quarkslab.com/clang-hardening-cheat-sheet.html Note of gf_bs_*(): 74e5eb4fbf987228f2ed68eaaea70f0631bf7b70
improve the security of the code and API
https://api.github.com/repos/gpac/gpac/issues/16/comments
12
2014-12-06T20:54:11Z
2019-07-07T17:40:29Z
https://github.com/gpac/gpac/issues/16
51,195,646
16
[ "gpac", "gpac" ]
http://nshipster.com/the-death-of-cocoa/
GPAC on Mac: write a COCOA render module
https://api.github.com/repos/gpac/gpac/issues/15/comments
2
2014-12-06T20:51:47Z
2019-07-07T17:43:19Z
https://github.com/gpac/gpac/issues/15
51,195,569
15
[ "gpac", "gpac" ]
It would improve readibility. FFmpeg does it great!
colorize the libgpac log
https://api.github.com/repos/gpac/gpac/issues/14/comments
0
2014-12-06T20:51:23Z
2016-03-12T17:14:25Z
https://github.com/gpac/gpac/issues/14
51,195,562
14
[ "gpac", "gpac" ]
I can't share files here, please contact me to be able to reproduce. The only difference is the presence of the `aspect_ratio_info_present_flag` flag in the SPS. The streams are generated with FFmpeg and I couldn't figure out with the SPS were different yet. GPAC could either have: - a better comparison algorithm for AVCConfig (especially for descriptors) ; - change the behaviour and use multiple "sample descriptions" with 'avc1' or switch completely to 'avc3' - check if compatible with existing players. Opinions? CC @gpac/owners
when concatenating incompatible H264 files, mp4box creates mixed avc1/avc3 mp4 files
https://api.github.com/repos/gpac/gpac/issues/13/comments
5
2014-12-05T19:20:34Z
2020-09-04T08:10:17Z
https://github.com/gpac/gpac/issues/13
51,135,541
13
[ "gpac", "gpac" ]
When playing DASH content and keeping files in cache: [DASH] KeepFiles=yes MemoryStorage=no [Downloader] CleanCache=no Replay of the same URL when disconnected from a network should work, at least until no new segment is needed.
Playing from cache should work when not connected to a network
https://api.github.com/repos/gpac/gpac/issues/12/comments
2
2014-11-28T12:18:53Z
2015-04-27T12:10:21Z
https://github.com/gpac/gpac/issues/12
50,369,046
12
[ "gpac", "gpac" ]
Changing the cache folder in .gpacrc to a non-existing folder leads to I/O Errors.
Cache folder should be created when it does not exist
https://api.github.com/repos/gpac/gpac/issues/11/comments
1
2014-11-28T12:11:52Z
2014-11-28T16:56:07Z
https://github.com/gpac/gpac/issues/11
50,368,558
11
[ "gpac", "gpac" ]
At least on Linux, during the first start of the player (no .gpacrc)
Default window width is smaller than GUI width
https://api.github.com/repos/gpac/gpac/issues/10/comments
1
2014-11-28T12:06:44Z
2015-02-13T01:49:52Z
https://github.com/gpac/gpac/issues/10
50,368,203
10
[ "gpac", "gpac" ]
add a config.log to the configure script
https://api.github.com/repos/gpac/gpac/issues/9/comments
0
2014-11-27T12:18:35Z
2015-02-12T17:48:19Z
https://github.com/gpac/gpac/issues/9
50,285,492
9
[ "gpac", "gpac" ]
for ex. let's assume that test.mp4 contains 1 video track and 1 audio track "mp4box.exe -raw 1 -raw 2 d:\test.test\test.mp4" will create "test_track1" and "test_track2" instead of "test_track1.h264" and "test_track2.aac"
mp4box -raw is extracting tracks without extensions when path of source file contains "."
https://api.github.com/repos/gpac/gpac/issues/8/comments
0
2014-11-26T22:40:49Z
2014-11-28T09:14:43Z
https://github.com/gpac/gpac/issues/8
50,234,955
8
[ "gpac", "gpac" ]
Add HLSv4+ input support
https://api.github.com/repos/gpac/gpac/issues/7/comments
0
2014-11-26T19:25:35Z
2014-12-11T21:12:57Z
https://github.com/gpac/gpac/issues/7
50,217,740
7
[ "gpac", "gpac" ]
...a and add to the https://travis-ci.org/gpac/gpac/builds/42405732 And notifiy at https://sourceforge.net/p/gpac/bugs/341/ (related to #5)
Make a static build of MP4Box easier
https://api.github.com/repos/gpac/gpac/issues/6/comments
2
2014-11-26T15:53:36Z
2015-02-13T07:31:55Z
https://github.com/gpac/gpac/issues/6
50,194,834
6
[ "gpac", "gpac" ]
Apparently we don't fill it correctly. Also see https://sourceforge.net/p/gpac/bugs/341/
check pkgconfig for static libgpac
https://api.github.com/repos/gpac/gpac/issues/5/comments
5
2014-11-26T15:53:13Z
2016-04-22T14:38:01Z
https://github.com/gpac/gpac/issues/5
50,194,790
5
[ "gpac", "gpac" ]
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: - OS X 10.10.1 (Yosemite) - Ubuntu 14.04.1 LTS 64-bit ``` $ MP4Box -add ebu-ttd_sample.ttml -new captions.mp4 TTML Import Segmentation fault (core dumped) ```
Segmentation faults trying to package TTML captions
https://api.github.com/repos/gpac/gpac/issues/4/comments
11
2014-11-26T11:07:42Z
2015-03-03T15:51:22Z
https://github.com/gpac/gpac/issues/4
50,145,688
4
[ "gpac", "gpac" ]
Hi to everyone, I don't know if this is the right place to post it, but... I am trying to create my own mpeg-dash "live" stream with subtitles usign gpac as I can see in http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live-subtitle/ I am able to add subtitles (srt) to an mp4 video by using: MP4Box -add subs.srt video.mp4 but I am not able to create a "live" stream using MP4Box with a video and subtitles like it is shown in http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live-subtitle/readme.txt That command only creates an mpd that has video component, not subtitle component. Which is the correct command line to create a mpeg-dash live stream with subtitles? I am running MP4Box 0.5.1-DEV-rev5366 on a Debian 8.0 64 bits MP4Box -version MP4Box - GPAC version 0.5.1-DEV-rev5366 GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: Features: GPAC_HAS_SSL GPAC_HAS_JPEG GPAC_HAS_PNG Thanks in advance Felipe
Creating mpeg-dash stream with subtitles
https://api.github.com/repos/gpac/gpac/issues/3/comments
6
2014-11-24T15:34:41Z
2014-12-18T17:49:22Z
https://github.com/gpac/gpac/issues/3
49,902,484
3
[ "gpac", "gpac" ]
Hi all, I am trying to dump a live MPEG-DASH stream in order to do a PSRN comparison. I found a previous discussion about keeping the cache http://ehc.ac/p/gpac/discussion/287547/thread/be52202f/#1eef When I use the same configurations I have the following error: ``` Opening URL http://<serverIP>/video1.mpd [HTTP] Failure: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /tmp/gpac_cache_B049E484B4AA47A7924DBF39288A27821AF0F40C.mp4 was not found on this server.</p> <hr> <address>Apache/2.4.7 (Ubuntu) Server at <serverIP> Port 80</address> </body></html> [HTTP] Error parsing reply: Requested URL is not valid or cannot be found for URL http://<serverIP>:80/tmp/gpac_cache_B049E484B4AA47A7924DBF39288A27821AF0F40C.mp4 [CACHE] gf_cache_delete_entry:835, failed to delete file /tmp/gpac_cache_7BF61017F5FFEC8CD6EF66772986D35AB768D758.mp4.txt [DASH] FAILED to download http://<serverIP>:80/tmp/gpac_cache_B049E484B4AA47A7924DBF39288A27821AF0F40C.mp4 = Requested URL is not valid or cannot be found... Cannot open http://<serverIP>/video1.mpd: Requested URL is not valid or cannot be found [CACHE] entry is null at utils/cache.c:556 [CACHE] entry is null at utils/cache.c:556 ``` How can I tell MP4Client to take the cache in local directory? Thanks
dumping DASH file with MP4Client
https://api.github.com/repos/gpac/gpac/issues/2/comments
17
2014-11-22T21:23:02Z
2016-04-09T11:38:06Z
https://github.com/gpac/gpac/issues/2
49,804,996
2
[ "gpac", "gpac" ]
Hi. I'm searching for solution of video templating issue for web streaming. I've got video which could be changed on the fly on demand and then streamed. I want to make it fast. My goal is to split video file into small chunks (and store chunks in separate files) which will be a build blocks of final video, then change some of chunks (frame data only, no duration changes) on demand and concat chunks to get the result video. My goal is to limit computations and simplify concatenation if it possible to simple `cat`. So is it possible to do it this way with mp4Box?
Video templating
https://api.github.com/repos/gpac/gpac/issues/1/comments
4
2014-10-11T07:59:19Z
2016-04-09T06:04:01Z
https://github.com/gpac/gpac/issues/1
45,545,086
1