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" ]
After copying api ms win crt runtime 1.1.0 dll to system 32 and winsows64 It saying unable to start mp4box error code o*77... windows 7 64 bit. Vc runtime 15. 08 gpac
Gpac installlation problem
https://api.github.com/repos/gpac/gpac/issues/1303/comments
2
2019-08-25T17:29:01Z
2019-09-02T14:25:39Z
https://github.com/gpac/gpac/issues/1303
484,955,300
1,303
[ "gpac", "gpac" ]
I have recorded some .ts file which I now want to split, however I am getting output which I am not sure if I understand correctly. Seems like the file is corrupted or something, which causes `-split` or `-splits` to fail. I assume any operation on that file would fail Below is the output ``` mp4box -splits 1499000 video_to_split.ts [MPEG-2 TS] PID 256 - same PTS 714557970 for two consecutive PES packets [MPEG-2 TS] PID 256 - same DTS 714557970 for two consecutive PES packets [MPEG-2 TS] PID 256 - same PTS 714647970 for two consecutive PES packets [MPEG-2 TS] PID 256 - same DTS 714647970 for two consecutive PES packets Import probing results for video_to_split.s: File has 3 tracks Duration: 5276.55 s Track 258 type: Metadata (ID3 ) - Program 1 Track 256 type: Video (H264) - Program 1 Track 257 type: Audio (MP4A) - Program 1 ``` Is there any way to make it work?
Cannot split file
https://api.github.com/repos/gpac/gpac/issues/1302/comments
1
2019-08-20T23:08:30Z
2019-08-26T10:06:23Z
https://github.com/gpac/gpac/issues/1302
483,123,107
1,302
[ "gpac", "gpac" ]
iam facing a problem with large vedios i first divide a vedio file into vedio and audio seprate file ffmpeg -i input.mkv -an -c copy video.mp4 ffmpeg -i input-video.avi -vn -acodec copy output-audio.m4a then i dash the vedios MP4Box -dash-strict 20000 -rap -frag-rap -bs-switching no -profile "dashavc264:live" "d:/dashvedio1/vkkk.mp4" "d:/dashvedio1/audio.m4a" -out "d:/dashvedio1/manifest.mpd" but when iplay manifest.mpd file with mp4 client , when i forward it has no problem,but on backward mp4client crahes do i need dash in large chunks or small chunk or any other suggestion
best way to dash vedios, 1gb file
https://api.github.com/repos/gpac/gpac/issues/1301/comments
1
2019-08-14T19:23:31Z
2020-09-02T16:18:07Z
https://github.com/gpac/gpac/issues/1301
480,847,198
1,301
[ "gpac", "gpac" ]
GPAC installers will no longer work (specifically Mp4Box from the command prompt) on a clean install of Windows 10 Home Version 1903 OS build 18362.295 because msvcr100.dll is no longer supplied by GPAC installers and is not included in a clean Windows install. Perhaps you could include Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update (vcredist_x86.exe or vcredist_x64.exe) from https://www.microsoft.com/en-us/download/details.aspx?id=26999 to obtain msvcr100.dll like you supplied vc2015 to obtain vcruntime140.dll.
msvcr100.dll is no longer supplied by GPAC installers
https://api.github.com/repos/gpac/gpac/issues/1300/comments
8
2019-08-13T23:11:13Z
2020-05-06T19:07:38Z
https://github.com/gpac/gpac/issues/1300
480,410,264
1,300
[ "gpac", "gpac" ]
I imagine it is some script error. Please visit https://gpac.wp.imt.fr/downloads/; all links are dead. I used "Urgent" because I am not able to set a priority/severity level for this issue. Well, it is a showstopper of course.
Urgent: Dead links for GPAC installers at https://gpac.wp.imt.fr/downloads/
https://api.github.com/repos/gpac/gpac/issues/1299/comments
1
2019-08-11T21:13:01Z
2019-08-12T07:18:22Z
https://github.com/gpac/gpac/issues/1299
479,412,070
1,299
[ "gpac", "gpac" ]
Hi, I am using win10 and I test SRD with GPAC-0.8.0 and GPAC-0.6.2 in my PC. I have several questions about the [**MPEG-DASH SRD and HEVC tiling for VR videos**](https://gpac.wp.imt.fr/2016/05/25/srdtuto/). 1. I followed the example command: > "MP4Box -dash 1000 [other dash params] source.mp4:desc_as=<SupplementalProperty schemeIdUri= \"urn:mpeg: dash :srd:2014\" value=\"0,0,1,1,1,2,2\"/>" and set my own command as > "MP4Box -dash 1000 -frag 1000 -rap - segment-name TileTest_ myOwnVideo.mp4:desc_as=<SupplementalProperty schemeIdUri= \"urn:mpeg: dash :srd:2014\" value=\"0,0,1,1,1,2,2\"/>" . But in the terminal, I got error, which is "The syntax of the command is incorrect". I firstly test this function with GPAC-0.8.0 and then test this function with GPAC-0.6.2. And I got the same error. 2. In [**MPEG-DASH SRD and HEVC tiling for VR videos**](https://gpac.wp.imt.fr/2016/05/25/srdtuto/), I am not clear how the command > indicates that source.mp4 is placed at X=0, Y=1 with width 1 and height 1 on a tiling grid of size 2×2. 3. Based on the paper, this work could help set different resolution for different tiles. I did not find any instrunction about SRD in the [MP4Box document](https://gpac.wp.imt.fr/mp4box/mp4box-documentation/) Thank you very much. When I testing the MP4box functionality, I set the system path independently for - [x ] I looked for a similar issue and couldn't find any. - [ x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
Question about command line in MPEG-DASH SRD example.
https://api.github.com/repos/gpac/gpac/issues/1298/comments
2
2019-08-09T03:28:29Z
2020-09-02T16:15:53Z
https://github.com/gpac/gpac/issues/1298
478,778,129
1,298
[ "gpac", "gpac" ]
Hi guys I have managed dumping the files ( https://github.com/gpac/gpac/issues/1287) but with another dashing code: MP4Box -dash 1000 -dash-profile onDemand -rap -frag 500 Jockey_256x144_100K_AVC.mp4 Jockey_320x180_200K_AVC.mp4 Jockey_384x216_240K_AVC.mp4 Jockey_384x216_375K_AVC.mp4 Jockey_512x288_550K_AVC.mp4 Jockey_640x360_750K_AVC.mp4 Jockey_768x432_1000K_AVC.mp4 Jockey_1024x576_1500K_AVC.mp4 Jockey_1280x720_3000K_AVC.mp4 Jockey_1280x720_3000K_AVC.mp4 Jockey_1920x1080_4300K_AVC.mp4 Jockey_1920x1080_5800K_AVC.mp4 -mpd-title AVC -out AVC_1s.mpd and for the same for hevc, vp9 and av1, I replicate the above command accordingly. I have a question I noticed that the MP4Client does not adapt with AV1, although there is higher bandwidth available. Is there anyway I can apply to ensure the adaptation? Hence, I played AVC, HEVC and VP9 mpds and they are all perfectly playable Please find the gpac.cfg [GPAC.txt](https://github.com/gpac/gpac/files/3481385/GPAC.txt) With my thanks in anticipation Irrz
AV1 adaptation and concatenation
https://api.github.com/repos/gpac/gpac/issues/1297/comments
6
2019-08-08T11:12:04Z
2020-09-04T12:57:30Z
https://github.com/gpac/gpac/issues/1297
478,404,396
1,297
[ "gpac", "gpac" ]
I'm posting as a new user on what seems to be a well maintained project and issue tracker. - [X] I looked for a similar issue and couldn't find any. - [X] I tried with the latest version of GPAC. - [X] I give enough information for contributors to reproduce my issue Using the latest nightly build on macOS 10.14.6. ``` $ /Applications/GPAC.app/Contents/MacOS/MP4Box -version MP4Box - GPAC version 0.8.0-rev47-gbafe4cd3-master (c) Telecom ParisTech 2000-2018 - Licence LGPL v2 GPAC Configuration: --extra-cflags=-Wno-deprecated Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG ``` I am experiencing issues with *some* (and always the same) videos on an iPod Nano: **Problem 1**. Specifically around 12 or 45 minutes into the video, the built-in video player either: - exits back to the video list - runs amok playing video at several minutes per second **Problem 2**. White noise artifacts, usually the left channel, in the same places per video. What I'm doing (using latest FFmpeg): `ffmpeg -i original.mp4 -ar 44100 -ac 2 -b:a 128k -profile:v baseline -level 3.0 -pix_fmt yuv420p ffmpeg.mov` Then: `MP4Box -add ffmpeg.mov ipod.mov` resolves problem 1, but then there is no audio on the iPod (though there is audio with ffplay, vlc, etc.) `MP4Box -ipod ffmpeg.mov ipod.mov` brings back the audio, but alas also the original problem 1. Workaround for problem 1: Convert video to AVI and back to MP4 (using FFmpeg). The problem may thus revolve around container metadata retained during mp4-mp4 operations. However, doing diffs on `ffprobe -show_streams` or `MP4Box -info` before and after the AVI workaround reveals no relevant change in metadata. For problem 2, I have found no workaround. I assume MP4 videos must have AAC audio. I've tried both standard aac and libfdk (the latter may produce slightly less noise). If there is interest in resolving the problem, I can share small example files and any other required information. Maybe someone on the dev team as an iPod Nano to test this on? FYI: Targeting iPod, ie. `ffmpeg ... -f ipod ... ffmpeg.m4v`, has no effect on the problem.
Video and audio playback problems on iPod
https://api.github.com/repos/gpac/gpac/issues/1295/comments
30
2019-08-06T05:44:00Z
2021-02-18T12:57:29Z
https://github.com/gpac/gpac/issues/1295
477,180,325
1,295
[ "gpac", "gpac" ]
Mp4box provides `pssh` parameter to specify where cenc protection data are supposed to be placed. This parameter is working fine in master branch, however, filters branch is either ignoring the values or printing error `Wrong argument value moof for unsigned int arg pssh enum v|f|mv|mf|m|n - using 0` For instance using `-pssh=mv` no error is printed, but pssh data are missing in the mpd manifest, they are only in init segments. Using `-pssh=m` prints the above mentioned error and again, pssh data are obviously missing in the manifest, but this time they are wrongly present in init segments. Similar unexpected behavior can be observed with the rest of pssh values as well, they all seem to default to `-pssh=v`. Seen with 0.9.0-DEV-rev2670-g88c73eb3-filters.
GPAC 0.9.0 - mp4box not using -pssh correctly
https://api.github.com/repos/gpac/gpac/issues/1293/comments
2
2019-08-01T11:00:15Z
2019-08-02T08:20:31Z
https://github.com/gpac/gpac/issues/1293
475,617,247
1,293
[ "gpac", "gpac" ]
Build used: http://gpac.io/downloads/gpac-nightly-builds/ It seems that packaging a TRUEHD/MLP stream into a mp4 container isn't supported by any currently available software - despite the capabilities of the MP4 container. References: http://mp4ra.org/#/codecs - see codec mlpa - (clearly states support for Dolby MLP) https://developer.dolby.com/globalassets/technology/dolby-truehd/dolbytruehdbitstreamswithintheisobasemediafileformat.pdf - describes the storage of Dolby® TrueHD (MLP) audio bitstreams in a file format compliant with the ISO base media file format https://en.wikipedia.org/wiki/Comparison_of_video_container_formats - see audio coding formats support - also clearly states support for TRUEHD in mp4.
[MP4BOX] [MP4] Meridian Lossless Packing (Dolby TRUEHD) support
https://api.github.com/repos/gpac/gpac/issues/1292/comments
10
2019-07-31T15:34:17Z
2022-02-22T13:39:14Z
https://github.com/gpac/gpac/issues/1292
475,215,765
1,292
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [X] I looked for a similar issue and couldn't find any. - [X] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [X] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). ---- When whitespace is present on `div` level (see [whitespace_below_div.xml.log](https://github.com/gpac/gpac/files/3444159/whitespace_below_div.xml.log); remove `.log`), messages are shown that the namespace should be checked: ``` [TTML] ignored " " node, check your namespaces [TTML] ignored " " node, check your namespaces ``` Used cmdline: `MP4Box -add whitespace_below_div.xml:ext=ttml test.mp4` However the reason is that on `div` level just text nodes (consisting of spaces) are found, as the file contains indentation. As these text nodes are already ignored on `body` level, the same should be done on `div` level, in order to prevent such false positives - as actual text content can only be present on `p` or `span` level anyway.
EBU-TT-D: fix whitespace on div level message
https://api.github.com/repos/gpac/gpac/issues/1290/comments
1
2019-07-29T20:28:39Z
2019-07-30T16:41:18Z
https://github.com/gpac/gpac/issues/1290
474,241,174
1,290
[ "gpac", "gpac" ]
Hi If file aac contains 5.1 channels v8 $ MP4Box -raw 1 -raw 2 in.mp4 Extracting MPEG-4 AVC-H264 stream to h264 Extracting MPEG-4 AAC v9 $ MP4Box -raw 1 -raw 2 in.mp4 Exporting MPEG-4 AVC|H264 Video - Size 1280x720 RFADTS] Mismatch betwwen container number of channels (2) and AAC config (6), using AAC config Exporting MPEG-4 AAC Audio - SampleRate 44100 2 channels 16 bits per sample Ok. For files extracted with v8 v8 $ MP4Box -add in.h254 -add in.aac out.mp4 [avc-h264] Possible Variable Frame Rate: VUI "fixed_frame_rate_flag" absent. AVC-H264 import - frame size 1280 x 720 at 24.000 FPS AVC Import results: 200 samples (405 NALUs) - Slices: 2 I 198 P 0 B - 1 SEI - 2 IDR AAC ADTS import - sample rate 44100 - MPEG-4 audio - 6 channels but MP4Box - GPAC version 0.9.0-DEV-rev2669-g548d4fcc-filters $ MP4Box -add in.h254 -add in.aac out.mp4 Illegal instruction: 4 [5.1 Surround Sound AAC Test.mp4.zip](https://github.com/gpac/gpac/files/3440992/5.1.Surround.Sound.AAC.Test.mp4.zip)
GPAC 0.9 Illegal instruction: 4
https://api.github.com/repos/gpac/gpac/issues/1288/comments
5
2019-07-29T08:24:19Z
2019-08-26T09:51:43Z
https://github.com/gpac/gpac/issues/1288
473,916,509
1,288
[ "gpac", "gpac" ]
Hello guys I used to dump easily the segments while streaming for post streaming tests. However, now I only can find the mpd file and the text file that contains the mpd details on the temp folder (where i directed the streaming to be stored). If i use the MP4Client to stream each segment (NOT requesting the MPD), I can get these streamed files in the directory, but I get them in one mp4 file not multi mp4 files I checked the configuration in https://github.com/gpac/gpac/issues/2 , but they are not working with me!
dumping Dash from mpd
https://api.github.com/repos/gpac/gpac/issues/1287/comments
10
2019-07-26T15:21:20Z
2019-08-07T21:17:28Z
https://github.com/gpac/gpac/issues/1287
473,412,037
1,287
[ "gpac", "gpac" ]
Hi MP4Box - GPAC version 0.9.0-DEV-rev2612-g3df065da-filters macOS $ MP4Box -raw 1 -raw 2 test.mov [iso file] Unknown box type load in parent trak [iso file] Unknown box type stps in parent stbl Illegal instruction: 4 $ MP4Box -add test.mov test.m4v $ MP4Box -raw 1 -raw 2 test.m4v [iso file] Unknown box type load in parent trak Illegal instruction: 4 Regards.
GPAC 0.9 Illegal instruction: 4
https://api.github.com/repos/gpac/gpac/issues/1286/comments
8
2019-07-24T10:48:44Z
2019-07-25T12:04:05Z
https://github.com/gpac/gpac/issues/1286
472,213,355
1,286
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [ ] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ MP4Box -crypt drm_file.xml movie.mp4 -out movie_encrypted.mp4 file encrypted above , will it play in exoplayer offline from sd card ie both key and vedio are in sd card
play encrypted vedio in exoplayer
https://api.github.com/repos/gpac/gpac/issues/1284/comments
2
2019-07-22T09:12:30Z
2019-08-17T09:10:35Z
https://github.com/gpac/gpac/issues/1284
470,981,590
1,284
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [ ] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ mp4 box encrypt file on windows how do i play encrypted vedio on android with osmo4 , clear key how do i start
play encrypted vedio on android with osmo4
https://api.github.com/repos/gpac/gpac/issues/1282/comments
1
2019-07-21T13:42:58Z
2019-07-22T09:36:38Z
https://github.com/gpac/gpac/issues/1282
470,783,109
1,282
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ ----------------------------------------------------------------------------------------------------------- [The video ](https://drive.google.com/open?id=1M8gJMd_-OhX6qJD5KTxBHkavU64w-_WY) was being HLS streamed using AES-128. Even though I could view it perfectly fine in the browser, VLC doesn't play the downloaded video file. It doesn't seem to contain any metadata or codec information either. I thought re-encoding it with ffmpeg might solve the issue. But ffmpeg throws these exceptions irrespective of the operation I try to perform: `[mov,mp4,m4a,3gp,3g2,mj2 @ 000002a477298a80] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 000002a477298a80] moov atom not found 4.mp4: Invalid data found when processing input` Google search led me to mp4box. But running `MP4Box -add 4.mp4 41.mp4`, `MP4Box -inter 0 4.mp4` or `MP4Box -add 4.h265 41.mp4` show exceptions such as: - Incomplete MDAT while file is not read-only - Invalid IsoMedia File - [MPEG-2 TS] TS Packet 1 is scrambled - not supported - [MPEG-2 TS] TS Packet 2 has error (PID could be 1792) - [MPEG-2 TS] TS Packet 3 does not start with sync marker - Error importing 4.mp4: Corrupted Data in file/stream - Cannot find HEVC start code - Error importing 4.h265: BitStream Not Compliant The actual logs are [here](https://pastebin.com/u97hZvBS). Any idea how I can make this video download work? Notes: - It's actually a 2hr 49min 10sec long video. - I've installed gpac-0.8.0-rev23-g2929c6df-master-x64.exe on Windows 10 64-bit platform.
does not start with sync marker
https://api.github.com/repos/gpac/gpac/issues/1281/comments
4
2019-07-21T07:25:46Z
2019-09-07T06:08:04Z
https://github.com/gpac/gpac/issues/1281
470,752,094
1,281
[ "gpac", "gpac" ]
For example when splitting Opus MP4s, we should add an option to add overlapping samples. At the moment we only split the samples, so the splitted content rendered in a playlist would contain some gaps.
Add option to consider preroll when splitting
https://api.github.com/repos/gpac/gpac/issues/1280/comments
1
2019-07-18T15:25:31Z
2021-04-28T12:34:31Z
https://github.com/gpac/gpac/issues/1280
469,835,960
1,280
[ "gpac", "gpac" ]
As of c00723674, running `MP42TS -src $FILE -dst-file /dev/null` may trigger SEGV error where ASAN reports an invalid read. ``` Reading symbols from ./MP42TS... gdb$ run Starting program: /home/hongxu/FOT/gpac/gpac-orig/install/bin/MP42TS -src m0215.mp4 -dst-file /dev/null [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [iso file] Incomplete box ftyp - start 0 size 808464424 [iso file] Incomplete file while reading for dump - aborting parsing Setting up program ID 1 - send rates: PSI 200 ms PCR 100 ms - PCR offset 0 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff77b3eba in gf_m2ts_stream_process_pmt () from /home/hongxu/FOT/gpac/gpac-fuzz/install/bin/../lib/libgpac.so.8 gdb$ bt #0 0x00007ffff77b3eba in gf_m2ts_stream_process_pmt () from /home/hongxu/FOT/gpac/gpac-fuzz/install/bin/../lib/libgpac.so.8 #1 0x00007ffff77c2955 in gf_m2ts_mux_update_config () from /home/hongxu/FOT/gpac/gpac-fuzz/install/bin/../lib/libgpac.so.8 #2 0x0000000000406eca in main (argc=0x5, argv=0x7fffffffba68) at main.c:2683 ``` POCs (zipped) can be: [m1.mp4.zip](https://github.com/gpac/gpac/files/3406191/m1.mp4.zip) [m2.mp4.zip](https://github.com/gpac/gpac/files/3406192/m2.mp4.zip)
AddressSanitizer: Invalid read at main.c:2683
https://api.github.com/repos/gpac/gpac/issues/1279/comments
1
2019-07-18T11:03:22Z
2019-09-30T14:25:10Z
https://github.com/gpac/gpac/issues/1279
469,706,430
1,279
[ "gpac", "gpac" ]
I am looking for a way to get the sample number's of the previous and next random access points for a given sample. I looked at `gf_isom_get_sample_for_media_time` using `GF_ISOM_SEARCH_SYNC_FORWARD` and `GF_ISOM_SEARCH_SYNC_BACKWARD`, but it does more work than I want because I don't actually need the sample data. The function `stbl_GetSampleRAP` does exactly what I want, but it is not exported. Is there any way to achieve what I want using public API, or if not, is there any chance that such functionality could be exposed in public API? - [ X ] I looked for a similar issue and couldn't find any. - [ NA ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ NA ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
Question - How to get previous and next random access samples
https://api.github.com/repos/gpac/gpac/issues/1278/comments
4
2019-07-17T22:46:33Z
2019-11-18T16:41:11Z
https://github.com/gpac/gpac/issues/1278
469,484,142
1,278
[ "gpac", "gpac" ]
I'm experiencing a huge difference in perfomance of mp4box between filters and master branches when dashing. For the test I used a 288p 5-minute video as source. It does not seem like fine-tuning arguments play any role in performance nor what kind of content is being processed, so the comparison here is made with simple commandline `mp4box -dash 2000 source.mp4#video -out manifest.mpd` Windows build 0.8.0-rev18-gb2e67a99-master is able to dash such content in 1.5 second on an Intel i5@2,5Ghz CPU with SSD. Windows build 0.9.0-DEV-rev2567-g2fb6b79d-filters requires whopping 34 seconds to finish on the same system.
Performance disparity between filters and master branches
https://api.github.com/repos/gpac/gpac/issues/1276/comments
8
2019-07-17T11:03:59Z
2019-07-18T08:56:07Z
https://github.com/gpac/gpac/issues/1276
469,128,502
1,276
[ "gpac", "gpac" ]
Hello, I tried compiling GPAC and I got MP4Box installed after following the instructions here : https://gpac.wp.imt.fr/2011/04/20/compiling-gpac-on-ubuntu/ I am able to use MP4Box but not gpac. How do I use the gpac binary? How do I build and get it? I am trying to follow https://github.com/gpac/gpac/wiki/pipes on using gpac for pipes. How to compile the gpac executable on my system so that I can try out gpac for pipes? Thanks
Compiling gpac and using pipes in gpac
https://api.github.com/repos/gpac/gpac/issues/1275/comments
1
2019-07-13T17:19:29Z
2019-07-16T08:06:52Z
https://github.com/gpac/gpac/issues/1275
467,745,660
1,275
[ "gpac", "gpac" ]
If dashing encrypted multichannel 5.1 audio with 0.8.0-rev1-gc1990d5c-master and older revisions, resulting dash manifest claims that there are just two channels. `<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>` even though `mp4box -info aac51encrypted.mp4` correctly reports all 6 channels. If dashing unencrypted 5.1 audio, channels are declared correctly as `<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="6"/>` This is already corrected in the new 0.9.0 filters branch, but can it please be backported also into 0.8.0 master branch that is as of now more stable and in some procedures much faster? Circumstances surrounding channel detection in this scenario don't seem to be related to recent fix in https://github.com/gpac/gpac/issues/881 for GPAC 0.9.0. I've uploaded clear and encrypted multichannel test content to your MediaFire storage for you to verify as multichannel.zip.
Encrypted multichannel audio declared as stereo after dashing
https://api.github.com/repos/gpac/gpac/issues/1274/comments
2
2019-07-12T08:07:31Z
2019-07-16T11:01:55Z
https://github.com/gpac/gpac/issues/1274
467,278,744
1,274
[ "gpac", "gpac" ]
Using `mp4box -crypt crypt.xml input.mp4 -out output.mp4` works fine in GPAC 0.7.2, however, 0.9.0-DEV-rev2522-ge29dba15-filters is unable to encrypt any H.264 or HEVC content I tried using the same crypt.xml based on AES-CTR. VP9 is ok, haven't tested AV1. Alternative approach with `gpac -i input.mp4 cecrypt:cfile=crypt.xml @ -o output.mp4` yields the same error with H.264 or HEVC content as mp4box itself. `ISOBMF: Error Bad Parameter writing box senc` `[iso file] Box trak wrote 12731 bytes but size is 24731` `ISOBMF: Error Bad Parameter writing box trak` `[iso file] Box moov wrote 12847 bytes but size is 25530` `[MP4Mux] Failed to write file: Bad Parameter` I can provide crypt.xml upon request.
GPAC 0.9.0 - unable to encrypt H.264 and HEVC content
https://api.github.com/repos/gpac/gpac/issues/1273/comments
3
2019-07-09T09:06:23Z
2019-07-09T15:21:43Z
https://github.com/gpac/gpac/issues/1273
465,661,757
1,273
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [✔ ] I looked for a similar issue and couldn't find any. - [✔ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ✔] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ in odf_code.c [line3295](https://github.com/gpac/gpac/blob/1310ba63e7b928e2ae7546f3c88a9b0f06a76e0d/src/odf/odf_code.c#L3295 ) The check for size here may have some problems.It will cause a heap overflow.And it will resulting in gf_odf_del_ipmp_tool to free a invalid address. Here is the asan's result: ``` [ODF] Error reading descriptor (tag 3 size 0): Invalid MPEG-4 Descriptor ================================================================= ==19708== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602c0000ff68 at pc 0x7f448e47044d bp 0x7ffd384c3670 sp 0x7ffd384c2e30 WRITE of size 16 at 0x602c0000ff68 thread T0 #0 0x7f448e47044c (/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0+0xe44c) #1 0x43efa1 (/home/lcy/gpac-master/bin/gcc/MP4Box+0x43efa1) #2 0x56cd48 (/home/lcy/gpac-master/bin/gcc/MP4Box+0x56cd48) #3 0x562335 (/home/lcy/gpac-master/bin/gcc/MP4Box+0x562335) #4 0x56d4c7 (/home/lcy/gpac-master/bin/gcc/MP4Box+0x56d4c7) #5 0x6d4b48 (/home/lcy/gpac-master/bin/gcc/MP4Box+0x6d4b48) #6 0x51d2ab (/home/lcy/gpac-master/bin/gcc/MP4Box+0x51d2ab) #7 0x51d814 (/home/lcy/gpac-master/bin/gcc/MP4Box+0x51d814) #8 0x524cb5 (/home/lcy/gpac-master/bin/gcc/MP4Box+0x524cb5) #9 0x525b2e (/home/lcy/gpac-master/bin/gcc/MP4Box+0x525b2e) #10 0x41cb6b (/home/lcy/gpac-master/bin/gcc/MP4Box+0x41cb6b) #11 0x7f448d75bf44 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44) #12 0x40f2fd (/home/lcy/gpac-master/bin/gcc/MP4Box+0x40f2fd) 0x602c0000ff68 is located 0 bytes to the right of 360-byte region [0x602c0000fe00,0x602c0000ff68) allocated by thread T0 here: #0 0x7f448e47741a (/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0+0x1541a) #1 0x56cb6d (/home/lcy/gpac-master/bin/gcc/MP4Box+0x56cb6d) Shadow bytes around the buggy address: 0x0c05ffff9f90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c05ffff9fa0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c05ffff9fb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c05ffff9fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c05ffff9fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c05ffff9fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa 0x0c05ffff9ff0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c05ffffa000: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c05ffffa010: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c05ffffa020: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c05ffffa030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap righ redzone: fb Freed Heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 ASan internal: fe ==19708== ABORTING ```
in odf_code.c line3295 have a heap-buffer-overflow
https://api.github.com/repos/gpac/gpac/issues/1272/comments
1
2019-07-08T12:35:13Z
2019-07-09T16:32:53Z
https://github.com/gpac/gpac/issues/1272
465,232,934
1,272
[ "gpac", "gpac" ]
Hi, Our fuzzer found a crash on MP4Box (the latest commit 987169b on master). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_segv_gf_odf_delete_descriptor Command: MP4Box -diso $PoC ASAN says: ~~~ ==26490==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000ff00 (pc 0x000000c3ef6d bp 0x60800000bfa0 sp 0x7fffe837bf90 T0) #0 0xc3ef6c in gf_odf_delete_descriptor /home/dungnguyen/gueb-testing/gpac-head/src/odf/desc_private.c:164 #1 0x848f20 in gf_odf_del_esd /home/dungnguyen/gueb-testing/gpac-head/src/odf/odf_code.c:156 #2 0x980a2e in gf_m2ts_process_pmt /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:2186 #3 0x970944 in gf_m2ts_section_complete /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1610 #4 0x971fa2 in gf_m2ts_gather_section /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1740 #5 0x97991c in gf_m2ts_process_packet /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3446 #6 0x97991c in gf_m2ts_process_data /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3507 #7 0x986f65 in gf_m2ts_probe_file /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:4641 #8 0x963fa9 in gf_media_import /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/media_import.c:10998 #9 0x45b475 in convert_file_info /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/fileimport.c:124 #10 0x43ac0c in mp4boxMain /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/main.c:4804 #11 0x7f94de37a82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #12 0x421eb8 in _start (/home/dungnguyen/PoCs/gpac_987169b/MP4Box-asan+0x421eb8) ~~~ Thanks, Manh Dung
SEGV on unknown addres on gf_odf_delete_descriptor
https://api.github.com/repos/gpac/gpac/issues/1271/comments
1
2019-07-06T00:25:31Z
2019-07-07T16:01:07Z
https://github.com/gpac/gpac/issues/1271
464,800,676
1,271
[ "gpac", "gpac" ]
Hi, Our fuzzer found an UAF on MP4Box (the latest commit 987169b on master). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_segv_gf_list_count Command: MP4Box -info $PoC ASAN says: ~~~ ==19963==ERROR: AddressSanitizer: SEGV on unknown address 0x00047fff8001 (pc 0x00000047a43d bp 0x60800000bfa0 sp 0x7ffe5b9765b0 T0) #0 0x47a43c in gf_list_count /home/dungnguyen/gueb-testing/gpac-head/src/utils/list.c:641 #1 0x9809d4 in gf_m2ts_process_pmt /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:2185 #2 0x970944 in gf_m2ts_section_complete /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1610 #3 0x971fa2 in gf_m2ts_gather_section /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1740 #4 0x97991c in gf_m2ts_process_packet /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3446 #5 0x97991c in gf_m2ts_process_data /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3507 #6 0x986f65 in gf_m2ts_probe_file /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:4641 #7 0x963fa9 in gf_media_import /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/media_import.c:10998 #8 0x45b475 in convert_file_info /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/fileimport.c:124 #9 0x43ac0c in mp4boxMain /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/main.c:4804 #10 0x7ff2747fe82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #11 0x421eb8 in _start (/home/dungnguyen/PoCs/gpac_987169b/MP4Box-asan+0x421eb8) ~~~ Thanks, Manh Dung
SEGV on unknown address on gf_list_count
https://api.github.com/repos/gpac/gpac/issues/1270/comments
1
2019-07-06T00:11:01Z
2019-07-07T16:00:40Z
https://github.com/gpac/gpac/issues/1270
464,799,484
1,270
[ "gpac", "gpac" ]
Hi, Our fuzzer found an UAF on MP4Box (the latest commit 987169b on master). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_uaf_mpegts.c:2183 Command: MP4Box -info $PoC ASAN says: ~~~ ==12341==ERROR: AddressSanitizer: heap-use-after-free on address 0x60300000efb0 at pc 0x00000098190d bp 0x7ffd5d0bb3c0 sp 0x7ffd5d0bb3b0 WRITE of size 2 at 0x60300000efb0 thread T0 #0 0x98190c in gf_m2ts_process_pmt /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:2183 #1 0x970944 in gf_m2ts_section_complete /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1610 #2 0x971fa2 in gf_m2ts_gather_section /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1740 #3 0x97991c in gf_m2ts_process_packet /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3446 #4 0x97991c in gf_m2ts_process_data /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3507 #5 0x986f65 in gf_m2ts_probe_file /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:4641 #6 0x963fa9 in gf_media_import /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/media_import.c:10998 #7 0x45b475 in convert_file_info /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/fileimport.c:124 #8 0x43ac0c in mp4boxMain /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/main.c:4804 #9 0x7f58ce76782f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #10 0x421eb8 in _start (/home/dungnguyen/PoCs/gpac_987169b/MP4Box-asan+0x421eb8) 0x60300000efb0 is located 0 bytes inside of 26-byte region [0x60300000efb0,0x60300000efca) freed by thread T0 here: #0 0x7f58d022d961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961) #1 0x972421 in gf_m2ts_gather_section /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1730 previously allocated by thread T0 here: #0 0x7f58d022d602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602) #1 0x972081 in gf_m2ts_gather_section /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1705 ~~~ Thanks, Manh Dung
Use After Free (mpegts.c:2183)
https://api.github.com/repos/gpac/gpac/issues/1269/comments
1
2019-07-06T00:10:37Z
2019-07-07T15:59:17Z
https://github.com/gpac/gpac/issues/1269
464,799,448
1,269
[ "gpac", "gpac" ]
Hi, Our fuzzer found a buffer overflow on MP4Box (the latest commit 987169b on master). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_hbo_BS_ReadByte Command: MP4Box -info $PoC ASAN says: ~~~ ==27934==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b00000a236 at pc 0x00000047c2aa bp 0x7ffded5429d0 sp 0x7ffded5429c0 READ of size 1 at 0x60b00000a236 thread T0 #0 0x47c2a9 in BS_ReadByte /home/dungnguyen/gueb-testing/gpac-head/src/utils/bitstream.c:253 #1 0x47c2a9 in gf_bs_read_bit /home/dungnguyen/gueb-testing/gpac-head/src/utils/bitstream.c:287 #2 0x47ecc7 in gf_bs_read_double /home/dungnguyen/gueb-testing/gpac-head/src/utils/bitstream.c:444 #3 0x85122d in gf_odf_read_mediatime /home/dungnguyen/gueb-testing/gpac-head/src/odf/odf_code.c:1471 #4 0x8412bb in gf_odf_parse_descriptor /home/dungnguyen/gueb-testing/gpac-head/src/odf/descriptors.c:159 #5 0x84b027 in gf_odf_read_iod /home/dungnguyen/gueb-testing/gpac-head/src/odf/odf_code.c:505 #6 0x8412bb in gf_odf_parse_descriptor /home/dungnguyen/gueb-testing/gpac-head/src/odf/descriptors.c:159 #7 0x9808b0 in gf_m2ts_process_pmt /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:2179 #8 0x970944 in gf_m2ts_section_complete /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1610 #9 0x971fa2 in gf_m2ts_gather_section /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1740 #10 0x97991c in gf_m2ts_process_packet /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3446 #11 0x97991c in gf_m2ts_process_data /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3507 #12 0x986f65 in gf_m2ts_probe_file /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:4641 #13 0x963fa9 in gf_media_import /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/media_import.c:10998 #14 0x45b475 in convert_file_info /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/fileimport.c:124 #15 0x43ac0c in mp4boxMain /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/main.c:4804 #16 0x7fe2e64fa82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #17 0x421eb8 in _start (/home/dungnguyen/PoCs/gpac_987169b/MP4Box-asan+0x421eb8) ~~~ Thanks, Manh Dung
heap-buffer-overflow on BS_ReadByte
https://api.github.com/repos/gpac/gpac/issues/1268/comments
1
2019-07-06T00:10:13Z
2019-07-07T15:59:28Z
https://github.com/gpac/gpac/issues/1268
464,799,415
1,268
[ "gpac", "gpac" ]
Hi, Our fuzzer found a crash on MP4Box (the latest commit 987169b on master). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_re_mpegts.c:2541 Command: MP4Box -info $PoC ASAN says: ~~~ Multiple different PAT on single TS found, ignoring new PAT declaration (table id 127 - extended table id 0) [MPEG-2 TS] Invalid PMT es descriptor size for PID 0 [MPEG-2 TS] PID 0 reused across programs 4096 and 19527, not completely supported /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:2541:9: runtime error: member access within null pointer of type 'GF_M2TS_ES *[8192]' ~~~ Valgrind says: ~~~ ==15789== Invalid read of size 4 ==15789== at 0xBC3CBC: gf_m2ts_process_pmt (mpegts.c:2541) ==15789== by 0xBAD409: gf_m2ts_section_complete (mpegts.c:1610) ==15789== by 0xBAE791: gf_m2ts_gather_section.isra.14 (mpegts.c:1740) ==15789== by 0xBB8FFF: gf_m2ts_process_packet (mpegts.c:3446) ==15789== by 0xBB8FFF: gf_m2ts_process_data (mpegts.c:3507) ==15789== by 0xBD3B58: gf_m2ts_probe_file (mpegts.c:4641) ==15789== by 0xB9B594: gf_media_import (media_import.c:10998) ==15789== by 0x49B08B: convert_file_info (fileimport.c:124) ==15789== by 0x4621D5: mp4boxMain (main.c:4804) ==15789== by 0x57BC82F: (below main) (libc-start.c:291) ==15789== Address 0x10 is not stack'd, malloc'd or (recently) free'd ~~~ Thanks, Manh Dung
Runtime error: member access within null pointer of type 'GF_M2TS_ES *[8192]' (mpegts.c:2541)
https://api.github.com/repos/gpac/gpac/issues/1267/comments
1
2019-07-05T23:55:18Z
2019-07-07T15:58:42Z
https://github.com/gpac/gpac/issues/1267
464,797,889
1,267
[ "gpac", "gpac" ]
Hi, Our fuzzer found a crash on MP4Box (the latest commit 987169b on master). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_re_mpegts.c:2236 Command: MP4Box -info $PoC ASAN says: ~~~ /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3089:23: runtime error: left shift of 128 by 24 places cannot be represented in type 'int' ~~~ Valgrind says: ~~~ ==21951== Invalid read of size 1 ==21951== at 0xBC1380: gf_m2ts_process_pmt (mpegts.c:2236) ==21951== by 0xBAD409: gf_m2ts_section_complete (mpegts.c:1610) ==21951== by 0xBAE791: gf_m2ts_gather_section.isra.14 (mpegts.c:1740) ==21951== by 0xBB8FFF: gf_m2ts_process_packet (mpegts.c:3446) ==21951== by 0xBB8FFF: gf_m2ts_process_data (mpegts.c:3507) ==21951== by 0xBD3B58: gf_m2ts_probe_file (mpegts.c:4641) ==21951== by 0xB9B594: gf_media_import (media_import.c:10998) ==21951== by 0x49B08B: convert_file_info (fileimport.c:124) ==21951== by 0x4621D5: mp4boxMain (main.c:4804) ==21951== by 0x57BC82F: (below main) (libc-start.c:291) ==21951== Address 0x5d8c465 is 0 bytes after a block of size 5 alloc'd ==21951== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==21951== by 0xBAB2FA: gf_m2ts_section_complete (mpegts.c:1550) ==21951== by 0xBAE791: gf_m2ts_gather_section.isra.14 (mpegts.c:1740) ==21951== by 0xBB8FFF: gf_m2ts_process_packet (mpegts.c:3446) ==21951== by 0xBB8FFF: gf_m2ts_process_data (mpegts.c:3507) ==21951== by 0xBD3B58: gf_m2ts_probe_file (mpegts.c:4641) ==21951== by 0xB9B594: gf_media_import (media_import.c:10998) ==21951== by 0x49B08B: convert_file_info (fileimport.c:124) ==21951== by 0x4621D5: mp4boxMain (main.c:4804) ==21951== by 0x57BC82F: (below main) (libc-start.c:291) ~~~ Thanks, Manh Dung
Runtime error: left shift of 128 by 24 places cannot be represented in type 'int' (mpegts.c:2236)
https://api.github.com/repos/gpac/gpac/issues/1266/comments
1
2019-07-05T23:46:50Z
2019-07-07T15:58:17Z
https://github.com/gpac/gpac/issues/1266
464,797,129
1,266
[ "gpac", "gpac" ]
Hi, Our fuzzer found a crash on MP4Box (the latest commit 987169b on master) due to an invalid read on function gf_m2ts_process_pmt (mpegts.c:2373). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_re_mpegts.c:2373 Command: MP4Box -info $PoC ASAN says: ~~~ /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1655:25: runtime error: left shift of negative value -77 ~~~ Valgrind says: ~~~ ==22089== Invalid read of size 1 ==22089== at 0xBC1918: gf_m2ts_process_pmt (mpegts.c:2373) ==22089== by 0xBAD409: gf_m2ts_section_complete (mpegts.c:1610) ==22089== by 0xBAE791: gf_m2ts_gather_section.isra.14 (mpegts.c:1740) ==22089== by 0xBB8FFF: gf_m2ts_process_packet (mpegts.c:3446) ==22089== by 0xBB8FFF: gf_m2ts_process_data (mpegts.c:3507) ==22089== by 0xBD3B58: gf_m2ts_probe_file (mpegts.c:4641) ==22089== by 0xB9B594: gf_media_import (media_import.c:10998) ==22089== by 0x49B08B: convert_file_info (fileimport.c:124) ==22089== by 0x4621D5: mp4boxMain (main.c:4804) ==22089== by 0x57BC82F: (below main) (libc-start.c:291) ==22089== Address 0x5d8e773 is 29 bytes before a block of size 80 in arena "client" ~~~ Thanks, Manh Dung
Runtime error: left shift of negative value (mpegts.c:2373)
https://api.github.com/repos/gpac/gpac/issues/1265/comments
1
2019-07-05T23:46:25Z
2019-07-07T15:59:07Z
https://github.com/gpac/gpac/issues/1265
464,797,091
1,265
[ "gpac", "gpac" ]
Hi, Our fuzzer found a crash on MP4Box (the latest commit 987169b on master) due to a heap buffer overflow on function gf_m2ts_process_pmt. PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_hbo_gf_m2ts_process_pmt Command: MP4Box -info $PoC ASAN says: ~~~ ==19178==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b000009add at pc 0x0000009816a6 bp 0x7ffd918f74c0 sp 0x7ffd918f74b0 READ of size 1 at 0x60b000009add thread T0 #0 0x9816a5 in gf_m2ts_process_pmt /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:2372 #1 0x970944 in gf_m2ts_section_complete /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1610 #2 0x971fa2 in gf_m2ts_gather_section /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:1740 #3 0x97991c in gf_m2ts_process_packet /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3446 #4 0x97991c in gf_m2ts_process_data /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:3507 #5 0x986f65 in gf_m2ts_probe_file /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/mpegts.c:4641 #6 0x963fa9 in gf_media_import /home/dungnguyen/gueb-testing/gpac-head/src/media_tools/media_import.c:10998 #7 0x45b475 in convert_file_info /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/fileimport.c:124 #8 0x43ac0c in mp4boxMain /home/dungnguyen/gueb-testing/gpac-head/applications/mp4box/main.c:4804 #9 0x7f2f14c6782f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #10 0x421eb8 in _start (/home/dungnguyen/PoCs/gpac_987169b/MP4Box-asan+0x421eb8) ~~~ Thanks, Manh Dung
SEGV (heap-buffer-overflow) on gf_m2ts_process_pmt
https://api.github.com/repos/gpac/gpac/issues/1264/comments
1
2019-07-05T22:57:04Z
2019-07-07T15:57:21Z
https://github.com/gpac/gpac/issues/1264
464,791,707
1,264
[ "gpac", "gpac" ]
Hi, Our fuzzer found a crash on MP4Box (the latest commit `987169b` on master) due to a null pointer dereference bug on function ilst_item_Read (box_code_apple.c:119). PoC: https://github.com/strongcourage/PoCs/blob/master/gpac_987169b/PoC_npd_ilst_item_Read Command: MP4Box -info $PoC ~~~ [iso file] Read Box type data (0x64617461) at position 32034 has size 0 but is not at root/file level, skipping ==18913== Invalid read of size 8 ==18913== at 0xF69508: ilst_item_Read (box_code_apple.c:119) ==18913== by 0x818970: gf_isom_box_read (box_funcs.c:1528) ==18913== by 0x818970: gf_isom_box_parse_ex (box_funcs.c:208) ==18913== by 0xF68BEA: ilst_Read (box_code_apple.c:47) ==18913== by 0x818970: gf_isom_box_read (box_funcs.c:1528) ==18913== by 0x818970: gf_isom_box_parse_ex (box_funcs.c:208) ==18913== by 0x819EEB: gf_isom_box_array_read_ex (box_funcs.c:1419) ==18913== by 0xFE4AC8: meta_Read (box_code_meta.c:128) ==18913== by 0x818970: gf_isom_box_read (box_funcs.c:1528) ==18913== by 0x818970: gf_isom_box_parse_ex (box_funcs.c:208) ==18913== by 0x819EEB: gf_isom_box_array_read_ex (box_funcs.c:1419) ==18913== by 0xFB433D: udta_Read (box_code_base.c:7998) ==18913== by 0x818970: gf_isom_box_read (box_funcs.c:1528) ==18913== by 0x818970: gf_isom_box_parse_ex (box_funcs.c:208) ==18913== by 0x819EEB: gf_isom_box_array_read_ex (box_funcs.c:1419) ==18913== by 0xF8F40C: moov_Read (box_code_base.c:3751) ==18913== Address 0x8 is not stack'd, malloc'd or (recently) free'd Segmentation fault ~~~ ASAN says: ~~~ [iso file] Read Box type data (0x64617461) at position 32034 has size 0 but is not at root/file level, skipping /home/dungnguyen/gueb-testing/gpac-head/src/isomedia/box_code_apple.c:119:26: runtime error: member access within null pointer of type 'struct GF_Box' ~~~ Thanks, Manh Dung
Runtime error: member access within null pointer of type 'struct GF_Box'
https://api.github.com/repos/gpac/gpac/issues/1263/comments
1
2019-07-05T22:47:55Z
2019-07-07T15:57:03Z
https://github.com/gpac/gpac/issues/1263
464,790,539
1,263
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [ ] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ in box_code_base.c [line 8637](https://github.com/gpac/gpac/blob/86d072b6a13baa1a4a90168098a0f8354c24d8cf/src/isomedia/box_code_base.c#L8637) has a heap overflow. ```c GF_Err txtc_Read(GF_Box *s, GF_BitStream *bs) { u32 size, i; char *str; GF_TextConfigBox *ptr = (GF_TextConfigBox*)s; size = (u32) ptr->size; str = (char *)gf_malloc(sizeof(char)*size); i=0; while (size) { str[i] = gf_bs_read_u8(bs); size--; if (!str[i]) break; i++; } if (i) ptr->config = gf_strdup(str); gf_free(str); return GF_OK; } ``` When str is full without '\x00', strdup will make a heap overflow.
in box_code_base.c line 8637 has a heap overflow
https://api.github.com/repos/gpac/gpac/issues/1262/comments
2
2019-07-05T09:50:55Z
2021-09-09T19:34:38Z
https://github.com/gpac/gpac/issues/1262
464,559,871
1,262
[ "gpac", "gpac" ]
Compiling and running mp4box.exe from the filters branch even without any arguments creates `$workdir/Storage/, $workdir/GPAC.cfg` folder and file. I did have some problems with compiling in MSYS2+MingGW due to a new dependency on libavformat.h ffmpeg files. I am using the isolated msys2 console for compiling so had to do some manual copypaste header+lib files from the ffmpeg project. I am missing some enable/disable flags? I don't think mp4box should create a folder and cfg file? ``` MP4Box.exe=6.4MB filesize MP4Box.exe -version MP4Box - GPAC version 0.9.0-DEV-revUNKNOWN-filters (c) 2000-2019 Telecom ParisTech distributed under LGPL v2.1+ - http://gpac.io GPAC Configuration: --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/build_custom --disable-shared --enable-static --static-mp4box ```
Compiling branch=filters gpac 0.9.x mp4box.exe creeates GPAC.cfg file?
https://api.github.com/repos/gpac/gpac/issues/1261/comments
1
2019-07-04T08:48:03Z
2019-07-04T09:28:53Z
https://github.com/gpac/gpac/issues/1261
464,144,250
1,261
[ "gpac", "gpac" ]
I skipped GPAC 0.8.0 evaluation, so it might have been introduced there, but I see that GPAC 0.9.0 is newly paying closer attention to `sgpd` and `sbgp` box and info about roll distance, i.e. audio decoder delay. If grouping type is set to `roll` in those boxes, mp4box when dashing prints `[Dasher] WARNING! Max SAP type 4 detected - switching to FULL profile`. Representation element for audio track in the mpd manifest then changes value to 4 for `startWithSAP` attribute and bigger issue is that the profile is truly set to full, which may cause possible incompatibility with some user agents, e.g. with TVs due to their strict implementations. Mp4 content with an audio track muxed by FFmpeg is using these `sgpd` and `sbgp` boxes with grouping type set to `roll`, so you can imagine that upgrading to 0.9.0 as is would likely break many current workflows based on FFmpeg -> mp4box chain that rely for example on live profile in their dash streams and use the source mp4 without demuxing to raw bitstreams. I uploaded a test file to your Mediafire share as roll_distance.mp4 that exhibits this when dashed. I assume the specification is clear in this regard and the new behavior adheres to it, but is it truly that strict? Older GPAC versions have no issues with such content and the resulting dash stream is always correctly in sync between audio and video even if specifying desired live or onDemand profile. Mp4 files missing `sgpd` and `sbgp` boxes altogether are not affected by this at all. Unlikely to do it without them in FFmpeg, though (remotely related to https://github.com/gpac/gpac/issues/1253 ) . Thank you in advance for your comments.
GPAC 0.9.0 - roll grouping type in sgpd and sbgp boxes
https://api.github.com/repos/gpac/gpac/issues/1260/comments
22
2019-07-01T14:10:24Z
2020-09-10T09:25:16Z
https://github.com/gpac/gpac/issues/1260
462,736,908
1,260
[ "gpac", "gpac" ]
The simplest command to reproduce this `gpac -i test.mp4 -o c:\test\test.mpd` results in `No filter chain found for PID PID1 in filter dasher to any loaded filters - NOT CONNECTED` The process now hangs, stopping with CTRL+C shows possilbe reason as badly interpreting `:` after drive letter `Unknown argument ":\test\test.mpd" set but not used by any filter - no matching argument found` Relative paths without drive letter work as expected. Tested with 0.9.0-DEV-rev2428-gfb72027b-filters.
GPAC 0.9.0 on Windows - dasher unable to work with paths incl. drive letters
https://api.github.com/repos/gpac/gpac/issues/1259/comments
4
2019-07-01T12:02:36Z
2019-07-01T16:24:56Z
https://github.com/gpac/gpac/issues/1259
462,675,437
1,259
[ "gpac", "gpac" ]
Testing the "filters" branch with 0.9.0-DEV-rev2428-gfb72027b-filters build on Windows 10 revealed possible issue with the way ANSI escape sequences are processed. The sequences are handled as plain text and corrupt the output. I tried older and newer Windows 10 revisions between 1607 to 1809 in order to eliminate the possibility of system error as support for this was missing at Windows 10 launch and was added in 1511, but result is always the same for both cmd and powershell. ![aes](https://user-images.githubusercontent.com/18445121/60432743-4cde9000-9c03-11e9-93bc-4ba41a6e149c.png)
GPAC 0.9.0 on Windows - ANSI escape sequences
https://api.github.com/repos/gpac/gpac/issues/1258/comments
1
2019-07-01T11:36:26Z
2019-07-01T16:51:24Z
https://github.com/gpac/gpac/issues/1258
462,663,910
1,258
[ "gpac", "gpac" ]
I have created an mp4 file (with ffmpeg) that contains chapters in iTunes format: https://test.michael-kaufmann.ch/test.mp4 mp4box does not know the box type "text", but apart from that, everything seems to work: ``` mp4box.exe -new -add test.mp4 test2.mp4 [iso file] Unknown box type text in parent gmhd [iso file] Unknown box type text in parent gmhd IsoMedia import test.mp4 - track ID 1 - Video (size 640 x 480) [iso file] Unknown box type text in parent gmhd IsoMedia import test.mp4 - track ID 2 - Audio (SR 48000 - 2 channels) [iso file] Unknown box type text in parent gmhd IsoMedia import test.mp4 - track ID 3 - media type "text:text" Saving test2.mp4: 0.500 secs Interleaving ``` When processing the file that has just been created for a second time, a new warning about extra bytes appears: ``` mp4box.exe -new -add test2.mp4 test3.mp4 [iso file] Unknown box type text in parent gmhd [iso file] Box "text" (start 5360) has 20 extra bytes [iso file] Unknown box type text in parent gmhd [iso file] Box "text" (start 5360) has 20 extra bytes IsoMedia import test2.mp4 - track ID 1 - Video (size 640 x 480) [iso file] Unknown box type text in parent gmhd [iso file] Box "text" (start 5360) has 20 extra bytes IsoMedia import test2.mp4 - track ID 2 - Audio (SR 48000 - 2 channels) [iso file] Unknown box type text in parent gmhd [iso file] Box "text" (start 5360) has 20 extra bytes IsoMedia import test2.mp4 - track ID 3 - media type "text:text" Saving test3.mp4: 0.500 secs Interleaving ``` So probably there is a bug and mp4box adds some extra bytes when writing unknown boxes. I have used this nightly build for testing: https://download.tsi.telecom-paristech.fr/gpac/new_builds/win32/gpac-0.7.2-DEV-rev1172-gc23d54ed-master-win32.exe
"Box has extra bytes" after processing mp4 file twice
https://api.github.com/repos/gpac/gpac/issues/1257/comments
2
2019-06-24T18:39:20Z
2019-06-25T17:43:26Z
https://github.com/gpac/gpac/issues/1257
460,037,326
1,257
[ "gpac", "gpac" ]
https://github.com/gpac/gpac/blob/a1225c5748c6b11548628395f97e9e15250e39ad/src/media_tools/av_parsers.c#L1655 It's reading three bits, when the spec defines it as one: https://aomediacodec.github.io/av1-spec/#timing-info-syntax. Changing it fixes muxing AV1 samples with timing information.
equal_picture_interval AV1 field is being misparsed
https://api.github.com/repos/gpac/gpac/issues/1256/comments
1
2019-06-19T02:31:50Z
2019-06-19T07:36:43Z
https://github.com/gpac/gpac/issues/1256
457,776,822
1,256
[ "gpac", "gpac" ]
Hello there I have dashed my produced representations with different segment sizes using the MP4Box. I noticed that when I play the segment size=1sec (using the MP4Client), the quality switching occurs after almost 8-10 seconds! and this degrades the overall of the QoE. My question is that: Is there anyway I can push the configurations to increase the quality of representations immediately? Hence, the available bandwidth is higher than the highest quality's bitrate with no less than 5folds of the bitrate. One of the expected answers I may get is that to change the StartRepresntation to be =MaxQuality. If I do so, then I gain the highest quality but when I enforce very low bandwidth, I get a stalling for the video and the video playback gets interrupted!! I look forward to hearing back from you guys Regards, Irrz
fast switching while DASH streaming
https://api.github.com/repos/gpac/gpac/issues/1255/comments
1
2019-06-17T18:16:30Z
2019-06-29T14:38:46Z
https://github.com/gpac/gpac/issues/1255
457,081,303
1,255
[ "gpac", "gpac" ]
Hello! I'm interested in using MP4Box to decrypt CBCS encrypted fMP4 files. According to the built-in help, the tool only supports CTR: ```$ mp4box -h crypt ISMA Encryption/Decryption Options -crypt drm_file crypts a specific track using ISMA AES CTR 128 -decrypt [drm_file] decrypts a specific track using ISMA AES CTR 128 * Note: drm_file can be omitted if keys are in file -set-kms kms_uri changes KMS location for all tracks or a given one. * to address a track, use 'tkID=kms_uri' ``` However, I see some issues in git related to CBCS, so I think it DOES support it (maybe some documentation needs to be updated - which I'd be happy to submit a patch for once I know how to do this ;)) Assuming I have an fMP4 file encrypted with CBCS per FairPlay Streaming, and I have the KID, IV, and CEK, how do I tell MP4Box to decrypt it into clear fMP4? - [x ] I looked for a similar issue and couldn't find any. - [ x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
[MP4Box] How to decrypt CBCS content?
https://api.github.com/repos/gpac/gpac/issues/1254/comments
3
2019-06-14T20:44:08Z
2023-08-22T23:25:57Z
https://github.com/gpac/gpac/issues/1254
456,426,854
1,254
[ "gpac", "gpac" ]
(mp4box from github trunk) I use the same drm settings for video and audio streams. Audio segments have sgpd+sbgp samplegroup atoms. Video segments does not have. Video segment is `/styp, /moof/traf/tfhd|tfdt|saiz|saio|trun|senc, /mdat` atoms. Audio segment is `/styp, /moof/traf/tfhd|tfdt|sgpd|sbgp|saiz|saio|trun|senc, /mdat` atoms. I did a script to remove sgpd+sbgp atoms and fixed trun.dataoffset value in segments accordingly. Dash stream is still played fine on my test devices. Is there a reason why audio segments have sgpd+sbgp atoms? I think video segment is an expected behaviour no atoms written because my drm settings are global? Bug or possible to control with a command-line argument? http://m.dtv.fi/dash/dashv7/index.html http://m.dtv.fi/dash/dashv7/temp-v1.mp4 http://m.dtv.fi/dash/dashv7/v1/i.mp4 http://m.dtv.fi/dash/dashv7/v1/1.m4s http://m.dtv.fi/dash/dashv7/temp-a1.mp4 http://m.dtv.fi/dash/dashv7/a1/i.mp4 http://m.dtv.fi/dash/dashv7/a1/1.m4s ``` Version: MP4Box - GPAC version 0.7.2-DEV-rev1123-ge44c480f2-ab-suite (c) Telecom ParisTech 2000-2018 - Licence LGPL v2 MP4Box -crypt gpacdrm.xml v1.mp4 -out temp-v1.mp4 MP4Box -crypt gpacdrm.xml a1.mp4 -out temp-a1.mp4 MP4Box -dash 264600 -frag 264600 -dash-scale 44100 -bound -mem-frags -rap -profile dashavc264:live \ -min-buffer 6000 -bs-switching no -sample-groups-traf -single-traf -subsegs-per-sidx -1 \ -segment-name "$RepresentationID$/$Number$$Init=i$" \ -out manifest.mpd \ temp-v1.mp4#trackID=1:id=v1:period=p0 \ temp-a1.mp4#trackID=1:id=a1:period=p0 ``` ``` <?xml version="1.0" encoding="UTF-8" ?> <GPACDRM type="CENC AES-CTR"> <!-- kid=0x43215678123412341234123412341236 key=0x12341234123412341234123412341236 iv=0x22ee7d4745d3a26a --> <!-- Playready --> <DRMInfo type="pssh" version="0"> <BS ID128="9A04F07998404286AB92E65BE0885F95"/> <BS bits="32" endian="little" value="828"/> <BS bits="16" endian="little" value="1"/> <BS bits="16" endian="little" value="1"/> <BS bits="16" endian="little" value="818"/> <BS data64="PABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgBlAEYAWQBoAFEAegBRAFMATgBCAEkAUwBOAEIASQAwAEUAagBRAFMATgBnAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+ACsAOQBrAGkANwAvAHQAdABzAGUAQQA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAHQAZQBzAHQALgBwAGwAYQB5AHIAZQBhAGQAeQAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBzAGUAcgB2AGkAYwBlAC8AcgBpAGcAaAB0AHMAbQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPwBjAGYAZwA9ACgAawBpAGQAOgBoAGUAYQBkAGUAcgAsAHMAbAA6ADIAMAAwADAALABwAGUAcgBzAGkAcwB0ADoAZgBhAGwAcwBlACwAYwBvAG4AdABlAG4AdABrAGUAeQA6AEUAagBRAFMATgBCAEkAMABFAGoAUQBTAE4AQgBJADAARQBqAFEAUwBOAGcAPQA9ACkAPAAvAEwAQQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA="/> </DRMInfo> <!-- Widevine --> <DRMInfo type="pssh" version="0"> <BS ID128="EDEF8BA979D64ACEA3C827DCD51D21ED"/> <BS data="0x08011210"/> <BS ID128="43215678123412341234123412341236"/> </DRMInfo> <!-- Marlin --> <DRMInfo type="pssh" version="0"> <BS ID128="69f908af481646ea910ccd5dcccb0a3a"/> <BS data="0x000000186d61726c000000106d6b69640000000000000000"/> </DRMInfo> <!-- CENC --> <DRMInfo type="pssh" version="1"> <BS ID128="1077efecc0b24d02ace33c1e52e2fb4b"/> <BS bits="32" value="1"/> <BS ID128="43215678123412341234123412341236"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="8" first_IV="0x22ee7d4745d3a26a" saiSavedBox="senc"> <key KID="0x43215678123412341234123412341236" value="0x12341234123412341234123412341236"/> </CrypTrack> </GPACDRM> ```
Atoms "moof/traf/sgpd", "moof/traf/sbgp" added to audio segments, not in video segs.
https://api.github.com/repos/gpac/gpac/issues/1253/comments
2
2019-06-14T12:43:07Z
2019-06-29T13:26:34Z
https://github.com/gpac/gpac/issues/1253
456,229,130
1,253
[ "gpac", "gpac" ]
Hello First of all, thank you for great tool :) I'm wondering if such a scenario is possible. I'm recording 5 seconds long videos on Android device as mp4 files. After each video is recorded it is sent via web sockets to my server (byte array). On that server, I would like to actively wait for those chunks of the video. When they arrive on my server I have to create dash content from them to have m4s files and allow my web client to consume those files. What is puzzling me the most is if GPAC is able to notice that those mp4 files are in fact the same video. Any bits of advice/suggestions will be appreciated. Regards
How to live stream video that comes in multiple mp4 files
https://api.github.com/repos/gpac/gpac/issues/1252/comments
19
2019-06-14T11:10:52Z
2019-08-26T10:27:33Z
https://github.com/gpac/gpac/issues/1252
456,192,522
1,252
[ "gpac", "gpac" ]
Hello, I want to build a live streaming system for 4K VR video with DASH SRD. I can use the nginx-rtmp server to build a live streaming server with DASH, and I know MP4Box is able to generate tile-based MPD file for a static video. Does MP4Box or any other software support to generate an MPD file for HEVC tile-based live streaming? thanks
Generating an MPD file for HEVC tile based live streaming
https://api.github.com/repos/gpac/gpac/issues/1251/comments
2
2019-06-08T18:04:14Z
2020-12-29T06:20:00Z
https://github.com/gpac/gpac/issues/1251
453,819,781
1,251
[ "gpac", "gpac" ]
hello,I found a heap buffer overflow bug in gpac. [bug details](http://blog.topsec.com.cn/gpac-heap-buffer-overflow-in-gf_m2ts_sync/) [heap-over-flow.zip](https://github.com/gpac/gpac/files/3251236/heap-over-flow.zip)
heap buffer overflow in gf_m2ts_sync
https://api.github.com/repos/gpac/gpac/issues/1250/comments
1
2019-06-04T08:09:07Z
2019-06-24T15:28:33Z
https://github.com/gpac/gpac/issues/1250
451,854,770
1,250
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ # MP4Box ## version MP4Box 0.7.1 ## description ```txt GPAC version 0.7.1-rev0-g440d475-HEAD ``` ## download link ## others please send email to [email protected] if you have any questions. --------------------- ## [email protected]:2058-65___null-pointer-dereference ### description An issue was discovered in MP4Box 0.7.1, There is a/an null-pointer-dereference in function DumpTrackInfo at filedump.c:2058-65 ### commandline MP4Box -info @@ ### source ```c 2054 esd = gf_isom_get_esd(file, trackNum, 1); 2055 if (!esd) { 2056 fprintf(stderr, "WARNING: Broken MPEG-4 Track\n"); 2057 } else { >2058 const char *st = gf_odf_stream_type_name(esd->decoderConfig->streamType); 2059 if (st) { 2060 fprintf(stderr, "MPEG-4 Config%s%s Stream - ObjectTypeIndication 0x%02x\n", 2061 full_dump ? "\n\t" : ": ", st, esd->decoderConfig->objectTypeIndication); 2062 } else { 2063 fprintf(stderr, "MPEG-4 Config%sStream Type 0x%02x - ObjectTypeIndication 0x%02x\n", ``` ### my dbg ```c Legend: code, data, rodata, value Stopped reason: SIGSEGV 0x0000000000428432 in DumpTrackInfo (file=0x655010, trackID=0x2, full_dump=GF_FALSE) at filedump.c:2058 2058 const char *st = gf_odf_stream_type_name(esd->decoderConfig->streamType); gdb-peda$ p esd $1 = (GF_ESD *) 0x659bb0 gdb-peda$ p esd->decoderConfig $2 = (GF_DecoderConfig *) 0x0 ``` ### bug report ```txt [iso file] more than one stts entry at the end of the track with sample_delta=0 - forbidden ! Fixing to 1 [ODF] Error reading descriptor (tag 4 size 47): Invalid MPEG-4 Descriptor [iso file] Unknown box type .... [iso file] Read Box type .... (0x01000000) has size 0 but is not at root/file level, skipping [iso file] Unknown box type ... [iso file] Unknown box type ...< [iso file] Unknown box type ...< [iso file] Unknown box type ...< [iso file] Unknown box type <JC. [iso file] Incomplete box UNKN [iso file] Incomplete file while reading for dump - aborting parsing * Movie Info * Timescale 600 - 2 tracks Computed Duration 00:00:04.966 - Indicated Duration 00:00:04.966 Fragmented File: no File suitable for progressive download (moov before mdat) File Brand mp42 - version 1 Compatible brands: mp42 mp41 Created: GMT Fri Oct 28 17:46:46 2005 Modified: GMT Fri Oct 28 17:46:46 2005 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 32000 Media Duration 00:00:00.004 - Indicated Duration 00:00:04.992 Track has 1 edit lists: track duration is 00:00:04.966 Media Info: Language "English (eng)" - Type "soun:mp4a" - 156 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 32000 Self-synchronized RFC6381 Codec Parameters: mp4a.40.2 All samples are sync Track # 2 Info - TrackID 2 - TimeScale 30 Media Duration 00:00:00.000 - Indicated Duration 00:00:04.966 Track has 1 edit lists: track duration is 00:00:04.966 Media Info: Language "English (eng)" - Type "vide:mp4v" - 0 samples Visual Track layout: x=0 y=0 width=190 height=240 AddressSanitizer:DEADLYSIGNAL ================================================================= ==4953==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x0000005794e8 bp 0x7ffde6e30af0 sp 0x7ffde6e0aba0 T0) ==4953==The signal is caused by a READ memory access. ==4953==Hint: address points to the zero page. #0 0x5794e7 in DumpTrackInfo /src/gpac/applications/mp4box/filedump.c:2058:65 #1 0x587ca2 in DumpMovieInfo /src/gpac/applications/mp4box/filedump.c:2950:3 #2 0x54d944 in mp4boxMain /src/gpac/applications/mp4box/main.c:4305:9 #3 0x7f7c7de2f82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #4 0x4244e8 in _start (/src/gpac/installed-asan/bin/MP4Box+0x4244e8) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /src/gpac/applications/mp4box/filedump.c:2058:65 in DumpTrackInfo ==4953==ABORTING ``` ### others from fuzz project None crash name None-00000322-1558597650.mp4 Auto-generated by pyspider at 2019-05-23 16:16:43 please send email to [email protected] if you have any questions. ## gf_isom_get_original_format_type@drm_sample.c:540-33___null-pointer-dereference ### description An issue was discovered in MP4Box 0.7.1, There is a/an null-pointer-dereference in function gf_isom_get_original_format_type at drm_sample.c:540-33 ### commandline MP4Box -info @@ ### source ```c 536 Media_GetSampleDesc(trak->Media, sampleDescriptionIndex, &sea, NULL); 537 if (!sea) return GF_BAD_PARAM; 538 539 sinf = (GF_ProtectionSchemeInfoBox*)gf_list_get(sea->protections, 0); > 540 if (outOriginalFormat && sinf->or \*bug=>*\ iginal_format) { 541 *outOriginalFormat = sinf->original_format->data_format; 542 } 543 return GF_OK; 544 } 545 ``` ### my debug ```c Stopped reason: SIGSEGV 0x00007ffff7865711 in gf_isom_get_original_format_type (the_file=0x655010, trackNumber=0x2, sampleDescriptionIndex=0x1, outOriginalFormat=0x7ffffffcbf94) at isomedia/drm_sample.c:540 540 if (outOriginalFormat && sinf->original_format) { $1 = (GF_ProtectionSchemeInfoBox *) 0x0 ``` ### bug report ```txt AddressSanitizer:DEADLYSIGNAL ================================================================= ==4969==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000020 (pc 0x7fd4b273ace9 bp 0x7ffc1d1f1070 sp 0x7ffc1d1f0fc0 T0) ==4969==The signal is caused by a READ memory access. ==4969==Hint: address points to the zero page. #0 0x7fd4b273ace8 in gf_isom_get_original_format_type /src/gpac/src/isomedia/drm_sample.c:540:33 #1 0x7fd4b2961ecc in gf_media_get_rfc_6381_codec_name /src/gpac/src/media_tools/dash_segmenter.c:429:8 #2 0x580975 in DumpTrackInfo /src/gpac/applications/mp4box/filedump.c:2647:3 #3 0x587ca2 in DumpMovieInfo /src/gpac/applications/mp4box/filedump.c:2950:3 #4 0x54d944 in mp4boxMain /src/gpac/applications/mp4box/main.c:4305:9 #5 0x7fd4b112682f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #6 0x4244e8 in _start (/src/gpac/installed-asan/bin/MP4Box+0x4244e8) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /src/gpac/src/isomedia/drm_sample.c:540:33 in gf_isom_get_original_format_type ==4969==ABORTING ``` ### others from fuzz project None crash name None-00000995-1558597651.mp4 Auto-generated by pyspider at 2019-05-23 16:16:43 please send email to [email protected] if you have any questions. ## [email protected]:271-28___null-pointer-dereference ### description An issue was discovered in MP4Box 0.7.1, There is a/an null-pointer-dereference in function GetESD at track.c:271-28 ### commandline MP4Box -info @@ ### source ```c 267 if ( 268 #ifndef GPAC_DISABLE_ISOM_FRAGMENTS 269 moov->mvex && 270 #endif > 271 (esd->decoderConfig->streamType==GF_STREAM_VISUAL)) { 272 esd->slConfig->hasRandomAccessUnitsOnlyFlag = 0; 273 esd->slConfig->useRandomAccessPointFlag = 1; 274 if (trak->moov->mov->openMode!=GF_ISOM_OPEN_READ) 275 stbl->SyncSample = (GF_SyncSampleBox *) gf_isom_box_new(GF_ISOM_BOX_TYPE_STSS); 276 } else { ``` ### mydebug ```c Stopped reason: SIGSEGV 0x00007ffff78a6829 in GetESD (moov=0x656790, trackID=0x2, StreamDescIndex=0x1, outESD=0x7ffffffcbfe0) at isomedia/track.c:271 271 (esd->decoderConfig->streamType==GF_STREAM_VISUAL)) { gdb-peda$ p esd->decoderConfig $1 = (GF_DecoderConfig *) 0x0 ``` ### bug report ```txt [iso file] Unknown box type schh ICC colour profile not supported [iso file] Unknown box type .... [iso file] Incomplete box UNKN [iso file] Incomplete file while reading for dump - aborting parsing * Movie Info * Timescale 90000 - 2 tracks Computed Duration 00:00:00.000 - Indicated Duration 00:00:00.000 Fragmented File: yes - duration 00:00:05.589 1 fragments - 1 SegmentIndexes File suitable for progressive download (moov before mdat) File Brand iso5 - version 1 Compatible brands: avc1 .so5 dash Created: GMT Wed Mar 26 00:20:53 2014 Modified: GMT Wed Mar 26 00:20:54 2014 File has root IOD (9 bytes) Scene PL 0xff - Graphics PL 0xff - OD PL 0xff Visual PL: AVC/H264 Profile (0x7f) Audio PL: High Quality Audio Profile @ Level 2 (0x0f) No streams included in root OD iTunes Info: Encoder Software: HandBrake 0.9.9 2013052900 1 UDTA types: meta (1) Track # 1 Info - TrackID 1 - TimeScale 90000 Media Duration 00:00:00.000 - Indicated Duration 00:00:00.000 Media Info: Language "Undetermined (und)" - Type "vide:encv" - 0 samples Fragmented track: 15 samples - Media Duration 00:00:00.500 Visual Track layout: x=0 y=0 width=560 height=320 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 560 x 320 AVC Info: 0 SPS - 0 PPS - Profile Baseline @ Level 3 NAL Unit length bits: 32 Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8 Self-synchronized *Encrypted stream - unknown scheme [ISOM Tools] Unkown protection scheme type  RFC6381 Codec Parameters: avc1.42C01E All samples are sync Track # 2 Info - TrackID 2 - TimeScale 48000 Media Duration 00:00:00.000 - Indicated Duration 00:00:00.000 Media Info: Language "English (eng)" - Type "soun:enca" - 0 samples Fragmented track: 24 samples - Media Duration 00:00:00.512 1 UDTA types: name (1) AddressSanitizer:DEADLYSIGNAL ================================================================= ==4998==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f500d1be119 bp 0x7ffeb6a2b510 sp 0x7ffeb6a2b2c0 T0) ==4998==The signal is caused by a READ memory access. ==4998==Hint: address points to the zero page. #0 0x7f500d1be118 in GetESD /src/gpac/src/isomedia/track.c:271:28 #1 0x7f500d0e230a in gf_isom_get_esd /src/gpac/src/isomedia/isom_read.c:1086:6 #2 0x57946a in DumpTrackInfo /src/gpac/applications/mp4box/filedump.c:2054:9 #3 0x587ca2 in DumpMovieInfo /src/gpac/applications/mp4box/filedump.c:2950:3 #4 0x54d944 in mp4boxMain /src/gpac/applications/mp4box/main.c:4305:9 #5 0x7f500baaa82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #6 0x4244e8 in _start (/src/gpac/installed-asan/bin/MP4Box+0x4244e8) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /src/gpac/src/isomedia/track.c:271:28 in GetESD ==4998==ABORTING ``` ### others from fuzz project None crash name None-00001079-1558597651.mp4 Auto-generated by pyspider at 2019-05-23 16:16:45 please send email to [email protected] if you have any questions. ## ReadGF_IPMPX_RemoveToolNotificationListener@ipmpx_code.c:1103-54___heap-buffer-overflow ### description An issue was discovered in MP4Box 0.7.1, There is a/an heap-buffer-overflow in function ReadGF_IPMPX_RemoveToolNotificationListener at ipmpx_code.c:1103-54 ### commandline MP4Box -info @@ ### source ```c 1099 { 1100 u32 i; 1101 GF_IPMPX_RemoveToolNotificationListener*p = (GF_IPMPX_RemoveToolNotificationListener*)_p; 1102 p->eventTypeCount = gf_bs_read_int(bs, 8); >1103 for (i=0; i<p->eventTypeCount; i++) p->eventType[i] = gf_bs_read_int(bs, 8); 1104 return GF_OK; 1105 } 1106 static u32 SizeGF_IPMPX_RemoveToolNotificationListener(GF_IPMPX_Data *_p) 1107 { 1108 GF_IPMPX_RemoveToolNotificationListener*p = (GF_IPMPX_RemoveToolNotificationListener*)_p; ``` ### bug report ```txt [iso file] Unknown box type .... ================================================================= ==5055==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60400000023c at pc 0x7fd7187bb791 bp 0x7ffc7c0c1d10 sp 0x7ffc7c0c1d08 WRITE of size 4 at 0x60400000023c thread T0 #0 0x7fd7187bb790 in ReadGF_IPMPX_RemoveToolNotificationListener /src/gpac/src/odf/ipmpx_code.c:1103:54 #1 0x7fd7187bb790 in GF_IPMPX_ReadData /src/gpac/src/odf/ipmpx_code.c:1981 #2 0x7fd7187b42a3 in gf_ipmpx_data_parse /src/gpac/src/odf/ipmpx_code.c:293:6 #3 0x7fd7187bae47 in ReadGF_IPMPX_MutualAuthentication /src/gpac/src/odf/ipmpx_code.c:440:7 #4 0x7fd7187bae47 in GF_IPMPX_ReadData /src/gpac/src/odf/ipmpx_code.c:1985 #5 0x7fd7187b42a3 in gf_ipmpx_data_parse /src/gpac/src/odf/ipmpx_code.c:293:6 #6 0x7fd718790176 in gf_odf_read_ipmp /src/gpac/src/odf/odf_code.c:2421:8 #7 0x7fd71876cf30 in gf_odf_read_descriptor /src/gpac/src/odf/desc_private.c:310:10 #8 0x7fd71876fe7f in gf_odf_parse_descriptor /src/gpac/src/odf/descriptors.c:161:8 #9 0x7fd71879bb29 in gf_odf_desc_read /src/gpac/src/odf/odf_codec.c:302:6 #10 0x7fd71856a82a in esds_Read /src/gpac/src/isomedia/box_code_base.c:1259:7 #11 0x7fd71861bc3c in gf_isom_box_read /src/gpac/src/isomedia/box_funcs.c:1323:9 #12 0x7fd71861bc3c in gf_isom_box_parse_ex /src/gpac/src/isomedia/box_funcs.c:196 #13 0x7fd71857f524 in audio_sample_entry_Read /src/gpac/src/isomedia/box_code_base.c:3952:8 #14 0x7fd71861bc3c in gf_isom_box_read /src/gpac/src/isomedia/box_funcs.c:1323:9 #15 0x7fd71861bc3c in gf_isom_box_parse_ex /src/gpac/src/isomedia/box_funcs.c:196 #16 0x7fd71861dcdf in gf_isom_box_array_read_ex /src/gpac/src/isomedia/box_funcs.c:1217:7 #17 0x7fd71858fdd3 in stsd_Read /src/gpac/src/isomedia/box_code_base.c:5604:9 #18 0x7fd71861bc3c in gf_isom_box_read /src/gpac/src/isomedia/box_funcs.c:1323:9 #19 0x7fd71861bc3c in gf_isom_box_parse_ex /src/gpac/src/isomedia/box_funcs.c:196 #20 0x7fd71861ab97 in gf_isom_parse_root_box /src/gpac/src/isomedia/box_funcs.c:42:8 #21 0x7fd71864182a in gf_isom_parse_movie_boxes /src/gpac/src/isomedia/isom_intern.c:204:7 #22 0x7fd718645e05 in gf_isom_open_file /src/gpac/src/isomedia/isom_intern.c:604:19 #23 0x7fd71864e478 in gf_isom_open /src/gpac/src/isomedia/isom_read.c:412:11 #24 0x54acf5 in mp4boxMain /src/gpac/applications/mp4box/main.c:4106:11 #25 0x7fd71701c82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #26 0x4244e8 in _start (/src/gpac/installed-asan/bin/MP4Box+0x4244e8) 0x60400000023c is located 0 bytes to the right of 44-byte region [0x604000000210,0x60400000023c) allocated by thread T0 here: #0 0x4e8718 in malloc /work/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88 #1 0x7fd7187b4c06 in NewGF_IPMPX_RemoveToolNotificationListener /src/gpac/src/odf/ipmpx_code.c:1091:2 #2 0x7fd7187b4c06 in gf_ipmpx_data_new /src/gpac/src/odf/ipmpx_code.c:1714 SUMMARY: AddressSanitizer: heap-buffer-overflow /src/gpac/src/odf/ipmpx_code.c:1103:54 in ReadGF_IPMPX_RemoveToolNotificationListener Shadow bytes around the buggy address: 0x0c087fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c087fff8000: fa fa 00 00 00 00 00 05 fa fa fd fd fd fd fd fd 0x0c087fff8010: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00 0x0c087fff8020: fa fa 00 00 00 00 00 fa fa fa fd fd fd fd fd fd 0x0c087fff8030: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00 =>0x0c087fff8040: fa fa 00 00 00 00 00[04]fa fa fa fa fa fa fa fa 0x0c087fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c087fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c087fff8070: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c087fff8080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c087fff8090: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==5055==ABORTING ``` ### others from fuzz project None crash name None-00001119-1558597651.mp4 Auto-generated by pyspider at 2019-05-23 16:16:46 please send email to [email protected] if you have any questions. ## other info ```txt Linux 47851981ba92 3.19.0-79-generic #87~14.04.1-Ubuntu SMP Wed Dec 21 18:12:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux clang version 6.0.0 (tags/RELEASE_600/final) Target: x86_64-unknown-linux-gnu with Asan ``` [POC](https://github.com/TeamSeri0us/pocs/tree/master/gpac/MP4Box/vuln)
4 bugs found in gpac v0.7.1 release
https://api.github.com/repos/gpac/gpac/issues/1249/comments
2
2019-05-27T07:11:13Z
2019-07-10T08:47:22Z
https://github.com/gpac/gpac/issues/1249
448,700,419
1,249
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [ ] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
how to increase speed for encrypting in mp4box by in increasing buffer ssize
https://api.github.com/repos/gpac/gpac/issues/1248/comments
8
2019-05-17T16:07:45Z
2020-07-31T11:58:36Z
https://github.com/gpac/gpac/issues/1248
445,514,837
1,248
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x ] I looked for a similar issue and couldn't find any. - [x ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Hi, I uploaded an init segment for HEVC/HDR10 on MediaFire (name: 175_video_cmaf_2_init.mp4) which is reported as using hvc1.1.6.L21 as video codec by MP4box, while it's actually using hvc1.2.4.L150.B0 as shown in the attached screenshot from MP4box.js. If someone can check what's going on there, that would be great. Thanks ! ![mp4box_output](https://user-images.githubusercontent.com/38870794/57721679-a120b700-7639-11e9-849e-9ce4b24f3ef6.png)
MP4box doesn't report proper codec information with HEVC/HDR10
https://api.github.com/repos/gpac/gpac/issues/1247/comments
8
2019-05-14T18:23:52Z
2019-06-29T12:16:17Z
https://github.com/gpac/gpac/issues/1247
444,059,120
1,247
[ "gpac", "gpac" ]
Hi, and thanks for your project. ## How to reproduce The AAC is a 40mo french podcast, here we mux with and without chapters : ```bash $ wget https://drive.google.com/uc?export=download\&id=1oLQ75ddUgjUt2uOlKQKZUl9eDpmBZ7GO -O s01e01.aac $ wget https://drive.google.com/uc?export=download\&id=1xgRG_cy13qOYMbA0t8mHPruGm6vPANJZ -O s01e01.ttxt $ MP4Box -add s01e01.aac#audio s01e01_nochap.m4a $ MP4Box -add s01e01.aac#audio -add s01e01.ttxt:chap s01e01_chap.m4a ``` ## Issue I've been, truggeling with a simple chapter file, in a straightforward M4A output. The given AAC is a `58'15` length file. And I want to add this chapter file : ```xml <!-- (...) --> <TextSample sampleTime="00:00:00.000">Intro</TextSample> <TextSample sampleTime="00:02:35.000">Impose ton style - Le Trou</TextSample> <TextSample sampleTime="00:14:20.000">Impose ton style - L'Évadé d'Alcatraz</TextSample> <TextSample sampleTime="00:25:17.000">Impose ton style - Les Poings contre les murs</TextSample> <TextSample sampleTime="00:41:03.000">Quartier libre</TextSample> <TextSample sampleTime="00:48:44.000">Le Jeu</TextSample> <TextSample sampleTime="00:55:43.000">Outro</TextSample> <!-- (...) --> ``` The `nochap` file is muxed nicely into a `58'15` length M4A. The `chap` one outputs a weird `1'02'42` M4A file, with a buggy end. (obviously : no audio in the last minutes). I tried with many players (Quicktime, Podcast Addict, VLC), same result. And... the last chapter seems skipped in the output file. Weird results in my tests : - If I remove any chapter in the file, everything's fine. The bug seems to appear if there is a 6th one. - Removing accentuated chars doesn't change anything. - If I change the timestamp of the last chapter, I have another total-length, without consistency. ## Environment System : `MacOS 10.14.4 (18E226)` MP4Box : `0.7.2-DEV-rev1092-g9991b44c-master` (Downloaded from the given nightly builds) I already seen a few "chapters" bug reports, but on other specific cases : - Merging tracks, not this case. - Problem with milliseconds, not this case either : all my milliseconds are 000. I'll take any hint. Thanks, and cheers from France.
MP4Box loses the 6th chapters added
https://api.github.com/repos/gpac/gpac/issues/1246/comments
2
2019-05-07T10:14:19Z
2019-05-10T13:11:08Z
https://github.com/gpac/gpac/issues/1246
441,153,482
1,246
[ "gpac", "gpac" ]
Hi We've been trying to dash a file set containing 1 video, several audios & a subtitle file. Without the subtitle file everything works fine. Adding the subtitle makes everything hang. There is no error of progress report. The video & audios are generated using ffmpeg, the subtitles are coming out of ccextractor. We've tried various formats, all seem valid, but the result is always the same, namely mp4box hangs. The command line I am using is – mp4box -dash 5000 -frag 2000 -rap -profile dashavc264:onDemand -mpd-title Example-Title -out output101.mpd subtitle1.mp4:role=subtitle Any help is much appreciated Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [X] I looked for a similar issue and couldn't find any. - [X] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [X] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
When Dashing a file set that inculdes a subtitle process hangs
https://api.github.com/repos/gpac/gpac/issues/1245/comments
3
2019-05-01T08:32:12Z
2019-07-01T09:45:13Z
https://github.com/gpac/gpac/issues/1245
439,101,072
1,245
[ "gpac", "gpac" ]
Dear all, Thanks a lot for the discussion here to help me moving forward in my projects. I am wondering in how the Bandwidth works in MP4Box? here are the tests I made an my Android phone (Samsung S9+): with ffmpeg and MP4Box, I generated 3 different resolutions video clips (960px*960px, 1440px*1440px, 2160px*2160px) and MP4Box them into mpd files. here is the command MP4Box -dash 2000 -frag 2000 -rap -frag-rap -profile live filename However, on my Android phone I can only play the medium resolution (1440px) video even the higher bandwidth is available. I did another test with 2160px and 2560px resolutions in a mpd file, then 2160px streaming video can be fluently played with the same player on Android. So i was wondering how the bandwidth is working regarding to resolution? Or it might be a player related issue ? thanks a lot for your helps
Bandwidth explanation with MP4Box
https://api.github.com/repos/gpac/gpac/issues/1244/comments
3
2019-05-01T08:30:50Z
2019-06-29T12:18:59Z
https://github.com/gpac/gpac/issues/1244
439,100,827
1,244
[ "gpac", "gpac" ]
- [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). Please find the obvious issue in the following images' comparing: ![image](https://user-images.githubusercontent.com/1171428/56890967-854fd980-6aad-11e9-963d-03cb8ec61499.png) ![image](https://user-images.githubusercontent.com/1171428/56889848-3785a200-6aaa-11e9-9128-754e242c4ce6.png) The first image is captured from GPAC output with ill region marked in red. Platform: macOS, Macbook Pro Built from current git master branch (commit id: fe8de95b) Compiler: Apple LLVM version 10.0.0 (clang-1000.10.44.4) Target: x86_64-apple-darwin17.7.0 Nightly built gpac-0.7.2-DEV-rev1089-gfe8de95b-master.pkg Download the original SVG file from: [Ghostscript Tiger](https://upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg)
Ghostscript_tiger.svg can not be correctly rendered/rasterized
https://api.github.com/repos/gpac/gpac/issues/1242/comments
5
2019-04-29T10:14:57Z
2019-08-26T07:40:53Z
https://github.com/gpac/gpac/issues/1242
438,242,929
1,242
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [ ] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
gpac 编译问题
https://api.github.com/repos/gpac/gpac/issues/1241/comments
2
2019-04-28T08:51:51Z
2019-06-28T23:10:31Z
https://github.com/gpac/gpac/issues/1241
438,032,103
1,241
[ "gpac", "gpac" ]
Hi, For a test case of my own program, I generated an elementary stream containing SPS/PPS bytes then the same I frame data over and over. When I try to use mp4box to wrap the .264 file to a MP4 file, I get "AVC Import results: 1 samples (126 NALUs) - Slices: 124 I 0 P 0 B - 0 SEI - 124 IDR", resulting in a single frame file. Compare files produced by "MP4Box -add sample.264 -new sample-mp4box.mp4" and "ffmpeg -i sample.264 sample-ffmpeg.mp4" For reference, I used ffmpeg smptehdbars input to generate a .264 file and extract the test case data. See [sample.zip](https://github.com/gpac/gpac/files/3100528/sample.zip) If you generate a sample file using "ffmpeg -f lavfi -i smptehdbars=300x200 -t 4 -r 25 -force_key_frames "expr:1" test.264", you'll see I-frames are interleaved with SPS/PPS data blocks. I'm not aware of such constraint but the H.264 format is so complex I may have missed some rules. Anyway, thanks for you work, it's really helpful for us.
mp4box generates a single frame mp4 file when several I frames are grouped
https://api.github.com/repos/gpac/gpac/issues/1240/comments
3
2019-04-20T19:50:07Z
2019-06-13T19:27:27Z
https://github.com/gpac/gpac/issues/1240
435,433,425
1,240
[ "gpac", "gpac" ]
Hi there I have produced various video contents and now I can play them perfectly with MP4Client. I am wondering if there is a way I can save all the streams in one mp4 file or any file types? Hence, I read the issues in #2 and #11 but they are refferening to reading from the saved segments, whereas I want to save all segments in one playable file Many thanks
saving streamed video
https://api.github.com/repos/gpac/gpac/issues/1239/comments
3
2019-04-19T22:17:54Z
2019-07-01T22:08:07Z
https://github.com/gpac/gpac/issues/1239
435,319,545
1,239
[ "gpac", "gpac" ]
Hi, I am using a third party packager that creates DASH manifests from the mp4 stream that is created by MP4Box. I am using x264/x265 to produce a raw h264/hevc stream which gets packaged by MP4Box, these streams have repeated headers. Accordingly, I am using the xps_inband tag to create a avc3/hev1 MP4 stream which I can confirm have repeated headers in the media data. This means unlike avc1 and hvc1, the VPS/SPS/PPS are missing from the avcC and hvcC box. This is causing the third party packager to behave unpredictably. I would like to retain the SPS/VPS/PPS in the configuration boxes besides it being in the stream. Can you please point to the particular code where I can make changes after forking the project for my particular use case. This is a sample command I am using mp4box -add raw_stream.hevc:xps_inband -new output.mp4 Thanks
Is there any existing feature to enable SPS and PPS to be added to avc Config
https://api.github.com/repos/gpac/gpac/issues/1238/comments
2
2019-04-17T15:49:00Z
2019-06-29T18:20:24Z
https://github.com/gpac/gpac/issues/1238
434,357,521
1,238
[ "gpac", "gpac" ]
Hello there I have encoded raw video using the ffmpeg tool, I used the libvpx-vp9 and the container used was .webm. then, i transcode it using the ffmpeg -i file.webm -c:v copy out.mp4. and then dashed it using the mp4box. the issue is that I cannot play it back using the mp4client as it can be seen in the attached photo. Hence, I can play it in the THEOplayer website perfectly. ![vp9 issue](https://user-images.githubusercontent.com/16091677/56267397-9fb9a880-60e6-11e9-8f56-5db8c01b014b.PNG)
mpeg-dash vp9 issue
https://api.github.com/repos/gpac/gpac/issues/1237/comments
4
2019-04-17T06:58:48Z
2019-04-19T22:14:03Z
https://github.com/gpac/gpac/issues/1237
434,122,550
1,237
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I give enough information for contributors to reproduce my issue (meaningful title, GitHub labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ Hi There, Currently I am trying to combine/concatenate specific MPEG-DASH video segments(m4s ex:int.mp4, seg_1.m4s, seg3,m4s,sge5.m4s) into one mp4 file. [example](https://i.stack.imgur.com/ve5Bu.jpg) .This question is also asked in [here](https://stackoverflow.com/questions/55701262/combine-specific-mpeg-dash-segments-ex-int-mp4-seg-1-m4s-seg-3-m4s-into-one) I have used this command which works perfectly while combining all the m4s segments, but when I am trying to use specific segments then there is a problem. cat init.mp4 $(ls -vx seg_*.m4s) > source.mp4 cat init.mp4 > source.mp4 cat segment-1.m4s >> source.mp4 cat segment-3.m4s >> source.mp4 cat segment-5.m4s >> source.mp4 I will be glad for any help or direction to solve this problem.
How to combine specific mpeg-dash segments (ex int.mp4 + seg_1.m4s +seg_3.m4s) into one single mp4 file
https://api.github.com/repos/gpac/gpac/issues/1236/comments
12
2019-04-16T06:42:44Z
2020-05-09T17:50:24Z
https://github.com/gpac/gpac/issues/1236
433,608,799
1,236
[ "gpac", "gpac" ]
Undefined symbols for architecture arm64: "_ASN1_STRING_get0_data", referenced from: _gf_dm_connect in libgpac_static.a(downloader.o) "_OPENSSL_sk_num", referenced from: _sk_GENERAL_NAME_num in libgpac_static.a(downloader.o) "_OPENSSL_sk_value", referenced from: _sk_GENERAL_NAME_value in libgpac_static.a(downloader.o) "_TLS_client_method", referenced from: _ssl_init in libgpac_static.a(downloader.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture arm64
https://api.github.com/repos/gpac/gpac/issues/1233/comments
2
2019-04-09T02:34:50Z
2019-07-02T09:14:19Z
https://github.com/gpac/gpac/issues/1233
430,738,646
1,233
[ "gpac", "gpac" ]
Thanks everyone here to improve MP4box, Recently we had an strange issue while play mpd file in our mobile VR (android system with Exoplayer). We have tested with the demo of SDK, comes with a .mpd file on google cloud storage: https://storage.googleapis.com/daydream-deveng.appspot.com/japan360/dash/japan_day06_eagle2_shot0005-2880px_40000kbps.mpd With this URL, we can successfully play .mpd file with VR rendering. However, when we tried to generate our mp4 to mpd with mp4box, the generated mpd file can be played by MediaPlayer (e.g. IINA), but not on Android system. We would like to ask the question here just make sure our generated .mpd is correct, here is the link: http://18.185.102.182/ClassroomTest1/Scene_1_dash.mpd With the same Exoplayer, we can play demo mpd files from google storage but not ours. However, both mpd files can be played via local MediaPlayer. We were using :https://github.com/Cloudoki/mp4-to-mpegdash script to convert our mp4 to mpd manifest. file. thanks everyone
mp4 to mpd strange issue
https://api.github.com/repos/gpac/gpac/issues/1232/comments
5
2019-04-04T08:42:37Z
2019-06-28T22:59:07Z
https://github.com/gpac/gpac/issues/1232
429,152,665
1,232
[ "gpac", "gpac" ]
I'm sorry if this is a sort of a trivial question but I fail to actually understand what BS tags are for. maybe it's because I don't have a good enough knowledge about MSE and I'm a newcomer in these stuff. I read the [nhml docs](https://gpac.wp.imt.fr/mp4box/media-import/nhml-format/) and also the [common encryption docs](https://gpac.wp.imt.fr/mp4box/encryption/common-encryption/) but I still fail to really understand the format. I would really appreciate it if you could be so kind as to break down and compare these three xml files: > ctr example from [here](https://github.com/gpac/gpac/blob/master/tests/media/encryption/ctr.xml) ``` <?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 type="pssh" version="1" cypherOffset="9" cypherKey="0x6770616363656E6364726D746F6F6C31" cypherIV="0x00000000000000000000000000000001"> <BS ID128="6770616363656E6364726D746F6F6C31"/> <BS value="1" bits="32"/> <BS ID128="0x279926496a7f5d25da69f2b3b2799a7f"/> <BS bits="8" string="CID=Toto"/> <BS ID128="0x5544694d47473326622665665a396b36"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="16" first_IV="0x0a610676cb88f302d10ac8bc66e039ed" saiSavedBox="senc"> <key KID="0x279926496a7f5d25da69f2b3b2799a7f" value="0x5544694d47473326622665665a396b36"/> </CrypTrack> </GPACDRM> ``` > The file used by [this guy](https://github.com/Dash-Industry-Forum/dash.js/issues/1346) ``` <GPACDRM type="CENC AES-CTR"> <DRMInfo type="pssh" version="1"> <BS ID128="1077efecc0b24d02ace33c1e52e2fb4b"/> <BS bits="32" value="1"/> <BS ID128="cd7eb9ff88f34caeb06185b00024e4c2"/> </DRMInfo> <CrypTrack IV_size="8" first_IV="0x603f39bfdb3d9799" isEncrypted="1" saiSavedBox="senc" trackID="1"> <key KID="0xcd7eb9ff88f34caeb06185b00024e4c2" value="0x63cb5f7184dd4b689a5c5ff11ee6a328"/> </CrypTrack> </GPACDRM> ``` > The advanced example in [gpac docs](https://gpac.wp.imt.fr/mp4box/encryption/common-encryption/) ``` <?xml version="1.0" encoding="UTF-8"?> <GPACDRM type="CENC AES-CTR"> <DRMInfo type="pssh" version="1" cypherOffset="9" cypherKey="0x6770616363656E6364726D746F6F6C31" cypherIV="0x00000000000000000000000000000001"> <BS ID128="6770616363656E6364726D746F6F6C31"/> <BS value="4" bits="32"/> <BS ID128="0x279926496a7f5d25da69f2b3b2799a7f"/> <BS ID128="0x597669572e55547e656b56586e2f6f68"/> <BS ID128="0x205b2b293a342f3d3268293e6f6f4e29"/> <BS ID128="0x32783e367c2e4d4d6b46467b3e6b5478"/> <BS bits="8" string="CID=Toto"/>> <BS ID128="0x5544694d47473326622665665a396b36"/> <BS ID128="0x7959493a764556786527517849756635"/> <BS ID128="0x3a4f3674376d6c48675a273464447b40"/> <BS ID128="0x3e213f6d45584f51713d534f4b417855"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="16" first_IV="0x0a610676cb88f302d10ac8bc66e039ed" selectiveType="RAP" saiSavedBox="senc" keyRoll="roll=5"> <key KID="0x279926496a7f5d25da69f2b3b2799a7f" value="0x5544694d47473326622665665a396b36"/> <key KID="0x597669572e55547e656b56586e2f6f68" value="0x7959493a764556786527517849756635"/> <key KID="0x205b2b293a342f3d3268293e6f6f4e29" value="0x3a4f3674376d6c48675a273464447b40"/> <key KID="0x32783e367c2e4d4d6b46467b3e6b5478" value="0x3e213f6d45584f51713d534f4b417855"/> </CrypTrack> </GPACDRM> ``` Is there any reason why one might not only encrypt RAPs for a movie? I can understand that in some types of videos for example a video with some critical text encrypting only the RAPs would not be enough but what about for a movie. is there any disadvantage? Also I don't understand why the first one doesn't have the key in the DRMInfo tag. By The Way, Here is the xml I tried to make myself but it doesn't work: ``` <?xml version="1.0" encoding="UTF-8" ?> <GPACDRM type="CENC AES-CTR"> <DRMInfo type="pssh" version="1"> <BS ID128="1077efecc0b24d02ace33c1e52e2fb4b"/> <BS bits="32" value="1"/> <BS ID128="cd7eb9ff88f34caeb06185b00024e4c2"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="8" first_IV="0x603f39bfdb3d9799" saiSavedBox="senc" selectiveType="RAP"> <key KID="0xcd7eb9ff88f34caeb06185b00024e4c2" value="0x63cb5f7184dd4b689a5c5ff11ee6a328"/> </CrypTrack> </GPACDRM> ``` Also I read in the docs: > trackID : specifies the track ID to encrypt. If not set, this crypt configuration applies to all tracks for which no CryptTrack with a trackID is specified. So I expect to get moth audio and video tracks encrypted if I don't specify trackID but if I don't specify it nothing happens. So I just duplicate the `CrypTrack` tag, one with trackID="1" and the other with trackID="2" is that the right way of encrypting both tracks with the same key?
gpac nhml common encryption breakdown example explaination BS tags.
https://api.github.com/repos/gpac/gpac/issues/1231/comments
1
2019-04-03T05:58:28Z
2019-06-28T22:56:52Z
https://github.com/gpac/gpac/issues/1231
428,579,840
1,231
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ i encrypt the vedio with mp4box on win 7 with clear key but the vedio is not playing on osmo4 android it stop after file opening. also why the vedio not loading from pendrive in osmo4
encrypt vedio for android
https://api.github.com/repos/gpac/gpac/issues/1230/comments
5
2019-04-02T12:04:25Z
2019-07-21T13:39:30Z
https://github.com/gpac/gpac/issues/1230
428,187,742
1,230
[ "gpac", "gpac" ]
I completed the compilation according to the README_IOS.txt guide. I can use gpac on my project normally. But now I need to wrap the mp4 method in C++ and there are some problems. Undefined symbols for architecture arm64:    "gf_media_hevc_read_sps(char*, unsigned int, _hevc_state*)", referenced from:        CRecWriterMP4::WriteH265Nalu(unsigned char**, int*) in RecWriterMP4.o    "gf_media_hevc_read_pps(char*, unsigned int, _hevc_state*)", referenced from:        CRecWriterMP4::WriteH265Nalu(unsigned char**, int*) in RecWriterMP4.o    "gf_media_hevc_read_vps(char*, unsigned int, _hevc_state*)", referenced from:        CRecWriterMP4::WriteH265Nalu(unsigned char**, int*) in RecWriterMP4.o Ld: symbol(s) not found for architecture arm64 Clang: error: linker command failed with exit code 1 (use -v to see invocation) Those methods I can compile on ObjectC. I do not know what to do.
error in c++
https://api.github.com/repos/gpac/gpac/issues/1229/comments
1
2019-04-02T08:14:11Z
2019-04-09T02:36:08Z
https://github.com/gpac/gpac/issues/1229
428,083,738
1,229
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ Hello, I am trying to implement a tile-based DASH streaming, where a client can adapt bitrates for each tile in the frame. In order to achieve the goal, I want to obtain each tiles in video with different bitrates, for example tile_1_1Mbps.mp4 tile_1_2Mbps.mp4 ... tile_2_1Mbps.mp4 tile_2_2Mbps.mp4 ... However, using ffmpeg I cannot encode each tracks, ("ffmpeg could not find codec parameters" error shows up...guess maybe the problem comes from the fact that each tile.mp4 has hvc2 format, which ffmpeg does not support?) and encoding the whole video in a bitrate and dividing to tracks results in each tile bitrate different from the designated bitrate. Could someone help with the issue? Thanks in advance
Encoding each tiles in a HEVC video in different bitrates
https://api.github.com/repos/gpac/gpac/issues/1228/comments
2
2019-04-01T02:05:22Z
2019-06-28T23:14:18Z
https://github.com/gpac/gpac/issues/1228
427,479,830
1,228
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ Hello, following the tutorials provided, I have successfully managed to encode the video into tiles with HEVC, split each tiles as separate .mp4 files, and merge them back into a single .mp4 file. Moving forward, my goal is to implement a tile-based DASH video streaming, where a client requests only some number of tiles (not the full frame). For start, I DASHed the video divided into 2x2 tiles and got the following files: init.mp4 (containing 1+2*2 tracks) track1_init.mp4 (containing 1 track) track2_init.mp4 ... track5_init.mp4 track1_bitrate1_segment1.m4s ... track1_bitranteN_segment1.m4s track2_bitrate1_segment1.m4s ... track2_bitrateN_segment1.m4s ... My question is, how can I merge different tile segments back into a single segment, that can be playbacked in the client? In case of .mp4 files without DASH, all I had to do was merge different tracks with the commands like MP4Box -add Q2.mp4#6 -ref 4:tbas:1 -ref 1:sabt:4 Q1.mp4 However, in case of DASH, I have no idea which files I should merge (init.mp4, track1_init.mp4, track1_bitrate1_segment1.m4s, ...etc.) I would really appreciate if someone could tell me the solution. Thanks very much in advance.
Merging multiple tracks of HEVC DASH segments into single segment for playback
https://api.github.com/repos/gpac/gpac/issues/1227/comments
1
2019-04-01T01:39:11Z
2019-04-04T14:11:54Z
https://github.com/gpac/gpac/issues/1227
427,475,796
1,227
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ Hello, I tried tile-based HEVC encoding, following the tutorial provided. https://gpac.wp.imt.fr/2017/02/01/hevc-tile-based-adaptation-guide/ I obtained the tiled video with the command MP4Box -add video_tiled.hvc:split_tiles -fps 30 -new video_tiled.mp4, and also checked with the command MP4Box -info video_tiled.mp4 to see that the file has 1+MxN tracks. I also cheked that MP4Box -rem 3 video_tiled.mp4 -out test_tile_lost.mp4 successfully removes some tiles, with no problem playing the video with MP4Client. However, in all of the above steps the tiles (or tracks) are contained in a single .mp4 file. What I want to implement is a tile-based HEVC 360 DASH video streaming, where a client requests only some tiles (rather than a full frame), merges it back to a frame and render it on screen. Could you guide me on the steps to do the following? 1. Save each tile into separate files (e.g., maybe into video_track1.mp4, video_track2.mp4 ... etc.?) 2. Create a DASH server with the separated tiles, encoded multiple times in different bitrates (e.g., maybe into segment1_track1_bitrate1.m4s, segment1_track1_bitrate2.m4s, segment1_track2_bitrate1.m4s, segment1_track2_bitrate2.m4s, ... etc. ?) 3. Merge the tiles back into a single video stream that can be decoded and played I would really appreciate it if someone could point me to some related issues opened that I might have missed, or some example codes that can achieve my goal. Thank you in advance!
Saving each tile in HEVC encoded video into separate files & merging it back to frame
https://api.github.com/repos/gpac/gpac/issues/1226/comments
1
2019-03-31T16:06:58Z
2019-04-01T01:24:19Z
https://github.com/gpac/gpac/issues/1226
427,412,934
1,226
[ "gpac", "gpac" ]
I have created the Ts dash related MPD by the following command MP4Box -dash 10000 -profile mp2t-simple --url-template newtest.ts:period=0 newtest.ts:period=1 and the mpd genrated looks like below : ``` <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500000S" type="static" mediaPresentationDuration="PT0H2M2.26S" profiles="urn:mpeg:dash:profile:full:2011"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>newtest_dash.mpd generated by GPAC</Title> </ProgramInformation> <Period id="0" duration="PT0H1M1.13S"> <AdaptationSet segmentAlignment="true" maxWidth="480" maxHeight="272" par="480:272" subsegmentAlignment="true"> <ContentComponent id="256" contentType="video"/> <ContentComponent id="257" contentType="audio"/> <Representation id="1" mimeType="video/mp2t" width="480" height="272" audioSamplingRate="44100" startWithSAP="0" bandwidth="3540522"> <SegmentTemplate timescale="90000" duration="900000" startNumber="1" media="newtest_dash$Number$.ts" index="newtest_dash.six" presentationTimeOffset="126000"/> </Representation> </AdaptationSet> </Period> <Period id="1" duration="PT0H1M1.13S"> <AdaptationSet segmentAlignment="true" maxWidth="480" maxHeight="272" par="480:272" subsegmentAlignment="true"> <ContentComponent id="256" contentType="video"/> <ContentComponent id="257" contentType="audio"/> <Representation id="2" mimeType="video/mp2t" width="480" height="272" audioSamplingRate="44100" startWithSAP="0" bandwidth="3540522"> <SegmentTemplate timescale="90000" duration="900000" startNumber="1" media="newtest_dash$Number$.ts" index="newtest_dash.six" presentationTimeOffset="126000"/> </Representation> </AdaptationSet> </Period> </MPD> ``` using this mpd the playback of first period is fine but it fails to switch to other period . - [ yes ] I looked for a similar issue but it was for mp4 ,with the same command as mentioned above i have generated stream for mp4 dash content it works fine . Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
Ts dash content generated using MP4Box period switching not happening.
https://api.github.com/repos/gpac/gpac/issues/1225/comments
3
2019-03-29T06:14:43Z
2019-06-29T12:26:45Z
https://github.com/gpac/gpac/issues/1225
426,833,592
1,225
[ "gpac", "gpac" ]
on android when i install osmo4 apk i get below errors i search other similar issue , but iam having 32 bit windows and intruction to build apk from gpack extra libs shows for ubuntu not for windows on gpac website as i have 32 bit window, i dont have cmake in android studio $Revision$ Thu Mar 28 23:56:22 GMT+05:30 2019 *** Configuration GpacAppDirectory=/data/data/com.gpac.Osmo4/ GpacModulesDirectory=/data/data/com.gpac.Osmo4/lib/ GpacFontDirectory=/system/fonts/ GpacCacheDirectory=/data/data/com.gpac.Osmo4/cache GpacGuiDirectory=/data/data/com.gpac.Osmo4/gui/ GpacShaderDirectory=/data/data/com.gpac.Osmo4/shaders/ Loading library GLESv2...Loading library log...Loading library jpegdroid...Loading library javaenv...Loading library mad...Loading library editline...Failed to load editline, error=Cannot load library: soinfo_relocate(linker.cpp:992): cannot locate symbol "tcgetattr" referenced by "libeditline.so"... :: UnsatisfiedLinkError Loading library ft2...Loading library js_osmo...Failed to load js_osmo, error=Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libeditline.so" needed by "libjs_osmo.so"; caused by find_library(linker.cpp:903): "libeditline.so" failed to load previously :: UnsatisfiedLinkError Loading library openjpeg...Loading library png...Loading library z...Loading library stlport_shared...Loading library stdc++...Loading library faad...Loading library gpac...Failed to load gpac, error=Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libjs_osmo.so" needed by "libgpac.so"; caused by find_library(linker.cpp:903): "libjs_osmo.so" failed to load previously :: UnsatisfiedLinkError Loading library gm_droid_cam...Failed to load gm_droid_cam, error=Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgm_droid_cam.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously :: UnsatisfiedLinkError Loading library gm_droid_mpegv...Failed to load gm_droid_mpegv, error=Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgm_droid_mpegv.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously :: UnsatisfiedLinkError Loading library gm_mediacodec_dec...Failed to load gm_mediacodec_dec, error=Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgm_mediacodec_dec.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously :: UnsatisfiedLinkError Loading library avutil...Loading library swscale...Loading library swresample...Loading library avcodec...Loading library avformat...Loading library avfilter...Loading library gpacWrapper...Failed to load gpacWrapper, error=Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgpacWrapper.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously :: UnsatisfiedLinkError *** Libs listing: /data/data/com.gpac.Osmo4/lib/ libjavaenv.so [13728 bytes] libgm_img_in.so [26164 bytes] libstlport_shared.so [399384 bytes] libavfilter.so [1504740 bytes] libgm_saf_in.so [21976 bytes] libopenjpeg.so [89296 bytes] libgm_aac_in.so [26128 bytes] libgm_mpegts_in.so [34316 bytes] libgm_mediacodec_dec.so [30168 bytes] libavdevice.so [51108 bytes] libgm_widgetman.so [67088 bytes] libgm_ctx_load.so [26124 bytes] libgm_mpd_in.so [46632 bytes] libgm_droidout.so [21976 bytes] libjs_osmo.so [523656 bytes] libgm_mp3_in.so [22032 bytes] libfaad.so [221720 bytes] libgm_bifs_dec.so [13784 bytes] libeditline.so [30552 bytes] libft2.so [345604 bytes] libavcodec.so [12116216 bytes] libgm_timedtext.so [34320 bytes] libgpac.so [3287392 bytes] libgm_laser_dec.so [13784 bytes] libgm_svg_in.so [17880 bytes] libgm_soft_raster.so [42456 bytes] libgm_ismacryp.so [21976 bytes] libmad.so [99844 bytes] libgm_droid_cam.so [21976 bytes] libgm_isom_in.so [54800 bytes] libz.so [87632 bytes] libgm_osd.so [17884 bytes] libgm_rtp_in.so [54744 bytes] libpng.so [120376 bytes] libgm_ft_font.so [22052 bytes] libavutil.so [255452 bytes] libgpacWrapper.so [100068 bytes] libgm_droidaudio.so [17880 bytes] libswscale.so [320908 bytes] libswresample.so [75148 bytes] libjpegdroid.so [157188 bytes] libgm_ffmpeg_in.so [42516 bytes] libgm_odf_dec.so [17880 bytes] libavformat.so [1666644 bytes] libgm_gpac_js.so [42508 bytes] libgm_droid_mpegv.so [17880 bytes] libgm_dummy_in.so [22028 bytes] *** Modules listing: /data/data/com.gpac.Osmo4/lib/ libjavaenv.so [13728 bytes] libgm_img_in.so [26164 bytes] libstlport_shared.so [399384 bytes] libavfilter.so [1504740 bytes] libgm_saf_in.so [21976 bytes] libopenjpeg.so [89296 bytes] libgm_aac_in.so [26128 bytes] libgm_mpegts_in.so [34316 bytes] libgm_mediacodec_dec.so [30168 bytes] libavdevice.so [51108 bytes] libgm_widgetman.so [67088 bytes] libgm_ctx_load.so [26124 bytes] libgm_mpd_in.so [46632 bytes] libgm_droidout.so [21976 bytes] libjs_osmo.so [523656 bytes] libgm_mp3_in.so [22032 bytes] libfaad.so [221720 bytes] libgm_bifs_dec.so [13784 bytes] libeditline.so [30552 bytes] libft2.so [345604 bytes] libavcodec.so [12116216 bytes] libgm_timedtext.so [34320 bytes] libgpac.so [3287392 bytes] libgm_laser_dec.so [13784 bytes] libgm_svg_in.so [17880 bytes] libgm_soft_raster.so [42456 bytes] libgm_ismacryp.so [21976 bytes] libmad.so [99844 bytes] libgm_droid_cam.so [21976 bytes] libgm_isom_in.so [54800 bytes] libz.so [87632 bytes] libgm_osd.so [17884 bytes] libgm_rtp_in.so [54744 bytes] libpng.so [120376 bytes] libgm_ft_font.so [22052 bytes] libavutil.so [255452 bytes] libgpacWrapper.so [100068 bytes] libgm_droidaudio.so [17880 bytes] libswscale.so [320908 bytes] libswresample.so [75148 bytes] libjpegdroid.so [157188 bytes] libgm_ffmpeg_in.so [42516 bytes] libgm_odf_dec.so [17880 bytes] libavformat.so [1666644 bytes] libgm_gpac_js.so [42508 bytes] libgm_droid_mpegv.so [17880 bytes] libgm_dummy_in.so [22028 bytes] *** Fonts listing: /system/fonts/ AndroidClock.ttf [5116 bytes] AndroidClock_Highlight.ttf [4824 bytes] AndroidClock_Solid.ttf [4824 bytes] AndroidEmoji.ttf [448680 bytes] AnjaliNewLipi-light.ttf [47408 bytes] Clockopia.ttf [6880 bytes] DroidNaskh-Regular-SystemUI.ttf [111520 bytes] DroidNaskh-Regular.ttf [89456 bytes] DroidSans-Bold.ttf [79620 bytes] DroidSans.ttf [79396 bytes] DroidSansArmenian.ttf [13856 bytes] DroidSansDevanagari-Regular.ttf [123372 bytes] DroidSansEthiopic-Regular.ttf [227928 bytes] DroidSansFallback.ttf [791684 bytes] DroidSansGeorgian.ttf [21096 bytes] DroidSansHebrew-Bold.ttf [30280 bytes] DroidSansHebrew-Regular.ttf [30024 bytes] DroidSansMono.ttf [119380 bytes] DroidSansTamil-Bold.ttf [36448 bytes] DroidSansTamil-Regular.ttf [36308 bytes] DroidSansThai.ttf [35480 bytes] DroidSerif-Bold.ttf [185228 bytes] DroidSerif-BoldItalic.ttf [190304 bytes] DroidSerif-Italic.ttf [177560 bytes] DroidSerif-Regular.ttf [172916 bytes] Lohit-Bengali.ttf [139296 bytes] Lohit-Gujarati.ttf [60264 bytes] Lohit-Gurblipi.ttf [51000 bytes] Lohit-Kannada.ttf [196664 bytes] Lohit-Oriya.ttf [97220 bytes] Lohit-Telugu.ttf [171892 bytes] MTLmr3m.ttf [2871020 bytes] NanumGothic.ttf [1429144 bytes] Roboto-Bold.ttf [79620 bytes] Roboto-BoldItalic.ttf [82880 bytes] Roboto-Italic.ttf [82580 bytes] Roboto-Light.ttf [108216 bytes] Roboto-LightItalic.ttf [111440 bytes] Roboto-Regular.ttf [79396 bytes] Roboto-Thin.ttf [113996 bytes] Roboto-ThinItalic.ttf [117512 bytes] RobotoCondensed-Bold.ttf [105684 bytes] RobotoCondensed-BoldItalic.ttf [109028 bytes] RobotoCondensed-Italic.ttf [108428 bytes] RobotoCondensed-Regular.ttf [105140 bytes] SecDroidSansFallbackFull.ttf [4529044 bytes] *** Exceptions: gm_mediacodec_dec: Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgm_mediacodec_dec.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously(class java.lang.UnsatisfiedLinkError) js_osmo: Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libeditline.so" needed by "libjs_osmo.so"; caused by find_library(linker.cpp:903): "libeditline.so" failed to load previously(class java.lang.UnsatisfiedLinkError) gpacWrapper: Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgpacWrapper.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously(class java.lang.UnsatisfiedLinkError) gm_droid_cam: Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgm_droid_cam.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously(class java.lang.UnsatisfiedLinkError) editline: Cannot load library: soinfo_relocate(linker.cpp:992): cannot locate symbol "tcgetattr" referenced by "libeditline.so"...(class java.lang.UnsatisfiedLinkError) gm_droid_mpegv: Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libgpac.so" needed by "libgm_droid_mpegv.so"; caused by find_library(linker.cpp:903): "libgpac.so" failed to load previously(class java.lang.UnsatisfiedLinkError) gpac: Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libjs_osmo.so" needed by "libgpac.so"; caused by find_library(linker.cpp:903): "libjs_osmo.so" failed to load previously(class java.lang.UnsatisfiedLinkError)
unable to run apk on android
https://api.github.com/repos/gpac/gpac/issues/1224/comments
3
2019-03-28T18:51:13Z
2020-07-31T11:56:27Z
https://github.com/gpac/gpac/issues/1224
426,654,952
1,224
[ "gpac", "gpac" ]
Xcode 10.1 I follow the instructions of gpac/build/xcode/ readme_ios.txt and finish Compilation. I see ** ARCHIVE SUCCEEDED ** *** Generate IPA *** *** GPAC generation for iOS completed (0.7.2-DEV-rev1039-gc42257165-master)! *** it only generate a "osmo4-0.7.2-DEV-rev1039-gc42257165-master-ios.ipa" So how do I use gpac in my own app on xcode.
How do I use gpac in my own app
https://api.github.com/repos/gpac/gpac/issues/1223/comments
3
2019-03-28T08:14:38Z
2019-03-29T10:34:08Z
https://github.com/gpac/gpac/issues/1223
426,354,709
1,223
[ "gpac", "gpac" ]
I want to convert some h264 mp4 videos to clearkey encrypted dash. For now I want to serve them on localhost. So I don't have bandwidth limitations. There are a few things I'm confused about. I'm assuming I should use dashavc264:onDemand profile with static mpd since my videos are not live and they are offline. 1. How should I decide what segment duration I should use? does it depend on how often I have keyframes in my video? how does it affect seeking/trickplay performance? Does it affect anything else? 2. Since I'm using onDemand profile, where each media presentation is a single segment, should I have subsegments for my single subsegment of each segment? What is the use of setting subsegments for my single subsegment of each segment? How does the duration affect other things? 3. Why would I not force my segments to begin with random access points? 4. what about my fragments? If I understood correctly random access points are my iframes. my intuition tells me that segments should always start with I-frames. I think I don't really understand the correct meaning and purpose of segments and subsegments. Are they simply random cuts in the media stream so as to split it into chunks? What is the difference between a segment, a subsegment, and a subsegment of a subsegment. 5. Should I use segment-timeline? 6. Should I add a box of type \’MARK\’ at the end of each DASH segment. 7. What min buffer time should I use? 8. what is the advantage of storing PSSH boxes in first moof of each segment instead of in movie box? Thank you in advance for any help you might be willing to give.
how to choose my options?
https://api.github.com/repos/gpac/gpac/issues/1222/comments
5
2019-03-28T05:08:07Z
2019-07-01T20:46:44Z
https://github.com/gpac/gpac/issues/1222
426,301,050
1,222
[ "gpac", "gpac" ]
Sample: https://people.xiph.org/~tterribe/opus/36-11-pictures.opus We need to wait for @jeanlf to merge the 'filters' branch as he mentioned to have modifications on the Ogg container part.
Import metadata (picture, etc;) from Ogg into MP4
https://api.github.com/repos/gpac/gpac/issues/1221/comments
6
2019-03-25T14:24:14Z
2021-05-25T14:55:49Z
https://github.com/gpac/gpac/issues/1221
424,930,269
1,221
[ "gpac", "gpac" ]
Using the current release of gpac/mp4box via cmd on a Win 10 machine. I have several mp4 videos where the Audio Language is **und** or otherwise marked as unspecified. The audio track is primarily English but there are scenes in a foreign language for which I need subtitles inserted. I use Emby to play the media and it has a Smart subtitle setting that inserts subs into only non-English scenes but to do that the Audio Language needs to be set to English. **mp4box -lang en-US file.mp4** creates a 480p copy of the 1080p file. I thought I had read somewhere that **-lang** would just overwrite the original audio tag but that's not happening, and I'd be ok with a new file if it was the same quality as the original. I've searched a good bit for this issue before posting so if I missed a discussion please direct me to it. TIA.
using -lang in mp4box on mp4 video creates low quality copy
https://api.github.com/repos/gpac/gpac/issues/1220/comments
5
2019-03-21T15:22:33Z
2019-06-28T23:14:57Z
https://github.com/gpac/gpac/issues/1220
423,788,388
1,220
[ "gpac", "gpac" ]
18:17:11 AMF git .......................................... [Up-to-date] 18:17:11 Running git clone for gpac... 18:18:14 ┌ gpac git ................................. [Recently updated] 18:18:16 ├ Running configure... 18:19:11 ├ Running make... Likely error: ../../bin/gcc/libgpac_static.a(base_encoding.o):base_encoding.c:(.text+0xde2): undefined reference to `lzma_code' ../../bin/gcc/libgpac_static.a(base_encoding.o):base_encoding.c:(.text+0xe24): undefined reference to `lzma_end' ../../bin/gcc/libgpac_static.a(base_encoding.o):base_encoding.c:(.text+0xf21): undefined reference to `lzma_stream_decoder' ../../bin/gcc/libgpac_static.a(base_encoding.o):base_encoding.c:(.text+0xfb5): undefined reference to `lzma_code' collect2.exe: error: ld returned 1 exit status make[2]: *** [Makefile:64: MP4Box.exe] Error 1 make[2]: Leaving directory '/build/gpac-git/build-64bit/applications/mp4box' make[1]: *** [Makefile:55: apps] Error 2 make[1]: Leaving directory '/build/gpac-git/build-64bit/applications' make: *** [Makefile:10: all] Error 2 make failed. Check C:/Users/reandro/source/repos/media-autobuild_suite/build/gpac-git/build-64bit/ab-suite.make.log This is required for other packages, so this script will exit. 18:24:29 Creating diagnostics file... All relevant logs have been anonymously uploaded to https://0x0.st/zXhm.zip Copy and paste [logs.zip](https://0x0.st/zXhm.zip) in the GitHub issue. Make sure the suite is up-to-date before reporting an issue. It might've been fixed already. Try running the build again at a later time.
gpac build failed. undefined reference to `lzma_code'
https://api.github.com/repos/gpac/gpac/issues/1216/comments
4
2019-03-16T09:31:13Z
2019-03-17T13:32:48Z
https://github.com/gpac/gpac/issues/1216
421,788,792
1,216
[ "gpac", "gpac" ]
Xcode 10.1 I finish the procedures in README_IOS. And when I execute the "gpac/build/xcode/generate_ios.sh" script.it was failed. ld: library not found for -laom clang: error: linker command failed with exit code 1 (use -v to see invocation) ** ARCHIVE FAILED ** What should I do?
Compile and archive osmo4ios Failed
https://api.github.com/repos/gpac/gpac/issues/1215/comments
2
2019-03-15T08:34:17Z
2019-03-29T08:40:55Z
https://github.com/gpac/gpac/issues/1215
421,406,696
1,215
[ "gpac", "gpac" ]
Can MP4client change the quality of each tile (select the representation of each tile) based on the viewport. If so how we determine the viewport? By moving around in the gui? Following you see how I am generating the tile-based video which I wanna play locally (so no discussion on bandwidth): kvazaar -i Dance_Left_1920x960.yuv --input-res 1920x960 -o Dance_Left_1920x960_rep1.hvc --tiles 3x3 --slices tiles --mv-constraint frametilemargin -q 22 --input-fps 30 kvazaar -i Dance_Left_1920x960.yuv --input-res 1920x960 -o Dance_Left_1920x960_rep2.hvc --tiles 3x3 --slices tiles --mv-constraint frametilemargin -q 37 --input-fps 30 MP4Box -add Dance_Left_1920x960_rep1.hvc:split_tiles -fps 30 -new Dance_Left_1920x960_rep1.mp4 MP4Box -add Dance_Left_1920x960_rep2.hvc:split_tiles -fps 30 -new Dance_Left_1920x960_rep2.mp4 MP4Box -dash 1000 -profile live -out Dance_Left_1920x960.mpd Dance_Left_1920x960_rep1.mp4 Dance_Left_1920x960_rep2.mp4 Now when I am playing this mpd by MP4client always representation 2 is chosen for all tiles and all segments (which is the representation with the lower bitrate) And if MP4client cannot detect the viewport how can I force it to select specific representations for each tile? Thanks,
How does MP4client choose representations when playing from a local storage for a hevc-coded tile-based stream which uses SRD?
https://api.github.com/repos/gpac/gpac/issues/1214/comments
5
2019-03-08T21:31:59Z
2020-05-18T08:59:05Z
https://github.com/gpac/gpac/issues/1214
418,965,334
1,214
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [ X] I looked for a similar issue and couldn't find any. - [ X] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ X] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ --------------------------------------------------------------------------------------- Hi. I'm doing a college job and would like to play only one tile from a 360° HEVC tiled video, but MP4Client show several errors. After following the instructions at https://gpac.wp.imt.fr/2017/02/01/hevc-tile-based-adaptation-guide/ to produce a tiled HEVC video I would like to play only one tile. I codify the video using `kvazaar --input video.yuv --input-res 4320x2160 --input-fps 30 -p 30 --tiles 3x3 --slices tiles --mv-constraint frametilemargin --bitrate 3000000 --output video.hevc` so I add in a MP4 file using MP4Box: `MP4Box -add video.hevc: split_tiles -new video.mp4` The video.mp4 file plays perfectly using `MP4Client video.mp4` However, when I extract a track using `MP4Box -raw TrackID video_tiled.mp4` All .hvc files fails. Only track 2 appears an image, but it does not play. All other tracks fail and display the message: > $ MP4Client video_track3.hvc > Using config file in /home/henrique/.gpac directory > System info: 15912 MB RAM - 8 colors > Modules Found: 41 > Loading GPAC Terminal > [Thread MediaManager] Could not set priority (2) for thread ID 0x9effd700 > [Thread MediaManager] Could not set priority (2) for thread ID 0x9effd700 > Terminal Loaded in 139 ms > Opening URL video_track3.hvc > [hevc @ 0x5613e8d85b40] missing picture in access unit > [hevc @ 0x5613e8d85b40] PPS changed between slices. > [hevc @ 0x5613e8d85b40] Error parsing NAL unit # 3. > [hevc @ 0x5613e8d84b40] decoding for stream 0 failed > [hevc @ 0x5613e8d84b40] Could not find codec parameters for stream 0 (Video: hevc (Main), none): unspecified size > Consider increasing the value for the 'analyzeduration' and 'probesize' options > [NULL @ 0x5613e8d85b40] missing picture in access unit > [hevc @ 0x5613e8d97ae0] missing picture in access unit > [hevc @ 0x5613e8d97ae0] PPS changed between slices. > [hevc @ 0x5613e8d97ae0] Error parsing NAL unit # 3. > [hevc @ 0x5613e8d85680] decoding for stream 0 failed > [hevc @ 0x5613e8d85680] Could not find codec parameters for stream 0 (Video: hevc (Main), none): unspecified size > Consider increasing the value for the 'analyzeduration' and 'probesize' options > Service Connected > [hevc @ 0x7fa680030060] PPS changed between slices. > [hevc @ 0x7fa680030060] Error parsing NAL unit # 3. > Service Disconnected > Deleting terminal ... done (in 123 ms) - ran for 5708 ms > GPAC cleanup ... So, I removed the unwanted tiles using the _-rem_ option. For example to leave only track 2 (tile 1) I use `MP4Box -rem 3 -rem 4 -rem 5 -rem 6 -rem 7 -rem 8 -rem 9 -rem 10 video.mp4 -out video_2.mp4` But this works correctly for track 2 only. When I use this for other tracks like this: `MP4Box -rem 2 -rem 4 -rem 5 -rem 6 -rem 7 -rem 8 -rem 9 -rem 10 video.mp4 -out video_3.mp4` The MP4Client fails and displays the error: > $ MP4Client video_3.mp4 > Using config file in /home/henrique/.gpac directory > System info: 15912 MB RAM - 8 colors > Modules Found: 41 > Loading GPAC Terminal > [Thread MediaManager] Could not set priority (2) for thread ID 0xb97fa700 > [Thread MediaManager] Could not set priority (2) for thread ID 0xb97fa700 > Terminal Loaded in 129 ms > Opening URL video_3.mp4 > Service Connected > [HEVC @ ffmpeg] Initializing with 7 threads > [hevc @ 0x7f8c8c0871e0] PPS changed between slices. > [hevc @ 0x7f8c8c0871e0] Error parsing NAL unit # 5. > [hevc @ 0x7f8c8c094880] PPS changed between slices. > [hevc @ 0x7f8c8c094880] Error parsing NAL unit # 0. > [hevc @ 0x7f8c8c0b3680] PPS changed between slices. > [hevc @ 0x7f8c8c0b3680] Error parsing NAL unit # 0. > ... > Service Disconnected > Deleting terminal ... done (in 111 ms) - ran for 5448 ms > GPAC cleanup ... Is it really possible to play only one tile? I'm using Ubuntu 18.04.2 and GPAC version 0.7.2-DEV-rev1018-g0ab801f8b-master and Kvazaar v1.2.0-244-ga13fc510 2019-02-04. Later, I also installed an external OpenHEVC in Gepac build using this instructions (https://github.com/gpac/gpac/issues/979) and there was no result. Thanks.
Is it possible to reproduce only one HEVC tile?
https://api.github.com/repos/gpac/gpac/issues/1213/comments
2
2019-03-08T06:08:52Z
2019-04-20T04:15:55Z
https://github.com/gpac/gpac/issues/1213
418,646,108
1,213
[ "gpac", "gpac" ]
Compile with mingw32 gcc 8.3.0 rev 1 [ab-suite.make.log](https://github.com/gpac/gpac/files/2929885/ab-suite.make.log) [config.log](https://github.com/gpac/gpac/files/2929887/config.log) D:/ffmpeg-autobuild/build/gpac-git/src/utils/downloader.c: In function 'gf_dm_sess_setup_from_url': D:/ffmpeg-autobuild/build/gpac-git/src/utils/downloader.c:1151:11: error: 'GF_DownloadSession' {aka 'struct __gf_download_session'} has no member named 'ssl' if (sess->ssl) { ^~ D:/ffmpeg-autobuild/build/gpac-git/src/utils/downloader.c:1152:4: warning: implicit declaration of function 'SSL_shutdown' [-Wimplicit-function-declaration] SSL_shutdown(sess->ssl); ^~~~~~~~~~~~ D:/ffmpeg-autobuild/build/gpac-git/src/utils/downloader.c:1152:21: error: 'GF_DownloadSession' {aka 'struct __gf_download_session'} has no member named 'ssl' SSL_shutdown(sess->ssl); ^~ D:/ffmpeg-autobuild/build/gpac-git/src/utils/downloader.c:1153:4: warning: implicit declaration of function 'SSL_free'; did you mean 'gf_free'? [-Wimplicit-function-declaration] SSL_free(sess->ssl); ^~~~~~~~ gf_free D:/ffmpeg-autobuild/build/gpac-git/src/utils/downloader.c:1153:17: error: 'GF_DownloadSession' {aka 'struct __gf_download_session'} has no member named 'ssl' SSL_free(sess->ssl); ^~ D:/ffmpeg-autobuild/build/gpac-git/src/utils/downloader.c:1154:8: error: 'GF_DownloadSession' {aka 'struct __gf_download_session'} has no member named 'ssl' sess->ssl = NULL; ^~
downloader.c compile error
https://api.github.com/repos/gpac/gpac/issues/1212/comments
1
2019-03-05T08:17:40Z
2019-03-05T09:03:17Z
https://github.com/gpac/gpac/issues/1212
417,170,771
1,212
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [ Yes !] I looked for a similar issue and couldn't find any. - [ Yes ! ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ Yes! ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ I insert different commands like: MP4Box -frag 10000 C:\video\111.mp4 And after the errors : Enter new video cache memory in kBytes (current 0d) I tried all versions of Gpac... <img width="960" alt="1" src="https://user-images.githubusercontent.com/10182540/53597550-294efe80-3bab-11e9-9f62-5b17e508155f.png">
Don't Working for Windows 10 build 1803 ( 17134.590)
https://api.github.com/repos/gpac/gpac/issues/1211/comments
1
2019-02-28T20:53:58Z
2019-06-28T23:01:56Z
https://github.com/gpac/gpac/issues/1211
415,818,532
1,211
[ "gpac", "gpac" ]
Hi, I'd like to use the gpac library for a project of my own. Packages provided by Debian (buster) and Ubuntu (18.10) are too old for me so I have to compile it from source. The first issue is that https://gpac.wp.imt.fr/2011/04/20/compiling-gpac-on-ubuntu/ guide is old and there are some packages that are gone now. OpenJPEG development library is not detected even if I install libopenjp2-7-dev which seems the right packet. Anyway, this not blocking for me. Another issue is that [/usr/local/]include/gpac/configuration.h file produces "error: #error "Unknown target platform used with static configuration file" when used. I manually replaced it with config.h generated file from the source directory and now it works. Maybe install script must be adjusted. I use gpac to rewrap an elementary stream into a standard MP4 file but for that, I'm including an internal header: <gpac/internal/isomedia_dev.h>. The word "internal" means it's not intended to be used but headers are installed, functions exported and I don't want to spawn an mp4box process for that. Do you plan to make them public or to keep them exported in the foreseeable future? Thanks!
Compiling on recent debian/Ubuntu versions
https://api.github.com/repos/gpac/gpac/issues/1210/comments
12
2019-02-24T15:25:38Z
2020-03-21T10:18:25Z
https://github.com/gpac/gpac/issues/1210
413,833,175
1,210
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ The man page point to broken link: [...] -chap chap_file adds chapter information contained in chap_file to movie. For more details on chapter file syntax, cf http://gpac.sourceforge.net/auth_mp4box.php. [...] While: $ HEAD http://gpac.sourceforge.net/auth_mp4box.php 404 Not Found Connection: close Date: Tue, 07 Apr 2015 19:54:39 GMT Via: 1.1 varnish Age: 0 Server: Apache/2.2.15 (CentOS) Vary: Host Content-Length: 1677 Content-Type: text/html Client-Date: Tue, 07 Apr 2015 19:54:40 GMT Client-Peer: 216.34.181.96:80 Client-Response-Num: 1 X-Varnish: 838453151
For more details on chapter file syntax...broken link
https://api.github.com/repos/gpac/gpac/issues/1208/comments
1
2019-02-15T12:10:31Z
2019-06-28T23:16:03Z
https://github.com/gpac/gpac/issues/1208
410,741,538
1,208
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ It would be nice to support atom Xtra. Currenly it dumps as: <UDTARecord Type="Xtra"> <UnknownBox> <BoxInfo Size="206" Type="Xtra"/> </UnknownBox> Reference implementation is at: http://code.google.com/p/mp4v2/issues/detail?id=113
Support atom Xtra
https://api.github.com/repos/gpac/gpac/issues/1207/comments
1
2019-02-15T12:07:49Z
2021-01-26T17:11:01Z
https://github.com/gpac/gpac/issues/1207
410,740,530
1,207
[ "gpac", "gpac" ]
Hello, I'm doing some video transmission experiments over SDNs, and i need to obtain the same exactly video that is being displayed in MP4Client. The video is played from an HTTP server, when the network bit rate is too low it freezes (what's expected), and i need that video with the frozen part into a file, e.g. If the video have a duration of 40 seconds and it freezes at second 23, the last frame displayed must be the same in the last 17 seconds. I'm able to get a video in the cache directory but it only contains the fluid part (so this video only lasts 23 seconds, not 40). Is there any way to 'screen record' what MP4Client is playing on the client side through time? In other words, can i get exactly what the client is seeing into a file?
MP4Client: How to get the displayed video into a file?
https://api.github.com/repos/gpac/gpac/issues/1206/comments
1
2019-02-15T04:52:34Z
2019-06-28T23:09:36Z
https://github.com/gpac/gpac/issues/1206
410,604,629
1,206
[ "gpac", "gpac" ]
there is a buffer overflow issue for crypt feature when use a crafted_drm_file.xml file. overflow occur when use a crafted ID128 value. root@ubuntu:/opt/niugx/cov_product/gpac/gpac-master/bin/gcc# gdb ./MP4Box (gdb) set args -crypt drm_file.xml overview.mp4 -out overview_encrypted.mp4 (gdb) r Starting program: /opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box -crypt drm_file.xml overview.mp4 -out overview_encrypted.mp4 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [CORE] 128bit blob is not 16-bytes long: 6770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C316770616363656E6364726D746F6F6C31 [XML/NHML] Cannot parse ID128 *** stack smashing detected ***: /opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box terminated Program received signal SIGABRT, Aborted. 0x00007ffff725bc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff725bc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff725f028 in __GI_abort () at abort.c:89 #2 0x00007ffff72982a4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff73a4113 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff732fbbc in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff73a40fb "stack smashing detected") at fortify_fail.c:38 #4 0x00007ffff732fb60 in __stack_chk_fail () at stack_chk_fail.c:28 #5 0x00007ffff7664910 in gf_xml_parse_bit_sequence_bs (bsroot=0x6950d0, bs=0x695200) at utils/xml_parser.c:2173 #6 0x00007ffff766495f in gf_xml_parse_bit_sequence (bsroot=0x6950d0, data=0x7ffffffbdcb8, data_size=0x7ffffffbdc84) at utils/xml_parser.c:2181 #7 0x00007ffff7954e85 in gf_cenc_parse_drm_system_info (mp4=0x670c20, drm_file=0x7fffffffe7db "drm_file.xml") at media_tools/ismacryp.c:2817 #8 0x00007ffff79553ec in gf_crypt_file (mp4=0x670c20, drm_file=0x7fffffffe7db "drm_file.xml") at media_tools/ismacryp.c:2898 #9 0x000000000042188c in mp4boxMain (argc=6, argv=0x7fffffffe548) at main.c:5202 #10 0x0000000000423d05 in main (argc=6, argv=0x7fffffffe548) at main.c:5712 Guoxiang Niu, EaglEye Team
buffer overflow issue 8#
https://api.github.com/repos/gpac/gpac/issues/1205/comments
1
2019-02-13T09:49:56Z
2019-04-19T08:50:26Z
https://github.com/gpac/gpac/issues/1205
409,715,577
1,205
[ "gpac", "gpac" ]
there is a buffer overflow issue for crypt feature when use a crafted_drm_file.xml file. overflow occur when use a crafted key value. root@ubuntu:/opt/niugx/cov_product/gpac/gpac-master/bin/gcc# gdb ./MP4Box (gdb) set args -crypt crafted_drm_file.xml overview.mp4 -out overview_encrypted.mp4 (gdb) r Starting program: /opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box -crypt crafted_drm_file.xml overview.mp4 -out overview_encrypted.mp4 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [CORE] 128bit blob is not 16-bytes long: 5544694d47473326622665665a396b3611111111111111111111111111111111111111111111111111111111111111111111111111111111 [CENC] Cannnot parse key value *** Error in `/opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box': free(): corrupted unsorted chunks: 0x0000000000692030 *** Program received signal SIGABRT, Aborted. 0x00007ffff725bc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff725bc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff725f028 in __GI_abort () at abort.c:89 #2 0x00007ffff72982a4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff73a66b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff72a455e in malloc_printerr (ptr=<optimized out>, str=0x7ffff73a6800 "free(): corrupted unsorted chunks", action=1) at malloc.c:4996 #4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840 #5 0x00007ffff6812e1b in inflateEnd () from /lib/x86_64-linux-gnu/libz.so.1 #6 0x00007ffff68183d9 in gzclose_r () from /lib/x86_64-linux-gnu/libz.so.1 #7 0x00007ffff76609fd in xml_sax_read_file (parser=0x68ba30) at utils/xml_parser.c:1177 #8 0x00007ffff7660db2 in gf_xml_sax_parse_file (parser=0x68ba30, fileName=0x7fffffffe7d3 "crafted_drm_file.xml", OnProgress=0x0) at utils/xml_parser.c:1269 #9 0x00007ffff794c69a in load_crypt_file (file=0x7fffffffe7d3 "crafted_drm_file.xml") at media_tools/ismacryp.c:388 #10 0x00007ffff79552ad in gf_crypt_file (mp4=0x670c20, drm_file=0x7fffffffe7d3 "crafted_drm_file.xml") at media_tools/ismacryp.c:2882 #11 0x000000000042188c in mp4boxMain (argc=6, argv=0x7fffffffe548) at main.c:5202 #12 0x0000000000423d05 in main (argc=6, argv=0x7fffffffe548) at main.c:5712 (gdb) Guoxiang Niu, EaglEye Team
buffer overflow issue 7#
https://api.github.com/repos/gpac/gpac/issues/1204/comments
1
2019-02-13T07:12:39Z
2019-04-19T08:50:59Z
https://github.com/gpac/gpac/issues/1204
409,659,238
1,204
[ "gpac", "gpac" ]
There is a buffer overflow issue in gf_import_message () function, media_import.c szMsg overflow when srt file contains more than one txt line and the line is long enough. GF_Err gf_import_message(GF_MediaImporter *import, GF_Err e, char *format, ...) { if (gf_log_tool_level_on(GF_LOG_AUTHOR, e ? GF_LOG_WARNING : GF_LOG_INFO)) { va_list args; char szMsg[1024]; va_start(args, format); vsprintf(szMsg, format, args); va_end(args); GF_LOG((u32) (e ? GF_LOG_WARNING : GF_LOG_INFO), GF_LOG_AUTHOR, ("%s\n", szMsg) ); } return e; } //////////////////////debug///////////////////// (gdb) set args -srt 0 crafted_text.srt (gdb) r Starting program: /opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box -srt 0 crafted_text.srt [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Timed Text (SRT) import - text track 400 x 60, font Serif (size 18) Bad SRT formatting - expecting number got "hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hel" *** stack smashing detected ***: /opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box terminated Program received signal SIGABRT, Aborted. 0x00007ffff725bc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff725bc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff725f028 in __GI_abort () at abort.c:89 #2 0x00007ffff72982a4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff73a4113 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff732fbbc in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff73a40fb "stack smashing detected") at fortify_fail.c:38 #4 0x00007ffff732fb60 in __stack_chk_fail () at stack_chk_fail.c:28 #5 0x00007ffff78b28eb in gf_import_message (import=0x7fffffff9b60, e=GF_CORRUPTED_DATA, format=0x7ffff7b3d7f0 "Bad SRT formatting - expecting number got \"%s\"") at media_tools/media_import.c:59 #6 0x00007ffff795db01 in gf_text_import_srt (import=0x7fffffff9b60) at media_tools/text_import.c:505 #7 0x00007ffff7966e38 in gf_import_timed_text (import=0x7fffffff9b60) at media_tools/text_import.c:2673 #8 0x00007ffff78ded42 in gf_media_import (importer=0x7fffffff9b60) at media_tools/media_import.c:10663 #9 0x000000000041c71c in mp4boxMain (argc=4, argv=0x7fffffffe548) at main.c:4129 #10 0x0000000000423d05 in main (argc=4, argv=0x7fffffffe548) at main.c:5712 (gdb) Guoxiang Niu, EaglEye Team
buffer overflow issue 6#
https://api.github.com/repos/gpac/gpac/issues/1203/comments
6
2019-02-12T03:44:32Z
2019-04-19T09:00:55Z
https://github.com/gpac/gpac/issues/1203
409,106,668
1,203
[ "gpac", "gpac" ]
Platform: ubuntu 18.04 GPAC version: 0.7.1 Hi, just a question. I'm trying to make a multi-period MPD. I want every period to correspond with an .mp4 file which will have different segment duration, bitrate, etc. In addition, I want the manifest to use SegmentTemplate for segment localization. I've tried using -url-template and -out file1.mp4:period=<name> but dash.js will play the first 2 periods and get stuck on the third. I know it can be done for a fact because I have an example mpd that was generated with gpac by someone else, that works (ezample from DASH-IF Testvectors). http://dash.akamaized.net/dash264/TestCasesIOP33/multiplePeriods/4/manifest_multiple_Periods_Different_SegmentDuration.mpd I also read that parameters for each periods can be done by referencing a text file, but I cannot find much info about it on the doc. Thank you in advance.
Question. Generating multi-period MPD
https://api.github.com/repos/gpac/gpac/issues/1202/comments
2
2019-02-09T09:31:52Z
2019-06-28T23:16:50Z
https://github.com/gpac/gpac/issues/1202
408,415,209
1,202
[ "gpac", "gpac" ]
If I convert a m3u8 with #EXTM3U #EXT-X-VERSION:7 #EXT-X-TARGETDURATION:7 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-MAP:URI="init.mp4" #EXTINF:4.416667, bunny0.m4s #EXTINF:4.000000, bunny1.m4s #EXTINF:7.333333, bunny2.m4s #EXTINF:4.000000, bunny3.m4s #EXTINF:3.291667, bunny4.m4s #EXTINF:4.000000, bunny5.m4s #EXTINF:2.958333, bunny6.m4s #EXT-X-ENDLIST I get something like this <SegmentList duration="7000" startNumber="0"> <Initialization sourceURL="init.mp4"/> <SegmentURL media="bunny0.m4s"/> <SegmentURL media="bunny1.m4s"/> <SegmentURL media="bunny2.m4s"/> <SegmentURL media="bunny3.m4s"/> <SegmentURL media="bunny4.m4s"/> <SegmentURL media="bunny5.m4s"/> <SegmentURL media="bunny6.m4s"/> </SegmentList> To get it working I have to change it to <SegmentTemplate timescale="1000" initialization="init.mp4" media="bunny$Number%01d$.m4s" startNumber="0"> <SegmentTimeline> <S t="0" d="4416" /> <S d="4000" /> <S d="7333" /> <S d="4000" /> <S d="3291" /> <S d="4000" /> <S d="2958" /> </SegmentTimeline> </SegmentTemplate> Gpac Version: 0.7.2-DEV-rev999-g7f11cd65d-master
Conversion from m3u8 with variable segment duration to mpd
https://api.github.com/repos/gpac/gpac/issues/1200/comments
1
2019-02-04T17:46:46Z
2019-07-02T09:13:29Z
https://github.com/gpac/gpac/issues/1200
406,444,190
1,200
[ "gpac", "gpac" ]
If you are converting from m3u8 to mpd the timescale value is missing. For example: <SegmentList duration="4000" startNumber="0"> has to be edited to <SegmentList duration="4000" timescale="1000" startNumber="0"> Gpac Version: 0.7.2-DEV-rev999-g7f11cd65d-master
Conversion from m3u8 to mpd missing timescale value
https://api.github.com/repos/gpac/gpac/issues/1199/comments
1
2019-02-04T16:29:24Z
2019-07-02T09:13:14Z
https://github.com/gpac/gpac/issues/1199
406,411,244
1,199
[ "gpac", "gpac" ]
I have an apache server with mpd and associated segments.I tried connecting to this server from another Pc using MP4Client.By default it plays the highest resolution video.How do I check/confirm that the video will change bit rate.Could someone suggest me an idea/sample code ?
How to confirm adaptive bit rate im mpegdash
https://api.github.com/repos/gpac/gpac/issues/1196/comments
2
2019-01-25T09:51:51Z
2019-06-28T22:51:54Z
https://github.com/gpac/gpac/issues/1196
403,081,605
1,196
[ "gpac", "gpac" ]
I have a single video which is re-encoded to various bit rates. I have generated the corresponding mpd file also.It plays using MP4Client. I used the following command: MP4Box -dash 4000 -frag 4000 -rap -profile onDemand -segment-name %s/segment_ -url-template -out manifest.mpd video-240.mp4#video video-360.mp4#video video-480.mp4#video video-720.mp4#video video-audio.mp4#audio But it generates only a single segment for each bit rate.how to generate the corresponding segments(i.e segment list) also for all the bit rates.
unable to generate a single mpd and corresponding segments for multi-bitrate videos
https://api.github.com/repos/gpac/gpac/issues/1195/comments
5
2019-01-25T08:02:39Z
2020-07-21T14:21:10Z
https://github.com/gpac/gpac/issues/1195
403,045,483
1,195
[ "gpac", "gpac" ]
Hi I want to use mpeg dash.So I have multiple resolutions of a single video.I referred this link:https://blog.desgrange.net/post/2017/04/17/encode-videos-dynamic-adaptive-streaming-http.html But I tried adding a 4K version also.I executed the following command: MP4Box -dash 1000 -rap -frag-rap -profile onDemand -out video.mpd video4k.mp4 video-1080.mp4 video-720.mp4 video-480.mp4 video-360.mp4 video-240.mp4 video-audio.mp4 It gives me error: [DASH] Cannot open file video4k.mp4 for dashing: Requested URL is not valid or cannot be found DASH Setup Error: Requested URL is not valid or cannot be found
4K Video: Cannot open file video for dashing
https://api.github.com/repos/gpac/gpac/issues/1194/comments
1
2019-01-24T13:35:38Z
2019-06-29T12:29:27Z
https://github.com/gpac/gpac/issues/1194
402,709,751
1,194
[ "gpac", "gpac" ]
Hi All, thanks for this tool, can we transcode the live mpts udp input stream of AVC-H264 to MPEG2 ts over UDP?
is this possible to convert MPTS live AVC-H264 to Mp2
https://api.github.com/repos/gpac/gpac/issues/1193/comments
1
2019-01-24T04:11:05Z
2019-06-28T22:51:10Z
https://github.com/gpac/gpac/issues/1193
402,534,609
1,193
[ "gpac", "gpac" ]
tiled streamable video content
https://api.github.com/repos/gpac/gpac/issues/1192/comments
0
2019-01-20T00:57:41Z
2019-01-20T04:35:01Z
https://github.com/gpac/gpac/issues/1192
401,050,570
1,192
[ "gpac", "gpac" ]
Hello all, Thanks to MP4Box I can generated my own video segments (m4s) and mpd files. But I have some difficulties to put them on the server. I was wondering whether .mpd file needs a specific Web Server ? First I tried with my personal Http Web Server, by given the http://www.aaaa.com/file.mpd my browser just display the xml file <title> content. However, with some online .mpd file examples, after putting the mpd address in my browser, it asked me whether i would like to donwload it as a file. I also tested putting MP4Box generated files (a set of m4s files and mpd) to my AWS EC2 instance. But it remains the same, my browser just displayed the pure text of the <title>, no download request as the online examples. As far as I know, the AWS EC2 is CORS enabled. I need a special server to store these generated mpd and m4s files ? or I need to do to some configurations on my AWS EC2 instance ? any suggestions ? thanks a lot
How to stream mpd and mp4 videos
https://api.github.com/repos/gpac/gpac/issues/1191/comments
4
2019-01-14T11:54:57Z
2019-01-14T13:05:38Z
https://github.com/gpac/gpac/issues/1191
398,856,223
1,191
[ "gpac", "gpac" ]
I'm trying to multiplex these files: https://drive.google.com/open?id=1XAYDoTzqO9jJFyCI9VcrIWEVNpwnM6gI using (MP4Box - GPAC version 0.7.2-DEV-rev985-g6096388c4-ab-suite): ``` MP4Box -par 1=1:1 -add "E:\Temp\112_15_32_58_2410_02.264"#video:fps=25:delay=80 -brand avc1 -add "E:\Temp\iId_2_aid_4352_ms_15_32_58_2410_01.ac3"#audio:lang= -itags tool="Hybrid 2019.01.02.1" -tmp "E:\Temp" -new "E:\Output\15_32_58_2410__04.mp4" ``` I get: ``` AVC-H264 import - frame size 1920 x 1080 at 25.000 FPS Importing AVC-H264: | | (01/100) Importing AVC-H264: | | (02/100) Importing AVC-H264: | | (03/100) Importing AVC-H264: | | (04/100) Importing AVC-H264: |= | (05/100) Importing AVC-H264: |= | (06/100) Importing AVC-H264: |= | (07/100) Importing AVC-H264: |= | (08/100) Importing AVC-H264: |= | (09/100) Importing AVC-H264: |== | (10/100) Importing AVC-H264: |== | (11/100) Importing AVC-H264: |== | (12/100) Importing AVC-H264: |== | (13/100) Importing AVC-H264: |== | (14/100) Importing AVC-H264: |=== | (15/100) Importing AVC-H264: |=== | (16/100) Importing AVC-H264: |=== | (17/100) Importing AVC-H264: |=== | (18/100) Importing AVC-H264: |=== | (19/100) Importing AVC-H264: |==== | (20/100) Importing AVC-H264: |==== | (21/100) Importing AVC-H264: |==== | (22/100) Importing AVC-H264: |==== | (23/100) Importing AVC-H264: |==== | (24/100) Importing AVC-H264: |===== | (25/100) Importing AVC-H264: |===== | (26/100) Importing AVC-H264: |===== | (27/100) Importing AVC-H264: |===== | (28/100) Importing AVC-H264: |===== | (29/100) Importing AVC-H264: |====== | (30/100) Importing AVC-H264: |====== | (31/100) Importing AVC-H264: |====== | (32/100) Importing AVC-H264: |====== | (33/100) Importing AVC-H264: |====== | (34/100) Importing AVC-H264: |======= | (35/100) Importing AVC-H264: |======= | (36/100) Importing AVC-H264: |======= | (37/100) Importing AVC-H264: |======= | (38/100) Importing AVC-H264: |======= | (39/100) Importing AVC-H264: |======== | (40/100) Importing AVC-H264: |======== | (41/100) Importing AVC-H264: |======== | (42/100) Importing AVC-H264: |======== | (43/100) Importing AVC-H264: |======== | (44/100) Importing AVC-H264: |========= | (45/100) Importing AVC-H264: |========= | (46/100) Importing AVC-H264: |========= | (47/100) Importing AVC-H264: |========= | (48/100) Importing AVC-H264: |========= | (49/100) Importing AVC-H264: |========== | (50/100) Importing AVC-H264: |========== | (51/100) Importing AVC-H264: |========== | (52/100) Importing AVC-H264: |========== | (53/100) Importing AVC-H264: |========== | (54/100) Importing AVC-H264: |=========== | (55/100) Importing AVC-H264: |=========== | (56/100) Importing AVC-H264: |=========== | (57/100) Importing AVC-H264: |=========== | (58/100) Importing AVC-H264: |=========== | (59/100) Importing AVC-H264: |============ | (60/100) Importing AVC-H264: |============ | (61/100) Importing AVC-H264: |============ | (62/100) Importing AVC-H264: |============ | (63/100) Importing AVC-H264: |============ | (64/100) Importing AVC-H264: |============= | (65/100) Importing AVC-H264: |============= | (66/100) Importing AVC-H264: |============= | (67/100) Importing AVC-H264: |============= | (68/100) Importing AVC-H264: |============= | (69/100) Importing AVC-H264: |============== | (70/100) Importing AVC-H264: |============== | (71/100) Importing AVC-H264: |============== | (72/100) Importing AVC-H264: |============== | (73/100) Importing AVC-H264: |============== | (74/100) Importing AVC-H264: |=============== | (75/100) Importing AVC-H264: |=============== | (76/100) Importing AVC-H264: |=============== | (77/100) Importing AVC-H264: |=============== | (78/100) Importing AVC-H264: |=============== | (79/100) Importing AVC-H264: |================ | (80/100) Importing AVC-H264: |================ | (81/100) Importing AVC-H264: |================ | (82/100) Importing AVC-H264: |================ | (83/100) Importing AVC-H264: |================ | (84/100) Importing AVC-H264: |================= | (85/100) Importing AVC-H264: |================= | (86/100) Importing AVC-H264: |================= | (87/100) Importing AVC-H264: |================= | (88/100) Importing AVC-H264: |================= | (89/100) Importing AVC-H264: |================== | (90/100) Importing AVC-H264: |================== | (91/100) Importing AVC-H264: |================== | (92/100) Importing AVC-H264: |================== | (93/100) Importing AVC-H264: |================== | (94/100) Importing AVC-H264: |=================== | (95/100) Importing AVC-H264: |=================== | (96/100) Importing AVC-H264: |=================== | (97/100) Importing AVC-H264: |=================== | (98/100) Importing AVC-H264: |=================== | (99/100) Importing AVC-H264: |====================| (100/100) ``` as output, but that's it MP4Box is stuck and never closes the 0000000000B76BB0_isotmp file inside the temp folder. I first thought that the audio was the problem, but leaving out the audio doesn't fix the issue either. Muxing the two streams using ffmpeg works fine. Cu Selur
Stuck on multiplexing avc stream
https://api.github.com/repos/gpac/gpac/issues/1190/comments
2
2019-01-05T14:46:49Z
2019-06-28T22:49:20Z
https://github.com/gpac/gpac/issues/1190
396,171,188
1,190
[ "gpac", "gpac" ]
Hi, I created DASH segments (set of *.m4s files and an mpd file) using MP4Box. The MP4Client plays the mpd file perfectly. I am trying to replace one of these .m4s files with some other random .m4s file. I see the obvious errors such as _incorrect sequence number_ as shown below. I tried to edit the .m4s file to match the original one but I am failed to so successfully. ``` [iso file] Warning: wrong sequence number: got 1 but last one was 29031 Sample 2 (size 17955) rewrite: corrupted NAL Unit (size 50200577) Sample 3 (size 22180) rewrite: corrupted NAL Unit (size 2204911855) [iso file] Invalid nal size 0 in sample 4 [hevc @ 0x7fb41403cd60] Invalid NAL unit 0, skipping. [hevc @ 0x7fb41403cd60] Invalid NAL unit size. [hevc @ 0x7fb41403cd60] Error splitting the input into NAL units. [hevc @ 0x7fb414056860] Invalid NAL unit size. [hevc @ 0x7fb414056860] Error splitting the input into NAL units. [hevc @ 0x7fb414068320] Invalid NAL unit size. [hevc @ 0x7fb414068320] Error splitting the input into NAL units. ``` There is an existing thread [here](https://sourceforge.net/p/gpac/discussion/327349/thread/de499f7f/). Some of the answers are from **Romain**. But, I still I haven't figured out how to modify the .m4s file with correct details. Any comments? Thank you.
Replacing a .m4s segment with some other .m4s segment
https://api.github.com/repos/gpac/gpac/issues/1189/comments
3
2018-12-28T05:15:40Z
2019-07-01T17:41:20Z
https://github.com/gpac/gpac/issues/1189
394,549,253
1,189
[ "gpac", "gpac" ]
There is a buffer overflow issue in gf_text_get_utf8_line () function, text_import.c in line 429 of gf_text_import_srt, parameter lineSize is 2048, but in gf_text_get_utf8_line (), the size of szLineConv is 1024, so, when the size of szLine is more than 1024, the buffer of szLineConv will overflow. 429 char *sOK = gf_text_get_utf8_line(szLine, 2048, srt_in, unicode_type); char *gf_text_get_utf8_line(char *szLine, u32 lineSize, FILE *txt_in, s32 unicode_type) { …… char szLineConv[1024]; …… len = (u32) strlen(szLine); // len might be more than 1024 for (i=0; i<len; i++) { if (!unicode_type && (szLine[i] & 0x80)) { /*non UTF8 (likely some win-CP)*/ if ((szLine[i+1] & 0xc0) != 0x80) { szLineConv[j] = 0xc0 | ( (szLine[i] >> 6) & 0x3 ); // j may more than 1024 here j++; szLine[i] &= 0xbf; } …… } root@ubuntu:/opt/niugx/cov_product/gpac/gpac-master/bin/gcc# ./MP4Box -srt 0 crafted_text.srt Timed Text (SRT) import - text track 400 x 60, font Serif (size 18) *** stack smashing detected ***: ./MP4Box terminated Aborted (core dumped) root@ubuntu:/opt/niugx/cov_product/gpac/gpac-master/bin/gcc# gdb ./MP4Box GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./MP4Box...done. (gdb) set args -srt 0 crafted_text.srt (gdb) b text_import.c:250 No source file named text_import.c. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (text_import.c:250) pending. (gdb) r Starting program: /opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box -srt 0 crafted_text.srt [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Timed Text (SRT) import - text track 400 x 60, font Serif (size 18) Breakpoint 1, gf_text_get_utf8_line (szLine=0x7fffffff88e0 "1\n", lineSize=2048, txt_in=0x65d570, unicode_type=0) at media_tools/text_import.c:250 250 szLineConv[j] = 0; (gdb) c Continuing. Breakpoint 1, gf_text_get_utf8_line (szLine=0x7fffffff88e0 "00:00:12,375 --> 00:00:13,425\n", lineSize=2048, txt_in=0x65d570, unicode_type=0) at media_tools/text_import.c:250 250 szLineConv[j] = 0; (gdb) c Continuing. Breakpoint 1, gf_text_get_utf8_line ( szLine=0x7fffffff88e0 "hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello wo"..., lineSize=2048, txt_in=0x65d570, unicode_type=0) at media_tools/text_import.c:250 250 szLineConv[j] = 0; (gdb) p j $1 = 1729 (gdb) c Continuing. *** stack smashing detected ***: /opt/niugx/cov_product/gpac/gpac-master/bin/gcc/MP4Box terminated Program received signal SIGABRT, Aborted. 0x00007ffff72b7c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) Guoxiang Niu, EaglEye Team
buffer overflow issue 5#
https://api.github.com/repos/gpac/gpac/issues/1188/comments
2
2018-12-22T03:05:37Z
2019-04-19T08:57:13Z
https://github.com/gpac/gpac/issues/1188
393,637,600
1,188
[ "gpac", "gpac" ]
There is a buffer overflow issue in cat_multiple_files () function, fileimport.c GF_Err cat_multiple_files(GF_ISOFile *dest, char *fileName, u32 import_flags, Double force_fps, u32 frames_per_sample, char *tmp_dir, Bool force_cat, Bool align_timelines, Bool allow_add_in_command) { …… if (sep) { strcpy(cat_enum.szOpt, sep); // buffer overflow here. sep[0] = 0; } …… } root@ubuntu:/opt/niugx/cov_product/gpac/gpac-master/bin/gcc# ./MP4Box -cat cat*.txt:szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2szRad2 -add overview.srt overview.mp4 Timed Text (SRT) import - text track 580 x 436, font Serif (size 18) Segmentation fault (core dumped)
buffer overflow issue 4#
https://api.github.com/repos/gpac/gpac/issues/1187/comments
2
2018-12-22T02:47:42Z
2022-08-25T08:34:06Z
https://github.com/gpac/gpac/issues/1187
393,636,571
1,187