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" ]
Many dash streams meant to be run on PC or mobile devices use a separate init and segment files per each bitrate stream. It is easy to understand, transcodings may run clustered, easy to text edit manifest.mpd file to create new test case. Just add new or remove bitrate representations in a xml file. HbbTV specification (unfortunately) chose to use a shared init.mp4 file where 1..n TRAK/MDIA/MINF/STBL/STSD/AVCx objects are embedded in a same file, thus introduce a dependency between each bitrate stream in a manifest file. This is bs-switching=multi in gpac documentation. https://gpac.wp.mines-telecom.fr/mp4box/dash/ Complicates a clustered transcoding use, no easy text edit to change bitrate representations. Changing number of representations require to create a new init.mp4 binary file. I have this exact problem. Source manifest has separate init-vX.mp4 per each bitrate representation. I could create a script to download multiple init segment files and run "merge init segments (video, audio)" action. Possible with mp4box without actual data payload video files? Or is it each seg-v1_001.mp4, seg-v1_002.mp4, seg-v2_001.mp4, seg-v2_002.mp4 payload segments must sample_description_index(0..n) reference to an appropriate init.mp4 STSD/AVCx object array? If that is the case then no simple runtime script is possible.
Create single-init.mp4 from separate init-v1.mp4, init-v2.mp4 so on?
https://api.github.com/repos/gpac/gpac/issues/257/comments
1
2015-09-23T10:58:47Z
2015-11-16T12:53:26Z
https://github.com/gpac/gpac/issues/257
107,895,394
257
[ "gpac", "gpac" ]
After cloning the repository, running ./configure and make, the project won't build and the following error message comes up... make[2]: **\* [video_encoder.o] Error 1 make[2]: Leaving directory `/.../gpac/applications/dashcast' make[1]: *** [apps] Error 2 make[1]: Leaving directory`/.../gpac/applications' make: **\* [all] Error 2 I've been following the instructions linked here for Ubuntu 14.04 https://gpac.wp.mines-telecom.fr/2011/04/20/compiling-gpac-on-ubuntu/ Any idea what could be happening?
Code Won't Build
https://api.github.com/repos/gpac/gpac/issues/256/comments
2
2015-09-23T02:37:18Z
2016-03-04T08:40:05Z
https://github.com/gpac/gpac/issues/256
107,839,232
256
[ "gpac", "gpac" ]
Hi there, At present, when dashing protected content with MP4Box, it uses the generic identifier "urn:mpeg:dash:mp4protection:2011" within the generated MPD playlist for element ContentProtection, attribute @schemeIdUri. This value is currently hardcoded in the following function: https://github.com/gpac/gpac/blob/master/src/media_tools/dash_segmenter.c#L630 Some vendors use different ContentProtection identifiers that are detailed here: http://dashif.org/identifiers/protection/ In our case, we're using Widevine, and whilst the majority of clients and players are happy with the generic identifier, some clients such as Chromecast require it set to "edef8ba9-79d6-4ace-a3c8-27dcd51d21ed". I managed to work around this in our case by simply recompiling libgpac with the Widevine identifier, but it'd be awesome if there was a feature in mp4box to allow the schemeIdURI to be specified on the command line. Hopefully this feature request would be useful for other users of gpac, and a nice addition to mp4box's repertoire. Kind regards, Gareth
Protected DASH - Allow ContentProtection schemeIdUri attribute to be configuratable
https://api.github.com/repos/gpac/gpac/issues/255/comments
2
2015-09-22T18:57:20Z
2015-11-16T12:58:36Z
https://github.com/gpac/gpac/issues/255
107,778,776
255
[ "gpac", "gpac" ]
Command: ``` MP4Box -dash 4000 -segment-name seg_%s_ -rap -url-template -out test.mpd v300.mp4 v1500.mp4 a64.mp4 ``` All fine with the old _MP4Box - GPAC version 0.5.1-DEV-rev4709_. Instead, with _MP4Box - GPAC version 0.5.2-DEV-rev676-g8917b91-master_, this time compiled according to https://gpac.wp.mines-telecom.fr/2015/07/29/gpac-build-mp4box-only-all-platforms/, I have the following error: ``` *** glibc detected *** MP4Box: free(): invalid pointer: 0x00007f149660b778 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7db26)[0x7f14962d1b26] MP4Box[0x40bfb5] MP4Box[0x4120a4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f149627576d] MP4Box[0x409c21] ======= Memory map: ======== 00400000-0071d000 r-xp 00000000 08:01 22021554 /usr/local/bin/MP4Box 0091c000-00924000 r--p 0031c000 08:01 22021554 /usr/local/bin/MP4Box 00924000-00925000 rw-p 00324000 08:01 22021554 /usr/local/bin/MP4Box 00925000-0092a000 rw-p 00000000 00:00 0 00fea000-01076000 rw-p 00000000 00:00 0 [heap] 7f149603e000-7f1496053000 r-xp 00000000 08:01 12062159 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f1496053000-7f1496252000 ---p 00015000 08:01 12062159 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f1496252000-7f1496253000 r--p 00014000 08:01 12062159 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f1496253000-7f1496254000 rw-p 00015000 08:01 12062159 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f1496254000-7f1496408000 r-xp 00000000 08:01 12064767 /lib/x86_64-linux-gnu/libc-2.15.so 7f1496408000-7f1496607000 ---p 001b4000 08:01 12064767 /lib/x86_64-linux-gnu/libc-2.15.so 7f1496607000-7f149660b000 r--p 001b3000 08:01 12064767 /lib/x86_64-linux-gnu/libc-2.15.so 7f149660b000-7f149660d000 rw-p 001b7000 08:01 12064767 /lib/x86_64-linux-gnu/libc-2.15.so 7f149660d000-7f1496612000 rw-p 00000000 00:00 0 7f1496612000-7f149662a000 r-xp 00000000 08:01 12064755 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f149662a000-7f1496829000 ---p 00018000 08:01 12064755 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f1496829000-7f149682a000 r--p 00017000 08:01 12064755 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f149682a000-7f149682b000 rw-p 00018000 08:01 12064755 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f149682b000-7f149682f000 rw-p 00000000 00:00 0 7f149682f000-7f149692a000 r-xp 00000000 08:01 12064746 /lib/x86_64-linux-gnu/libm-2.15.so 7f149692a000-7f1496b29000 ---p 000fb000 08:01 12064746 /lib/x86_64-linux-gnu/libm-2.15.so 7f1496b29000-7f1496b2a000 r--p 000fa000 08:01 12064746 /lib/x86_64-linux-gnu/libm-2.15.so 7f1496b2a000-7f1496b2b000 rw-p 000fb000 08:01 12064746 /lib/x86_64-linux-gnu/libm-2.15.so 7f1496b2b000-7f1496b4d000 r-xp 00000000 08:01 12064757 /lib/x86_64-linux-gnu/ld-2.15.so 7f1496d35000-7f1496d39000 rw-p 00000000 00:00 0 7f1496d47000-7f1496d4d000 rw-p 00000000 00:00 0 7f1496d4d000-7f1496d4e000 r--p 00022000 08:01 12064757 /lib/x86_64-linux-gnu/ld-2.15.so 7f1496d4e000-7f1496d50000 rw-p 00023000 08:01 12064757 /lib/x86_64-linux-gnu/ld-2.15.so 7fff92154000-7fff92175000 rw-p 00000000 00:00 0 [stack] 7fff921ff000-7fff92200000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Annullato (core dump creato) ``` Linux Ubuntu 12.04.
*** glibc detected *** MP4Box: free(): invalid pointer -- in MP4Box - GPAC version 0.5.2-DEV-rev676-g8917b91-master
https://api.github.com/repos/gpac/gpac/issues/254/comments
2
2015-09-22T15:21:54Z
2015-10-28T12:56:21Z
https://github.com/gpac/gpac/issues/254
107,738,022
254
[ "gpac", "gpac" ]
Hi! In #234, one issue with MP4Box was detected: https://github.com/gpac/gpac/issues/234#issuecomment-139476108. The media can be found here: http://1drv.ms/1JPg0t8 (in the eDash folder). So, the problem is that when using the `mp4box.exe -info`, it shows that the movie duration and the track duration are zeroes, although the media itself contains non-zero information. For example, this is what MP4Box shows (see: /eDash/mp4box.info.video.txt): ``` * Movie Info * Timescale 12288 - Duration 00:00:00.000 1 track(s) Fragmented File: yes - duration 00:00:52.208 27 fragments - 1 SegmentIndexes File suitable for progressive download (moov before mdat) File Brand dash - version 0 Created: GMT Tue Sep 08 11:00:56 2015 Modified: GMT Tue Sep 08 11:00:56 2015 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 12288 - Media Duration 00:00:00.000 Media Info: Language "und (und)" - Type "vide:avc1" - 0 samples Fragmented track: 1253 samples - Media Duration 00:00:52.208 Visual Track layout: x=0 y=0 width=640 height=360 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 640 x 360 AVC Info: 1 SPS - 1 PPS - Profile High @ Level 3 NAL Unit length bits: 32 Pixel Aspect Ratio 1:1 - Indicated track size 640 x 360 SPS#1 hash: 4CB56C454FE3B93E30D7D2B6425805D02E55BD2D PPS#1 hash: F84447EBF61570BBEE3F9F184A7A189EAA14289D Self-synchronized RFC6381 Codec Parameters: avc1.64001e No sync sample found ``` And that's what the media contains (see: /eDash/mp4dump.video.txt): ``` javascript { "name":"mvhd", "header_size":12, "size":108, "timescale":12288, "duration":641536, "duration(ms)":52208 } ``` ``` javascript { "name":"tkhd", "header_size":12, "size":92, "enabled":1, "id":1, "duration":641536, "width":640.000000, "height":360.000000 } ``` Expected behavior: MP4Box must show correct durations.
[MP4Box] The movie and the track durations are not shown
https://api.github.com/repos/gpac/gpac/issues/253/comments
2
2015-09-20T07:48:23Z
2015-11-16T15:32:11Z
https://github.com/gpac/gpac/issues/253
107,378,421
253
[ "gpac", "gpac" ]
I make gpac. make -C src all make[1]: Entering directory `/home/huyang/gpac/src' gcc -Wall -fno-strict-aliasing -Wno-pointer-sign -O3 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DGPAC_HAVE_CONFIG_H -I"/home/huyang/gpac" -I"/home/huyang/gpac/include" -I"/home/huyang/gpac/extra_lib/include/zlib" -c -o media_tools/img.o media_tools/img.c In file included from /usr/include/png.h:536:0, from media_tools/img.c:35: /usr/include/zlib.h:86:5: error: unknown type name ‘z_const’ z_const Bytef *next_in; /* next input byte */ ^ /usr/include/zlib.h:86:19: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token z_const Bytef *next_in; /* next input byte */ ^ In file included from /usr/include/zlib.h:34:0, from /usr/include/png.h:536, from media_tools/img.c:35: /usr/include/zlib.h:1025:29: error: unknown type name ‘z_const’ typedef unsigned (*in_func) OF((void FAR *, ^ /usr/include/zlib.h:1029:33: error: unknown type name ‘in_func’ ZEXTERN int ZEXPORT inflateBack OF((z_streamp strm, ^ In file included from /usr/include/png.h:536:0, from media_tools/img.c:35: /usr/include/zlib.h:1349:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Z_ARG’ ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)); ^ /usr/include/zlib.h:1673:5: error: unknown type name ‘z_off64_t’ z_off64_t pos; ^ /usr/include/zlib.h:1748:1: error: unknown type name ‘z_crc_t’ ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void)); ^ /usr/include/zlib.h:1758:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Z_ARG’ ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file, ^ make[1]: *** [media_tools/img.o] Error 1 make[1]: Leaving directory`/home/huyang/gpac/src' make: **\* [all] Error 2 Could you tell me why?
Install the gpac(3744) on ubuntun14.04
https://api.github.com/repos/gpac/gpac/issues/252/comments
2
2015-09-18T13:05:58Z
2015-09-18T17:19:18Z
https://github.com/gpac/gpac/issues/252
107,198,848
252
[ "gpac", "gpac" ]
When I play the live stream which product by the dashcast in dash.js player. I found that the dash.js player can not product right segment number. Such as the dashcast is producting the segement 10. But the dash.js are requesting the segment 97. This means that the dash.js can not calculate right number of the segment according the MPD file. Here is my command. D:\wamp\www>DashCast -vf dshow -vres 1280x720 -vfr 24 -v video="screen-capture-recorder" -live -npts -low-delay -mpd-refresh 2 I hope that you can help me. JamesXu
DashCast transcode a live stream in multiple qualities on windows7 64bit.
https://api.github.com/repos/gpac/gpac/issues/251/comments
8
2015-09-17T16:02:28Z
2019-06-28T15:04:20Z
https://github.com/gpac/gpac/issues/251
107,017,786
251
[ "gpac", "gpac" ]
This is probably a problem with ffmpeg not reporting the correct duration.
DashCast sets the mediaPresentationDuration to 0 if mp4 input is fragmented
https://api.github.com/repos/gpac/gpac/issues/250/comments
2
2015-09-16T13:49:56Z
2019-06-28T15:04:07Z
https://github.com/gpac/gpac/issues/250
106,777,764
250
[ "gpac", "gpac" ]
Audio is hardcoded as stereo @ 44100 hz. The configuration of the input should be used instead.
DashCast uses hardcoded audio configuration
https://api.github.com/repos/gpac/gpac/issues/249/comments
2
2015-09-16T13:46:10Z
2019-06-28T15:03:56Z
https://github.com/gpac/gpac/issues/249
106,777,088
249
[ "gpac", "gpac" ]
Run dashcast once without -low-delay. This will create dashcast.conf with low-delay=no Run dashcast again with -low-delay in the command line. The low-delay is ignored because the configuration file is used. Command line parameters should override the configuration file, not the opposite.
DashCast ignores command line parameters if a configuration file is present
https://api.github.com/repos/gpac/gpac/issues/248/comments
2
2015-09-16T12:56:20Z
2019-06-28T15:03:45Z
https://github.com/gpac/gpac/issues/248
106,767,958
248
[ "gpac", "gpac" ]
Taking the sintel video file posted in #234 and doing: ``` MP4Box -add file.mp4:timescale=1000 f.mp4 MP4Box -add file.mp4:timescale=2000 g.mp4 MP4Box -info f.mp4 MP4Box -info g.mp4 ``` The duration in seconds of the track is not the same and the error is significant (~600ms).
Changing timescale at import changes track duration
https://api.github.com/repos/gpac/gpac/issues/247/comments
1
2015-09-15T15:22:29Z
2015-11-18T16:20:26Z
https://github.com/gpac/gpac/issues/247
106,579,928
247
[ "gpac", "gpac" ]
Latest MP4Box -dash creates out_{intputfilename}.mp4 files. But the path creation is broken for instance when the input path is absolute: `out_/full/path/to/input.mp4` for an input at `/full/path/to/input.mp4` If only relative input paths are allowed, then this should be clearly documented, although I'd consider it a seriously lacking feature.
test file full paths prefixed with out_
https://api.github.com/repos/gpac/gpac/issues/246/comments
7
2015-09-14T20:47:58Z
2017-07-11T15:40:44Z
https://github.com/gpac/gpac/issues/246
106,424,682
246
[ "gpac", "gpac" ]
hey little feature request that could be helpful. I'm building a docker container with gpac (among other things) but I cannot find a link to the **latest nightly build**, e.g. from [this page](http://download.tsi.telecom-paristech.fr/gpac/latest_builds/linux64/gpac/) I can see the list of builds with commit hashes but no link to something like _gpac_0.5.2-DEV-latest.deb_ that would be quite handy to implement CI on our side. would this be something reasonably easy for you to add? I think it would be useful! thanks! thomas
link to latest nightly build
https://api.github.com/repos/gpac/gpac/issues/245/comments
4
2015-09-14T10:34:52Z
2015-09-21T09:08:46Z
https://github.com/gpac/gpac/issues/245
106,314,518
245
[ "gpac", "gpac" ]
See #243
TravisCI emails not received on failures
https://api.github.com/repos/gpac/gpac/issues/244/comments
0
2015-09-12T06:16:46Z
2015-09-15T13:12:59Z
https://github.com/gpac/gpac/issues/244
106,135,682
244
[ "gpac", "gpac" ]
Configure used: `./configure --static-mp4box --extra-libs="-lz"` Make log: http://j.fsbn.eu/QZKH.txt
Building with mingw broken since ebe4661
https://api.github.com/repos/gpac/gpac/issues/243/comments
0
2015-09-11T22:03:42Z
2015-09-14T08:28:12Z
https://github.com/gpac/gpac/issues/243
106,102,546
243
[ "gpac", "gpac" ]
Please support GUI authors and GUI users by building against VC++ 2015, authors and users of GUIs such as MeGUI or StaxRip would appreciate it. Thanks
VC++ 2015 instead of VC++ 2010
https://api.github.com/repos/gpac/gpac/issues/242/comments
11
2015-09-11T18:59:17Z
2016-02-26T11:12:30Z
https://github.com/gpac/gpac/issues/242
106,071,726
242
[ "gpac", "gpac" ]
See files & command-line from #240 ``` ?> mp4box.exe -mem-track -add BigBuckBunny_320x180.mp4 -add BuckBunny_320x180_track2.aac -new tmp.mp4 open : 000000000FA4A6F0: E:\Users\RBOUQU~1\AppData\Local\Temp\gpac_0000433d_2 open : 000000000FA4A720: BigBuckBunny_320x180.mp4 close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180.mp4 close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180.mp4 close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180.mp4 close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180.mp4 IsoMedia import BigBuckBunny_320x180.mp4 - track ID 1 - Video (size 320 x 180) close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180.mp4 close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180.mp4 IsoMedia import BigBuckBunny_320x180.mp4 - track ID 2 - Audio (SR 48000 - 2 channels) close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180_track2.aac close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180_track2.aac close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180_track2.aac close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180_track2.aac close: 000000000FA4A720 open : 000000000FA4A720: BigBuckBunny_320x180_track2.aac AAC ADTS import - sample rate 48000 - MPEG-4 audio - 2 channels close: 000000000FA4A720 Saving tmp.mp4: 0.500 secs Interleaving open : 000000000FA4A720: tmp.mp4 close: 000000000FA4A720 close: 000000000FA4A6F0 ```
MP4Box sometimes make more file open/close than necessary
https://api.github.com/repos/gpac/gpac/issues/241/comments
1
2015-09-10T13:49:16Z
2020-07-31T14:15:26Z
https://github.com/gpac/gpac/issues/241
105,809,776
241
[ "gpac", "gpac" ]
https://github.com/gpac/gpac/commit/141bab670ee89372d768d854cc9035c3651b4d9d See #61: ``` E:\Users\rbouqueau\Documents\Works\tmp> wget http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4 ``` ``` E:\Users\rbouqueau\Documents\Works\tmp>C:\Works\gpac\gpac_private\gpac_public\bin\x64\Debug\mp4box.exe -mem-track -add BigBuckBunny_320x180.mp4 -add BigBuckBunny_320x180_track2.aac -new tmp.mp4 IsoMedia import BigBuckBunny_320x180.mp4 - track ID 1 - Video (size 320 x 180) IsoMedia import BigBuckBunny_320x180.mp4 - track ID 2 - Audio (SR 48000 - 2 channels) AAC ADTS import - sample rate 48000 - MPEG-4 audio - 2 channels Saving tmp.mp4: 0.500 secs Interleaving [MemTracker] Printing the current state of allocations (1 open file handles) : [MemTracker] Memory Block 000000000049FA30 (size 4) allocated in file ..\..\src\isomedia\isom_read.c at line 664 string dump: und [MemTracker] Memory Block 000000000049FA70 (size 4) allocated in file ..\..\src\isomedia\isom_read.c at line 664 string dump: und [MemTracker] Total: 8 bytes allocated in 2 blocks ```
Commit for ExtendedLanguageBox introduced leaks
https://api.github.com/repos/gpac/gpac/issues/240/comments
0
2015-09-10T09:27:39Z
2015-09-14T11:29:05Z
https://github.com/gpac/gpac/issues/240
105,768,841
240
[ "gpac", "gpac" ]
The player should support the [ClearKey DRM system](https://w3c.github.io/encrypted-media/#clear-key) as defined by the W3C EME Spec. Some documentation is available by Cable Labs [here](https://html5.cablelabs.com/mse-eme/doc/creation.html#encryption) and a tool to generate the ClearKey crypt file is [here](https://github.com/cablelabs/mse-eme).
Implement the W3C Clear Key DRM System
https://api.github.com/repos/gpac/gpac/issues/239/comments
3
2015-09-09T11:35:03Z
2020-09-04T12:04:01Z
https://github.com/gpac/gpac/issues/239
105,578,893
239
[ "gpac", "gpac" ]
It should be possible in the GUI of MP4Client to select which audio track to play when there are multiple tracks. Ideally information such as language (from the track header and the extended language box), kind (from the kind box), and other metadata should be exposed to make the choice. An example file is : http://perso.telecom-paristech.fr/~concolat/html5_tests/count_audio.mp4
Allow audio track selection from the player GUI
https://api.github.com/repos/gpac/gpac/issues/238/comments
1
2015-09-09T11:09:07Z
2019-06-28T15:01:03Z
https://github.com/gpac/gpac/issues/238
105,575,257
238
[ "gpac", "gpac" ]
The current options for splitting a file are: ``` -split time_sec splits in files of time_sec max duration * Note: this removes all MPEG-4 Systems media -split-size size splits in files of max filesize kB. same as -splits. * Note: this removes all MPEG-4 Systems media -split-rap splits in files beginning at each RAP. same as -splitr. * Note: this removes all MPEG-4 Systems media -split-chunk S:E extracts a new file from Start to End (in seconds). same as -splitx * Note: this removes all MPEG-4 Systems media -splitz S:E same as -split-chunk, but adjust the end time to be before the last RAP sample * Note: this removes all MPEG-4 Systems media ``` There is no way to split with a given duration but with alignment to RAPs, similar to DASH segmentation.
Split files at rap with a approximate duration
https://api.github.com/repos/gpac/gpac/issues/237/comments
2
2015-09-09T08:18:20Z
2019-07-07T18:53:44Z
https://github.com/gpac/gpac/issues/237
105,541,853
237
[ "gpac", "gpac" ]
Hi, We use MP4Box to encrypt MP4 files and then use MP4Box to generate MPD. It worked very well. We recently met an performance issue on one device when playing encrypted MPEG-DASH stream. So we would like to try to encrypt key frames (RAP) only instead of all samples. According to the [documentation](https://gpac.wp.mines-telecom.fr/mp4box/encryption/common-encryption/), we add selectiveType and set it to "RAP". There is no error when calling MP4Box -crypt, but segmentation fault occurred when calling MP4Box -dash. Could someone help this? Thanks, Wesley
Segmentation fault when using MP4Box to generate MPD with key-frames encrypted MP4s
https://api.github.com/repos/gpac/gpac/issues/236/comments
2
2015-09-09T06:56:28Z
2016-03-30T07:26:46Z
https://github.com/gpac/gpac/issues/236
105,532,468
236
[ "gpac", "gpac" ]
Current file concatenation with MP4Box has limitations, see: http://superuser.com/questions/623460/mp4box-and-concatenating-files-with-different-aspect-ratio http://superuser.com/questions/670541/ffmpeg-concatenating-two-mp4-files-results-in-bad-output-file http://superuser.com/questions/563063/mp4box-h264-merge-video-files We should allow for multiple sample description entries or for inband xPS for AVC/HEVC.
Improve mp4box concatenation
https://api.github.com/repos/gpac/gpac/issues/235/comments
2
2015-09-08T19:54:51Z
2016-06-10T17:30:47Z
https://github.com/gpac/gpac/issues/235
105,457,241
235
[ "gpac", "gpac" ]
Hi! While creating DASH on-demand media using MP4Box (GPAC version 0.5.2-DEV-rev575-geedd2f0-master) for some iOS media player, I noticed following issues: - The video playback speed is wrong. Depending on media, it may be either too fast or too slow. At the same time, the audio plays (sounds) at its normal speed. - The timeline of the media player is broken. The media player shows it like there's a lot of content. So, when the media ends, there's still a lot of space to the right. What's interesting, Google's eDash packager (https://github.com/google/edash-packager) produces DASH media that plays correctly. This points to the fact that MP4Box is doing something wrong. I've tried to find out what may cause such issues, and I noticed following issues in MP4Box. Test media with logs can be found here: http://1drv.ms/1JPg0t8. (I also use mp4dump for inspecting media, which comes from Bento4.) 1. After dashing the media, durations of the movie ('moov/mvhd') and the track ('moov/trak/tkhd') are being reset to 0. You may see it in /MP4Box/mp4box.info.video.txt and /MP4Box/mp4dump.video.txt. The media player that I use uses this information, and because of that is not able to display the timeline correctly. In the /Source folder, you may see logs that show that before dashing in MP4Box, durations are present. 2. "MP4Box -info" with eDash media, looses durations mentioned in (1). You can see it by looking at /eDash/mp4box.info.video.txt. This seems like another bug in MP4Box, because the /eDash/mp4dump.video.txt shows that durations are there. So, it's just MP4Box shows them as zeroes.
[MP4Box] [DASH] [iOS] Wrong playback speed and the broken media player timeline.
https://api.github.com/repos/gpac/gpac/issues/234/comments
15
2015-09-08T12:21:51Z
2015-09-17T07:28:59Z
https://github.com/gpac/gpac/issues/234
105,367,880
234
[ "gpac", "gpac" ]
I have files to reproduce.
Missing segment in the dash context when duration is shorter than segdur
https://api.github.com/repos/gpac/gpac/issues/233/comments
0
2015-09-08T10:07:39Z
2015-09-08T10:39:19Z
https://github.com/gpac/gpac/issues/233
105,345,855
233
[ "gpac", "gpac" ]
Because it could be called from a different file. A different timescale leads to an error. So we need to error. I have test files.
Check timescale when calling 'MP4Box -dashctx' again
https://api.github.com/repos/gpac/gpac/issues/232/comments
4
2015-09-08T09:27:36Z
2019-07-07T18:41:35Z
https://github.com/gpac/gpac/issues/232
105,339,143
232
[ "gpac", "gpac" ]
What is the correct way to compute? - create a unique function to do this List of occurences: https://github.com/gpac/gpac/blob/daa8c10ff257cda35cc5453c2548ef001dd34497/src/media_tools/dash_segmenter.c#L803 https://github.com/gpac/gpac/blob/daa8c10ff257cda35cc5453c2548ef001dd34497/src/media_tools/dash_segmenter.c#L4518 https://github.com/gpac/gpac/blob/daa8c10ff257cda35cc5453c2548ef001dd34497/src/media_tools/dash_segmenter.c#L4857 https://github.com/gpac/gpac/blob/daa8c10ff257cda35cc5453c2548ef001dd34497/src/media_tools/dash_segmenter.c#L4910 ``` ```
NTP computation from sec and frac is inconsistent in the codebase
https://api.github.com/repos/gpac/gpac/issues/231/comments
1
2015-09-08T09:15:08Z
2015-09-08T10:03:09Z
https://github.com/gpac/gpac/issues/231
105,336,793
231
[ "gpac", "gpac" ]
When trying to compile x264 against gpac, unless you build gpac as `--static-mp4box` then x264 complains that the gpac version is too old, but by doing this, then the OpenGL support is no... How do we get OpenGL support in gpac and compile it also against x264 without it complaining?
Warning: gpac is too old - Using --static-mp4box then OpenGL support: no
https://api.github.com/repos/gpac/gpac/issues/230/comments
21
2015-09-07T04:16:21Z
2020-07-31T14:18:01Z
https://github.com/gpac/gpac/issues/230
105,143,421
230
[ "gpac", "gpac" ]
Hi, Why I can not get a right segment with dashcast. I have tried many machines, such as windows 7 64 bit, ubuntu 14.04. Now, I can not get a right segment which can be played by dash.js. I want know will the tool no longer be maintained? JamesXu
Will the dashcast no longer be maintained?
https://api.github.com/repos/gpac/gpac/issues/229/comments
1
2015-09-06T08:09:12Z
2015-09-16T11:38:02Z
https://github.com/gpac/gpac/issues/229
105,078,271
229
[ "gpac", "gpac" ]
Currently, I am working on DASH area. I need to print the bandwidth of each segment and the remnant buffer time at that time. I struggled in the source code for 2 days. And I can only print the bandwidth now.... I found a function in dash_client.c ``` gf_dash_set_user_buffer ``` which set the value of 'user_buffer_ms', but it isn't called during the whole process. Anybody can help me? Thank you~
How to print buffer time to the terminal?
https://api.github.com/repos/gpac/gpac/issues/228/comments
1
2015-09-06T00:04:33Z
2015-09-06T19:06:40Z
https://github.com/gpac/gpac/issues/228
105,057,315
228
[ "gpac", "gpac" ]
The latest Win32 binary link on the webite: http://download.tsi.telecom-paristech.fr/gpac/latest_builds/win32/gpac-0.5.2-DEV-rev612-gb1a150e-master-win32.exe is returning a 200kb file that says "NSIS error", "Installer integrity check failed...." when you run it. Downloaded with FF 40.0.3 on XPSP2.
Latest Win32 build link doesn't install
https://api.github.com/repos/gpac/gpac/issues/227/comments
2
2015-09-05T00:31:29Z
2015-09-07T08:19:22Z
https://github.com/gpac/gpac/issues/227
104,991,626
227
[ "gpac", "gpac" ]
I am attempting to transcode and DASH (with Clear Key encryption) a [sample H.264](http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov) file for the Osmo4 or [Google Shaka](https://github.com/google/shaka-player) players. Every set of steps I've been able to piece together online results in a playable version if unencrypted, then breaks down when I attempt to layer in encryption. ### Unencrypted Here are the steps I follow for the working unencrypted version: 1. Separate video from audio ``` ffmpeg -i input.mp4 -an -c copy video_only.mp4 ffmpeg -i input.mp4 -map 0:2 -c copy audio_only.m4a ``` 2. Transcode the video into a working variant (only 1 for now) ``` ffmpeg -i video_only.mp4 -an -vcodec libx264 -s 1280x720 -c:v libx264 -b:v 384k -bf 2 -g 90 -sc_threshold 0 -an -strict experimental video_only_384kbps.mp4 ``` 3a. Create the mpd ``` MP4Box -dash 5000 -segment-name 'outputseg-%s' -url-template -bs-switching no \ -out output.mpd -rap \ audio_only.m4a \ video_only_384kbps.mp4 ``` 4a. Load the video into Osmo4 or Google Shaka It plays. ### With Encryption Now, I attempt to layer in encryption. Starting from after step 2 above: 3b. Encrypt the variants with Clear Key ``` MP4Box -crypt drm.xml audio_only.m4a -out audio_only_encrypted.m4a MP4Box -crypt drm.xml video_only_384kbps.mp4 -out video_only_384kbps_encrypted.mp4 ``` where drm.xml contains a sample derived straight from the [MP4Box/GPAC site](https://gpac.wp.mines-telecom.fr/mp4box/encryption/common-encryption/): ``` <?xml version="1.0" encoding="UTF-8"?> <GPACDRM type="CENC AES-CTR"> <!-- example for GPAC - keys are listed after the content and UL follows --> <DRMInfo cypherIV="0x00000000000000000000000000000001" cypherKey="0x6770616363656E6364726D746F6F6C31" cypherOffset="9" type="pssh" version="1"> <BS ID128="6770616363656E6364726D746F6F6C31"/> <BS bits="32" value="2"/> <BS ID128="0x279926496a7f5d25da69f2b3b2799a7f"/> <BS ID128="0x676cb88f302d10227992649885984045"/> <BS bits="8" string="CID=Toto"/> <BS ID128="0xccc0f2b3b279926496a7f5d25da692f6"/> <BS ID128="0xccc0f2b3b279926496a7f5d25da692d6"/> </DRMInfo> <CrypTrack IV_size="16" IsEncrypted="1" first_IV="0x0a610676cb88f302d10ac8bc66e039ed" saiSavedBox="senc" trackID="1"> <key KID="0x279926496a7f5d25da69f2b3b2799a7f" value="0xccc0f2b3b279926496a7f5d25da692f6"/> </CrypTrack> </GPACDRM> ``` 4b. Create the mpd ``` MP4Box -dash 5000 -segment-name 'outputseg-%s' -url-template -bs-switching no \ -out output.mpd -rap \ audio_only_encrypted.m4a \ video_only_384kbps_encrypted.mp4 ``` 5b. Load the video into Osmo4 or Google Shaka. - On Osmo4, no errors are found but the player just hangs until I kill it - On Google Shaka, I consistently receive a player error: "CustomEvent {detail: Error: No DrmInfo exists! at shaka.media.EmeManager.buildKeySystemQueries_ (http://localhost:808…, srcElement: null, target: s…a.p…r.Player, currentTarget: s…a.p…r.Player} The output.mpd after 5b looks like this: ``` <?xml version="1.0"?> <!-- MPD file Generated with GPAC version 0.5.2-DEV-rev566-g4c06d0f-master at 2015-09-03T19:17:57.544Z--> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H0M54.424S" maxSegmentDuration="PT0H0M4.992S" profiles="urn:mpeg:dash:profile:full:2011" xmlns:cenc="urn:mpeg:cenc:2013"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>output.mpd generated by GPAC</Title> </ProgramInformation> <Period duration="PT0H0M54.424S"> <AdaptationSet segmentAlignment="true" lang="eng"> <Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="48000" startWithSAP="1" bandwidth="140631"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="27992649-6a7f-5d25-da69-f2b3b2799a7f"/> <SegmentTemplate timescale="48000" media="outputseg-audio_only_encrypted$Number$.m4s" startNumber="1" duration="239616" initialization="outputseg-audio_only_encryptedinit.mp4"/> </Representation> </AdaptationSet> <AdaptationSet segmentAlignment="true" maxWidth="1280" maxHeight="720" maxFrameRate="24" par="16:9" lang="eng"> <Representation id="2" mimeType="video/mp4" codecs="avc1.64001f" width="1280" height="720" frameRate="24" sar="1:1" startWithSAP="1" bandwidth="375052"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="27992649-6a7f-5d25-da69-f2b3b2799a7f"/> <SegmentTemplate timescale="12288" media="outputseg-video_only_384kbps_encrypted$Number$.m4s" startNumber="1" duration="46080" initialization="outputseg-video_only_384kbps_encryptedinit.mp4"/> </Representation> </AdaptationSet> </Period> </MPD> ``` Software versions: - MP4Box: GPAC version 0.5.2-DEV-rev566-g4c06d0f-master - FFMPEG: ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Does anyone have any suggestions on how to proceed? Is there any more information that I can provide?
Can't create playable DASH video encrypted with Clear Key encryption
https://api.github.com/repos/gpac/gpac/issues/226/comments
8
2015-09-03T20:14:55Z
2017-08-10T14:07:27Z
https://github.com/gpac/gpac/issues/226
104,772,700
226
[ "gpac", "gpac" ]
I'm building on Centos 6.6 and get this error. I am using the 0.5.2 release with extra libs. ``` OBJS utils/os_divers.o utils/os_file.o utils/list.o utils/bitstream.o utils/error.o utils/alloc.o utils/url.o utils/configfile.o utils/sha1.o utils/base_encoding.o utils/os_net.o utils/os_thread.o utils/os_config_init.o utils/cache.o utils/downloader.o utils/xml_parser.o utils/utf.o utils/token.o utils/color.o utils/os_module.o utils/math.o utils/path2d.o utils/path2d_stroker.o utils/module.o utils/uni_bidi.o utils/ringbuffer.o utils/unicode.o utils/map.o mcrypt/cbc.o mcrypt/cfb.o mcrypt/ctr.o mcrypt/des.o mcrypt/ecb.o mcrypt/g_crypt.o mcrypt/ncfb.o mcrypt/nofb.o mcrypt/ofb.o mcrypt/rijndael-128.o mcrypt/rijndael-192.o mcrypt/rijndael-256.o mcrypt/stream.o mcrypt/tripledes.o scenegraph/base_scenegraph.o scenegraph/mpeg4_animators.o scenegraph/commands.o scenegraph/mpeg4_nodes.o scenegraph/mpeg4_valuator.o scenegraph/vrml_interpolators.o scenegraph/vrml_proto.o scenegraph/vrml_route.o scenegraph/vrml_script.o scenegraph/vrml_smjs.o scenegraph/vrml_tools.o scenegraph/x3d_nodes.o scenegraph/svg_attributes.o scenegraph/svg_types.o scenegraph/svg_smjs.o scenegraph/smil_anim.o scenegraph/smil_timing.o scenegraph/svg_properties.o scenegraph/dom_events.o scenegraph/dom_smjs.o scenegraph/xbl_process.o scenegraph/xml_ns.o scenegraph/html5_media_smjs.o scenegraph/html5_mse_smjs.o scenegraph/webvtt_smjs.o ietf/rtcp.o ietf/rtp.o ietf/rtp_packetizer.o ietf/rtp_pck_3gpp.o ietf/rtp_pck_mpeg12.o ietf/rtp_pck_mpeg4.o ietf/rtsp_command.o ietf/rtsp_common.o ietf/rtsp_response.o ietf/rtsp_session.o ietf/sdp.o ietf/rtp_depacketizer.o ietf/rtp_streamer.o bifs/arith_decoder.o bifs/bifs_codec.o bifs/bifs_node_tables.o bifs/com_dec.o bifs/com_enc.o bifs/conditional.o bifs/field_decode.o bifs/field_encode.o bifs/memory_decoder.o bifs/predictive_mffield.o bifs/quantize.o bifs/script_dec.o bifs/script_enc.o bifs/unquantize.o isomedia/avc_ext.o isomedia/box_code_3gpp.o isomedia/box_code_apple.o isomedia/box_code_base.o isomedia/box_code_drm.o isomedia/box_code_meta.o isomedia/box_dump.o isomedia/box_funcs.o isomedia/data_map.o isomedia/drm_sample.o isomedia/isom_intern.o isomedia/isom_read.o isomedia/isom_store.o isomedia/isom_write.o isomedia/media.o isomedia/media_odf.o isomedia/meta.o isomedia/movie_fragments.o isomedia/sample_descs.o isomedia/stbl_read.o isomedia/stbl_write.o isomedia/track.o isomedia/tx3g.o isomedia/hint_track.o isomedia/hinting.o isomedia/box_code_adobe.o isomedia/ttml.o odf/desc_private.o odf/descriptors.o odf/odf_code.o odf/odf_codec.o odf/odf_command.o odf/qos.o odf/slc.o odf/ipmpx_code.o odf/oci_codec.o odf/ipmpx_dump.o odf/ipmpx_parse.o odf/odf_dump.o odf/odf_parse.o media_tools/isom_tools.o media_tools/dash_segmenter.o media_tools/av_parsers.o media_tools/img.o media_tools/media_import.o media_tools/mpegts.o media_tools/m3u8.o media_tools/mpd.o media_tools/dash_client.o media_tools/media_export.o media_tools/m2ts_mux.o media_tools/filestreamer.o media_tools/avilib.o media_tools/mpeg2_ps.o media_tools/gpac_ogg.o media_tools/ismacryp.o media_tools/isom_hinter.o media_tools/saf.o media_tools/vobsub.o media_tools/text_import.o media_tools/html5_media.o media_tools/html5_mse.o media_tools/webvtt.o scene_manager/scene_manager.o scene_manager/text_to_bifs.o scene_manager/loader_bt.o scene_manager/loader_xmt.o scene_manager/loader_isom.o scene_manager/loader_qt.o scene_manager/loader_svg.o scene_manager/swf_parse.o scene_manager/swf_bifs.o scene_manager/swf_svg.o scene_manager/scene_dump.o scene_manager/scene_stats.o scene_manager/scene_engine.o scene_manager/encode_isom.o terminal/channel.o terminal/clock.o terminal/decoder.o terminal/term_node_init.o terminal/input_sensor.o terminal/media_control.o terminal/media_manager.o terminal/media_memory.o terminal/media_object.o terminal/media_sensor.o terminal/mpeg4_inline.o terminal/network_service.o terminal/object_browser.o terminal/object_manager.o terminal/scene.o terminal/terminal.o terminal/svg_external.o compositor/audio_input.o compositor/audio_mixer.o compositor/audio_render.o compositor/bindable.o compositor/camera.o compositor/compositor.o compositor/compositor_2d.o compositor/compositor_3d.o compositor/compositor_node_init.o compositor/drawable.o compositor/events.o compositor/font_engine.o compositor/hc_flash_shape.o compositor/hardcoded_protos.o compositor/mesh.o compositor/mesh_collide.o compositor/mesh_tesselate.o compositor/mpeg4_animstream.o compositor/mpeg4_audio.o compositor/mpeg4_background.o compositor/mpeg4_background2d.o compositor/mpeg4_bitmap.o compositor/mpeg4_composite.o compositor/mpeg4_form.o compositor/mpeg4_geometry_2d.o compositor/mpeg4_geometry_3d.o compositor/mpeg4_geometry_ifs2d.o compositor/mpeg4_geometry_ils2d.o compositor/mpeg4_gradients.o compositor/mpeg4_grouping.o compositor/mpeg4_grouping_2d.o compositor/mpeg4_grouping_3d.o compositor/mpeg4_layer_2d.o compositor/mpeg4_layer_3d.o compositor/mpeg4_layout.o compositor/mpeg4_lighting.o compositor/mpeg4_path_layout.o compositor/mpeg4_sensors.o compositor/mpeg4_sound.o compositor/mpeg4_text.o compositor/mpeg4_textures.o compositor/mpeg4_timesensor.o compositor/mpeg4_viewport.o compositor/navigate.o compositor/offscreen_cache.o compositor/svg_base.o compositor/svg_filters.o compositor/svg_font.o compositor/svg_geometry.o compositor/svg_grouping.o compositor/svg_media.o compositor/svg_paint_servers.o compositor/svg_text.o compositor/texturing.o compositor/texturing_gl.o compositor/visual_manager.o compositor/visual_manager_2d.o compositor/visual_manager_2d_draw.o compositor/visual_manager_3d.o compositor/visual_manager_3d_gl.o compositor/x3d_geometry.o laser/lsr_enc.o laser/lsr_dec.o laser/lsr_tables.o ../modules/aac_in/aac_in.o ../modules/aac_in/faad_dec.o ../modules/ac3_in/ac3_in.o ../modules/alsa/alsa.o ../modules/audio_filter/audio_filter.o ../modules/bifs_dec/bifs_dec.o ../modules/ctx_load/ctx_load.o ../modules/svg_in/svg_in.o ../modules/dummy_in/dummy_in.o ../modules/ismacryp/isma_ea.o ../modules/gpac_js/gpac_js.o ../modules/laser_dec/laser_dec.o ../modules/soft_raster/ftgrays.o ../modules/soft_raster/raster_load.o ../modules/soft_raster/raster_565.o ../modules/soft_raster/raster_argb.o ../modules/soft_raster/raster_rgb.o ../modules/soft_raster/stencil.o ../modules/soft_raster/surface.o ../modules/mp3_in/mp3_in.o ../modules/mp3_in/mad_dec.o ../modules/isom_in/load.o ../modules/isom_in/read.o ../modules/isom_in/read_ch.o ../modules/isom_in/isom_cache.o ../modules/odf_dec/odf_dec.o ../modules/rtp_in/rtp_in.o ../modules/rtp_in/rtp_session.o ../modules/rtp_in/rtp_signaling.o ../modules/rtp_in/rtp_stream.o ../modules/rtp_in/sdp_fetch.o ../modules/rtp_in/sdp_load.o ../modules/saf_in/saf_in.o ../modules/mpd_in/mpd_in.o ../modules/mse_in/mse_in.o ../modules/timedtext/timedtext_dec.o ../modules/timedtext/timedtext_in.o ../modules/validator/validator.o ../modules/raw_out/raw_video.o ../modules/img_in/img_dec.o ../modules/img_in/img_in.o ../modules/img_in/bmp_dec.o ../modules/img_in/png_dec.o ../modules/img_in/jpeg_dec.o ../modules/img_in/jp2_dec.o ../modules/ft_font/ft_font.o ../modules/mpegts_in/mpegts_in.o ../modules/osd/osd.o ../modules/xvid_dec/xvid_dec.o ../modules/ogg/ogg_load.o ../modules/ogg/ogg_in.o ../modules/ogg/theora_dec.o ../modules/ogg/vorbis_dec.o ../modules/widgetman/widgetman.o ../modules/widgetman/unzip.o ../modules/widgetman/widget.o ../modules/widgetman/wgt_load.o ../modules/x11_out/x11_out.o ../modules/oss_audio/oss.o LIBS -lm -lfaad -lasound -lmad -lopenjpeg -lfreetype -lxvidcore -logg -lvorbis -ltheora -L/usr/X11R6/lib64 -lX11 -lXext -L/usr/local/lib -L../extra_lib/lib/gcc -lz -ljs -ljpeg -lpng -lpthread -ldl ../modules/ismacryp/isma_ea.o: warning: multiple common of `gf_encrypt_track' media_tools/ismacryp.o: warning: previous common is here ../modules/ismacryp/isma_ea.o: warning: multiple common of `gf_decrypt_track' media_tools/ismacryp.o: warning: previous common is here ../modules/isom_in/read.o: warning: multiple common of `gf_encrypt_track' media_tools/ismacryp.o: warning: previous common is here ../modules/isom_in/read.o: warning: multiple common of `gf_decrypt_track' media_tools/ismacryp.o: warning: previous common is here utils/module.o: In function `gf_modules_new': module.c:(.text+0x1008): undefined reference to `gf_register_module_vtt_in' collect2: ld returned 1 exit status make[1]: *** [../bin/gcc/libgpac.so] Error 1 ```
undefined reference to `gf_register_module_vtt_in'
https://api.github.com/repos/gpac/gpac/issues/225/comments
2
2015-09-03T19:33:00Z
2015-09-15T19:38:44Z
https://github.com/gpac/gpac/issues/225
104,765,732
225
[ "gpac", "gpac" ]
I'm using the "splitz" option of mp4box to trim mp4 files. From what I've seen so far, and how I interpret the documentation, the expected behavior is to adjust the end time backwards if needed. I have files at varying frame rates, namely 30000/1001 (29.970fps), 15000/1001 (14.985fps) and 10000/1001 (9.990fps). Whenever I specify an endpoint of "87", the files at 14.985fps and 29.97fps adjust correctly back to the previous point at 84.08 sec, however the file at 9.990fps moves forward to 87.09 sec. The following example using big buck bunny encoded at the rates listed above illustrates the issue: ``` $ mp4box -splitz 15:87 in/bbb_9.990fps.mp4 -out out/bbb_9.990fps_splitz_15_87.mp4 Adjusting chunk start time to previous random access at 12.01 sec Adjusting chunk end time to previous random access at 87.09 sec Extracting chunk out/bbb_9.990fps_splitz_15_87.mp4 - duration 75.08s (12.01s->87.00s) Warning: Edit list doesn't look like a track delay scheme - ignoring $ mp4box -splitz 15:87 in/bbb_14.985fps.mp4 -out out/bbb_14.985fps_splitz_15_87.mp4 Adjusting chunk start time to previous random access at 12.01 sec Adjusting chunk end time to previous random access at 84.08 sec Extracting chunk out/bbb_14.985fps_splitz_15_87.mp4 - duration 72.07s (12.01s->87.00s) Warning: Edit list doesn't look like a track delay scheme - ignoring $ mp4box -splitz 15:87 in/bbb_29.970fps.mp4 -out out/bbb_29.970fps_splitz_15_87.mp4 Adjusting chunk start time to previous random access at 12.01 sec Adjusting chunk end time to previous random access at 84.08 sec Extracting chunk out/bbb_29.970fps_splitz_15_87.mp4 - duration 72.07s (12.01s->87.00s) Warning: Edit list doesn't look like a track delay scheme - ignoring ``` Using an endpoint of 86 (or 88) moves backwards properly as do many other values. Source and output files used in this example can be found at https://www.dropbox.com/s/4yj6iu19yeh3xei/mp4box-splitz-issue.zip?dl=0 I'm using the following version of mp4box under 64 bit windows 7 - MP4Box - GPAC version 0.5.2-DEV-rev575-geedd2f0-master Please let me know if I can provide any additional information. Thanks!
Trimming with mp4box splitz moves forward instead of back at end point for low frame rate
https://api.github.com/repos/gpac/gpac/issues/224/comments
2
2015-09-01T22:54:18Z
2020-10-13T16:02:17Z
https://github.com/gpac/gpac/issues/224
104,370,291
224
[ "gpac", "gpac" ]
When looking at attached DASH-contexts, for the audio 128k I get: ``` [SegmentsStartTimes] out3/NickAndTheRoundabouts_audio_128k_dash1.m4s=0-3956@1 out3/NickAndTheRoundabouts_audio_128k_dash2.m4s=3956-4011@1 out3/NickAndTheRoundabouts_audio_128k_dash3.m4s=7967-4010@1 out3/NickAndTheRoundabouts_audio_128k_dash4.m4s=11977-4011@1 ``` => 3956 is incorrect, we expect 3989 (i.e. the closest value to 4000) [1] http://hbbtv-live.irt.de/dash/source/NickAndTheRoundabouts_audio_192k.mp4 [2] -dash-ctx out3\test.txt -bs-switching multi -profile dashavc264:live -dash 4000 -frag 4000 -dynamic -mpd-refresh 10 -out out3\livestream.mpd -url-template -segment-timeline source3\NickAndTheRoundabouts_audio_192k.mp4:dur=300 ``` [DASH] SessionType=dynamic TimeShiftBufferDepth=0 StoreParams=no PeriodSwitch=no GenerationTime=Mon Jun 15 13:20:31 2015 GenerationNTP=3643363231:876173328 MaxSegmentDuration=4.01067 TimeScale=1000 LastPeriodDuration=300 LastActivePeriod=GENID_DEF SegmentTemplate=out3\NickAndTheRoundabouts_audio_128k_dash [Representation_1] ID=1 Source=source3\NickAndTheRoundabouts_audio_128k.mp4 Setup=yes InitializationSegment=out3/NickAndTheRoundabouts_audio_128k_dashinit.mp4 InitializationSegmentSize=840 TKID_1_NextDecodingTime=14400016 NextSegmentIndex=76 NextFragmentIndex=76 CumulatedDuration=299967 Bandwidth=129532 [SegmentsStartTimes] out3/NickAndTheRoundabouts_audio_128k_dash1.m4s=0-3956@1 out3/NickAndTheRoundabouts_audio_128k_dash2.m4s=3956-4011@1 out3/NickAndTheRoundabouts_audio_128k_dash3.m4s=7967-4010@1 out3/NickAndTheRoundabouts_audio_128k_dash4.m4s=11977-4011@1 out3/NickAndTheRoundabouts_audio_128k_dash5.m4s=15988-4011@1 ... ```
Segment timeline may be inconsistent with average duration
https://api.github.com/repos/gpac/gpac/issues/223/comments
1
2015-09-01T18:13:41Z
2017-07-12T06:37:01Z
https://github.com/gpac/gpac/issues/223
104,324,183
223
[ "gpac", "gpac" ]
Hi, everyone. I have used dashcast(GPAC) to create my dash content. MP4Client plays them fine. I am trying to play them using the dash.js reference player. But I recieved this result: ![image](https://cloud.githubusercontent.com/assets/11470231/9575152/c03e1a7e-4fff-11e5-8d7f-f9c272e017c1.png) I use the command dashcast -av test.mp4 -seg-dur 10000 -time-shift -1 -vcodec "h264" -acodec "acc" -gop 30 ![Uploading QQ图片20150831173142.jpg…]() And my dash content is image ![image](https://cloud.githubusercontent.com/assets/11470231/9575154/c8e39b40-4fff-11e5-8db7-78794aa09dad.png) image ![image](https://cloud.githubusercontent.com/assets/11470231/9575158/d1ea15e8-4fff-11e5-99cc-7015234dcecb.png) I'll be thankful for some help.
"Video Element Error: MEDIA_ERR_SRC_NOT_SUPPORTED" in dash.js player
https://api.github.com/repos/gpac/gpac/issues/221/comments
14
2015-08-31T08:46:39Z
2015-09-17T12:43:52Z
https://github.com/gpac/gpac/issues/221
104,012,054
221
[ "gpac", "gpac" ]
I have used dashcast(GPAC) to create my dash content. MP4Client plays them fine. I am trying to play them using the dash.js reference player. But I recieved this result: image And my dash content is image image I'll be thankful for some help.
GPAC segement occurs "Video Element Error: MEDIA_ERR_SRC_NOT_SUPPORTED" in dash.js player
https://api.github.com/repos/gpac/gpac/issues/220/comments
0
2015-08-31T08:44:52Z
2015-09-16T11:29:23Z
https://github.com/gpac/gpac/issues/220
104,011,823
220
[ "gpac", "gpac" ]
Issue migrated from [here](http://sourceforge.net/p/gpac/bugs/351/). - Files are not created under base url, but in current directory: ``` sh $ mkdir base $ MP4Box -dash 10000 -base-url 'base/' -segment-name '$RepresentationID$-$Number$' -url-template -out test.mpd test.mp4#audio test.mp4#video $ ls -1 base $ ls -1 | wc -l 125 ``` - prefixing segment name with base url result in files created in correct directory, but base url must then be removed from the `media` and `initialization` attributes of the SegmentTemplate tag: ``` sh $ MP4Box -dash 10000 -base-url 'base/' -segment-name 'base/$RepresentationID$-$Number$' -url-template -out test.mpd test.mp4#audio test.mp4#video $ ls -1 base | wc -l 122 $ ls -1 base test.mp4 test.mpd $ fgrep RepresentationID test.mpd <SegmentTemplate timescale="44100" media="base/$RepresentationID$-$Number$.m4s" startNumber="1" duration="440294" initialization="base/$RepresentationID$-.mp4"/> <SegmentTemplate timescale="19200" media="base/$RepresentationID$-$Number$.m4s" startNumber="1" duration="192000" initialization="base/$RepresentationID$-.mp4"/> ``` With more than one video input, the set init file is still created in the current directory and must be moved into the base url directory.
MP4Box -base-url has no effect on file creation
https://api.github.com/repos/gpac/gpac/issues/219/comments
8
2015-08-30T17:07:52Z
2017-07-21T17:26:53Z
https://github.com/gpac/gpac/issues/219
103,934,691
219
[ "gpac", "gpac" ]
http://ispras.linuxbase.org/index.php/ABI_compliance_checker
ABI compliance checker
https://api.github.com/repos/gpac/gpac/issues/217/comments
2
2015-08-28T13:10:59Z
2021-01-18T11:34:07Z
https://github.com/gpac/gpac/issues/217
103,716,579
217
[ "gpac", "gpac" ]
I hope someone can help me to solve my problem. When I use follow command: ``` D:\wamp\www> DashCast -av test.mp4 -seg-dur 20000 -frag-dur 4000 -no-loop -time-shift -1 -base-url "http://localhost/output/" -mpd-refresh 1 Options: video source: test.mp4 video crop: 0x0 audio source: test.mp4 Configurations: id:v1 res:640x480 vbr:1000000 id:a1 abr:192000 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isom creation_time : 2015-08-27 06:22:27 encoder : FormatFactory : www.pcfreetime.com Duration: 00:02:47.60, start: 0.000000, bitrate: 1665 kb/s Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 856x480 [SAR 1:1 DAR 107:60], 1548 kb/s, 30 fps, 30 tbr, 30k tbn, 30 tbc (default) Metadata: creation_time : 2015-08-27 06:22:27 handler_name : video Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 114 kb/s (default) Metadata: creation_time : 2015-08-27 06:22:33 handler_name : sound AVCTX give frame duration of 1/30 - keeping requested rate -1, but this may result in unexpected behaviour. Press q or Q to exit... [libx264 @ 0000000004920260] using SAR=1/1 [libx264 @ 0000000004920260] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0000000004920260] profile High, level 3.0 [libx264 @ 0000000004920260] 264 - core 142 r2431 ac76440 - H.264/MPEG-4 AVC codec - Copyright 2003-2014 - http://www.videolan.org/x264.html - options : cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 dea dzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_i ntra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=30 keyint_min=3 scenecut=40 intra_refresh=0 rc_lookahea d=30 rc=abr mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Duration: PT00H00M00.000S Audio encoder got an end of buffer! [aac @ 00000000006fdca0] 2 frames left in the queue on closing [libx264 @ 0000000004920260] non-strictly-monotonic PTS [libx264 @ 0000000004920260] non-strictly-monotonic PTS [libx264 @ 0000000004920260] non-strictly-monotonic PTS [libx264 @ 0000000004920260] non-strictly-monotonic PTS Video scaler got an end of input tbuffer! Video encoder got an end of buffer! [libx264 @ 0000000004920260] frame I:207 Avg QP: 1.07 size:145157 [libx264 @ 0000000004920260] frame P:2181 Avg QP: 0.27 size: 94941 [libx264 @ 0000000004920260] frame B:2600 Avg QP: 1.57 size: 63217 [libx264 @ 0000000004920260] consecutive B-frames: 19.6% 16.4% 48.5% 15.5% [libx264 @ 0000000004920260] mb I I16..4: 19.7% 20.0% 60.3% [libx264 @ 0000000004920260] mb P I16..4: 1.4% 1.8% 6.3% P16..4: 28.5% 26.6% 17.9% 0.0% 0.0% skip:17.5% [libx264 @ 0000000004920260] mb B I16..4: 0.0% 0.1% 0.7% B16..8: 33.1% 20.6% 17.6% direct: 9.5% skip:18.4% L0:36.4% L1:43.1% BI:20.4% [libx264 @ 0000000004920260] final ratefactor: -28.36 [libx264 @ 0000000004920260] 8x8 transform intra:19.3% inter:32.0% [libx264 @ 0000000004920260] coded y,uvDC,uvAC intra: 92.7% 84.8% 82.9% inter: 66.0% 53.2% 53.1% [libx264 @ 0000000004920260] i16 v,h,dc,p: 41% 33% 13% 13% [libx264 @ 0000000004920260] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 39% 11% 2% 2% 3% 4% 3% 6% [libx264 @ 0000000004920260] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 32% 7% 3% 4% 4% 5% 4% 7% [libx264 @ 0000000004920260] i8c dc,h,v,p: 48% 23% 23% 5% [libx264 @ 0000000004920260] Weighted P-Frames: Y:0.6% UV:0.0% [libx264 @ 0000000004920260] ref P L0: 74.0% 12.2% 9.0% 4.8% 0.0% [libx264 @ 0000000004920260] ref B L0: 91.3% 7.4% 1.3% [libx264 @ 0000000004920260] ref B L1: 95.7% 4.3% [libx264 @ 0000000004920260] kb/s:19.32 Keyboard thread exit D:\wamp\www> ``` I get these files:a1_init_gpac.mp4,a1_1_gpac.m4s,...,a1_17_gpac.m4s,dashcast.mpd,v1_init_gpac.mp4,v1_1_gpac.mp4,...,v1_17_gpac.mp4. The MPD file is: ``` <?xml version="1.0"?> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" mediaPresentationDuration="PT00H00M00.000S" minBufferTime="PT1.000000S" type="static" profiles="urn:mpeg:dash:profile:full:2011" minimumUpdatePeriod="PT1S"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>dashcast.mpd</Title> </ProgramInformation> <BaseURL>http://localhost/output/</BaseURL> <Period start="PT0H0M0.000S" id="P1"> <AdaptationSet segmentAlignment="true" bitstreamSwitching="false"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <SegmentTemplate timescale="44100" duration="880640" media="$RepresentationID$_$Number$_gpac.m4s" startNumber="0" initialization="$RepresentationID$_init_gpac.mp4"/> <Representation id="a1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="44100" startWithSAP="1" bandwidth="192000"> </Representation> </AdaptationSet> <AdaptationSet segmentAlignment="true" bitstreamSwitching="false"> <SegmentTemplate timescale="30" duration="600" media="$RepresentationID$_$Number$_gpac.m4s" startNumber="0" initialization="$RepresentationID$_init_gpac.mp4"/> <Representation id="v1" mimeType="video/mp4" codecs="avc1.64001e" width="640" height="480" frameRate="30" sar="1:1" startWithSAP="1" bandwidth="1000000"> </Representation> </AdaptationSet> </Period> </MPD> ``` When I play these files, I got the wrong message: ``` Playback initiated! Parsing complete: ( xml2json: 47ms, objectiron: 68ms, total: 0.115s) Manifest has been refreshed. Manifest has loaded. MediaSource is open! [object Event] Duration successfully set to: 0 Added 0 inline events video codec: video/mp4;codecs="avc1.64001e" [video] stop audio codec: audio/mp4;codecs="mp4a.40.2" [audio] stop No text data. No fragmentedText data. No muxed data. [video] start [video] Getting the request for time: 0 [video] Index for time 0 is 0 [video] SegmentTemplate: 0 / 0.04800000000000004 [audio] start [audio] Getting the request for time: 0 [audio] Index for time 0 is 0 [audio] SegmentTemplate: 0 / 0.04800000000000004 [video] Getting the request for time: 20 [video] Index for time 20 is 0 [video] SegmentTemplate: 0 / 0.04800000000000004 [video] Signal complete. [audio] Getting the request for time: 19.969160997732427 [audio] Index for time 19.969160997732427 is 0 [audio] SegmentTemplate: 0 / 0.04800000000000004 [audio] Signal complete. failed video:Media Segment:0 (404, 0ms, 54ms) Failed loading fragment: video:Media Segment:0, retry in 500ms attempts: 3 failed audio:Media Segment:0 (404, 0ms, 161ms) Failed loading fragment: audio:Media Segment:0, retry in 500ms attempts: 3 failed video:Media Segment:0 (404, -635ms, 669ms) Failed loading fragment: video:Media Segment:0, retry in 500ms attempts: 2 failed audio:Media Segment:0 (404, -722ms, 782ms) Failed loading fragment: audio:Media Segment:0, retry in 500ms attempts: 2 failed video:Media Segment:0 (404, -1240ms, 1295ms) Failed loading fragment: video:Media Segment:0, retry in 500ms attempts: 1 failed audio:Media Segment:0 (404, -1342ms, 1385ms) Failed loading fragment: audio:Media Segment:0, retry in 500ms attempts: 1 failed video:Media Segment:0 (404, -1813ms, 1837ms) Failed loading fragment: video:Media Segment:0 no retry attempts left No video bytes to push. [video] stop failed audio:Media Segment:0 (404, -1901ms, 1933ms) Failed loading fragment: audio:Media Segment:0 no retry attempts left No audio bytes to push. [audio] stop <video> play Refresh manifest in 1.846 seconds. [video] start [video] Stream is complete [audio] start loaded audio:Initialization Segment:NaN (200, 0ms, 113ms) [audio] Initialization finished loading [audio] Stream is complete loaded video:Initialization Segment:NaN (200, 0ms, 132ms) [video] Initialization finished loading [audio] Stalling Buffer [audio] Waiting for more buffer before starting playback. [audio] Getting the request for time: 0 [audio] Index for time 0 is 0 Video Element Error: MEDIA_ERR_SRC_NOT_SUPPORTED [video] stop [audio] stop Video Element Error: MEDIA_ERR_SRC_NOT_SUPPORTED ``` I dont't know why. Thank you. JamesXu.
The wrong format of dashcast.mpd and segments(*.m4s) by dashcast?(Can't played by DASH player))
https://api.github.com/repos/gpac/gpac/issues/216/comments
7
2015-08-27T08:48:42Z
2019-06-28T14:57:35Z
https://github.com/gpac/gpac/issues/216
103,458,191
216
[ "gpac", "gpac" ]
Hi We used MP4Box to genreate mpd and segment-ed dash files Command used was: MP4Box -dash 2000 -rap -frag-rap -profile onDemand -out /eph/974792159628123000/a/613992915/v/752033447846770000_100/dash.mpd /eph/974792159628123000/a/613992915/v/752033447846770000_100/xq.mp4#video /eph/974792159628123000/a/613992915/v/752033447846770000_100/xq.mp4#audio /eph/974792159628123000/a/613992915/v/752033447846770000_100/hq.mp4#video /eph/974792159628123000/a/613992915/v/752033447846770000_100/mq.mp4#video /eph/974792159628123000/a/613992915/v/752033447846770000_100/lq.mp4#video When we play the mpd in the GPAC sample player (and even in our own own implementation in flowplayer 6.0.3) It results in buffer stalling between 7/ 13 seconds (it varies). The mpd url is:- https://s3.amazonaws.com/dev.media.burst.it/a/613992915/v/752033447846770000_100/dash.mpd Tried it in this sample player:- http://dashif.org/reference/players/javascript/1.4.0/samples/dash-if-reference-player/index.html Also tried it in our own player here- https://dev.burst.com/test/videoplayback/inbuilt.html In both case we it results in same results. Note to see the issue use chrome and if the entire video plays perhaps reload browser and retry. Can someone tell me what is wrong? From the flowplayer developers they said the mpd is incorrect. However we are using MP4Box so how can it be incorrect unless there is a bug. MP4Box is fairly recent and compiled from github See below- MP4Box - GPAC version 0.5.2-DEV-rev563-ge3b29f0-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_JPEG GPAC_HAS_PNG
bad mpd generated by MP4Box
https://api.github.com/repos/gpac/gpac/issues/215/comments
18
2015-08-26T16:14:19Z
2015-10-22T16:27:13Z
https://github.com/gpac/gpac/issues/215
103,308,262
215
[ "gpac", "gpac" ]
Who can give me a advice about a better virtual camera software in Ubuntu 14.0. I can not use the ALVD and webcamstudio.
Search a good Virtual Camera software for Ubuntu 14.0
https://api.github.com/repos/gpac/gpac/issues/214/comments
0
2015-08-23T11:05:28Z
2015-08-27T09:19:38Z
https://github.com/gpac/gpac/issues/214
102,609,262
214
[ "gpac", "gpac" ]
My error as follow. Who can help me? I am so tired for these errors. xzm@xzm-virtual-machine:~/coder/test$ DashCast -vf video4linux2 -vres 640x480 -vfr 30 -v4l2f yuyv422 -v /dev/video0 Options: video source: /dev/video0 video format: video4linux2 v4l2 format: yuyv422 video framerate: 30 video resolution: 640x480 video crop: 0x0 audio source: Configurations: id:v1 res:640x480 vbr:4000 [video4linux2,v4l2 @ 0x8534fa0] Dequeued v4l2 buffer contains 205752 bytes, but 614400 were expected. Flags: 0x00002005. Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, bitrate: 147456 kb/s Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc Press q or Q to exit... [video4linux2,v4l2 @ 0x8534fa0] Dequeued v4l2 buffer contains 162132 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. [video4linux2,v4l2 @ 0x8534fa0] Dequeued v4l2 buffer contains 166380 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. [video4linux2,v4l2 @ 0x8534fa0] Dequeued v4l2 buffer contains 161168 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. [libx264 @ 0xb08004a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0xb08004a0] profile High, level 3.0 [libx264 @ 0xb08004a0] 264 - core 148 r2579 73ae2d1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=30 keyint_min=3 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=4 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Duration: PT00H00M00.000S MPD file generated: output/dashcast.mpd Also, the error maybe as follow: [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Cannot read video frame. [video4linux2,v4l2 @ 0x9de6fa0] ioctl(VIDIOC_DQBUF): No such device Thanks you much.
DashCast error in ubuntu.
https://api.github.com/repos/gpac/gpac/issues/213/comments
0
2015-08-22T12:27:06Z
2015-09-16T11:29:42Z
https://github.com/gpac/gpac/issues/213
102,530,778
213
[ "gpac", "gpac" ]
I have built MP4Box on Ubuntu 12.04 64-bits following these steps: https://gpac.wp.mines-telecom.fr/2015/07/29/gpac-build-mp4box-only-all-platforms/ I then try to repackage a TS file into a MP4 file: ``` $ MP4Box -add in.ts out.mp4 [MPEG-2 TS] Estimated duration based on instant bitrate: 11811.6 sec Importing MPEG-2 TS (PID 256) MPEG-4 AVC/H264 Video import (TS PID 256) [MPEG-2 TS] Estimated duration based on instant bitrate: 11811.6 sec [MPEG-2 TS] Estimated duration based on instant bitrate: 14370 sec [MPEG-2 TS] Estimated duration based on instant bitrate: 16180.9 sec [MPEG-2 TS] Estimated duration based on instant bitrate: 15020.8 sec MP4Box: media_tools/mpegts.c:3212: gf_m2ts_process_packet: Assertion `af_size<=182' failed. Aborted ```
gf_m2ts_process_packet: Assertion `af_size<=182' failed.
https://api.github.com/repos/gpac/gpac/issues/211/comments
8
2015-08-21T13:07:24Z
2015-08-25T13:19:52Z
https://github.com/gpac/gpac/issues/211
102,376,874
211
[ "gpac", "gpac" ]
I find a strange problem in my use of dashcast: As follow: roots@roots-virtual-machine:~/coder/test$ DashCast -vf video4linux2 -vres 640x480 -vfr 30 -v4l2f yuyv422 -v /dev/video0 -live Options: video source: /dev/video0 video format: video4linux2 v4l2 format: yuyv422 video framerate: 30 video resolution: 640x480 video crop: 0x0 audio source: Configurations: id:v1 res:640x480 vbr:147456 [video4linux2,v4l2 @ 0x8d94fc0] Dequeued v4l2 buffer contains 962 bytes, but 614400 were expected. Flags: 0x00002005. Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, bitrate: 147456 kb/s Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc Press q or Q to exit... [video4linux2,v4l2 @ 0x8d94fc0] Dequeued v4l2 buffer contains 230402 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. [video4linux2,v4l2 @ 0x8d94fc0] Dequeued v4l2 buffer contains 242858 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. [video4linux2,v4l2 @ 0x8d94fc0] Dequeued v4l2 buffer contains 281274 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. [video4linux2,v4l2 @ 0x8d94fc0] Dequeued v4l2 buffer contains 242878 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. [video4linux2,v4l2 @ 0x8d94fc0] Dequeued v4l2 buffer contains 230400 bytes, but 614400 were expected. Flags: 0x00002005. Cannot read video frame. I hope anyone can help me.Thanks so much.
A strange erros in the Unbuntu 14.04 LTS about DashCast.
https://api.github.com/repos/gpac/gpac/issues/210/comments
2
2015-08-20T08:41:22Z
2015-09-16T11:29:54Z
https://github.com/gpac/gpac/issues/210
102,091,777
210
[ "gpac", "gpac" ]
Hi, I also develop some project on Windows 7 X64bit with the dashcast. But I don't know how to connect to the video with vfwcap option. Such as: DashCast -vf vfwcap -vres 1280x720 -vfr 24 -v 0 -live But I recieve the rusult is : C:\Users\Administrator\Desktop\test1>DashCast -vf vfwcap -vres 1280x720 -vfr 24 -v 0 -live MPD refresh time not set in live - defaulting to segment duration �[34m�[1mOptions: video source: 0 video format: vfwcap video framerate: 24 video resolution: 1280x720 video crop: 0x0 audio source: �[0m�[34m�[1mConfigurations: id:v1 res:640x480 vbr:400000 id:a1 abr:192000 �[0m[vfwcap @ 0000000000689620] Could not connect to device. Error -19 opening input - retrying without options [vfwcap @ 0000000000689480] Could not connect to device. Cannot open file 0 Cannot open input video. Can you help me? Thank you very much. Cannot open input video.
DashCast cannot connect the video in Windows using vfwcap.
https://api.github.com/repos/gpac/gpac/issues/209/comments
7
2015-08-20T07:08:16Z
2015-09-16T11:32:26Z
https://github.com/gpac/gpac/issues/209
102,076,970
209
[ "gpac", "gpac" ]
I am attempting to play an MPEG-2 TS multicast stream with the Mac OSMO4 player. I enter the URL (udp://233.3.3.197:30120) on the playlist. As soon as I select it from the playlist, OSMO4 crashes. Running OS X 10.10.5, have tried the two most recent dailies: gpac-0.5.2-DEV-rev552-g5a1b427-master gpac-0.5.2-DEV-rev553-gfb86514-master I also tried on 10.8.5, but there OSMO4 crashes on launch. The stream I'm testing with is a well known MPEG-2 TS with H.264/AAC payload. It plays fine in VLC. Ultimately, I'm needed to receive a 4K HEVC TS, but small steps first...
Mac Crash Attempting to Open Multicast TS
https://api.github.com/repos/gpac/gpac/issues/207/comments
3
2015-08-18T21:08:03Z
2019-06-28T14:57:09Z
https://github.com/gpac/gpac/issues/207
101,749,416
207
[ "gpac", "gpac" ]
I am new to the DashCast. I want to use DashCast to stream live video from a webcam. After installation with the instructions from https://gpac.wp.mines-telecom.fr/dashcast/, I tried with the first example DashCast -vf video4linux2 -v4l2f mjpeg -vfr 30 -vres 1280x720 -v /dev/video0 -conf dashcast.conf -live But it failed with the following message: [libx264@0x7f52380000920] AVFrame.format is not set [libx264@0x7f52380000920] AVFrame.width or height is not set [libx264@0x7f52380000920] AVFrame.format is not set [libx264@0x7f52380000920] AVFrame.width or height is not set ....... I have tried to tune some parameters, e.g. codec from mjpeg to yuyv422, resolution from 1280x720 to 960x540, etc. Neither works around. Can anyone help me there? Is there more online documentation about DashCast? Many thanks in advance David
DashCast capture webcam error with AVFrame.format is not set
https://api.github.com/repos/gpac/gpac/issues/206/comments
7
2015-08-18T12:03:37Z
2019-06-28T14:56:03Z
https://github.com/gpac/gpac/issues/206
101,640,446
206
[ "gpac", "gpac" ]
Hi there, I'm trying to log dash buffering event, meaning the event when the video stream buffer is depleted and the playback is paused due to re-buffering. Is there any way to log those events, they usually appear in the console this way: <Buffer : | ============= | (10/100) > etc. guess its showing that 10% of the current segment are buffered already. However I'm especially interesed in how long those buffering events are and if there are any logtools already logging this in a better way than the raw realtime console output. For example -logs dash@debug will always show me: [MPD_IN] Had to wait for 0 ms for the only cache file to be downloaded [MPD_IN] Waited 0 ms - Elements in cache: 1/3 Cache file name gmem://584026@0xa64690 segment start time 0 sec However 0ms seems rather short right ;-) Also the Player option -log-utc doesn't seem to work. The cache logtool also doesn't seem to give me any viable information about the actual video stream buffering happening. If I had to write my own log tool where I should start if I'd want to log re-buffering events, like logging the time the player has to pause? ps: I'm still using version 0.5.1-DEV-rev5265M , don't know if anything has changed in newer versions
Logging DASH re-buffering events
https://api.github.com/repos/gpac/gpac/issues/205/comments
2
2015-08-17T14:49:33Z
2016-10-09T21:58:51Z
https://github.com/gpac/gpac/issues/205
101,438,633
205
[ "gpac", "gpac" ]
Hi, is there anyway to append an small mp4 to another large mp4 file without have to write the large file in a tmp, because I have to append 15seg of video to another large file and have intensive load i/o in the disk.
MP4box cat and tmp write
https://api.github.com/repos/gpac/gpac/issues/204/comments
1
2015-08-13T14:48:22Z
2016-10-09T22:21:01Z
https://github.com/gpac/gpac/issues/204
100,789,946
204
[ "gpac", "gpac" ]
Hello, I am generating dash content for HEVC live service using MP4Box. The input video representations has different resolutions, but only one initialization segment has been generated. This shouldn't be the case since init segment contains video width and height parameters, which should be different for each of these representations. The different representations are created using ffmpeg, example: ffmpeg -i ~\ContentSources\big_buck_bunny_1080p_surround.avi -f mp4 -vcodec libx265 -s 512x288 -aspect 16:9 -b:v 500k -an -maxrate 504k -bufsize 1004k -threads 0 -x265-params no-open-gop=1:min-keyint=48:scenecut=0:keyint=48 -y ~\ContentSources\bbb_288p_500k_H265.mp4 Then dash content creation using MP4Box, MP4Box -dash 2000 -profile live -rap -frag-rap -url-template -out ~\Dashcontent\BBB_MultiRes_Multirate_HEVC_Live.mpd -segment-name %s_ -segment-ext mp4 ~\ContentSources\bbb_288p_500k_H265.mp4 ~\ContentSources\bbb_432p_1000k_H265.mp4 ~\ContentSources\bbb_720p_2000k_H265.mp4 ~\ContentSources\bbb_64k_audio.mp4 The common init segment shows size parameters as 512x288. Also I am using Ubuntu 12.04.5 LTS, ffmpeg version N-74299-g8db0f71 built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) MP4Box - GPAC version 0.5.2-DEV-rev552-g5a1b427-master
Dash content generation for multiple resolution
https://api.github.com/repos/gpac/gpac/issues/203/comments
2
2015-08-13T11:54:13Z
2015-08-19T12:08:11Z
https://github.com/gpac/gpac/issues/203
100,750,696
203
[ "gpac", "gpac" ]
I run the follow command, and find video sample is not imported into ouput file: MP4Box -quiet -add input.h264 -fps 10 output.3gp where 'input.h264' consists of only sps, pps, and one idr nal units. The MP4Box version to test is shown as below: ``` commit 35b16b3f3364c192b70a7757f273a1574d6c3c69 Author: jeanlf <[email protected]> Date: Wed Apr 22 17:08:25 2015 +0200 fixed timeshift estimation bug' ``` Test h264 file can be downloaded via 'http://sharesend.com/8x182bvw', or via 'http://mail.sina.com.cn/netdisk/download.php?id=093d288249aca362cd2769e01907441782'
fail to import raw h264 file into 3gp file
https://api.github.com/repos/gpac/gpac/issues/202/comments
9
2015-08-12T07:21:59Z
2015-08-17T11:31:26Z
https://github.com/gpac/gpac/issues/202
100,483,370
202
[ "gpac", "gpac" ]
All the m4v files I've tried so far crash on the -diso command using both the latest 32 version and an older 64 bit version... for some reason I can't install a newer 64 bit version, it always says the download is corrupted. Problem signature: Problem Event Name: APPCRASH Application Name: mp4box.exe Application Version: 0.0.0.0 Application Timestamp: 551ee7e1 Fault Module Name: libgpac.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 551ee7b0 Exception Code: c0000005 Exception Offset: 00000000000accf6 OS Version: 6.3.9600.2.0.0.256.103 Locale ID: 3081 Additional Information 1: 1bf7 Additional Information 2: 1bf7526cd8a74c6608dbbcb90d3dfb22 Additional Information 3: 1a7f Additional Information 4: 1a7f73b189c21f124613ccd6806fd818
-diso command crashes on CP free iTunes m4vs
https://api.github.com/repos/gpac/gpac/issues/201/comments
8
2015-08-11T23:43:30Z
2015-08-19T14:10:41Z
https://github.com/gpac/gpac/issues/201
100,435,716
201
[ "gpac", "gpac" ]
I'm trying to capture desktop and stream it live in an Apache server using DashCast. It captures and plays correctly when I do it on demand, however when I do it live and then play with MP4Client it shows only a black screen, not even getting any error message while capturing it. The commands I’m using are: DashCast -vf x11grab -vres 1280x720 -v :0.0 -npts -live -out /public_html/ And then I play with: MP4Client http://localhost/vitor/dashcast.mpd Which results in the following output: MP4Client http://localhost/vitor/dashcast/dashcast.mpd Using config file in /home/vitor directory System info: 11948 MB RAM - 8 cores Modules Found : 36 Loading GPAC Terminal [Thread MediaManager] Couldn't set priority(2) for thread ID 0x9b55a700 [Thread MediaManager] Couldn't set priority(2) for thread ID 0x9b55a700 Terminal Loaded in 35 ms Opening URL http://localhost/vitor/dashcast/dashcast.mpd [DASH] Slight drift in UTC clock at time 2015-08-05T12:38:45Z: diff AST - now 3563501 ms Service Connected So what am I doing wrong? The client apparently connects correctly to the server, open the player but then it doesn't show anything on screen. I'm using Ubuntu 14.04 with GPAC version 0.5.0.
Issue when playing DashCast live stream
https://api.github.com/repos/gpac/gpac/issues/200/comments
3
2015-08-05T19:56:02Z
2019-06-28T14:55:33Z
https://github.com/gpac/gpac/issues/200
99,286,181
200
[ "gpac", "gpac" ]
@grudelsud and I are using MP4Box `0.5.1-DEV-rev4065` in two environments: OSX 10.10.4 and Ubuntu 14.04.3 LTS. When DASHing the same input file using the same command, the DASHed output on OSX works in [this Shaka Player demo](https://shaka-player-demo.appspot.com/) but the file DASHed on Ubuntu fails in the same Shaka Player demo. (Tested in Chrome 44 OSX). Command: ``` MP4Box -dash 4000 -rap -frag 4000 -frag-rap -profile onDemand -out "kitty-step3-mp4box.mpd" "kitty-step2-ffmpeg.mp4" ``` ## OSX This [MPD file and it's MP4](https://responsive-tv-shared.s3.amazonaws.com/shaka-test/local/kitty-step3-mp4box.mpd) plays successfully in [Shaka Player](https://shaka-player-demo.appspot.com/): ``` <?xml version="1.0"?> <!-- MPD file Generated with GPAC version 0.5.1-DEV-rev4065 on 2015-08-05T15:28:53Z--> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500000S" type="static" mediaPresentationDuration="PT0H1M15.00S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>kitty-step3-mp4box.mpd generated by GPAC</Title> </ProgramInformation> <Period duration="PT0H1M15.00S"> <AdaptationSet segmentAlignment="true" maxWidth="1280" maxHeight="720" maxFrameRate="25" par="16:9" lang="und" subsegmentStartsWithSAP="1"> <ContentComponent id="1" contentType="video" /> <ContentComponent id="2" contentType="audio" /> <Representation id="1" mimeType="video/mp4" codecs="avc1.4d401f,mp4a.40.2" width="1280" height="720" frameRate="25" sar="1:1" audioSamplingRate="48000" startWithSAP="1" bandwidth="2707746"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <BaseURL>kitty-step2-ffmpeg_dashinit.mp4</BaseURL> <SegmentBase indexRangeExact="true" indexRange="1396-1655"> <Initialization range="0-1395"/> </SegmentBase> </Representation> </AdaptationSet> </Period> </MPD> ``` ## Ubuntu This [MPD file and it's MP4](https://responsive-tv-shared.s3.amazonaws.com/shaka-test/local-ffmpeg/kitty-step3-mp4box.mpd) does not play, throwing an error visible in the console of [Shaka Player](https://shaka-player-demo.appspot.com/): ``` <?xml version="1.0"?> <!-- MPD file Generated with GPAC version 0.5.1-DEV-rev4065 --> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500000S" type="static" mediaPresentationDuration="PT0H1M15.00S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>kitty-step3-mp4box.mpd generated by GPAC</Title> </ProgramInformation> <Period id="" duration="PT0H1M15.00S"> <AdaptationSet segmentAlignment="true" maxWidth="1280" maxHeight="720" maxFrameRate="25" par="16:9" subsegmentStartsWithSAP="1"> <ContentComponent id="1" contentType="video" lang="und"/> <ContentComponent id="2" contentType="audio" lang="und"/> <Representation id="1" mimeType="video/mp4" codecs="avc1.4d401f,mp4a.40.02" width="1280" height="720" frameRate="25" sar="1:1" audioSamplingRate="48000" startWithSAP="1" bandwidth="2707676"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <BaseURL>kitty-step2-ffmpeg_dashinit.mp4</BaseURL> <SegmentBase indexRangeExact="true" indexRange="1288-1547"/> </Representation> </AdaptationSet> </Period> </MPD> ``` If you diff the MPDs, you'll see that they claim to be from the same version of MP4Box, but there are obvious differences between the two (most notably the `indexRange`). Please let us know if we can provide you with any further info, and of course any advice would be much appreciated!
MP4Box rev4065 behaviour different on OSX vs Ubuntu (ubuntu produces unplayable file)
https://api.github.com/repos/gpac/gpac/issues/199/comments
2
2015-08-05T19:06:08Z
2015-08-06T12:29:14Z
https://github.com/gpac/gpac/issues/199
99,275,582
199
[ "gpac", "gpac" ]
Can DashCast be used to take an audio feed only (no video) from LINE IN from the soundcard and produce a MPEG-DASH compatible audio only live stream?
DashCast: Can it be using for audio only?
https://api.github.com/repos/gpac/gpac/issues/198/comments
3
2015-08-05T14:31:06Z
2015-09-16T11:31:50Z
https://github.com/gpac/gpac/issues/198
99,217,726
198
[ "gpac", "gpac" ]
It seems mp4box requires the default namespace for TTML to be set: ``` XML (Subtitle, Metadata or Text) SampleEntry: namespace is mandatory. Abort. ``` It seems mp4box expects xmlns="http://www.w3.org/ns/ttml" to be set, although it is also valid to use prefixes on the elements e.g.: xmlns:tt="http://www.w3.org/ns/ttml" and tt:styling throws up an error. It should not be the case as from XML specification.
TTML import does not support the absence of the default TTML namespace
https://api.github.com/repos/gpac/gpac/issues/197/comments
3
2015-08-05T11:07:26Z
2015-08-30T16:51:04Z
https://github.com/gpac/gpac/issues/197
99,179,585
197
[ "gpac", "gpac" ]
I've currently the issue that when adding an AC3 audio track to a mp4, it runs endless until my disk is full! Please download the test material and try to bring both tracks (one h264 video and the ac3 audio) together (https://www.dropbox.com/sh/2m4nxqyw6fcjok9/AAA3CGhqUlCTAESzcbOvR2_Ea?dl=0). For this I'm executing the following command: ``` ./MP4Box -add American_Beauty_15.07.25_23-55_orf1_110_TVOON_DE.mpg.HD_video.h264 -add American_Beauty_15.07.25_23-55_orf1_110_TVOON_DE.mpg.HD.ac3 -inter 500 -new out.mp4 ``` I was also successfully using an mp3 audio track. The really bad thing is that it runs endless until no more free disk space is available!
endless loop using ac3 audio file
https://api.github.com/repos/gpac/gpac/issues/194/comments
2
2015-08-02T17:19:00Z
2015-08-04T16:51:02Z
https://github.com/gpac/gpac/issues/194
98,623,034
194
[ "gpac", "gpac" ]
Hi Team, I am executing Mp4Box as part of my C# application. In some random execution it creates wrong XML syntax of MPD. Please find attached screenshot of one of the invalid MPD. Seems to be there is a bug when it tried to write the final MPD. MP4Box Command (sample): mp4box -rap -url-template -frag 2000 -dash 5000 -segment-name wild_%s -bs-switching merge 1000000037_2464.m4v 1000000037_1264_enc.m4v 1000000037_864_enc.m4v 1000000037_264_enc.m4v audio_enc.m4a Please let me know what could be the reason of this. I am using following code to invoke the process. Dim standardOutput As New System.Text.StringBuilder Dim standardError As New System.Text.StringBuilder myProcess = New System.Diagnostics.Process() myProcess.StartInfo.FileName = Command myProcess.StartInfo.Arguments = Params myProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal myProcess.StartInfo.UseShellExecute = True myProcess.StartInfo.RedirectStandardOutput = False myProcess.StartInfo.RedirectStandardError = False 'myProcess.StartInfo.StandardErrorEncoding = System.Text.Encoding.ASCII myProcess.StartInfo.ErrorDialog = False myProcess.StartInfo.CreateNoWindow = True myProcess.StartInfo.WorkingDirectory = WorkingDirectory ``` standardOutput.AppendLine("Standard Output Begin") standardError.AppendLine("Standard Error Begin") Try myProcess.Start() Catch ex As Exception End Try Try If Not myProcess.Start() Then End If myProcess.WaitForExit(Timeout * 1000) If Not myProcess.HasExited Then myProcess.Kill() success = False End If ``` ![wrong_mpd](https://cloud.githubusercontent.com/assets/13536181/8927946/bfaf6086-3538-11e5-99ca-08040016f235.PNG)
MP4Box creating corrupted MPD (incorrect XML syntax)
https://api.github.com/repos/gpac/gpac/issues/193/comments
2
2015-07-28T09:26:45Z
2016-10-09T22:20:47Z
https://github.com/gpac/gpac/issues/193
97,655,850
193
[ "gpac", "gpac" ]
Hello, I am having troubles when I dash an EBU-TT-D document which declares timings not from p but from span: ``` <?xml version="1.0" encoding="UTF-8"?> <tt xmlns="http://www.w3.org/ns/ttml" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" xmlns:tts="http://www.w3.org/ns/ttml#styling" ttp:timeBase="media" xml:lang="en" ttp:cellResolution="50 30"> <head> <styling> <style xml:id="paragraphStyle" tts:textAlign="center" tts:color="#FFFFFF" tts:backgroundColor="#000000" tts:fontSize="130%" tts:fontFamily="monospace"/> <style xml:id="blueBackground" tts:backgroundColor="#0000FF"/> </styling> <layout> <region xml:id="timing" tts:origin="5% 75%" tts:extent="90% 15%" tts:displayAlign="center" style="blueBackground"/> </layout> </head> <body> <div> <p xml:id="subtitle1" region="timing" style="paragraphStyle"><span begin="00:00:04.000" end="00:00:12.000">Hello World, how are you doing? (span begin: 4.000, span end: 12.000)</span></p> </div> </body> </tt> ``` At receival, I'll only get a sample with cts/dts 0 and duration 8000, instead of having the cst/dts 4000. Any idea why? Thanks
Timing issue in EBU-TT-D subtitles when declared in a span
https://api.github.com/repos/gpac/gpac/issues/192/comments
11
2015-07-20T08:32:07Z
2015-08-19T07:58:11Z
https://github.com/gpac/gpac/issues/192
96,015,280
192
[ "gpac", "gpac" ]
Hello Guys! I've just installed GPAC on my Ubuntu. I've tried DashCast with the sample code you provided: DashCast -av test.mp4 -seg-dur 1000 -frag-dur 200 It starts working frame by frame, but after a while it stops and says: Segmentation fault (core dumpled) Can you help me with this error? Thanks, Zsolt
DashCast: transcoding mp4: Segmentation fault (core dumped)
https://api.github.com/repos/gpac/gpac/issues/191/comments
2
2015-07-17T08:29:09Z
2019-06-28T14:55:05Z
https://github.com/gpac/gpac/issues/191
95,612,416
191
[ "gpac", "gpac" ]
#### I have noticed that A/V assets transcoded with `FFMPEG` and boxed with `MP4Box` using the `dashavc264:onDemand` profile will have an extremely short initial audio segment (in the range of 1/100th of a second), which will in turn cause the HTML 5 [DASHIF](http://dashif.org/reference/players/javascript/1.3.0/samples/dash-if-reference-player/) and [Akamai reference](http://mediapm.edgesuite.net/flash-client-dev-builds/nightly/dash/v1.0/dash-support-player/index.html) players to fail to play correctly. ##### One must move the "progress" knob a second ahead to get it to play, _after which all is fine_.This issue only seems to occur on Chrome and Internet Exploder, and not the Firefox devkit. This question [is likely related to this thread](http://sourceforge.net/p/gpac/discussion/287547/thread/b7337740/?limit=25). However, it is different enough to be it's own. My guess here is the the runt initial audio segment is to preserve A/V sync when rate transcoding from variable input rate to a fixed frame rate of 30fps. It is unclear to me who is generating this initial audio segment: MP4Box or FFMPEG. It is also unclear to me if this is the fault of the `FFMPEG`/`MP4Box` toolchain, or the Media Extension toolkit on Chrome. However, this problem has been reproduced with a home-grown DASH player, leading one to believe that there may be an incompatibility with the FFMPEG/MP4Box suite and the Chrome and IE HTML 5 players. ##### Thus: - If this an FFMPEG/MP4Box issue, does anyone know how to prevent the runt initial audio segment from being generated? Or is it a strict requirement? - If this is a bug in Chrome, is there any way to work around this, short of having one's homegrown player skipping 0.02 seconds into the stream (which is what is currently done)? #### Specifics: - HTML5/Media Extensions-based Player on Chrome - Reference DASH Players: ``` http://mediapm.edgesuite.net/flash-client-dev-builds/nightly/dash/v1.0/dash-support-player/index.html http://dashif.org/reference/players/javascript/1.3.0/samples/dash-if-reference-player/ ``` - Files transcoded with: (Only one resolution shown here: other resolutions use different video bitrates) ``` ffmpeg -i <file> -vf <scale stuff> -r 30 (fixed frame rate of 30FPS. Incoming framerate MAY be variable, and is likely NOT 30fps) -c:v libx264 -b:v 3000k -profile:v high -pix_fmt yuv420p -c:a aac -b:a 192k (perhaps using FFMPEG's aac encoder is a bad idea?) -movflags +faststart -fflags +genpts (unsure if this is necessary, doesn't seem like a bad idea) -x264opts keyint=150:min-keyint=150:scenecut=-1 (ensure a fixed 5 second GOP size) <outfile.mp4> ``` - Files boxed with the following command. Note that I am I only generating a single audio stream: ``` MP4Box -out dash.mpd -dash 5000 -frag 1000 -frag-rap -rap -bs-switching no -dash-profile dashavc264:onDemand 1080.mp4#video:id=VIDEO-1080 720.mp4#video:id=VIDEO-720 480.mp4#video:id=VIDEO-480 360.mp4#video:id=VIDEO-360 720.mp4#audio:id=AUDIO-192k ``` - Things that _didn't_ work: - turning genpts on or off - turning frag and frag-rap on or off - turning movflags on or off - switching between `dashavc264:onDemand` and "plain old" `onDemand` profiles - A/V DASHd asset that DOES experience the problem: ``` http://pm1playscdntv-a.akamaihd.net/video/AKKxcjxr0AE/processed/dash.mpd ``` - Silent jellyfish video that does not experience the initial lockup: ``` http://pm1playscdntv-a.akamaihd.net/video/AKKyfg0XkAE/processed/dash.mpd ``` #### Javascript console output [from the DASHIF reference player](http://dashif.org/reference/players/javascript/1.3.0/samples/dash-if-reference-player/) run on Chrome. Output from the "non-functional" A/V asset run. Please see the "LOOK HERE" sections: ``` Debug.js:76 Parsing complete: ( xml2json: 3ms, objectiron: 1ms, total: 0.004s) Debug.js:76 Manifest has loaded. Debug.js:76 Manifest has been refreshed. http://sourceforge.net/p/gpac/discussion/287547/thread/b7337740/?limit=25 Debug.js:76 MediaSource is open! Debug.js:76 [object Event] Debug.js:76 Added 0 inline events Debug.js:76 video codec: video/mp4;codecs="avc1.64001e" Debug.js:76 ScheduleController video stop. Debug.js:76 Perform SIDX load: http://pm1playscdntv-a.akamaihd.net/video/AKKxcjxr0AE/processed/360_track1_dashinit.mp4 Debug.js:76 Perform SIDX load: http://pm1playscdntv-a.akamaihd.net/video/AKKxcjxr0AE/processed/480_track1_dashinit.mp4 Debug.js:76 Perform SIDX load: http://pm1playscdntv-a.akamaihd.net/video/AKKxcjxr0AE/processed/720_track1_dashinit.mp4 Debug.js:76 audio codec: audio/mp4;codecs="mp4a.40.2" Debug.js:76 ScheduleController audio stop. Debug.js:76 Perform SIDX load: http://pm1playscdntv-a.akamaihd.net/video/AKKxcjxr0AE/processed/720_track2_dashinit.mp4 Debug.js:76 No text data. Debug.js:76 Duration successfully set to: 123.971 Debug.js:76 Parsed SIDX box: 25 segments. Debug.js:76 ScheduleController video start. Debug.js:76 Parsed SIDX box: 25 segments. Debug.js:76 ScheduleController audio start. ``` **vvvvvvvvvvvvvvvvvvvvv LOOK HERE vvvvvvvvvvvvvvvvvv** ``` Debug.js:76 loaded video:Initialization Segment:NaN (206, 0ms, 21ms) ``` **^^^^^^^^^^^^^^^^^^^^^ LOOK HERE ^^^^^^^^^^^^^^^^^^** ``` Debug.js:76 Initialization finished loading: video Debug.js:76 Stalling video Buffer: video Debug.js:76 Waiting for more video buffer before starting playback. Debug.js:76 Stalling audio Buffer: audio Debug.js:76 Waiting for more audio buffer before starting playback. ``` **vvvvvvvvvvvvvvvvvvvvv LOOK HERE vvvvvvvvvvvvvvvvvv** ``` Debug.js:76 loaded audio:Initialization Segment:NaN (206, 0ms, 475ms) ``` **^^^^^^^^^^^^^^^^^^^^^ LOOK HERE ^^^^^^^^^^^^^^^^^^** ``` Debug.js:76 Initialization finished loading: audio Debug.js:76 Got loadmetadata event. Debug.js:76 Starting playback at offset: 0 Debug.js:76 element loaded! Debug.js:76 Start Event Controller Debug.js:76 ScheduleController video start. Debug.js:76 Getting the request for time: 0 Debug.js:76 Index for time 0 is 0 Debug.js:76 SegmentBase: 0 / 123.971 Debug.js:76 ScheduleController audio start. Debug.js:76 Getting the request for time: 0 Debug.js:76 Index for time 0 is 0 Debug.js:76 SegmentBase: 0 / 123.971 Debug.js:76 loaded video:Media Segment:0 (206, 20ms, 63ms) Debug.js:76 Getting the request for time: 5 Debug.js:76 Index for time 5 is 0 Debug.js:76 SegmentBase: 0 / 123.971 Debug.js:76 SegmentBase: 5 / 123.971 Debug.js:76 Got enough video buffer to start. Debug.js:76 Buffered video Range: 0 - 4.999999 Debug.js:76 Getting the request for time: 0 Debug.js:76 Index for time 0 is 0 Debug.js:76 SegmentBase: 0 / 123.971 Debug.js:76 loaded audio:Media Segment:0 (206, 509ms, 44ms) Debug.js:76 Getting the request for time: 4.992289 Debug.js:76 Index for time 4.992289 is 0 Debug.js:76 SegmentBase: 0 / 123.971 Debug.js:76 SegmentBase: 4.956009070294785 / 123.971 Debug.js:76 Got enough audio buffer to start. ``` **vvvvvvvvvvvvvvvvvvvvv LOOK HERE vvvvvvvvvvvvvvvvvv** ``` Debug.js:76 loaded video:Initialization Segment:NaN (206, 0ms, 21ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 <---- Here, what is this? 1 / 0.010158 = 94.44 :-) Debug.js:76 Buffered audio Range: 0.046439 - 4.992289 Debug.js:76 InsufficientBufferRule requesting switch to index: 0 type: video Priority: Strong ``` **^^^^^^^^^^^^^^^^^^^^^ LOOK HERE ^^^^^^^^^^^^^^^^^^** ``` Debug.js:76 Getting the request for time: 10 Debug.js:76 Index for time 10 is 1 Debug.js:76 SegmentBase: 5 / 123.971 Debug.js:76 SegmentBase: 10 / 123.971 Debug.js:76 Getting the request for time: 9.94829931972789 Debug.js:76 Index for time 9.94829931972789 is 1 Debug.js:76 SegmentBase: 4.956009070294785 / 123.971 Debug.js:76 SegmentBase: 9.94829931972789 / 123.971 Debug.js:76 loaded video:Media Segment:5 (206, 46ms, 5ms) Debug.js:76 Getting the request for time: 15 Debug.js:76 Index for time 15 is 2 Debug.js:76 SegmentBase: 10 / 123.971 Debug.js:76 SegmentBase: 15 / 123.971 Debug.js:76 Getting the request for time: 20 Debug.js:76 Index for time 20 is 3 Debug.js:76 SegmentBase: 15 / 123.971 Debug.js:76 SegmentBase: 20 / 123.971 Debug.js:76 Buffered video Range: 0 - 9.999999 Debug.js:76 loaded video:Media Segment:10 (206, 21ms, 27ms) Debug.js:76 loaded audio:Media Segment:4.956009070294785 (206, 692ms, 15ms) Debug.js:76 Getting the request for time: 14.940589569160998 Debug.js:76 Index for time 14.940589569160998 is 2 Debug.js:76 SegmentBase: 9.94829931972789 / 123.971 Debug.js:76 SegmentBase: 14.940589569160998 / 123.971 Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 9.984579 Debug.js:76 Getting the request for time: 19.932879818594106 Debug.js:76 Index for time 19.932879818594106 is 3 Debug.js:76 SegmentBase: 14.940589569160998 / 123.971 Debug.js:76 SegmentBase: 19.932879818594106 / 123.971 Debug.js:76 Buffered video Range: 0 - 14.999999 Debug.js:76 loaded video:Media Segment:15 (206, 19ms, 5ms) Debug.js:76 Getting the request for time: 24.925170068027214 Debug.js:76 Index for time 24.925170068027214 is 4 Debug.js:76 SegmentBase: 19.932879818594106 / 123.971 Debug.js:76 SegmentBase: 24.92517006802721 / 123.971 Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 406307 kbps Debug.js:76 Getting the request for time: 22.6 Debug.js:76 Index for time 22.6 is 4 Debug.js:76 SegmentBase: 20 / 123.971 Debug.js:76 Getting the request for time: 29.917460317460318 Debug.js:76 Index for time 29.917460317460318 is 5 Debug.js:76 SegmentBase: 24.92517006802721 / 123.971 Debug.js:76 SegmentBase: 29.917460317460318 / 123.971 Debug.js:76 loaded video:Initialization Segment:NaN (206, 0ms, 21ms) Debug.js:76 Initialization finished loading: video Debug.js:76 Buffered video Range: 0 - 14.999999 Debug.js:76 loaded audio:Media Segment:14.940589569160998 (206, 598ms, 3ms) Debug.js:76 Getting the request for time: 34.90975056689342 Debug.js:76 Index for time 34.90975056689342 is 6 Debug.js:76 SegmentBase: 29.917460317460318 / 123.971 Debug.js:76 SegmentBase: 34.90975056689342 / 123.971 Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 9.984579 Debug.js:76 Buffered audio Range: 14.97687 - 19.96916 Debug.js:76 Getting the request for time: 39.902040816326526 Debug.js:76 Index for time 39.902040816326526 is 7 Debug.js:76 SegmentBase: 34.90975056689342 / 123.971 Debug.js:76 SegmentBase: 39.90204081632653 / 123.971 Debug.js:76 Getting the request for time: 44.89433106575964 Debug.js:76 Index for time 44.89433106575964 is 8 Debug.js:76 SegmentBase: 39.90204081632653 / 123.971 Debug.js:76 SegmentBase: 44.89433106575964 / 123.971 Debug.js:76 loaded audio:Media Segment:19.932879818594106 (206, 657ms, 43ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 9.984579 Debug.js:76 Buffered audio Range: 14.97687 - 24.96145 Debug.js:76 loaded audio:Media Segment:9.94829931972789 (206, 1002ms, 44ms) Debug.js:76 Getting the request for time: 49.88662131519274 Debug.js:76 Index for time 49.88662131519274 is 9 Debug.js:76 SegmentBase: 44.89433106575964 / 123.971 Debug.js:76 SegmentBase: 49.88662131519274 / 123.971 Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 24.96145 Debug.js:76 loaded video:Media Segment:20 (206, 21ms, 420ms) Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 281173 kbps Debug.js:76 Getting the request for time: 15 Debug.js:76 Index for time 15 is 2 Debug.js:76 SegmentBase: 10 / 123.971 Debug.js:76 Getting the request for time: 17.6 Debug.js:76 Index for time 17.6 is 3 Debug.js:76 SegmentBase: 15 / 123.971 Debug.js:76 Buffered video Range: 0 - 14.999999 Debug.js:76 Buffered video Range: 20 - 24.999999 Debug.js:76 loaded video:Media Segment:15 (206, 21ms, 40ms) Debug.js:76 Getting the request for time: 25 Debug.js:76 Index for time 25 is 4 Debug.js:76 SegmentBase: 20 / 123.971 Debug.js:76 SegmentBase: 25 / 123.971 Debug.js:76 Buffered video Range: 0 - 24.999999 Debug.js:76 Getting the request for time: 30 Debug.js:76 Index for time 30 is 5 Debug.js:76 SegmentBase: 25 / 123.971 Debug.js:76 SegmentBase: 30 / 123.971 Debug.js:76 Getting the request for time: 35 Debug.js:76 Index for time 35 is 6 Debug.js:76 SegmentBase: 30 / 123.971 Debug.js:76 SegmentBase: 35 / 123.971 Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 330954 kbps Debug.js:76 Getting the request for time: 40 Debug.js:76 Index for time 40 is 7 Debug.js:76 SegmentBase: 35 / 123.971 Debug.js:76 SegmentBase: 40 / 123.971 Debug.js:76 Getting the request for time: 54.878911564625845 Debug.js:76 Index for time 54.878911564625845 is 10 Debug.js:76 SegmentBase: 49.88662131519274 / 123.971 Debug.js:76 SegmentBase: 54.87891156462585 / 123.971 Debug.js:76 loaded audio:Media Segment:24.92517006802721 (206, 649ms, 43ms) Debug.js:76 Getting the request for time: 45 Debug.js:76 Index for time 45 is 8 Debug.js:76 SegmentBase: 40 / 123.971 Debug.js:76 SegmentBase: 45 / 123.971 Debug.js:76 Getting the request for time: 59.871201814058956 Debug.js:76 Index for time 59.871201814058956 is 11 Debug.js:76 SegmentBase: 54.87891156462585 / 123.971 Debug.js:76 SegmentBase: 59.871201814058956 / 123.971 Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 29.95374 Debug.js:76 Getting the request for time: 50 Debug.js:76 Index for time 50 is 9 Debug.js:76 SegmentBase: 45 / 123.971 Debug.js:76 SegmentBase: 50 / 123.971 Debug.js:76 loaded video:Media Segment:25 (206, 37ms, 201ms) Debug.js:76 Buffered video Range: 0 - 29.999999 Debug.js:76 loaded video:Media Segment:30 (206, 138ms, 26ms) Debug.js:76 Buffered video Range: 0 - 34.999999 Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 186863 kbps Debug.js:76 loaded audio:Media Segment:29.917460317460318 (206, 625ms, 10ms) Debug.js:76 Getting the request for time: 64.86349206349206 Debug.js:76 Index for time 64.86349206349206 is 12 Debug.js:76 SegmentBase: 59.871201814058956 / 123.971 Debug.js:76 SegmentBase: 64.86349206349206 / 123.971 Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 34.94603 Debug.js:76 loaded video:Media Segment:35 (206, 65ms, 104ms) Debug.js:76 Buffered video Range: 0 - 39.999999 Debug.js:76 loaded video:Media Segment:40 (206, 63ms, 116ms) Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 219094 kbps Debug.js:76 loaded audio:Media Segment:34.90975056689342 (206, 668ms, 42ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 39.938321 Debug.js:76 Buffered video Range: 0 - 44.999999 Debug.js:76 loaded video:Media Segment:45 (206, 51ms, 100ms) Debug.js:76 loaded audio:Media Segment:39.90204081632653 (206, 1088ms, 39ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 44.930611 Debug.js:76 Buffered video Range: 0 - 49.999999 Debug.js:76 loaded video:Media Segment:50 (206, 51ms, 129ms) Debug.js:76 loaded audio:Media Segment:44.89433106575964 (206, 1214ms, 53ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 49.922901 Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 179326 kbps Debug.js:76 BufferOccupancyRule requesting switch to index: 2 type: video Priority: Strong Debug.js:76 Buffered video Range: 0 - 54.999999 Debug.js:76 loaded audio:Media Segment:49.88662131519274 (206, 1136ms, 42ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 54.915191 Debug.js:76 loaded audio:Media Segment:59.871201814058956 (206, 984ms, 38ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 54.915191 Debug.js:76 Buffered audio Range: 59.907482 - 64.899772 Debug.js:76 loaded audio:Media Segment:54.87891156462585 (206, 1162ms, 54ms) Debug.js:76 Buffered audio Range: 0 - 0.010158 Debug.js:76 Buffered audio Range: 0.046439 - 64.899772 Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 179326 kbps Debug.js:76 BufferOccupancyRule requesting switch to index: 2 type: video Priority: Strong Debug.js:76 loaded audio:Media Segment:64.86349206349206 (206, 2126ms, 52ms) Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 179326 kbps Debug.js:76 BufferOccupancyRule requesting switch to index: 2 type: video Priority: Strong ``` **####### Log stays here indefinitely, until the progress knob is "goosed"** **#### After this point, I'm pretty sure things are fine** ``` ScheduleController video seek: 1.392337 Debug.js:76 ScheduleController audio seek: 1.392337 Debug.js:76 ScheduleController video seek: 1.634483 Debug.js:76 ScheduleController audio seek: 1.634483 Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 53681 kbps Debug.js:76 ScheduleController video start. Debug.js:76 ScheduleController audio start. Debug.js:76 ThroughputRule requesting switch to index: 2 type: video Priority: Default Average throughput 53681 kbps ...etc... ```
MP4Box/onDemand Profile: Tiny Initial Audio Segment Breaks the DASHIF Reference Player
https://api.github.com/repos/gpac/gpac/issues/190/comments
19
2015-07-15T23:49:41Z
2015-07-25T00:27:09Z
https://github.com/gpac/gpac/issues/190
95,313,663
190
[ "gpac", "gpac" ]
MP4Box DASH: :baseURL should be relative to '-out', not the local folder
https://api.github.com/repos/gpac/gpac/issues/189/comments
7
2015-07-13T14:25:07Z
2017-07-11T15:36:59Z
https://github.com/gpac/gpac/issues/189
94,733,374
189
[ "gpac", "gpac" ]
I use this command ``` MP4Box -dash 11000 -rap -segment-name "%s_" input_video.mp4:bandwidth=105000 input_audio.mp4:bandwidth=57000 ``` Case 1: MP4Box - GPAC version 0.5.1-DEV-rev5619 it working with HTML5 but it error in DASH player with flash (link player https://github.com/castlabs/dashas) Case2: MP4Box - GPAC version 0.5.2-DEV-rev528-gd0ba24c-master it working with DASH player but it lost final part when i run with HTML5. Please help me. Thank you.
MPEG-DASH lost final part when run with HTML5
https://api.github.com/repos/gpac/gpac/issues/188/comments
7
2015-07-10T09:52:00Z
2015-09-05T11:19:29Z
https://github.com/gpac/gpac/issues/188
94,267,646
188
[ "gpac", "gpac" ]
...
AAC CBR vs CBR
https://api.github.com/repos/gpac/gpac/issues/187/comments
7
2015-07-08T09:13:53Z
2016-10-09T22:20:24Z
https://github.com/gpac/gpac/issues/187
93,741,589
187
[ "gpac", "gpac" ]
I'm new to dash and trying to use DashCast to transcode a local live mpegts udp stream. When trying the following command: ``` dashcast -av udp://@127.0.0.1:9998?fifo_size=100000 -live-media ``` I get the following log: ``` Options: video source: udp://@127.0.0.1:9998?fifo_size=10000000 video crop: 0x0 audio source: udp://@127.0.0.1:9998?fifo_size=10000000 Configurations: id:v1 res:640x480 vbr:1000000 id:a1 abr:192000 [udp @ 00807780] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required) [h264 @ 0080aa60] non-existing PPS 0 referenced [h264 @ 0080aa60] non-existing PPS 0 referenced [h264 @ 0080aa60] decode_slice_header error [h264 @ 0080aa60] no frame! ... lots more errors ... [h264 @ 0080aa60] mmco: unref short failure [h264 @ 0080aa60] number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one [h264 @ 0080aa60] concealing 1210 DC, 1210 AC, 1210 MV errors in I frame Input #0, mpegts, from 'udp://@127.0.0.1:9998?fifo_size=10000000': Duration: N/A, start: 45049.597322, bitrate: 384 kb/s Program 3 Stream #0:0[0x1ff]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 59.94 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x140]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s Invalid input framerate 0 (AVCTX timebase is 1001/120000). Cannot open input video. ``` 1. The **circular_buffer_size** error requires a pthread-enabled ffmpeg library. Is that something that can be fixed? Does that mean that udp input cannot be used on Windows? 2. Any idea why it **cannot open input video**? It looks like it did find the video (Stream #0:0[0x1ff] from Program 3) Regards, Fred
DashCast and live mpegts udp stream on Windows failed
https://api.github.com/repos/gpac/gpac/issues/186/comments
4
2015-07-08T03:36:28Z
2019-06-28T14:53:57Z
https://github.com/gpac/gpac/issues/186
93,683,374
186
[ "gpac", "gpac" ]
We need some better doc about the api usage :)
fix player api test app
https://api.github.com/repos/gpac/gpac/issues/185/comments
0
2015-07-06T16:28:36Z
2016-10-09T21:58:06Z
https://github.com/gpac/gpac/issues/185
93,321,087
185
[ "gpac", "gpac" ]
I am working with MP4/AAC 7.1ch file which is based on "ISO/IEC 14496-3:2009/Amd.4:2013". When remuxing a 7.1ch MP4 file which have correct "audioProfileLevelIndication" value, the remuxed MP4 file always have 0x2A for audioProfileLevelIndication (which means 5.1ch). e.g. mp4box -add original_7.1ch.mp4#audio -new remuxed_7.1ch.mp4 original_7.1ch.mp4: audioProfileLevelIndication=0x50 remuxed_7.1ch.mp4: audioProfileLevelIndication=0x2A Thanx for your help, and this tool.
mp4box - cannot store correct "audioProfileLevelIndication" value for 7.1ch AAC audio
https://api.github.com/repos/gpac/gpac/issues/183/comments
10
2015-07-03T06:18:47Z
2016-10-10T15:48:54Z
https://github.com/gpac/gpac/issues/183
92,802,301
183
[ "gpac", "gpac" ]
Unix are easy, Windows requires this: http://www.xs-labs.com/en/blog/2011/04/20/c-call-stack-windows/ https://github.com/gpac/gpac/blob/master/src/utils/alloc.c PS (alt.): http://eli.thegreenplace.net/2015/programmatic-access-to-the-call-stack-in-c/
Memory tracker could display full stack-traces
https://api.github.com/repos/gpac/gpac/issues/182/comments
0
2015-06-30T19:10:56Z
2016-02-20T09:26:27Z
https://github.com/gpac/gpac/issues/182
92,175,336
182
[ "gpac", "gpac" ]
Trying to solve issue #159 based on the response to #33. The problem is that the "chpl" box is cast into an GF_UnknownBox, leading to invalid ptr->data and ptr->dataSize (see https://github.com/gpac/gpac/blob/master/src/isomedia/isom_read.c#L2034)
Invalid type-casting with udta boxes
https://api.github.com/repos/gpac/gpac/issues/181/comments
3
2015-06-29T14:18:42Z
2017-04-26T09:22:34Z
https://github.com/gpac/gpac/issues/181
91,817,596
181
[ "gpac", "gpac" ]
Windows installer adds many times GPAC path to the PATH variable
https://api.github.com/repos/gpac/gpac/issues/180/comments
1
2015-06-29T13:56:08Z
2019-06-28T14:52:58Z
https://github.com/gpac/gpac/issues/180
91,809,235
180
[ "gpac", "gpac" ]
I am working with large 3hr+ encrypted content with multiple bitrates, and attempting to DASH-ify as follows: ``` "C:\Program Files\GPAC\mp4box.exe" -dash 4000 -profile onDemand -frag 2000 -rap -frag-rap -sample-groups-traf -profile onDemand -out "D:\GCTMP\ism\dash-output\V43000_1435191167327.mpd" "D:\GCTMP\ism\V43000_3500000-encrypted.mp4"#video:id=video_1_1 "D:\GCTMP\ism\V43000_2000000-encrypted. mp4"#video:id=video_2_1 "D:\GCTMP\ism\V43000_1400000-encrypted.mp4"#video:id=video_3_1 "D:\GCTMP\ism\V43000_908000-encrypted.mp4"#video:id=video_4_1 "D:\GCTMP\ism\V43000_512000-encrypted.mp4"#video:id=video_5_1 "D:\GCTMP\ism\V43000_225000-encrypted.mp4"#video:id=video_6_1 "D:\GCTMP\ism\V43000_64000_ audio-encrypted.mp4"#video:id=video_7_1 ``` The largest bitrate file `D:\GCTMP\ism\V43000_3500000-encrypted.mp4` causes mp4box to produce the following output: ``` DASH-ing files - single segment Subsegment duration 4.000 - Fragment duration: 2.000 secs Spliting segments and fragments at GOP boundaries DASHing file D:\GCTMP\ism\V43000_3500000-encrypted.mp4 [iso file] "senc" offset larger than 32-bits , cannot store. ISOBMF: Error Feature Not Supported writing box traf [iso file] "senc" offset larger than 32-bits , cannot store. ISOBMF: Error Feature Not Supported writing box traf [iso file] "senc" offset larger than 32-bits , cannot store. ISOBMF: Error Feature Not Supported writing box traf [iso file] "senc" offset larger than 32-bits , cannot store. ISOBMF: Error Feature Not Supported writing box traf [iso file] "senc" offset larger than 32-bits , cannot store. ... <<< truncated 1200+ lines >>> ... [iso file] "senc" offset larger than 32-bits , cannot store. ISOBMF: Error Feature Not Supported writing box traf [iso file] "senc" offset larger than 32-bits , cannot store. ISOBMF: Error Feature Not Supported writing box traf DASHing file D:\GCTMP\ism\V43000_2000000-encrypted.mp4 DASHing file D:\GCTMP\ism\V43000_1400000-encrypted.mp4 DASHing file D:\GCTMP\ism\V43000_908000-encrypted.mp4 DASHing file D:\GCTMP\ism\V43000_512000-encrypted.mp4 DASHing file D:\GCTMP\ism\V43000_225000-encrypted.mp4 DASHing file D:\GCTMP\ism\V43000_64000_audio-encrypted.mp4 [DASH] Generating MPD at time 2015-06-26T11:19:08.640Z ``` The dash command completes, and exits cleanly - but during the process truncates the largest bitrate file significantly: ``` Directory of D:\GCTMP\ism\dash-output 2015-06-26 13:19 <DIR> . 2015-06-26 13:19 <DIR> .. 2015-06-26 12:23 2 123 549 709 V43000_1400000-encrypted_track1_dashinit.mp4 2015-06-26 13:19 4 669 V43000_1435191167327.mpd 2015-06-26 12:15 3 013 125 514 V43000_2000000-encrypted_track1_dashinit.mp4 2015-06-26 12:45 365 831 619 V43000_225000-encrypted_track1_dashinit.mp4 2015-06-26 12:04 4 295 619 588 V43000_3500000-encrypted_track1_dashinit.mp4 2015-06-26 12:38 823 248 879 V43000_512000-encrypted_track1_dashinit.mp4 2015-06-26 13:16 219 879 351 V43000_64000_audio-encrypted_dashinit.mp4 2015-06-26 12:31 1 402 757 727 V43000_908000-encrypted_track1_dashinit.mp4 8 File(s) 12 244 017 056 bytes 2 Dir(s) 432 615 669 760 bytes free ``` Note that V43000_3500000-encrypted_track1_dashinit.mp4 is 4,295,619,588 bytes (bordering on a u32 max int value). I was expecting this to be around the same size of the encrypted mp4: ``` 2015-06-26 11:18 5 331 759 661 V43000_3500000-encrypted.mp4 2014-09-26 00:49 5 321 252 126 V43000_3500000.ismv 2015-06-26 11:04 5 322 667 231 V43000_3500000.mp4 ``` It looks like this is intentional, if I look at: https://github.com/gpac/gpac/blob/master/src/isomedia/box_code_drm.c I can see there is a check to see if the current position within the bitstream is > 32bits: ``` GF_Err store_senc_info(GF_SampleEncryptionBox *ptr, GF_BitStream *bs) { GF_Err e; u64 pos; if (!ptr->cenc_saio) return GF_OK; pos = gf_bs_get_position(bs); if (pos>0xFFFFFFFFULL) { GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[iso file] \"senc\" offset larger than 32-bits , cannot store.\n")); return GF_NOT_SUPPORTED; } e = gf_bs_seek(bs, ptr->cenc_saio->offset_first_offset_field); if (e) return e; if (ptr->traf) { gf_bs_write_u32(bs, (u32) ( pos - ptr->traf->moof_start_in_bs) ); } else { gf_bs_write_u32(bs, (u32) pos); } return gf_bs_seek(bs, pos); } ``` The pos counter is a u64, and it appears there is a u64 version of gf_bs_write in src/utils/bitstream.c. Is it possible to selectively use this implementation here? The encrypted files are available on a public http server for testing with: ``` http://54.220.152.216/V43000_1400000-encrypted.mp4 http://54.220.152.216/V43000_2000000-encrypted.mp4 http://54.220.152.216/V43000_225000-encrypted.mp4 http://54.220.152.216/V43000_3500000-encrypted.mp4 http://54.220.152.216/V43000_512000-encrypted.mp4 http://54.220.152.216/V43000_64000_audio-encrypted.mp4 http://54.220.152.216/V43000_908000-encrypted.mp4 ```
mp4box - "senc" offset larger than 32-bits, cannot store
https://api.github.com/repos/gpac/gpac/issues/178/comments
2
2015-06-26T12:27:23Z
2015-09-05T11:17:39Z
https://github.com/gpac/gpac/issues/178
91,237,535
178
[ "gpac", "gpac" ]
Hi, I'm testing segment-timeline but I found some segment names are incorrect. Here is the result segment template; ``` xml <SegmentTemplate initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Time$.m4s" startNumber="1" timescale="1000"> <SegmentTimeline> <S d="4992" r="3" t="0"/> <S d="4993"/> <S d="4992" r="1"/> <S d="4993"/> <S d="4992"/> <S d="4842"/> </SegmentTimeline> </SegmentTemplate> ``` And two sets of segments are created; RepresentationID=1: init.mp4 0.m4s 4992.m4s 9984.m4s 14976.m4s 19968.m4s 24961.m4s 29953.m4s 34945.m4s 39938.m4s 44930.m4s RepresentationID=2: init.mp4 0.m4s 4992.m4s 9984.m4s 14976.m4s 19968.m4s 24960.m4s 29952.m4s 34944.m4s 39936.m4s 44928.m4s The segment names for RepresentationID=2 are incorrect. If you follow the segment timeline, the 6th segment should be 24961 not 24960. Following names are also incorrect. I noticed dash_segmenter.c will calculate drift and adjust period_duration by adding tick. But following files do not follow segment timeline.
Segment-timeline is broken with multiple representations
https://api.github.com/repos/gpac/gpac/issues/177/comments
1
2015-06-25T11:49:35Z
2018-03-28T12:13:52Z
https://github.com/gpac/gpac/issues/177
90,939,430
177
[ "gpac", "gpac" ]
This is a feature request - I have a video device that outputs mpeg4 / h264 encoded stream to named pipe. I would like to use MP4Box to create DASH-mpd file for this named pipe input stream. Application is used on Windows OS. In case this already exists, please point me to the documentation.
mp4box - named pipe input
https://api.github.com/repos/gpac/gpac/issues/175/comments
12
2015-06-23T19:42:08Z
2019-06-28T14:52:17Z
https://github.com/gpac/gpac/issues/175
90,473,979
175
[ "gpac", "gpac" ]
When working with extremely large files (5hrs+, 3.5mbit, 7.4gb), mp4box crashes with the following report: ``` Problem signature: Problem Event Name: APPCRASH Application Name: mp4box.exe Application Version: 0.0.0.0 Application Timestamp: 54943b1e Fault Module Name: StackHash_deed Fault Module Version: 6.1.7601.18247 Fault Module Timestamp: 521eaf24 Exception Code: c0000374 Exception Offset: 00000000000c4102 OS Version: 6.1.7601.2.1.0.272.7 Locale ID: 1033 Additional Information 1: deed Additional Information 2: deed99506a703e22557440366600e92b Additional Information 3: b05e Additional Information 4: b05e9bf64cd26cbc9cf96d90a59878b7 ``` Example command line: `"C:\Program Files\GPAC\mp4box.exe" -v -add 20211835_3500000.ismv out.mp4` Version info: ``` MP4Box - GPAC version 0.5.1-DEV-rev5568 GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: (static configuration file) Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG ``` At the point of crash, the following verbose messages are available: ``` [iso file] Current top box start before parsing 1578546 [iso file] Read Box type mdat size 842633 start 4296545842 [iso file] Current top box start before parsing 2421179 [iso file] Read Box type moof size 676 start 4297388475 [iso file] Read Box type mfhd size 16 start 4297388483 [iso file] Read Box type traf size 652 start 4297388499 [iso file] Read Box type tfhd size 20 start 4297388507 [iso file] Read Box type trun size 624 start 4297388527 ``` It crashes in the same place every time. c0000374 appears to be a heap overrun or heap corruption: http://blogs.msdn.com/b/jiangyue/archive/2010/03/16/windows-heap-overrun-monitoring.aspx Could mp4box overrunning an int boundary? The point at which it dies (4297388527) is suspiciously close to a four byte unsigned int: 4,294,967,295
mp4box APPCRASH when working with very large files
https://api.github.com/repos/gpac/gpac/issues/174/comments
6
2015-06-23T14:35:48Z
2015-06-25T12:05:10Z
https://github.com/gpac/gpac/issues/174
90,406,337
174
[ "gpac", "gpac" ]
When encoding mpeg dash streams with multiple representations we encounter a wrong index for the first representation. The sampleDescriptionIndex in the Track Fragment Header box of the first representation is 0. For the next representations it continues with 2, 3 and so on ... Looking into MPEG4 part 12 indices usually start with 1. Unfortunately for this box it is not defined, but I found another place in that spec where a sampleDescriptionIndex runs from 1 to number of samples. The init segment for the video contains three avc1 boxes which is fine (-bs-switching and profile) The indices I found are 0, 2, and 3 Here is the call to mp4box MP4Box - GPAC version 0.5.2-DEV-rev499-ga222f5f-master "C:\Program Files\GPAC\mp4box.exe" -profile hbbtv1.5:live -bs-switching multi -dash 4000 -segment-ext m4s -url-template -out ..\dash\onDemand\manifest.mpd ..\source\NickAndTheRoundabouts_1920x1080_10M_640x720_1.5M.mp4 ..\source\NickAndTheRoundabouts_1920x1080_10M_960x720_2.5M.mp4 ..\source\NickAndTheRoundabouts_1920x1080_10M_1280x720_5M.mp4 ..\source\NickAndTheRoundabouts_audio_192k.mp4 ..\source\NickAndTheRoundabouts_ttml_5min.mp4:role=subtitle Can I attach some samples to this issue? This is my first bug report here, so some guidance how I can support fixing the issue is much appreciated.
MP4Box: Wrong indices from Movie Fragments to Sample Description Box entry
https://api.github.com/repos/gpac/gpac/issues/173/comments
4
2015-06-23T11:39:40Z
2015-06-24T08:52:40Z
https://github.com/gpac/gpac/issues/173
90,363,885
173
[ "gpac", "gpac" ]
There are incorrect fprintf calls with att->svg_name and att->implementation_name. v3.c:184:4: warning: too many arguments for format v3.c:185:4: warning: too many arguments for format v3.c:190:4: warning: too many arguments for format v3.c:195:4: warning: too many arguments for format v3.c:199:4: warning: too many arguments for format v3.c:200:4: warning: too many arguments for format
applications/generators/SVG/v3.c:generateSVGCode_V3
https://api.github.com/repos/gpac/gpac/issues/172/comments
0
2015-06-22T07:45:54Z
2015-09-16T14:39:54Z
https://github.com/gpac/gpac/issues/172
90,034,420
172
[ "gpac", "gpac" ]
Currently, the chapters only appear properly when the file is completely downloaded. When progressive streaming, the chapters only sometimes appear if the file is paused immediately, or if left to play it sometimes works. This short video demonstrates the behaviour: https://dl.dropboxusercontent.com/u/28171300/Work/iTunes/bug%20report%20chapters.mp4
TTXT Chapters added with MP4Box do not display in iTunes
https://api.github.com/repos/gpac/gpac/issues/171/comments
0
2015-06-18T23:25:04Z
2015-06-29T01:44:30Z
https://github.com/gpac/gpac/issues/171
89,422,504
171
[ "gpac", "gpac" ]
Hi, I pull the latest code in order to try #158 but met segmentation fault. I paste the command I used (same as #158) here FYI. $MP4Box -dash 5005 -dash-profile dashavc264:live -bs-switching no -url-template -segment-timeline -segment-name 'seg_$Bandwidth$_$ime$' -out ooxx.mpd audio.mp4 video.mp4 Segmentation fault: 11 -wesley
Segmentation fault when doing MP4Box
https://api.github.com/repos/gpac/gpac/issues/170/comments
15
2015-06-17T06:34:49Z
2015-06-25T16:25:41Z
https://github.com/gpac/gpac/issues/170
88,927,807
170
[ "gpac", "gpac" ]
Hi ! I'm trying to use Gpac on windows with some modifications on the openhevc decoder. Since there are problems compiling openHevc on windows, I used Linux (ubuntu 14.04 64bits) to compile openHevc with my modifications. Since the compilation generates a .so library I used the scripts from "https://github.com/OpenHEVC/HevcCompilationScripts" to cross-compile and generate libOpenHevcWrapper.dll. When I moved to windows, I installed win64 Gpac nightly build and I susbstituted the libOpenHevcWrapper.dll by the cross compiled one and I got the following error: "the program cannot start because libwinpthread-1.dll is missing from your computer. Try reinstalling the program to fix the problem" 1- I my approach to use cross compilation correct? If yes how can I avoid problems related to pthread? 2- If the approach is wrong what can you advice me what to do to have Gpac running with the new openHevc code? Thank you !
Running mp4client with a modified openHevc code
https://api.github.com/repos/gpac/gpac/issues/169/comments
9
2015-06-11T12:53:32Z
2015-06-30T15:49:20Z
https://github.com/gpac/gpac/issues/169
87,336,583
169
[ "gpac", "gpac" ]
Platform: OS X Version: 10.8 - 10.10.4 Tested against 0.5.2 & current Git master build. It seems to be impossible to opt-out of linking `gpac` to `x11` when X11 is available on the machine, even when you tell `configure` you don't want the X11 elements. ``` ./configure --prefix=/Users/Dominyk/Downloads/gpac-0.5.2/TESTING --disable-x11-shm --disable-x11-xv --X11-path=no ``` `config.mak` sets: ``` CONFIG_X11=yes X11_LIB_PATH=no/lib X11_INC_PATH=no/include ``` And then `make` blows up: ``` In file included from x11_out.c:26: ./x11_out.h:38:10: fatal error: 'X11/Xlib.h' file not found #include <X11/Xlib.h> ^ 1 error generated. make[2]: *** [x11_out.o] Error 1 make[1]: *** [plugs] Error 2 make: *** [all] Error 2 ``` Not setting any `--X11-path` doesn't work either. `config.mak` ends up with: ``` CONFIG_X11=yes X11_LIB_PATH=/usr/X11R6/lib X11_INC_PATH=/usr/X11R6/include ``` And then configures in `x11` availability even though I specifically requested it doesn't: ``` ~> otool -L gpac-0.5.2/TESTING/lib/gpac/* | grep x11 gpac-0.5.2/TESTING/lib/gpac/gm_x11_out.dylib: ../../bin/gcc/gm_x11_out.dylib (compatibility version 0.0.0, current version 0.0.0) ```
Impossible to opt-out of X11 linkage when X11 exists
https://api.github.com/repos/gpac/gpac/issues/166/comments
4
2015-06-10T20:32:03Z
2015-06-18T02:06:23Z
https://github.com/gpac/gpac/issues/166
87,097,354
166
[ "gpac", "gpac" ]
Hello, Here is a problem I've encountered while testing EBU-TT-D content: if a document contains several captions in different regions, but active at the same time, the import will give me this result: Document: ``` <styling> <style id="s0" tts:fontStyle="normal" tts:fontFamily="sansSerif" tts:fontSize="100%" tts:lineHeight="normal" ebutts:linePadding="0.5c" tts:textAlign="center" tts:wrapOption="noWrap"/> <style id="s1" tts:backgroundColor="#000000" tts:color="#FFFFFF"/> <style id="s2" tts:backgroundColor="#000000" tts:color="#FFFF00"/> </styling> <layout> <region id="r0" tts:origin="5% 80%" tts:extent="90% 20%" tts:overflow="visible" tts:displayAlign="before"/> <region id="r1" tts:origin="5% 50%" tts:extent="90% 20%" tts:overflow="visible" tts:displayAlign="before"/> </layout> </head> <body style="s0"> <div> <p id="sub0" begin="00:00:14.40" end="00:00:17.28" region="r0"><span style="s1">At the left we can see...</span></p> <p id="sub0" begin="00:00:14.40" end="00:00:17.28" region="r1"><span style="s1">At the left we can see...</span></p> ..... ``` MP4Box import: ``` TTML: timing overlapping not supported: "begin" is 14040 , last "end" was 17028. Abort. Unsupported TTML file - only EBU-TTD is supported (root shall be "tt", got tt) Importing as generic TTML Saving elephantsdream_25fps-multipleRegions.mp4: 0.500 secs Interleaving ``` MP4Box does not support timing overlapping, however EBU-TT-D needs the support of several active regions at the same time and my guess is that probably other subtitle XML based will need that too? Thanks
MP4Box dashing of EBU-TT-D does not support multiple regions
https://api.github.com/repos/gpac/gpac/issues/161/comments
10
2015-06-09T07:39:50Z
2020-09-04T11:58:51Z
https://github.com/gpac/gpac/issues/161
86,492,304
161
[ "gpac", "gpac" ]
Hello, Here is a problem I've encountered while testing EBU-TT-D content: if a document contains one or multiple div tags, after the dashing of video, audio and the ttml content (mp4), the div tags will be erased and not appear at reception on the dash client. Here is how to reproduce and the results: EBU-TT-D Document (http://rdmedia.bbc.co.uk/dash/ondemand/elephants_dream/1/elephantsdream_25fps.ebuttd.xml) ``` <?xml version="1.0" encoding="utf-8"?> <tt xmlns="http://www.w3.org/ns/ttml" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:ttm="http://www.w3.org/ns/ttml#metadata" xmlns:ebuttm="urn:ebu:tt:metadata" xmlns:ebutts="urn:ebu:tt:style" xml:lang="en" xml:space="default" ttp:timeBase="media" ttp:cellResolution="35 18"> <head> <metadata> <ttm:title>Elephants Dream</ttm:title> <ebuttm:documentMetadata> <ebuttm:conformsToStandard>urn:ebu:tt:distribution:2014-01</ebuttm:conformsToStandard> <ebuttm:authoredFrameRate>25</ebuttm:authoredFrameRate> </ebuttm:documentMetadata> </metadata> <styling> <style id="s0" tts:fontStyle="normal" tts:fontFamily="sansSerif" tts:fontSize="100%" tts:lineHeight="normal" ebutts:linePadding="0.5c" tts:textAlign="center" tts:wrapOption="noWrap"/> <style id="s1" tts:backgroundColor="#000000" tts:color="#FFFFFF"/> <style id="s2" tts:backgroundColor="#000000" tts:color="#FFFF00"/> </styling> <layout> <region id="r0" tts:origin="5% 80%" tts:extent="90% 20%" tts:overflow="visible" tts:displayAlign="before"/> </layout> </head> <body style="s0"> <div region="r0"> <p id="sub0" begin="00:00:14.40" end="00:00:17.28"><span style="s1">At the left we can see...</span></p> <p id="sub1" begin="00:00:17.44" end="00:00:19.28"><span style="s1">At the right we can see the...</span></p> <p id="sub2" begin="00:00:19.28" end="00:00:21.12"><span style="s1">...the head-snarlers.</span></p> <p id="sub3" begin="00:00:21.12" end="00:00:23.44"><span style="s1">Everything is safe.<br/>Perfectly safe.</span></p> <p id="sub4" begin="00:00:23.60" end="00:00:26.00"><span style="s1">Emo?</span></p> <p id="sub5" begin="00:00:27.08" end="00:00:28.84"><span style="s1">Watch out!</span></p> ..... </div> </body> </tt> ``` EBU-TT-D to MP4: ``` MP4Box -add elephantsdream.xml:ext=ttml -new elephantsdream.mp4 ``` Dashing of 10s segments: ``` MP4Box -dash 10000 -profile dashavc264:onDemand video.mp4 audio.mp4 elephantsdream.mp4 -out manifest ``` Then at reception: segment 1: ``` <tt xmlns="http://www.w3.org/ns/ttml" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:ttm="http://www.w3.org/ns/ttml#metadata" xmlns:ebuttm="urn:ebu:tt:metadata" xmlns:ebutts="urn:ebu:tt:style" xml:lang="en" xml:space="default" ttp:timeBase="media" ttp:cellResolution="35 18" > <head > <metadata > <ttm:title >Elephants Dream</ttm:title> <ebuttm:documentMetadata > <ebuttm:conformsToStandard >urn:ebu:tt:distribution:2014-01</ebuttm:conformsToStandard> <ebuttm:authoredFrameRate >25</ebuttm:authoredFrameRate> </ebuttm:documentMetadata> </metadata> <styling > <style id="s0" tts:fontStyle="normal" tts:fontFamily="sansSerif" tts:fontSize="100%" tts:lineHeight="normal" ebutts:linePadding="0.5c" tts:textAlign="center" tts:wrapOption="noWrap" /> <style id="s1" tts:backgroundColor="#000000" tts:color="#FFFFFF" /> <style id="s2" tts:backgroundColor="#000000" tts:color="#FFFF00" /> </styling> <layout > <region id="r0" tts:origin="5% 80%" tts:extent="90% 20%" tts:overflow="visible" tts:displayAlign="before" /> </layout> </head> <body style="s0" > <p id="sub0" begin="00:00:14.40" end="00:00:17.28" region="r0" ><span style="s1" >At the left we can see...</span> </p> </body> </tt> ``` It is duplicated (received twice) segment 2: ``` <tt xmlns="http://www.w3.org/ns/ttml" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:ttm="http://www.w3.org/ns/ttml#metadata" xmlns:ebuttm="urn:ebu:tt:metadata" xmlns:ebutts="urn:ebu:tt:style" xml:lang="en" xml:space="default" ttp:timeBase="media" ttp:cellResolution="35 18" > <head > <metadata > <ttm:title >Elephants Dream</ttm:title> <ebuttm:documentMetadata > <ebuttm:conformsToStandard >urn:ebu:tt:distribution:2014-01</ebuttm:conformsToStandard> <ebuttm:authoredFrameRate >25</ebuttm:authoredFrameRate> </ebuttm:documentMetadata> </metadata> <styling > <style id="s0" tts:fontStyle="normal" tts:fontFamily="sansSerif" tts:fontSize="100%" tts:lineHeight="normal" ebutts:linePadding="0.5c" tts:textAlign="center" tts:wrapOption="noWrap" /> <style id="s1" tts:backgroundColor="#000000" tts:color="#FFFFFF" /> <style id="s2" tts:backgroundColor="#000000" tts:color="#FFFF00" /> </styling> <layout > <region id="r0" tts:origin="5% 80%" tts:extent="90% 20%" tts:overflow="visible" tts:displayAlign="before" /> </layout> </head> <body style="s0" > <p id="sub1" begin="00:00:17.44" end="00:00:19.28" ><span style="s1" >At the right we can see the...</span> </p> </body> </tt> ``` Received only once. etc. etc. You can note the disappearance of the div tag, which is obviously essential to render the captions as it defines the region.
MP4Box dashing of EBU-TT-D remove div tags
https://api.github.com/repos/gpac/gpac/issues/160/comments
5
2015-06-09T07:23:52Z
2015-06-10T10:41:26Z
https://github.com/gpac/gpac/issues/160
86,487,638
160
[ "gpac", "gpac" ]
Now, I'm perfectly willing to say this is "pilot error" but so far I don't think so. I am doing some remuxing of mp4 files using mp4box and overall it works great except for chapters. I initially imported chapters in this format: ``` 00:00:00.000 Chapter 1 00:06:30.307 Chapter 2 00:13:59.589 Chapter 3 00:21:06.515 Chapter 4 ``` The command: ``` mp4box -chap chapters_file.txt ``` ... imports it fine. However, when it's exported as raw, it produces a binary file that appears to just have the chapter labels in it. mp4box doesn't seem to understand this file at all for import. If I use dump-chap I get two files, the same binary file above and a XML format file containing the timecodes but not the labels for the chapters. Again, I haven't been able to then reimport this using -add or -chap. It would be nice if it could just export the chapters in a text file with the "HH:MM:SS.MS LABEL" format or at least some single file with all the information that it could reimport ok.
mp4box doesn't seem to be able to import it's own chapters
https://api.github.com/repos/gpac/gpac/issues/159/comments
2
2015-06-08T20:00:57Z
2017-04-26T09:23:10Z
https://github.com/gpac/gpac/issues/159
86,310,168
159
[ "gpac", "gpac" ]
Hi, I'm considering this might be a potential MP4Box bug. Here is the command I used to generate MPD with segment-timeline. MP4Box -dash 5005 -dash-profile dashavc264:live -bs-switching no -url-template -segment-timeline -segment-name 'seg_$Bandwidth$_$Time$' -out ooxx.mpd audio.mp4 video.mp4 The generated MPD and media segments could be played with dash.js, but not Silverlight. After several trial & error, I found SegmentTemplate@timescale is not expected by Silverlight. From the segment request pattern, I found Silverlight expected timescale of 'sidx' box. Actually, there is a sentence in 5.3.9.6.1 ISO/IEC 23009-1, it says — the value of @timescale shall be identical to the value of the timescale field in the first ‘sidx’ box In my case, the timescale value of 'sidx' box of the first (audio) media segment is 48000. Here is the partial dump via MP4Box -info -diso seg_33624_0.m4s; ``` xml <!--MP4Box dump trace--> <IsoMediaFile Name="seg_33624_0.m4s"> <SegmentTypeBox MajorBrand="msdh" MinorVersion="0"> <BoxInfo Size="24" Type="styp"/> <BrandEntry AlternateBrand="msdh"/> <BrandEntry AlternateBrand="msix"/> </SegmentTypeBox> <SegmentIndexBox reference_ID="1" timescale="48000" earliest_presentation_time="0" first_offset="0"> <BoxInfo Size="44" Type="sidx"/> ``` And the segment-timeline of audio representation is listed below. The timescale is the default value, 1000, of MP4Box. ``` xml <AdaptationSet segmentAlignment="true" lang="und"> <SegmentTemplate timescale="1000" media="seg_$Bandwidth$_$Time$.m4s" startNumber="1" initialization="seg_$Bandwidth$_.mp4"> <SegmentTimeline> <S t="0" d="4992" r="8"/> <S d="4794"/> </SegmentTimeline> </SegmentTemplate> <Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="48000" startWithSAP="1" bandwidth="33624"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> </Representation> </AdaptationSet> ``` Video adaptationset has the same issue too. Please kindly let me if the issue could be addressed with correct options. Let me know if my interpretation is incorrect. Welcome for the discussion. Thanks, Wesley
Timescale of segment-timeline is not identical to timescale of 'sidx' box
https://api.github.com/repos/gpac/gpac/issues/158/comments
1
2015-06-03T07:07:05Z
2017-07-28T13:44:32Z
https://github.com/gpac/gpac/issues/158
84,403,064
158
[ "gpac", "gpac" ]
Hi, I follow the [link](http://www.gpac-licensing.com/2014/08/21/ibc-2014-dash-avc264-support-in-gpac/) to generate MPD with SegmentTimeline support. Below is my command; $MP4Box -dash 10000 -rap -dash-profile dashavc264:live -bs-switching no -url-template -segment-timeline -segment-name seg_$Bandwdth$_$Time$ -out ooxx.mpd audio.mp4 video.mp4 The command generated the file as below; $ls audio.mp4 seg_ls$1.m4s seg_ls$3.m4s seg_ls$5.m4s seg_ls$init.mp4 ooxx.mpd seg_ls$2.m4s seg_ls$4.m4s seg_ls$6.m4s video.mp4 The naming is much different from the segment-name I specified; I don't know where 'ls' come from. And here is the MPD; ``` xml <?xml version="1.0"?> <!-- MPD file Generated with GPAC version 0.5.2-DEV-rev405-g3cd5ef1-master at 2015-05-27T08:47:27.170Z--> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H0M49.749S" maxSegmentDuration="PT0H0M9.984S" profiles="urn:mpeg:dash:profile:isoff-live:2011,http://dashif.org/guidelines/dash264"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>ooxx.mpd generated by GPAC</Title> </ProgramInformation> <Period duration="PT0H0M49.749S"> <AdaptationSet segmentAlignment="true" lang="und"> <SegmentTemplate timescale="1000" media="seg_ls$$Number$.m4s" startNumber="1" initialization="seg_ls$init.mp4"> <SegmentTimeline> <S t="0" d="9984" r="3"/> <S d="9786"/> </SegmentTimeline> </SegmentTemplate> <Representation id="1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="48000" startWithSAP="1" bandwidth="34069"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> </Representation> </AdaptationSet> <AdaptationSet segmentAlignment="true" maxWidth="1440" maxHeight="1080" maxFrameRate="30000/1001" par="4:3" lang="und"> <SegmentTemplate timescale="1000" media="seg_ls$$Number$.m4s" startNumber="1" initialization="seg_ls$init.mp4"> <SegmentTimeline> <S t="0" d="10009"/> <S d="8908"/> <S d="8476"/> <S d="8908"/> <S d="7541"/> <S d="5905"/> </SegmentTimeline> </SegmentTemplate> <Representation id="2" mimeType="video/mp4" codecs="avc1.640028" width="1440" height="1080" frameRate="30000/1001" sar="4:3" startWithSAP="1" bandwidth="114907"> </Representation> </AdaptationSet> </Period> </MPD> ``` Why $Time$ was substituted with $Number$? I pulled the latest version from GitHub, and here is the version I used; $MP4Box -version MP4Box - GPAC version 0.5.2-DEV-rev405-g3cd5ef1-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: --enable-debug Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG
Strange MPD result generated with MP4Box
https://api.github.com/repos/gpac/gpac/issues/156/comments
4
2015-05-27T08:56:17Z
2015-06-03T06:31:29Z
https://github.com/gpac/gpac/issues/156
81,356,480
156
[ "gpac", "gpac" ]
I've run into a bug in 'MP4Box -crypt' which I will get 2 identical IVs in a row in the 'senc' box. InternetExplorer 11 will not play the file when this happens. The changed that introduced the bug was a36e8d85. If I checkout right before this change the problem goes away and my encrypted files will play in IE11. I don't understand the code completely, but the CENC refactor in the change referenced above now looks at the first byte in the IV and only increments the counter if this byte is not 0. I understand that this first byte is not actually a part of the IV (since the IV buffer is 17 bytes instead of 16), but I don't quite understand what it is used for. In my test case, this first byte ends up being 0 on the 8th sample and the IV counter is not incremented. To reproduce, [I have shared the media file and the crypt file here](https://www.dropbox.com/sh/nskuvzticp31su7/AAATNaeVUqGoTaiq9KhVMt0ca?dl=0). ``` MP4Box -crypt pr_video.xml -out encrypted.mp4 video_512x288_h264-360k.mp4 ```
AES-CTR / CENC IV not incrementing
https://api.github.com/repos/gpac/gpac/issues/155/comments
3
2015-05-26T20:32:03Z
2015-06-12T12:12:43Z
https://github.com/gpac/gpac/issues/155
81,124,082
155
[ "gpac", "gpac" ]
7d8a538b76535b0e33c1526de142f8dc0121caf5 broke 32-bit mingw compilation, at least with `--static-mp4box` 64-bit compilation works fine. ``` make[2]: Entering directory '/build/gpac-git/applications/mp4box' CC main.c CC filedump.c CC fileimport.c CC live.c ../../bin/gcc/libgpac_static.a(os_divers.o):os_divers.c:(.text+0x1b7c): undefined reference to `_mkgmtime32' ../../bin/gcc/libgpac_static.a(os_divers.o):os_divers.c:(.text+0x2054): undefined reference to `_mkgmtime32' collect2.exe: error: ld returned 1 exit status Makefile:74: recipe for target 'MP4Box.exe' failed ```
Recent commit breaks MP4Box MingW compilation
https://api.github.com/repos/gpac/gpac/issues/154/comments
2
2015-05-26T19:36:00Z
2015-05-27T11:59:20Z
https://github.com/gpac/gpac/issues/154
81,104,388
154
[ "gpac", "gpac" ]
Revert 375a0a9c1da48d369c03ec379cee50043ff297f5 (see #152) to be able to play http://d3sporhxbkob1v.cloudfront.net/bill/vod/sample-video/400k.m3u8 Double-click to full screen. When typing on the 'escape' key, the full screen is black with the image at tits original resolution on the bottom left corner, no window. Alt-tab was stuck, I had to do ctrl+alt+sup on Windows to get control again. Thanks for your help :)
full screen issue
https://api.github.com/repos/gpac/gpac/issues/153/comments
1
2015-05-26T13:50:58Z
2020-07-31T14:22:23Z
https://github.com/gpac/gpac/issues/153
80,970,650
153
[ "gpac", "gpac" ]
It was introduced by 375a0a9c1da48d369c03ec379cee50043ff297f5. A way to reproduce is to play http://d3sporhxbkob1v.cloudfront.net/bill/vod/sample-video/400k.m3u8
HLS: regression with master-only playlists
https://api.github.com/repos/gpac/gpac/issues/152/comments
2
2015-05-26T13:48:12Z
2015-06-11T14:52:34Z
https://github.com/gpac/gpac/issues/152
80,969,436
152
[ "gpac", "gpac" ]
I've noticed that when using "-splitz" the value for the output filename ("-out") parameter is ignored. Using "-splitx" does seem to work properly. This seems to be the case even using versions as far back as 0.5.0. Below is a sample using the nightly build (windows under cygwin - 0.5.2-DEV-rev388-gd9aea85-master) $ mp4box -splitx 60:120 BigBuckBunny_320x180.mp4 -out bb-splitx.mp4 Adjusting chunk start time to previous random access at 60.00 sec Extracting chunk bb-splitx.mp4 - duration 60.00s (60.00s->120.00s) $ mp4box -splitz 60:120 BigBuckBunny_320x180.mp4 -out bb-splitz.mp4 Adjusting chunk start time to previous random access at 60.00 sec Adjusting chunk end time to previous random access at 120.00 sec Extracting chunk BigBuckBunny_320x180_60_120.mp4 - duration 60.00s (60.00s->120.00s) $ ls -l total 74M -rwxr-xr-x 1 marko None 6.1M May 21 17:53 bb-splitx.mp4* -rwxrwx---+ 1 marko None 62M May 21 17:51 BigBuckBunny_320x180.mp4* -rwxr-xr-x 1 marko None 6.1M May 21 17:54 BigBuckBunny_320x180_60_120.mp4* $ mp4box -version MP4Box - GPAC version 0.5.2-DEV-rev388-gd9aea85-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: (static configuration file) Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG
Using "splitz" option with mp4box does not allow an output name to be specified
https://api.github.com/repos/gpac/gpac/issues/151/comments
3
2015-05-21T22:05:17Z
2015-05-26T15:23:03Z
https://github.com/gpac/gpac/issues/151
79,179,806
151
[ "gpac", "gpac" ]
I use the steps listed in #149 to download dash.mpd. When I'm trying to play it, I got the following error: ``` $ MP4Client dash.mpd Using config file in /home/yen/.gpac directory System info: 7972 MB RAM - 4 cores Modules Found : 34 Loading GPAC Terminal [Thread MediaManager] Couldn't set priority(2) for thread ID 0x43139700 [Thread MediaManager] Couldn't set priority(2) for thread ID 0x43139700 [PulseAudio] Set volume to 75: not yet implemented. Terminal Loaded in 84 ms Opening URL dash.mpd [DASH] Unable to resolve media URL: End Of Stream / File Cannot open dash.mpd: End Of Stream / File ``` Note my MP4Client includes patch #149
"End Of Stream / File" when playing DASH manifest from youtube.
https://api.github.com/repos/gpac/gpac/issues/150/comments
21
2015-05-21T19:36:28Z
2021-03-15T19:55:51Z
https://github.com/gpac/gpac/issues/150
79,132,317
150
[ "gpac", "gpac" ]
Hi, When removing a sample, I sometimes (depending on the content) get a raised assert at: ``` //always called before removing the sample from SampleSize GF_Err stbl_RemoveCTS(GF_SampleTableBox *stbl, u32 sampleNumber) { GF_CompositionOffsetBox *ctts = stbl->CompositionOffset; assert(ctts->unpack_mode); //ASSERT [...] ``` Content to trigger: http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/sources/counter_video_360.mp4 Callstack: ``` > libgpac.dll!stbl_RemoveCTS(GF_SampleTableBox * stbl, unsigned int sampleNumber) Line 934 C libgpac.dll!gf_isom_remove_sample(__tag_isom * movie, unsigned int trackNumber, unsigned int sampleNumber) Line 1040 + 0x1a bytes C __caller__ ``` The removal code: ``` { u32 di; GF_ISOSample *s = gf_isom_get_sample(in, trackNumber, i, &di); e = gf_isom_remove_sample(in, trackNumber, i); //CRASH gf_isom_sample_del(&s); assert(e == GF_OK); } ``` Ideas?
GPAC API: assert when removing sample
https://api.github.com/repos/gpac/gpac/issues/147/comments
1
2015-05-17T11:25:39Z
2015-06-09T06:41:00Z
https://github.com/gpac/gpac/issues/147
77,286,014
147
[ "gpac", "gpac" ]
Hi, I'm trying to use segment timeline instead but MP4Box stopped. Below is the command I used to create MPD; (use audio only for simplicity). MP4Box -dash 5005 -rap -segment-name seg_$Bandwidth$_$Time$ -url-template -segment-timeline -bs-switching no audio_p0.mp4 And the output of the command is DASH-ing file: 5.00s segments 5.00s fragments single sidx per segment Spliting segments at GOP boundaries DASHing file audio_p0.mp4 [DASH]: Drift between minCTS of segment and MPD start time is 4.18294e+11 s Assertion failed: (diff>0), function gf_media_isom_segment_file, file media_tools/dash_segmenter.c, line 1711. Abort trap: 6 Some notes here; - No problem if segment template is used - No problem for video part Any suggestion to investigate the issue further? -wesley
Drift between minCTS of segment and MPD start time is 4.18294e+11 s
https://api.github.com/repos/gpac/gpac/issues/146/comments
6
2015-05-15T10:59:40Z
2015-06-12T12:17:46Z
https://github.com/gpac/gpac/issues/146
76,692,011
146
[ "gpac", "gpac" ]
Using -dts on the HEVC Sintel MP4 sequence is extremely slow.
MP4Box very slow at dumping timing info for HEVC stream
https://api.github.com/repos/gpac/gpac/issues/145/comments
2
2015-05-13T08:37:56Z
2019-06-28T14:47:10Z
https://github.com/gpac/gpac/issues/145
75,902,696
145
[ "gpac", "gpac" ]
This issue was initially raised on SourceForge (https://sourceforge.net/p/gpac/discussion/287547/thread/ae1ad5e4/?limit=25#8d7b). According to ISO/IEC 14496-15:2014 and Cor1, CRA samples are sync samples.
MP4Box should mark HEVC CRA as sync samples
https://api.github.com/repos/gpac/gpac/issues/144/comments
3
2015-05-13T08:36:49Z
2015-06-30T08:39:39Z
https://github.com/gpac/gpac/issues/144
75,902,333
144
[ "gpac", "gpac" ]
Download the latest code source, and compile it. Change Osmo4.java as follows: ``` /** * @see com.gpac.Osmo4.GpacCallback#onGPACReady() */ @Override public void onGPACReady() { startupProgress.dismiss(); Log.i(LOG_OSMO_TAG, "GPAC is ready"); //$NON-NLS-1$ String url = "http://www.digitalprimates.net/dash/streams/mp4-live-template/mp4-live-mpd-AV-BS.mpd"; openURLasync(url); } ``` ... ``` @Override public boolean onKeyDown(int keyCode, KeyEvent event) { // Handle the back button if (keyCode == KeyEvent.KEYCODE_BACK) { // Stop the activity if ( mGLView != null ) mGLView.disconnect(); Osmo4.this.finish(); return true; } else { return super.onKeyDown(keyCode, event); } } ``` Install "Osmo4_android" and reopen it quickly. Repeat several times, I got "Unfortunately, Osmo4 has stopped". Crash message as follows: { 05-12 16:34:26.441: V/GPAC_WRAPPER(9330): MessageBox start Disconnected 05-12 16:34:26.443: D/Osmo4(9330): Disconnected 05-12 16:34:26.443: V/GPAC_WRAPPER(9330): MessageBox done Disconnected 05-12 16:34:26.447: V/GPAC_WRAPPER(9330): disconnected ... 05-12 16:34:26.447: V/WRAPPER_JNI(9330): disconnect::end 05-12 16:34:26.449: D/GraphicBuffer(9330): close handle(0x605722d0) (w:720 h:1184 f:2) 05-12 16:34:26.454: D/ActivityThread(9330): ACT-AM_ON_PAUSE_CALLED ActivityRecord{41cf0060 token=android.os.BinderProxy@41cef8e8 {com.gpac.Osmo4/com.gpac.Osmo4.Osmo4}} 05-12 16:34:26.456: D/ActivityThread(9330): ACT-PAUSE_ACTIVITY_FINISHING handled : 0 / android.os.BinderProxy@41cef8e8 05-12 16:34:26.459: I/Osmo4(9330): onStop called on activity 05-12 16:34:26.460: D/dalvikvm(9330): threadid=11: exiting 05-12 16:34:26.460: D/dalvikvm(9330): threadid=11: bye! 05-12 16:34:26.465: D/Osmo4(9330): Disconnecting instance... 05-12 16:34:26.465: D/Osmo4(9330): Destroying GPAC instance... 05-12 16:34:26.466: I/SurfaceView(9330): updateWindow -- onWindowVisibilityChanged, visibility = 8 05-12 16:34:26.466: I/SurfaceView(9330): Changes: creating=false format=false size=false visible=true left=false top=false mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=false 05-12 16:34:26.467: I/SurfaceView(9330): Cur surface: Surface(name=null)/@0x41dc2b80 05-12 16:34:26.473: I/SurfaceView(9330): New surface: Surface(name=null)/@0x41dc2c50, vis=false, frame=Rect(0, 0 - 720, 1184) 05-12 16:34:26.473: I/SurfaceView(9330): Callback --> surfaceDestroyed 05-12 16:34:26.473: I/SurfaceView(9330): surfaceDestroyed callback + 05-12 16:34:26.499: V/WRAPPER_JNI(9330): disconnect::start 05-12 16:34:26.499: V/GPAC_WRAPPER(9330): disconnecting 05-12 16:34:26.499: V/GPAC_WRAPPER(9330): disconnected ... 05-12 16:34:26.499: V/WRAPPER_JNI(9330): disconnect::end 05-12 16:34:26.532: V/WRAPPER_JNI(9330): disconnect::start 05-12 16:34:26.533: V/GPAC_WRAPPER(9330): disconnecting 05-12 16:34:26.533: V/GPAC_WRAPPER(9330): disconnected ... 05-12 16:34:26.533: V/WRAPPER_JNI(9330): disconnect::end 05-12 16:34:26.533: V/WRAPPER_JNI(9330): free::start 05-12 16:34:26.533: V/GPAC_WRAPPER(9330): ~CNativeWrapper() 05-12 16:34:26.533: V/GPAC_WRAPPER(9330): shutdown 05-12 16:34:26.535: D/dalvikvm(9330): threadid=14: threadExitCheck(0x62cc4f30) count=0 05-12 16:34:26.536: D/dalvikvm(9330): threadid=14: thread exiting, not yet detached (count=0) 05-12 16:34:26.536: I/GPAC_WRAPPER(9330): Destroying a thread with attached data, env=0x62b92c78. 05-12 16:34:26.536: D/dalvikvm(9330): threadid=14: bye! 05-12 16:34:26.537: D/DROID_VIDEO(9330): Android Shutdown 05-12 16:34:26.537: D/DROID_VIDEO(9330): Android Delete Texture 05-12 16:34:26.537: E/libEGL(9330): call to OpenGL ES API with no current context (logged once per thread) 05-12 16:34:26.541: V/DROID_VIDEO(9330): Android Delete Texture DONE 05-12 16:34:26.541: V/DROID_VIDEO(9330): Android Shutdown DONE 05-12 16:34:26.541: D/DROID_VIDEO(9330): Android Shutdown 05-12 16:34:26.541: D/DROID_VIDEO(9330): Android Delete Texture 05-12 16:34:26.541: V/DROID_VIDEO(9330): Android Delete Texture DONE 05-12 16:34:26.541: V/DROID_VIDEO(9330): Android Shutdown DONE 05-12 16:34:26.541: D/DROID_VIDEO(9330): Android vout deinit 05-12 16:34:26.620: V/GPAC Android Audio(9330): [Android Audio] Shutdown START. 05-12 16:34:26.621: D/AudioTrack(9330): audiotrack 0x62dec680 stop done 05-12 16:34:26.621: D/AudioTrack(9330): ~audioTrack 0x62dec680 05-12 16:34:26.621: D/AudioTrackCenter(9330): removeTrack, trackPtr:0x62dec680 05-12 16:34:26.621: D/dalvikvm(9330): threadid=15: bye! 05-12 16:34:26.623: D/dalvikvm(9330): threadid=13: bye! 05-12 16:34:26.623: V/GPAC Android Audio(9330): [Android Audio] Shutdown DONE. 05-12 16:34:26.624: D/IPCThreadState(9330): [DN #5] BR_CLEAR_DEATH_NOTIFICATION_DONE cookie 0x62deea98 05-12 16:34:26.643: I/dalvikvm(9330): JNI ERROR (app bug): accessed deleted global reference 0x1d20040a 05-12 16:34:26.643: E/dalvikvm(9330): VM aborting 05-12 16:34:26.644: A/libc(9330): Fatal signal 6 (SIGABRT) at 0x00002472 (code=-6), thread 9345 (Thread-646) } How to solve the problem? Please help!
[Android-BUG] Crash when quickly reopen
https://api.github.com/repos/gpac/gpac/issues/143/comments
5
2015-05-12T08:42:49Z
2020-07-31T14:28:42Z
https://github.com/gpac/gpac/issues/143
75,520,940
143
[ "gpac", "gpac" ]
I don't know if this is a real issue, but the duration computed in SetTrackDuration() states: ``` //if we have an edit list, the duration is the sum of all the editList //entries' duration (always expressed in MovieTimeScale) ``` which seems contradictory. I think gf_isom_set_last_sample_duration() should update the edit lists but I don't know how. Ideas?
gf_isom_set_last_sample_duration() doesn't take into account the edit lists
https://api.github.com/repos/gpac/gpac/issues/141/comments
3
2015-05-11T19:33:21Z
2017-07-18T11:22:29Z
https://github.com/gpac/gpac/issues/141
75,332,917
141
[ "gpac", "gpac" ]
Hello gpac team, we compile mp4box from you with that script: https://github.com/jb-alvarado/media-autobuild_suite In the past it was working normal, but now we can not use `-hint` in the static compilation anymore. When we compile it with a shared lib, `-hint` works normal. Do you have any idea?
-hint in mp4box static
https://api.github.com/repos/gpac/gpac/issues/139/comments
7
2015-05-10T16:22:41Z
2015-05-23T19:15:41Z
https://github.com/gpac/gpac/issues/139
74,951,209
139
[ "gpac", "gpac" ]
Hi there, When I add chapters to an M4A using MP4Box, the chapters do not display within iTunes. This behaviour happens when the file is progressively downloading / pseudo streaming and has not already been downloaded. I'm observing the behaviour on podcasts. If playback is paused immediately, the chapters menu does normally appear. Otherwise, it may take a long time to appear or might not appear at all. Here is a comparison of the output from the AtomicParsley -T command, for a file chaptered with MP4Box, versus one made with Garageband 6.0.5: Garageband M4A Atom ftyp @ 0 of size: 28, ends @ 28 Atom moov @ 28 of size: 1485207, ends @ 1485235 Atom mvhd @ 36 of size: 108, ends @ 144 Atom trak @ 144 of size: 801, ends @ 945 Atom tkhd @ 152 of size: 92, ends @ 244 Atom load @ 244 of size: 24, ends @ 268 ~ Atom edts @ 268 of size: 36, ends @ 304 Atom elst @ 276 of size: 28, ends @ 304 Atom mdia @ 304 of size: 641, ends @ 945 Atom mdhd @ 312 of size: 32, ends @ 344 Atom hdlr @ 344 of size: 57, ends @ 401 Atom minf @ 401 of size: 544, ends @ 945 Atom gmhd @ 409 of size: 76, ends @ 485 Atom dinf @ 485 of size: 36, ends @ 521 Atom dref @ 493 of size: 28, ends @ 521 Atom url @ 509 of size: 12, ends @ 521 Atom stbl @ 521 of size: 424, ends @ 945 Atom stsd @ 529 of size: 80, ends @ 609 Atom tx3g @ 545 of size: 64, ends @ 609 Atom ftab @ 591 of size: 18, ends @ 609 Atom stts @ 609 of size: 144, ends @ 753 Atom stsc @ 753 of size: 28, ends @ 781 Atom stsz @ 781 of size: 84, ends @ 865 Atom stco @ 865 of size: 80, ends @ 945 Atom trak @ 945 of size: 903833, ends @ 904778 Atom tkhd @ 953 of size: 92, ends @ 1045 Atom edts @ 1045 of size: 36, ends @ 1081 Atom elst @ 1053 of size: 28, ends @ 1081 Atom tref @ 1081 of size: 24, ends @ 1105 Atom chap @ 1089 of size: 16, ends @ 1105 Atom mdia @ 1105 of size: 903673, ends @ 904778 Atom mdhd @ 1113 of size: 32, ends @ 1145 Atom hdlr @ 1145 of size: 58, ends @ 1203 Atom minf @ 1203 of size: 903575, ends @ 904778 Atom smhd @ 1211 of size: 16, ends @ 1227 Atom dinf @ 1227 of size: 36, ends @ 1263 Atom dref @ 1235 of size: 28, ends @ 1263 Atom url @ 1251 of size: 12, ends @ 1263 Atom stbl @ 1263 of size: 903515, ends @ 904778 Atom stsd @ 1271 of size: 103, ends @ 1374 Atom mp4a @ 1287 of size: 87, ends @ 1374 Atom esds @ 1323 of size: 51, ends @ 1374 Atom stts @ 1374 of size: 24, ends @ 1398 Atom stsc @ 1398 of size: 211660, ends @ 213058 Atom stsz @ 213058 of size: 621156, ends @ 834214 Atom stco @ 834214 of size: 70564, ends @ 904778 Atom trak @ 904778 of size: 500, ends @ 905278 Atom tkhd @ 904786 of size: 92, ends @ 904878 Atom edts @ 904878 of size: 36, ends @ 904914 Atom elst @ 904886 of size: 28, ends @ 904914 Atom mdia @ 904914 of size: 364, ends @ 905278 Atom mdhd @ 904922 of size: 32, ends @ 904954 Atom hdlr @ 904954 of size: 58, ends @ 905012 Atom minf @ 905012 of size: 266, ends @ 905278 Atom vmhd @ 905020 of size: 20, ends @ 905040 Atom dinf @ 905040 of size: 36, ends @ 905076 Atom dref @ 905048 of size: 28, ends @ 905076 Atom url @ 905064 of size: 12, ends @ 905076 Atom stbl @ 905076 of size: 202, ends @ 905278 Atom stsd @ 905084 of size: 102, ends @ 905186 Atom jpeg @ 905100 of size: 86, ends @ 905186 Atom stts @ 905186 of size: 24, ends @ 905210 Atom stsc @ 905210 of size: 28, ends @ 905238 Atom stsz @ 905238 of size: 20, ends @ 905258 Atom stco @ 905258 of size: 20, ends @ 905278 Atom udta @ 905278 of size: 579957, ends @ 1485235 Atom meta @ 905286 of size: 579949, ends @ 1485235 Atom hdlr @ 905298 of size: 32, ends @ 905330 Atom ilst @ 905330 of size: 577849, ends @ 1483179 Atom ©cmt @ 905338 of size: 130, ends @ 905468 Atom data @ 905346 of size: 122, ends @ 905468 Atom ©nam @ 905468 of size: 48, ends @ 905516 Atom data @ 905476 of size: 40, ends @ 905516 Atom ©ART @ 905516 of size: 29, ends @ 905545 Atom data @ 905524 of size: 21, ends @ 905545 Atom covr @ 905545 of size: 577594, ends @ 1483139 Atom data @ 905553 of size: 577586, ends @ 1483139 Atom ©too @ 1483139 of size: 40, ends @ 1483179 Atom data @ 1483147 of size: 32, ends @ 1483179 Atom free @ 1483179 of size: 2056, ends @ 1485235 Atom free @ 1485235 of size: 8, ends @ 1485243 Atom free @ 1485243 of size: 8, ends @ 1485251 Atom mdat @ 1485251 of size: 146012301, ends @ 147497552 ~ denotes an unknown atom ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ Total size: 147497552 bytes; 82 atoms total. AtomicParsley from svn built on Mar 25 2010 (utf8) Media data: 146012301 bytes; 1485251 bytes all other atoms (1.007% atom overhead). Total free atom space: 2072 bytes; 0.001% waste. Padding available: 2072 bytes. ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ Fraunhofer / MP4Box / AtomicParsley M4A Atom ftyp @ 0 of size: 36, ends @ 36 Atom moov @ 36 of size: 2322651, ends @ 2322687 Atom mvhd @ 44 of size: 108, ends @ 152 Atom iods @ 152 of size: 21, ends @ 173 Atom trak @ 173 of size: 651264, ends @ 651437 Atom tkhd @ 181 of size: 92, ends @ 273 Atom tref @ 273 of size: 24, ends @ 297 Atom chap @ 281 of size: 16, ends @ 297 Atom edts @ 297 of size: 36, ends @ 333 Atom elst @ 305 of size: 28, ends @ 333 Atom mdia @ 333 of size: 651104, ends @ 651437 Atom mdhd @ 341 of size: 32, ends @ 373 Atom hdlr @ 373 of size: 45, ends @ 418 Atom minf @ 418 of size: 651019, ends @ 651437 Atom smhd @ 426 of size: 16, ends @ 442 Atom dinf @ 442 of size: 36, ends @ 478 Atom dref @ 450 of size: 28, ends @ 478 Atom url @ 466 of size: 12, ends @ 478 Atom stbl @ 478 of size: 650959, ends @ 651437 Atom stsd @ 486 of size: 91, ends @ 577 Atom mp4a @ 502 of size: 75, ends @ 577 Atom esds @ 538 of size: 39, ends @ 577 Atom stts @ 577 of size: 32, ends @ 609 Atom stsc @ 609 of size: 64, ends @ 673 Atom stsz @ 673 of size: 621164, ends @ 621837 Atom stco @ 621837 of size: 29600, ends @ 651437 Atom trak @ 651437 of size: 714, ends @ 652151 Atom tkhd @ 651445 of size: 92, ends @ 651537 Atom mdia @ 651537 of size: 614, ends @ 652151 Atom mdhd @ 651545 of size: 32, ends @ 651577 Atom hdlr @ 651577 of size: 74, ends @ 651651 Atom minf @ 651651 of size: 500, ends @ 652151 Atom nmhd @ 651659 of size: 12, ends @ 651671 Atom dinf @ 651671 of size: 36, ends @ 651707 Atom dref @ 651679 of size: 28, ends @ 651707 Atom url @ 651695 of size: 12, ends @ 651707 Atom stbl @ 651707 of size: 444, ends @ 652151 Atom stsd @ 651715 of size: 80, ends @ 651795 Atom tx3g @ 651731 of size: 64, ends @ 651795 Atom ftab @ 651777 of size: 18, ends @ 651795 Atom stts @ 651795 of size: 144, ends @ 651939 Atom stsc @ 651939 of size: 52, ends @ 651991 Atom stsz @ 651991 of size: 84, ends @ 652075 Atom stco @ 652075 of size: 76, ends @ 652151 Atom trak @ 652151 of size: 500, ends @ 652651 Atom tkhd @ 652159 of size: 92, ends @ 652251 Atom mdia @ 652251 of size: 400, ends @ 652651 Atom mdhd @ 652259 of size: 32, ends @ 652291 Atom hdlr @ 652291 of size: 94, ends @ 652385 Atom minf @ 652385 of size: 266, ends @ 652651 Atom vmhd @ 652393 of size: 20, ends @ 652413 Atom dinf @ 652413 of size: 36, ends @ 652449 Atom dref @ 652421 of size: 28, ends @ 652449 Atom url @ 652437 of size: 12, ends @ 652449 Atom stbl @ 652449 of size: 202, ends @ 652651 Atom stsd @ 652457 of size: 102, ends @ 652559 Atom jpeg @ 652473 of size: 86, ends @ 652559 Atom stts @ 652559 of size: 24, ends @ 652583 Atom stsc @ 652583 of size: 28, ends @ 652611 Atom stsz @ 652611 of size: 20, ends @ 652631 Atom stco @ 652631 of size: 20, ends @ 652651 Atom udta @ 652651 of size: 1670036, ends @ 2322687 Atom meta @ 652659 of size: 1670028, ends @ 2322687 Atom hdlr @ 652671 of size: 33, ends @ 652704 Atom free @ 652704 of size: 2000, ends @ 654704 Atom ilst @ 654704 of size: 1667983, ends @ 2322687 Atom ©nam @ 654712 of size: 48, ends @ 654760 Atom data @ 654720 of size: 40, ends @ 654760 Atom ©too @ 654760 of size: 37, ends @ 654797 Atom data @ 654768 of size: 29, ends @ 654797 Atom ©ART @ 654797 of size: 29, ends @ 654826 Atom data @ 654805 of size: 21, ends @ 654826 Atom rtng @ 654826 of size: 25, ends @ 654851 Atom data @ 654834 of size: 17, ends @ 654851 Atom ©cmt @ 654851 of size: 130, ends @ 654981 Atom data @ 654859 of size: 122, ends @ 654981 Atom covr @ 654981 of size: 1667706, ends @ 2322687 Atom data @ 654989 of size: 1667698, ends @ 2322687 Atom free @ 2322687 of size: 48, ends @ 2322735 Atom mdat @ 2322735 of size: 145897902, ends @ 148220637 Atom free @ 148220637 of size: 8, ends @ 148220645 Atom free @ 148220645 of size: 59, ends @ 148220704 ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ Total size: 148220704 bytes; 81 atoms total. AtomicParsley from svn built on Mar 25 2010 (utf8) Media data: 145897902 bytes; 2322802 bytes all other atoms (1.567% atom overhead). Total free atom space: 2115 bytes; 0.001% waste. Padding available: 2048 bytes. ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
M4A with chapters added by MP4Box does not show chapters in iTunes
https://api.github.com/repos/gpac/gpac/issues/134/comments
5
2015-05-04T18:04:56Z
2020-09-04T09:04:32Z
https://github.com/gpac/gpac/issues/134
73,085,983
134