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" ]
Hello, I looked around but do not find any example that would help me finding my error in usage. Please help me with command line syntax to use MP4box. My MP4 file with all the correct codec but I need to do: 1. Set lang for audio track 1 and 2 to vie 2. Name the audio track 1 & 2 3. Swap the audio tracks from 1 to 2 and 2 to 1 After reading the doc, this is what tried and unsuccessfully. MP4box.exe input.mp4 -out output.mp4 -lang 2=vie -lang 3=vie -name 2=“vocal on” -name 3=“vocal off” -swap-track-id 2:3,3:2 Thank you for helping. Thank you
Syntax for using MP4box command line to name & swap Audio tracks
https://api.github.com/repos/gpac/gpac/issues/950/comments
4
2017-12-22T15:29:20Z
2018-02-05T14:13:23Z
https://github.com/gpac/gpac/issues/950
284,189,258
950
[ "gpac", "gpac" ]
Command: `mp4box -dash-strict 4000 -out d:\tmp\Manifest.mpd -profile "dashavc264:live" A0-24h_TestPattern.mp4` Version: latest nightly win64 Input file: https://media.axprod.net/PublicVideos/mp4box_drift/A0-24h_TestPattern.mp4 Expected result: dashing success, no unexpected timing problems. Actual result: errors related to timing are printed in output ``` [...] [DASH] Segment d:/tmp/A0-24h_TestPattern_dash189.m4s (Number #189): drift between MPD timeline and tfdt exceeds 50% of segment duraion (MPD time minus TFDT 2.005333 secs) - bitstream will not be compliant, try using segment template or reencode [DASH] Segment d:/tmp/A0-24h_TestPattern_dash190.m4s (Number #190): drift between MPD timeline and tfdt exceeds 50% of segment duraion (MPD time minus TFDT 2.016000 secs) - bitstream will not be compliant, try using segment template or reencode [DASH] Segment d:/tmp/A0-24h_TestPattern_dash191.m4s (Number #191): drift between MPD timeline and tfdt exceeds 50% of segment duraion (MPD time minus TFDT 2.026667 secs) - bitstream will not be compliant, try using segment template or reencode [DASH] Segment d:/tmp/A0-24h_TestPattern_dash192.m4s (Number #192): drift between MPD timeline and tfdt exceeds 50% of segment duraion (MPD time minus TFDT 2.037333 secs) - bitstream will not be compliant, try using segment template or reencode [... continues for every segment] ``` Same if I use `-dash` instead of `-dash-strict`.
When dashing audio file with mp4box, drift occurs between MPD timeline and tfdt for no reason
https://api.github.com/repos/gpac/gpac/issues/949/comments
34
2017-12-22T06:13:05Z
2018-02-28T08:37:40Z
https://github.com/gpac/gpac/issues/949
284,080,764
949
[ "gpac", "gpac" ]
Hello, When using a recent version of mp4box with the :name=file:// command the track name will not be written to the file. E.g. this command line on a Windows 10 x64 system: "D:\tools\mp4box\mp4box.exe" -add "D:\sample.264#trackID=1:fps=23.976:par=1:1:name=" -add "D:\sample.aac#trackID=1:lang=jpn**:name=file://D:\sampleTRACKNAME0.txt**:delay=9" -chap "D:\sample_chptmp.txt" -tmp "D:\\TEMP" -new "D:\sample.mp4" The txt file has only one line with 1234 in it and is a UTF8 encoded file. I have to add it with a file:// command to be able to write UTF strings. Using this version it fails (tried also older builds): MP4Box - GPAC version 0.7.2-DEV-rev356-g028a7cfa-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: (static configuration file) Features: GPAC_MEMORY_TRACKING GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG Error in the output is: Unrecognized import option \sampleTRACKNAME0.txt, ignoring It did work in the past e.g. with this version: MP4Box - GPAC version 0.7.0-rev3-g10dc09c-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: (static configuration file) Features: GPAC_MEMORY_TRACKING GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG I am not able to test inbetween. Thank you very much for your tool and your support!
MP4box: import with :name=file:// fails
https://api.github.com/repos/gpac/gpac/issues/948/comments
1
2017-12-17T20:38:00Z
2017-12-18T10:36:58Z
https://github.com/gpac/gpac/issues/948
282,721,836
948
[ "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 Experts, I am trying to playback the live timeline segments that are generated by a custom DASH packager. Experimenting with three different players: the Osmo4 Player, the DASH IF Reference Javascript Player, and the VLC, I found that the Osmo4 Player does not show pictures on the display window (blank window); while the other two players are playing back fine. The Osmo4 Player does play the sample live timeline MPD (http://vm2.dashif.org/livesim-dev/segtimeline_1/testpic_2s/Manifest.mpd) from the DASH IF site though. So I am guess that Osmo4 might not like something in my MPD file, the DASH IF JS Player and VLC on the other hand might be just more forgiving. I am attaching my MPD file here. Please let me know if you see anything obvious incorrect in my MPD. I have fed my MPD to the MPD Validator on the DASH IF site and no error is reported by the MPD Validator. Also attached please find the dash@info logs from Osmo4 when I play my MPD file. Any helps are truly appreciated! Thanks, -Donghai Ma [Osmo4-timeline-no-picture.log](https://github.com/gpac/gpac/files/1560712/Osmo4-timeline-no-picture.log) [dash.mpd.txt](https://github.com/gpac/gpac/files/1560701/dash.mpd.txt)
Osmo4 does not show pictures when playing back my timeline segmented MPD
https://api.github.com/repos/gpac/gpac/issues/947/comments
6
2017-12-14T21:05:44Z
2018-09-14T12:17:10Z
https://github.com/gpac/gpac/issues/947
282,238,590
947
[ "gpac", "gpac" ]
I am trying to make MPD like "https://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live-periods/mp4-live-periods-mpd.mpd" But I don't know how command line is composed. So Please somebody tell me how can I do that with mp4box.
Could somebody tell me How can I make Multiple period MPD using one contents with live profile.
https://api.github.com/repos/gpac/gpac/issues/946/comments
1
2017-12-14T07:28:45Z
2018-05-18T15:54:07Z
https://github.com/gpac/gpac/issues/946
282,005,447
946
[ "gpac", "gpac" ]
Hello, I want to know how to tile a video into NxM tiles (N rows and M columns) by MP4Box? Is there any tutorial for this HEVC feature? Could you give me an example command line? Thanks
How to tile a video?
https://api.github.com/repos/gpac/gpac/issues/945/comments
1
2017-12-12T06:54:32Z
2017-12-12T07:19:57Z
https://github.com/gpac/gpac/issues/945
281,276,733
945
[ "gpac", "gpac" ]
Hi All, I'm having an issue where I pass the config file to MP4Client: in past versions of GPAC, namely 0.5.x, the following code works (I know I'm passing the default GPAC config file, but this is only an example): MP4Client -exit -cfg ~/.gpac/GPAC.cfg -lf ./bbb_x264_clientID1.txt -logs dash:network@debug http://www-itec.uni-klu.ac.at/ftp/datasets/DASHDataset2014/ElephantsDream/1sec/ElephantsDream_1s_simple_2014_05_09.mpd But in the current version, 0.7.x, I get the following output: Several input URLs provided ("/home/ubuntu/.gpac/GPAC.cfg", "http://www-itec.uni-klu.ac.at/ftp/datasets/DASHDataset2014/ElephantsDream/1sec/ElephantsDream_1s_simple_2014_05_09.mpd"). Check your command-line. This seems to stem from the following change of code, in gpac/applications/mp4client/main.c: v0.5.x else if (!gui_mode) { if (arg[0] != '-') { url_arg = arg; } v0.7.x if (!gui_mode) { if (arg[0] != '-') { if (url_arg) { fprintf(stderr, "Several input URLs provided (\"%s\", \"%s\"). Check your command-line.\n", url_arg, arg); return 1; } url_arg = arg; } For the life of me I can't see why "url_arg" should get the value "/home/ubuntu/.gpac/GPAC.cfg" in the preceding code in v0.7.x Thank you for all your help
using non-gui MP4Client with parameter -cfg not working in current version
https://api.github.com/repos/gpac/gpac/issues/944/comments
2
2017-12-07T18:01:20Z
2017-12-08T11:16:55Z
https://github.com/gpac/gpac/issues/944
280,224,123
944
[ "gpac", "gpac" ]
Hi, Thanks in advance for any help. Please let me know if I should send more information privately. **Summary** I am trying to use MP4Box for generating a MPEG-DASH content encrypted with Widevine. As a result, I'm missing some elements in the generated manifest. **Expected result** Obtain a dash manifest file that includes the following elements `<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/> <ContentProtection value="Widevine" schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <cenc:pssh>PsshInfo_aaaaaaa</cenc:pssh> </ContentProtection>` **Actual results** I do obtain only the following element in the manifest: `<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>` Once I manually added the `schemeIdUri` element to the manifest xml file, I tried retrieving the license server info with a reference player (I used shaka player), and it will give me an INVALID_SERVER_CERTIFICATE error (https://shaka-player-demo.appspot.com/docs/api/shaka.util.Error.html#value:6004). **Repro steps** These are the steps I followed: `MP4Box -crypt crypt.xml video.mp4 -out video_crypto.mp4` `MP4Box -dash 600 -rap -profile onDemand -out video.mpd video_crypto.mp4#video` This is the content of crypt.xml: `<?xml version="1.0" encoding="UTF-8" ?> <GPACDRM type="CENC AES-CTR"> <DRMInfo type="pssh" version="0"> <!-- See Widevine documentation for details. --> <BS ID128="EDEF8BA979D64ACEA3C827DCD51D21ED"/><!-- Widevine identifier. --> <BS data64="PSSHheaderData"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="8" first_IV="0x22ee7d4745d3a26a" saiSavedBox="senc"> <key KID="0x051bccd01e1956498601c6cbf6e7a07d" value="0xxxxxxxx"/> </CrypTrack> </GPACDRM>` **Environment info** My version of MP4Box: `$ mp4box -version MP4Box - GPAC version 0.7.2-DEV-rev339-geda3b37c-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: (static configuration file) Features: GPAC_64_BITS GPAC_MEMORY_TRACKING GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG ` OS: I've got the same results on Windows and Linux Regression info: I've got the same results with `MP4Box - GPAC version 0.7.2-DEV-rev148-ge082e56-master`. I didn't try older versions
MP4Box packaging Widevine DRM in DASH: Missing fields in ContentProtection element
https://api.github.com/repos/gpac/gpac/issues/943/comments
7
2017-12-05T02:43:33Z
2018-06-01T12:32:21Z
https://github.com/gpac/gpac/issues/943
279,225,835
943
[ "gpac", "gpac" ]
After issue #901 and #905, we can dump HEVC from iOS11-generated HEIF file. Thank you. BTW, Mp4box cannot dump HEVC from Nokia-released HEIF file. https://github.com/nokiatech/heif_conformance/tree/master/conformance_files These are what I get with GPAC 0.7.2-DEV-rev321 on Windows. ``` c:\heif>mp4box -version MP4Box - GPAC version 0.7.2-DEV-rev321-gba3d0831-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: (static configuration file) Features: GPAC_MEMORY_TRACKING GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG c:\heif>mp4box -info C022.heic Root Meta type: "pict" - 12 resource item(s) Primary Item - ID 20021 Item #1 - ID 20011 - type hvc1 - Name: HEVC Image Item #2 - ID 20012 - type hvc1 - Name: HEVC Image Item #3 - ID 20013 - type hvc1 - Name: HEVC Image Item #4 - ID 20014 - type hvc1 - Name: HEVC Image Item #5 - ID 20015 - type hvc1 - Name: HEVC Image Item #6 - ID 20016 - type hvc1 - Name: HEVC Image Item #7 - ID 20017 - type hvc1 - Name: HEVC Image Item #8 - ID 20018 - type hvc1 - Name: HEVC Image Item #9 - ID 20019 - type hvc1 - Name: HEVC Image Item #10 - ID 20020 - type hvc1 - Name: HEVC Image Item #11 - ID 20021 - type grid - Name: Derived image File has no movie (moov) - static data container c:\heic>mp4box -dump-item 20011:path=C022_20011.hevc C022.heic [MP4Box.exe crashed here] ``` ``` c:\heic>mp4box -info C024.heic Root Meta type: "pict" - 3 resource item(s) Primary Item - ID 20002 Item #1 - ID 20002 - type hvc1 - Name: HEVC Image Item #2 - ID 20003 - type grid - Name: Derived image File has no movie (moov) - static data container c:\heic>mp4box -dump-item 20001:path=C024_20002.hevc C024.heic Error: Bad Parameter c:\heic> ``` Could you make GPAC support better for HEIF/HEIC? Thank you.
Better support for HEIF/HEIC
https://api.github.com/repos/gpac/gpac/issues/942/comments
3
2017-11-30T14:02:56Z
2017-12-01T04:54:51Z
https://github.com/gpac/gpac/issues/942
278,130,281
942
[ "gpac", "gpac" ]
hi ``` MP4Box.exe -itags all=Null video.mp4 Invalid iTune tag format "all=Null" - ignoring ``` what it means? ``` MP4Box.exe -version MP4Box - GPAC version 0.5.0-rev4065 GPAC Copyright: (c) Jean Le Feuvre 2000-2005 (c) ENST 2005-200X GPAC Configuration: (static configuration file) Features: GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG ``` br laui
removing Tags doesnt work
https://api.github.com/repos/gpac/gpac/issues/940/comments
1
2017-11-25T20:54:35Z
2018-02-20T09:30:35Z
https://github.com/gpac/gpac/issues/940
276,777,178
940
[ "gpac", "gpac" ]
Trying to decrypt results in the segmentation fault. Mediainfo of the encrypted_content shows that the format is (Encrypted) and codec ID is encv. Do not have the details on encrypted content generation, guess using ffmpeg, but how do I decrypt the content? are there any recent fixes? Below are the details. `# MP4Box -lf mp4box-bug_log.txt -logs all@debug -decrypt Crypt.xml encrypted_content.mp4 -out decrypted_content.mp4` ``` # MP4Box -version MP4Box - GPAC version 0.7.2-DEV-rev330-g5ee9950-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: --prefix=/root/test/gpac –static-mp4box –use-zlib=no Features: GPAC_64_BITS GPAC_DISABLE_3D ``` ``` Program terminated with signal 11, Segmentation fault. #0 0x00007fb3eb842e62 in gf_bs_read_data () from /root/test/gpac/bin/gcc/libgpac.so.7 Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt #0 0x00007fb3eb842e62 in gf_bs_read_data () from /root/test/gpac/bin/gcc/libgpac.so.7 #1 0x00007fb3eb96e003 in gf_isom_cenc_get_sample_aux_info () from /root/test/gpac/bin/gcc/libgpac.so.7 #2 0x00007fb3eba77a72 in gf_cenc_decrypt_track () from /root/test/gpac/bin/gcc/libgpac.so.7 #3 0x00007fb3eba7af69 in gf_decrypt_file () from /root/test/gpac/bin/gcc/libgpac.so.7 #4 0x00000000004194cf in mp4boxMain () #5 0x0000003332e1ed1d in __libc_start_main () from /lib64/libc.so.6 #6 0x000000000040b219 in _start () ``` Attached log [mp4box-bug_log.txt](https://github.com/gpac/gpac/files/1498168/mp4box-bug_log.txt) Attached the encrypted_content.mp4 file into mediafire link. 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/
Decryption of mp4 content results in the segmentation fault using MP4BOX
https://api.github.com/repos/gpac/gpac/issues/939/comments
5
2017-11-23T06:52:20Z
2017-11-25T18:42:49Z
https://github.com/gpac/gpac/issues/939
276,278,740
939
[ "gpac", "gpac" ]
I have used MP4Box extensively in a project I have been working over 4 months however since the requirement of project is preparing videos from frames and also other machine learning information from frames, the time has come for me to use libgpac functions inside my code. I will have to call video segmentation at particular time therefore I was wondering if there is any documentation for using the library or simply building MP4Box will allow me to do mpeg dash segmentation? Thank you.
Documentation for using 'libgpac' API instead of using command line tools
https://api.github.com/repos/gpac/gpac/issues/937/comments
2
2017-11-08T08:11:51Z
2019-01-09T17:25:33Z
https://github.com/gpac/gpac/issues/937
272,107,524
937
[ "gpac", "gpac" ]
Gpac can support converting jpg heic format? Using MP4Box -add-image 5912e59cN0c9bda5b.jpg -ab heic -new 1.heic JPEG import 5912e59cN0c9bda5b.jpg - size 800 x 800 Error: Codec not supported to create HEIF image items Error: Feature Not Supported
jpg to heic format
https://api.github.com/repos/gpac/gpac/issues/936/comments
1
2017-11-08T05:06:45Z
2017-11-08T08:37:16Z
https://github.com/gpac/gpac/issues/936
272,076,071
936
[ "gpac", "gpac" ]
Hi, We are using MP4Box to segment video and audio and generate MPEG-DASH output. We specify 10 seconds as segment duration using following commands for both audio and video. Video segments are exactly 10 seconds but audio segments are of 9.984 seconds. We know that this is expected behaviour because AAC doesn't encode audio sample by audio sample but use a time window (1024 samples for AAC) and that explains the 9.984 seconds which corresponds to 468 audio frames. We also see that number of audio segments are higher than the number of video segments, 91 vs 90 for a 15-minute input clip. > Commands used: > MP4Box -quiet -dash-strict 10000 -rap -dash-scale 1000 -tfdt 0 -moof-sn 0 -subsegs-per-sidx -1 -mpd-title "dash-chunked-transcode" -dash-ctx ctx.txt -mpd-info-url abc.com -segment-name test_0 input_h264_480x270_1159kbps_aac_48KHz.mp4#video:period=0:id=0 -out manifest_video.mpd > > MP4Box -quiet -dash-strict 10000 -rap -dash-scale 1000 -tfdt 0 -moof-sn 0 -subsegs-per-sidx -1 -mpd-title "dash-chunked-transcode" -dash-ctx ctx.txt -mpd-info-url abc.com -segment-name test_0 input_h264_480x270_1159kbps_aac_48KHz.mp4#audio:period=0:id=0 -out manifest_video.mpd Can mp4box use varying audio segment duration in such cases? It is possible to perform a better segmentation in this case. MP4Box can keep track of the accumulative error and can try to correct it over time. Take below example, In current implemenation error with respect to user configuration after: > First segment - (10 - 9.984) = 0.016 (error of 768 samples) > Second segment - (20 - 19.968) = 0.032 (error of 1536 samples) > Third segment - 0.048 (error of 2308 samples) > Fourth segment - 0.064 (error of 3072 samples) > and so on... If error correction is implemented, the errors can be minimized as below. > First segment - > Error = (10 - 9.984) = 0.016 (error of 768 samples) > Second segment (**create a segment of 10.0053 sec instead of 9.984**) > Error = (20 - 19.989) = 0.010 (error of 512 samples) > Third segment (**create a segment of 10.0053 sec instead of 9.984**) > Error = 0.0054 (error of 256 samples) > and so on... In this approach, we can minimize the error and it is a better segmentation approach and conforms to dash standard. This is not really a bug but an enhancement request. This enhancement is required to avoid issues in ad-insertion use cases. When there are multiple periods in the MPD file, if audio and video segments are not in sync and drifting apart then many players detect gaps and stops playing the DASH content. There may be AV sync loss over time as well because of this. To address these issues, this enhancement is required. Thanks and Regards, Anita - [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
Accumulative error in segment duration for audio segments
https://api.github.com/repos/gpac/gpac/issues/935/comments
1
2017-11-03T10:53:17Z
2017-11-03T12:20:36Z
https://github.com/gpac/gpac/issues/935
270,939,468
935
[ "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 Greetings, I am trying to install GPAC on Ubuntu 16.04. I used the Debian Linux 64 version gpac_0.7.0_amd64.deb However, when i try to play the configuration mp4 file It gives me this error: [SysDec] Codec GPAC BIFS Decoder AU CTS 0 Decode error Feature Not Supported [ODM0] Decoding Error Feature Not Supported I also tried the latest nightly build version and it also has the same problem Would you please help me ? Thanks in advance Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
Decoding Error Feature Not Supported
https://api.github.com/repos/gpac/gpac/issues/934/comments
8
2017-11-03T05:29:11Z
2017-11-08T16:49:09Z
https://github.com/gpac/gpac/issues/934
270,882,100
934
[ "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 Greetings, I used kavazaar too generate a tiled hevc stream. After that i used MP4Box split_tiles option to generate an mp4 file that has a separate track for each tile If i want to do the opposite and get the original hevc stream. I tried using the raw command and i got the raw hevc stream for all the tracks but i don't know how to merge them to get a single hevc stream that i can send to a single decoder or player. I tried concatenation of all the tracks but when i played the resulting hevc stream, it gave random noise not the original video. Another question, after dashing the mp4 file of the tile hevc stream, we have an initialization segment for each track and the m4s files for each segment and track pair. Now i want to concatenate all these files to get the mp4 file to play. What is the right arrangement to concatenate these files. Thanks in advance Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
Concatenate tile tracks of hevc
https://api.github.com/repos/gpac/gpac/issues/933/comments
9
2017-11-02T22:55:42Z
2018-01-22T04:18:38Z
https://github.com/gpac/gpac/issues/933
270,833,650
933
[ "gpac", "gpac" ]
Running an encryption mp4box inserts `moov/trak/senc` box inside the init.mp4 segments(video,audio). This is not the problem 99% of the time but one of the major hbbtv brands is unable to playback drm protected video created by mp4box. If I delete the senc(Sample Encryption Box) from all the init segments then stream is playable. All the other 99% of devices are also able to playback it as well. Also so is MSEdge(win10,playready), Firefox(win10,widevine+clearkey), Chrome(win10,widevine+clearkey), Operabeta(win10,widevine+clearkey) both streams are fine. I was trying to study specifications whether it's against the specs to put senc inside the moov box. I tend to think it should go inside the `moof/traf` box but then the specs are not always very clear. Anyone has an opinion on this issue is this a bug in mp4box crypt segmenter? ``` MP4Box.exe -crypt gpacdrm.xml temp-v1.mp4 -out drm/temp-v1.mp4 MP4Box.exe -crypt gpacdrm.xml temp-v2.mp4 -out drm/temp-v2.mp4 MP4Box.exe -crypt gpacdrm.xml temp-v3.mp4 -out drm/temp-v3.mp4 MP4Box.exe -crypt gpacdrm.xml temp-a1.mp4 -out drm/temp-a1.mp4 MP4Box.exe -dash 6000 -frag 6000 -mem-frags -rap -profile dashavc264:live -profile-ext urn:hbbtv:dash:profile:isoff-live:2012 -min-buffer 3000 -mpd-title refapp -mpd-info-url http://refapp -bs-switching no -sample-groups-traf -single-traf -subsegs-per-sidx 1 -segment-name $RepresentationID$_$Number$$Init=i$ -segment-timeline -out manifest.mpd temp-v1.mp4#trackID=1:id=v1:period=p0 temp-v2.mp4#trackID=1:id=v2:period=p0 temp-v3.mp4#trackID=1:id=v3:period=p0 temp-a1.mp4#trackID=1:id=a1:period=p0 ``` **gpacdrm.xml** <?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="518"/> <BS bits="16" endian="little" value="1"/> <BS bits="16" endian="little" value="1"/> <BS bits="16" endian="little" value="508"/> <BS data64="PABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgBlAEYAWQBoAFEAegBRAFMATgBCAEkAUwBOAEIASQAwAEUAagBRAFMATgBnAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+ACsAOQBrAGkANwAvAHQAdABzAGUAQQA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA=="/> </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> ```
Crypt puts moov/trak/senc box into init.mp4 file, it breaks one of the major hbbtv televisions
https://api.github.com/repos/gpac/gpac/issues/932/comments
2
2017-11-02T15:07:06Z
2019-06-28T22:30:16Z
https://github.com/gpac/gpac/issues/932
270,688,530
932
[ "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/ When creating DASH OnDemand content like: MP4Box -dash 4000 -profile onDemand -out manifest.mpd A9.mp4:id=A9 V8000.mp4:id=V8000 the duration of the first entry in the sidx box gets a value which is smaller than the actual subsegment's duration. In this example 189,440 instead of the correct value 191,488 which all other subsegments have. All subsegments have 187 samples, but the first sidx duration indicates 185 samples.
First sidx duration for audio is too small when producing DASH OnDemand content
https://api.github.com/repos/gpac/gpac/issues/931/comments
1
2017-10-31T17:48:32Z
2018-02-20T11:54:54Z
https://github.com/gpac/gpac/issues/931
270,055,124
931
[ "gpac", "gpac" ]
How to use the SRD extension on manifest file for locally generated live video stream (v4l2) ?
https://api.github.com/repos/gpac/gpac/issues/930/comments
2
2017-10-31T15:53:16Z
2019-06-29T13:14:51Z
https://github.com/gpac/gpac/issues/930
270,013,057
930
[ "gpac", "gpac" ]
Version: gpac-0.7.2-DEV-latest-master-x64.exe Input file: [01_000002.zip](https://github.com/gpac/gpac/files/1430196/01_000002.zip) Command: `mp4box -dash 999999999 -profile "dashavc264:live" -bs-switching no -sample-groups-traf -out out\Manifest.mpd 01_000002.mp4` The large segment size is there to make sure that nothing is actually segmented - I just want to split the MP4 into the "DASH components" of init segment + media segment + manifest. Expected result: DASH presentation with 1 media segment. Actual result: DASH presentation with 2 media segments. `dash-strict` seems to produce same behavior.
mp4box generates multiple segments when dashing even if segment length argument is longer than video
https://api.github.com/repos/gpac/gpac/issues/929/comments
3
2017-10-31T09:47:29Z
2018-11-26T13:53:26Z
https://github.com/gpac/gpac/issues/929
269,895,307
929
[ "gpac", "gpac" ]
i have downloaded this movie but it is encrypted in mediainfo. how to make it playable on PC ? [https://a56avoddashs3ww-a.akamaihd.net/d/2$o-57kEyyDe_VLCwMfFll1rx8qSA~/ondemand/sin-dub-iad/7925/3405/64bd/4f29-ba34-885b2260d343/ba945d08-7843-45d2-90ea-d347ba493031_video_1.mp4 ](url)
how to make it playable on PC ?
https://api.github.com/repos/gpac/gpac/issues/928/comments
4
2017-10-25T02:38:37Z
2017-11-08T21:48:34Z
https://github.com/gpac/gpac/issues/928
268,247,976
928
[ "gpac", "gpac" ]
how to convert fragmented mp4 to unfragmented mp4 ? because i am not able to play in PC.
fragmented mp4 to unfragmented mp4
https://api.github.com/repos/gpac/gpac/issues/927/comments
1
2017-10-21T23:53:31Z
2017-10-22T01:19:11Z
https://github.com/gpac/gpac/issues/927
267,423,158
927
[ "gpac", "gpac" ]
GPAC installed via Homebrew (Mac OS X 10.11.6) - 0.7.1-revrelease I'm not really thinking this is a bug, to be honest... but I am at a loss trying to explain what is happening. Happy to be directed elsewhere! So, background: I was using MP4Box happily, but then I upgraded HandBrake for an unrelated reason and all of the sudden all my audio is garbled/underwater/low-bitrate sounding. Turns out it's because libav's AAC encoder replaced FDK. So I went on a wild goose chase extracting the audio from my source and then converting to AAC with FDK, and then providing _that_ instead of the audio ripped directly from the HandBrake encoded file. The workflow is exactly the same as it was before except I was extracting the AAC audio resulting from the HandBrake encode and providing that. Since it will undoubtably help -- I uploaded the originals. The mediafire link in the template asked me for a description and I said `rfunduk-arian501-gpac`, hopefully you have them :) Ok, so hopefully that all made sense. Here's what happens when I try to use MP4Box as I have been all along, except with the FDK'd audio: ``` MP4Box -dash 5000 -frag 5000 -rap -frag-rap -profile full -segment-name dash_seg_%s_ -min-buffer 5000 -bs-switching no -out ariane501--manifest.mpd ariane501--sd.mp4#video ariane501--hd.mp4#video ariane501.aac#audio [MPEG-2 TS] TS Packet 1 is scrambled - not supported [MPEG-2 TS] TS Packet 2 is scrambled - not supported [MPEG-2 TS] TS Packet 3 does not start with sync marker [MPEG-2 TS] TS Packet 4 does not start with sync marker [MPEG-2 TS] TS Packet 5 does not start with sync marker ... many more lines like this, and finally [MPEG-2 TS] TS Packet 214 does not start with sync marker [DASH] File ariane501.aac not supported for dashing - skipping DASH Setup Error: Feature Not Supported ``` What feature is not supported? What is a 'sync marker'? Etc. Let me know if I left out any critical info/etc!
AAC file not supported? 'TS packet does not start with sync marker'
https://api.github.com/repos/gpac/gpac/issues/926/comments
3
2017-10-20T20:27:43Z
2017-10-22T12:24:13Z
https://github.com/gpac/gpac/issues/926
267,295,983
926
[ "gpac", "gpac" ]
Hello, I'm not sure if it's the right place to ask this but i found no other way so here i am. I usually dump the content of a mp4 using this command : **Mp4Box.exe -dump-cover -dump-chap-ogg -raw * input_file.mp4** Only problem i have with this is that the subtitles are extracted in a .tx3g format and i would like to get them out in .srt format ( they are originaly .srt in the input_file.mp4 ) , if using the command line : **Mp4Box.exe -srt 3 input_file.mp4** i can get them out after i indicate the _TrackID 3_ where the subtitle is placed. What i would like to know is if it's possible to accomplish all this in a single step, without having to indicate the track numbers for the subtitles files, i tried to add a wildcard for the srt track like **_-srt *_** but this doesn't seems to work sadly. The goal is to input a mp4 and dump all content, cover, chapters in ogg format, subtitles in .srt format + all audio and video tracks, without having to indicate any track numbers like the **_-raw *_** command allows it, maybe i am missing something but for now i did not found a way to do this in a single command. Thank you very much in advance.
[Question] Dump subtitle as .srt without indicating track number ?
https://api.github.com/repos/gpac/gpac/issues/925/comments
2
2017-10-20T16:39:40Z
2017-10-30T15:00:19Z
https://github.com/gpac/gpac/issues/925
267,234,813
925
[ "gpac", "gpac" ]
Is it possible to encrypt already existing nondrm init+segment files? Current mp4box drm&packaging command use the original non-protected video.mp4 file, such as created by ffmpeg transcoding. ``` MP4Box -crypt temp-gpacdrm.xml temp-v1.mp4 -out drm/temp-v1.mp4 MP4Box -crypt temp-gpacdrm.xml temp-v2.mp4 -out drm/temp-v2.mp4 MP4Box -crypt temp-gpacdrm.xml temp-v3.mp4 -out drm/temp-v3.mp4 MP4Box -crypt temp-gpacdrm.xml temp-a1.mp4 -out drm/temp-a1.mp4 cd ./drm MP4Box -dash 6000 -frag 6000 -mem-frags -rap -profile dashavc264:live -profile-ext urn:hbbtv:dash:profile:isoff-live:2012 -min-buffer 3000 -bs-switching no -sample-groups-traf -single-traf -subsegs-per-sidx 1 -segment-name $RepresentationID$_$Number$$Init=i$ -segment-timeline -out manifest.mpd temp-v1.mp4#trackID=1:id=v1:period=p0 temp-v2.mp4#trackID=1:id=v2:period=p0 temp-v3.mp4#trackID=1:id=v3:period=p0 temp-a1.mp4#trackID=1:id=a1:period=p0 ``` Is it possible without any `demux-nonprotectedsegments-to-video1.mp4-ffmpeg-or-something` tricks to to create drm segments? Say I progressively receive new segment files one by one over the long period of time and must process them one by one to drm/v1_X.m4s segment files. ``` v1_i.mp4, v1_1.m4s, v1_X.m4s, ... v2_i.mp4, v2_1.m4s, v2_X.m4s, ... a1_i.mp4, a1_1.m4s, a1_X.m4s ... manifest.mpd ``` Example of gpacdrm.xml file with multiple pssh objects. ``` <?xml version="1.0" encoding="UTF-8" ?> <GPACDRM type="CENC AES-CTR"> <!-- kid=0x43215678123412341234123412341234 key=0x12341234123412341234123412341234 iv=0x22ee7d4745d3a26a --> <!-- Playready --> <DRMInfo type="pssh" version="0"> <BS ID128="9A04F07998404286AB92E65BE0885F95"/> <BS bits="32" endian="little" value="518"/> <BS bits="16" endian="little" value="1"/> <BS bits="16" endian="little" value="1"/> <BS bits="16" endian="little" value="508"/> <BS data64="PABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgBlAEYAWQBoAFEAegBRAFMATgBCAEkAUwBOAEIASQAwAEUAagBRAFMATgBBAD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AG0AdQBoAGoAVAA5AHUAQwBhAHMAcwA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA=="/> </DRMInfo> <!-- Widevine --> <DRMInfo type="pssh" version="0"> <BS ID128="EDEF8BA979D64ACEA3C827DCD51D21ED"/> <BS data="0x08011210"/> <BS ID128="43215678123412341234123412341234"/> </DRMInfo> <!-- Marlin --> <DRMInfo type="pssh" version="0"> <BS ID128="69f908af481646ea910ccd5dcccb0a3a"/> <BS data="0x000000186d61726c000000106d6b69640000000000000000"/> </DRMInfo> <!-- CENC --> <DRMInfo type="pssh" version="0"> <BS ID128="1077efecc0b24d02ace33c1e52e2fb4b"/> <BS bits="32" value="1"/> <BS ID128="43215678123412341234123412341234"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="8" first_IV="0x22ee7d4745d3a26a" saiSavedBox="senc"> <key KID="0x43215678123412341234123412341234" value="0x12341234123412341234123412341234"/> </CrypTrack> </GPACDRM> ```
DRM encrypt already existing init.mp4,seg_1.m4s,seg_x.m4s files?
https://api.github.com/repos/gpac/gpac/issues/924/comments
7
2017-10-20T08:19:19Z
2019-07-11T12:40:45Z
https://github.com/gpac/gpac/issues/924
267,097,812
924
[ "gpac", "gpac" ]
I just installed GPAC (using the installer at https://download.tsi.telecom-paristech.fr/gpac/release/0.7.0/gpac-0.7.0-rev0-gbd5c9af-master-x64.exe), started "Osmo4 (with console)", and while the application was starting it deleted almost all the files in my %TEMP% directory (assigned to "C:\Temp" on my PC - Windows 7 Pro 64-bit). It should **not** do that. Especially without any warning that it is about to **destroy user data** - on my PC, C:\Temp contained quite a lot of stuff including files that I had created/downloaded and had yet to move elsewhere. Excuse me while I dig out an undeleter... --- 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/ - - (one go at deleting my data is quite enough, thankyou...) - [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/
OSMO4 emptied my %TEMP% directory on startup
https://api.github.com/repos/gpac/gpac/issues/923/comments
3
2017-10-19T20:18:47Z
2017-10-24T12:32:46Z
https://github.com/gpac/gpac/issues/923
266,975,260
923
[ "gpac", "gpac" ]
The MP4Box's .mp4 output from .h264 input seems to contain misplaced PPS data in the tracks. **How to reproduce the issue** **Test Data:** Let's use ffmpeg to create a test .mp4 file, _ffmpeg -f lavfi -i testsrc=duration=15.3:size=qcif:rate=10 -g 60 testsrc_1.mp4_ Then use MP4Box to extract the raw .h264 file, _mp4box -raw 1 testsrc_1.mp4_ **Test:** Let's use MP4Box to produce a .mp4 file from raw h264 file, _mp4box -add testsrc_1_track1.h264 testsrc_1_track1.mp4_ Now, when if we use ISO-Viewer to go through the track NALU, We can see that PPS bits are added to the Last Non-IDR frame of each GOP. **Example:** . . Entry{sample=SampleImpl{offset=30411{size=52}} - 52bytes [NonIDR{type:1,idc:0,size:38}, PPS{type:8,idc:3,size:6}] Entry{sample=SampleImpl{offset=30463{size=2644}} - 2644bytes [IDR{type:5,idc:3,size:2640}] . .
MP4Box appends PPS data to the last frame in each GOP
https://api.github.com/repos/gpac/gpac/issues/922/comments
1
2017-10-18T21:34:14Z
2018-02-05T15:16:03Z
https://github.com/gpac/gpac/issues/922
266,649,672
922
[ "gpac", "gpac" ]
Hi, I use MP4Box to segment the tiled video on Ubuntu 16.04. I encoded the video, which is in 3840x1920 resolution and 60 secs, using Kvazaar with 20x10 tiles: ```shell $ kvazaar -i input.yuv --input-res=3840x1920 --input-fps 30.0 --tiles 20x10 --slices tiles --mv-constraint frametile -q 18 -p 30 --gop 0 -o video_20x10_qp18.hvc ``` After that, I plan to generate the segments with 1-sec length using MP4Box: ```shell $ MP4Box -add video_20x10_qp18.hvc:split_tiles -new video_20x10_qp18.mp4 $ MP4Box -dash 1000 -profile live -out dash_video_20x10_qp18.mpd video_20x10_qp18.mp4 ``` However, it always failed with an buffer overflow error message: *** buffer overflow detected ***: MP4Box terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ffb3b3327e5] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7ffb3b3d411c] /lib/x86_64-linux-gnu/libc.so.6(+0x117120)[0x7ffb3b3d2120] /lib/x86_64-linux-gnu/libc.so.6(+0x116689)[0x7ffb3b3d1689] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x80)[0x7ffb3b3366b0] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x7bd)[0x7ffb3b30892d] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7ffb3b3d1714] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7ffb3b3d166d] /usr/local/lib/libgpac.so.7(gf_dasher_process+0x3919)[0x7ffb3b8f3fe9] MP4Box[0x418330] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ffb3b2db830] MP4Box[0x40bfc9] ======= Memory map: ======== 00400000-00445000 r-xp 00000000 08:02 6561375 /usr/local/bin/MP4Box 00645000-00646000 r--p 00045000 08:02 6561375 /usr/local/bin/MP4Box 00646000-00648000 rw-p 00046000 08:02 6561375 /usr/local/bin/MP4Box 00648000-00649000 rw-p 00000000 00:00 0 00f45000-0ed7c000 rw-p 00000000 00:00 0 [heap] 7ffb36206000-7ffb3620d000 r-xp 00000000 08:02 3809398 /lib/x86_64-linux-gnu/librt-2.23.so 7ffb3620d000-7ffb3640c000 ---p 00007000 08:02 3809398 /lib/x86_64-linux-gnu/librt-2.23.so 7ffb3640c000-7ffb3640d000 r--p 00006000 08:02 3809398 /lib/x86_64-linux-gnu/librt-2.23.so 7ffb3640d000-7ffb3640e000 rw-p 00007000 08:02 3809398 /lib/x86_64-linux-gnu/librt-2.23.so 7ffb3640e000-7ffb36413000 r-xp 00000000 08:02 6560324 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffb36413000-7ffb36612000 ---p 00005000 08:02 6560324 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 .......... The error message will appear if the tiles are set to 10x10 as well. It will success if the tiles are set to 10x5, 9x9, 7x7, 5x5, 3x3. Therefore, I was wondering whether there is a limit for the number of tiles in the encoded video for MP4Box? If yes, how to modify it to support more number of tiles? Many thanks! 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/
Is there a limit for the number of tiles in MP4Box?
https://api.github.com/repos/gpac/gpac/issues/921/comments
3
2017-10-18T13:09:45Z
2017-10-19T08:55:49Z
https://github.com/gpac/gpac/issues/921
266,486,829
921
[ "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/ Using other tools, generate a 33 hours audio only long file (maybe using AAC codec). Then using Mp4Box, to remux it. The orignal will have a STTS table like this (one entry with 5235839 samples at 1024 duration) ``` <stts> <Address Value="0x0000000056F53BBA"/> <HeaderSize Value="8"/> <DataSize Value="24"/> <Size Value="32"/> <ParserReadBytes Value="32"/> <Version Value="0"/> <Flags Value="0x00000000"/> <EntryCount Value="2"/> <Entry Index="0"> <SampleCount Value="5235839"/> <SampleDelta Value="1024"/> </Entry> <Entry Index="1"> <SampleCount Value="1"/> <SampleDelta Value="498"/> </Entry> </stts> ``` After using MP4Box, you will get new entries, with one sampleDelta of 0 ``` <stts> <Address Value="0x0000000000000256"/> <HeaderSize Value="8"/> <DataSize Value="32"/> <Size Value="40"/> <ParserReadBytes Value="40"/> <Version Value="0"/> <Flags Value="0x00000000"/> <EntryCount Value="3"/> <Entry Index="0"> <SampleCount Value="1041535"/> <SampleDelta Value="1024"/> </Entry> <Entry Index="1"> <SampleCount Value="1"/> <SampleDelta Value="0"/> </Entry> <Entry Index="2"> <SampleCount Value="4194304"/> <SampleDelta Value="1024"/> </Entry> </stts> ``` The problem is that in the code, you are multiplying u32 * u32 to get some DTS In this case, you will get 5235839 * 1024 = 1066531840 (instead of 5361499136) The follow patch seems to fix the problem for me: ``` --- src/isomedia/box_code_base.c | 2 +- src/isomedia/stbl_read.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isomedia/box_code_base.c b/src/isomedia/box_code_base.c index ec380ffaa..90a4f473e 100644 --- a/src/isomedia/box_code_base.c +++ b/src/isomedia/box_code_base.c @@ -6149,7 +6149,7 @@ GF_Err stts_Read(GF_Box *s, GF_BitStream *bs) ptr->entries[i].sampleDelta = gf_bs_read_u32(bs); #ifndef GPAC_DISABLE_ISOM_WRITE ptr->w_currentSampleNum += ptr->entries[i].sampleCount; - ptr->w_LastDTS += ptr->entries[i].sampleCount * ptr->entries[i].sampleDelta; + ptr->w_LastDTS += (u64) ptr->entries[i].sampleCount * ptr->entries[i].sampleDelta; #endif if (!ptr->entries[i].sampleDelta) { diff --git a/src/isomedia/stbl_read.c b/src/isomedia/stbl_read.c index a5d2ea614..029212ada 100644 --- a/src/isomedia/stbl_read.c +++ b/src/isomedia/stbl_read.c @@ -96,7 +96,7 @@ GF_Err stbl_findEntryForTime(GF_SampleTableBox *stbl, u64 DTS, u8 useCTS, u32 *s curDTS += ent->sampleDelta; } //we're switching to the next entry, update the cache! - stbl->TimeToSample->r_CurrentDTS += ent->sampleCount * ent->sampleDelta; + stbl->TimeToSample->r_CurrentDTS += (u64) ent->sampleCount * ent->sampleDelta; stbl->TimeToSample->r_currentEntryIndex += 1; stbl->TimeToSample->r_FirstSampleInEntry += ent->sampleCount; } -- 2.15.0.rc0.271.g36b669edcc-goog ```
problem with unsigned int32 rollover
https://api.github.com/repos/gpac/gpac/issues/920/comments
7
2017-10-17T15:29:19Z
2017-10-19T08:55:58Z
https://github.com/gpac/gpac/issues/920
266,171,890
920
[ "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/ Issue Descriptions: I am using the Osmo4 player on my MacBook Pro to play back a DASH mpd file in chunk LowLatency mode. After running for a while (varied from a few minutes to 1-2 hours), the player exits due to a segmentation fault. When this happens, the player will always exits with the same error when I try to re-start it, until I reboot my laptop. Here are my command line options: $ /Applications/Osmo4.app/Contents/MacOS/Osmo4 http://10.91.112.125:8888/llabr/dcmcap/dash.mpd -opt Network:BufferLength=800 -opt DASH:LowLatency=chunk -opt DASH:UseServerUTC=no Using config file in /Users/doma/.gpac directory System info: 16384 MB RAM - 8 cores Modules Found : 36 Loading GPAC Terminal Terminal Loaded in 647 ms Opening URL http://10.91.112.125:8888/llabr/dcmcap/dash.mpd Couldn't init semaphore: error 28 Segmentation fault: 11 The Problem Report is attached here: [ProglemReport.txt](https://github.com/gpac/gpac/files/1373209/ProglemReport.txt)
Osmo4 (0.7.2-DEV nightly build) segmentation fault: 11 - Couldn't init semaphore: error 28 when running in LowLatency=chunk mode
https://api.github.com/repos/gpac/gpac/issues/918/comments
3
2017-10-10T19:45:56Z
2017-10-14T08:38:25Z
https://github.com/gpac/gpac/issues/918
264,352,793
918
[ "gpac", "gpac" ]
I have a problem when importing a video stream encoded with h264_nvenc in h264 raw format. My system configuration: - Windows 10 Pro 64 Bit (Version 1703) - MP4Box version 0.7.2-DEV rev283 - All commands are executed via the cli Please find video examples at the following urls. Original video: https://test.team-andro.eu/video/examples/ace2011.mov 540p encode h264 raw: https://test.team-andro.eu/video/examples/ace2011_540p.264 The video encode has a frame rate of 29.970 with a key frame interval of 150 frames. This means: The first frame is a key frame, the 151st frame is a key frame and so on. The reason for that is to get a dash interval of 5,005 seconds. After creating the h264 raw stream I import it with the help of MP4Box. Cli command: MP4Box -add ace2011_540p.264#video:fps=29.97 -new ace2011_540p.mp4 This has always worked without any problems. The last version of MP4Box I've been using was 0.7.2-DEV rev34 from May 2017. Now I've updated MP4Box to 0.7.2-DEV rev283 and the behaviour is different. Please see the following examples. File after import with 0.7.2-DEV rev34 https://test.team-andro.eu/video/examples/ace2011_540p-rev34.mp4 File after import with 0.7.2-DEV rev283 https://test.team-andro.eu/video/examples/ace2011_540p-rev283.mp4 If you analyze those videos with the help of ffprobe, you will see that the key frame at the beginning is missing in the version created with 0.7.2-DEV rev283. ffprobe commands to create text files listing all frames: ffprobe -i ace2011_540p-rev34.mp4 -show_frames > rev34.txt ffprobe -i ace2011_540p-rev283.mp4 -show_frames > rev283.txt Please see my examples at: https://test.team-andro.eu/video/examples/rev34.txt https://test.team-andro.eu/video/examples/rev283.txt The problem becomes obvious when a dash stream is created based on such imports (with 0.7.2-DEV rev283). The missing key frame at the beginning leads to a big gap and the video won't play. Please see the following examples: Dash stream created with 0.7.2-DEV rev34 https://shaka-player-demo.appspot.com/demo/#asset=https://test.team-andro.eu/video/ace2011-rev34/mp4_1.mpd;lang=en-US -> plays fine Dash stream created with 0.7.2-DEV rev283 https://shaka-player-demo.appspot.com/demo/#asset=https://test.team-andro.eu/video/ace2011-rev283/mp4_1.mpd;lang=en-US -> doesn't start The problem doesn't occur in conjunction with libx264 encodes.
MP4Box drops 1st key frame when importing h264_nvenc encode
https://api.github.com/repos/gpac/gpac/issues/916/comments
4
2017-10-08T19:53:38Z
2018-08-17T20:19:16Z
https://github.com/gpac/gpac/issues/916
263,746,613
916
[ "gpac", "gpac" ]
In some types of video streams, you can have the aspect ratio change in the middle of the stream (e.g. a TV channel that interleaves 4:3 and 16:9 movies). I would expect any aspect ratio change to result in a new period in generated DASH. I do not currently have useful test data in this form so I cannot simply try it out but I thought I should just ask - is this supported? Does mp4box understand changes like this and handle them? Or does it just use whatever metadata it detects at the start of the input stream and ignore changes?
Question: does mp4box understand changes in aspect ratio when dashing?
https://api.github.com/repos/gpac/gpac/issues/913/comments
2
2017-10-04T08:04:37Z
2019-06-28T22:28:09Z
https://github.com/gpac/gpac/issues/913
262,699,366
913
[ "gpac", "gpac" ]
I wish to append new segments to a dynamic MPD generated by successive calls to mp4box, using dash-ctx mode. However, I find that each invocation of mp4box results in a new period being added instead. This is not desirable - I simply wish to add more data to the existing period. Is this a supported scenario and, if so, how am I meant to invoke mp4box in order to achieve appending of data? I tried manually specifying the period name but that appeared to result in overwritten segments instead of appended. Example input files (audio only for small download size) to be appended to make one large segment: [in.zip](https://github.com/gpac/gpac/files/1354925/in.zip)
Question: how is mp4box meant to be used for appending data to existing period (dash-ctx mode)
https://api.github.com/repos/gpac/gpac/issues/912/comments
1
2017-10-04T07:24:28Z
2019-11-18T16:44:27Z
https://github.com/gpac/gpac/issues/912
262,690,571
912
[ "gpac", "gpac" ]
This isn't a bug - just something that I'd like to try out and get an opinion if it is a good way to go about things. I've been using MP4Box to generate DASH content from video files and hosting it on Google Cloud Storage. Till now, access to streaming these files has been restricted to a trusted network, so I could keep the links (MPD, m4s segments etc.) on my storage bucket public. However, I now have a requirement to open streaming access on a public network. As such, I wanted to experiment with making these links private and editing the MPD programmatically to contain secure signed URLs for each segment like so - `<SegmentURL media="<signed url to an m4s file>"/>` Will manually editing thusly generate a valid MPD? Is this a good approach to ensure secure links to the video files for streaming? Or should I instead figure out an approach using encryption / DRM supported by MP$Box?
Manually specify secure URLs to file segments for DASH in MPD
https://api.github.com/repos/gpac/gpac/issues/911/comments
1
2017-09-29T06:03:27Z
2018-05-31T07:24:34Z
https://github.com/gpac/gpac/issues/911
261,539,660
911
[ "gpac", "gpac" ]
``` CC faad_dec.c In file included from faad_dec.c:40:0: /usr/include/faad.h:32:9: note: #pragma message: please update faad2 include filename and function names! #pragma message("please update faad2 include filename and function names!") ^~~~~~~ In file included from /usr/include/faad.h:35:0, from faad_dec.c:40: faad_dec.c: In function 'FAAD_GetCodecName': faad_dec.c:408:35: error: expected ';' before 'PACKAGE_VERSION' if (ctx->is_sbr) return "FAAD2 " FAAD2_VERSION " SBR mode"; ^ faad_dec.c:409:18: error: expected ';' before 'PACKAGE_VERSION' return "FAAD2 " FAAD2_VERSION; ^ make[2]: *** [../../config.mak:157: faad_dec.o] Error 1 ``` gpac commit 83fc19f537f1647534677bd689ba21d63a2a3a4c gcc 7.2.0 ffmpeg 3.3.4 faad2 2.8.1
[faad_dec] fail build
https://api.github.com/repos/gpac/gpac/issues/909/comments
1
2017-09-23T18:43:05Z
2017-09-26T07:00:00Z
https://github.com/gpac/gpac/issues/909
260,030,078
909
[ "gpac", "gpac" ]
I have a user that has a problem with a iPhone mp4 file, staxrip demuxes audio using mp4box and while muxing audio again with mp4box it's freezing because of this audio file, sample file is here: https://github.com/stax76/staxrip/issues/286#issuecomment-330919854 ``` -------------------------- System Environment -------------------------- StaxRip : 1.6.1.9 Windows : Windows 10 Pro 1703 Language : German (Germany) CPU : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz GPU : NVIDIA GeForce GTX 1060 6GB, Intel(R) HD Graphics 530 Resolution : 3840 x 2160 DPI : 288 ------------------------ MediaInfo Source File ------------------------ D:\Temp\StaxRip\burnchar.MOV General CompleteName : D:\Temp\StaxRip\burnchar.MOV Format : MPEG-4 Format_Profile : QuickTime CodecID/String : qt 0000.00 (qt ) FileSize/String : 2.85 MiB Duration/String : 1 s 502 ms OverallBitRate_Mode/String : Variable OverallBitRate/String : 15.9 Mb/s Encoded_Date : UTC 2017-09-19 20:15:49 Tagged_Date : UTC 2017-09-19 20:15:51 Encoded_Library/String : Apple QuickTime com.apple.quicktime.location.ISO : +42.8664-112.4155+1437.452/ com.apple.quicktime.make : Apple com.apple.quicktime.model : iPhone SE com.apple.quicktime.software : 10.3.2 com.apple.quicktime.creationdate : 2017-09-19T14:15:49-0600 Video ID/String : 1 Format : AVC Format/Info : Advanced Video Codec Format_Profile : High@L4 Format_Settings : CABAC / 1 Ref Frames Format_Settings_CABAC/String : Yes Format_Settings_RefFrames/String : 1 frame CodecID : avc1 CodecID/Info : Advanced Video Coding Duration/String : 1 s 502 ms BitRate/String : 15.8 Mb/s Width/String : 1 920 pixels Height/String : 1 080 pixels DisplayAspectRatio/String : 16:9 FrameRate_Mode/String : Variable FrameRate/String : 29.970 (29970/1000) FPS FrameRate_Minimum/String : 28.571 FPS FrameRate_Maximum/String : 30.000 FPS ColorSpace : YUV ChromaSubsampling/String : 4:2:0 BitDepth/String : 8 bits ScanType/String : Progressive Bits-(Pixel*Frame) : 0.254 StreamSize/String : 2.83 MiB (99%) Title : Core Media Video Encoded_Date : UTC 2017-09-19 20:15:49 Tagged_Date : UTC 2017-09-19 20:15:51 colour_range : Limited colour_primaries : BT.709 transfer_characteristics : BT.709 matrix_coefficients : BT.709 Audio ID/String : 2 Format : AAC Format/Info : Advanced Audio Codec Format_Profile : LC CodecID : mp4a-40-2 Duration/String : 1 s 500 ms Source_Duration/String : 1 s 556 ms BitRate_Mode/String : Variable BitRate/String : 86.0 kb/s Channel(s)/String : 1 channel ChannelPositions : Front: C SamplingRate/String : 44.1 kHz FrameRate/String : 43.066 FPS (1024 SPF) Compression_Mode/String : Lossy StreamSize/String : 15.8 KiB (1%) Source_StreamSize/String : 16.2 KiB (1%) Title : Core Media Audio Encoded_Date : UTC 2017-09-19 20:15:49 Tagged_Date : UTC 2017-09-19 20:15:51 Other #1 Type : meta Duration/String : 1 s 502 ms Other #2 Type : meta Duration/String : 1 s 502 ms --------------- Demux audio using MP4Box 0.7.2-DEV-rev79 --------------- D:\Projekte\VS\VB\StaxRip\bin\Apps\MP4Box\MP4Box.exe -single 2 -out "D:\Temp\StaxRip\burnchar_temp\burnchar ID1 Core Media Audio.m4a" D:\Temp\StaxRip\burnchar.MOV [iso file] Unknown box type wide [iso file] Unknown box type tapt [iso file] Unknown box type clef [iso file] Unknown box type prof [iso file] Unknown box type enof [iso file] Unknown box type alis ICC colour profile not supported [iso file] Unknown box type alis [iso file] Unknown box type chan [iso file] Cannot process box UNKN ![iso file] Unknown box type gmhd [iso file] Unknown box type gmin [iso file] Unknown box type alis [iso file] Unknown box type mebx [iso file] Unknown box type keys [iso file] Unknown box type lidp [iso file] Unknown box type lidl [iso file] Unknown box type gmhd [iso file] Unknown box type gmin [iso file] Unknown box type alis [iso file] Unknown box type mebx [iso file] Unknown box type keys [iso file] Box "free" is invalid in container moov [iso file] Unknown box type [iso file] Unknown box type keys [iso file] Unknown box type .... [iso file] Box "data" is invalid in container .... [iso file] Unknown box type .... [iso file] Box "data" is invalid in container .... [iso file] Unknown box type .... [iso file] Box "data" is invalid in container .... [iso file] Unknown box type .... [iso file] Box "data" is invalid in container .... [iso file] Unknown box type .... [iso file] Box "data" is invalid in container .... [iso file] Box "free" is invalid in container meta [iso file] Box "free" is invalid in container moov Start: 22:19:58 End: 22:19:58 Duration: 00:00:00 General CompleteName : D:\Temp\StaxRip\burnchar_temp\burnchar ID1 Core Media Audio.m4a Format : MPEG-4 Format_Profile : Base Media CodecID/String : isom (isom) FileSize/String : 17.1 KiB Duration/String : 1s 555ms OverallBitRate_Mode/String : VBR OverallBitRate/String : 90.0 Kbps Encoded_Date : UTC 2017-09-20 20:19:58 Tagged_Date : UTC 2017-09-20 20:19:58 Audio ID/String : 2 Format : AAC Format/Info : Advanced Audio Codec Format_Profile : LC CodecID : mp4a Duration/String : 1s 555ms BitRate_Mode/String : VBR BitRate/String : 85.1 Kbps Channel(s)/String : 1 channel1 SamplingRate/String : 44.1 KHz FrameRate/String : 43.066 fps2 (1024 SPF) Compression_Mode/String : Lossy StreamSize/String : 16.2 KiB (95%) Encoded_Date : UTC 2017-09-20 20:19:58 Tagged_Date : UTC 2017-09-20 20:19:58 --------------------------- AviSynth Script --------------------------- LoadPlugin("D:\Projekte\VS\VB\StaxRip\bin\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll") LSMASHVideoSource("D:\Temp\StaxRip\burnchar.MOV", format = "YUV420P8") -------------------------- Script Properties -------------------------- Source Frame Count : 45 Source Frame Rate : 29.966700 Source Duration : 00:00:01.5020000 Target Frame Count : 45 Target Frame Rate : 29.966700 Target Duration : 00:00:01.5020000 ----------------------- MediaInfo Audio Source 1 ----------------------- General CompleteName : D:\Temp\StaxRip\burnchar_temp\burnchar ID1 Core Media Audio.m4a Format : MPEG-4 Format_Profile : Base Media CodecID/String : isom (isom) FileSize/String : 17.1 KiB Duration/String : 1 s 555 ms OverallBitRate_Mode/String : Variable OverallBitRate/String : 90.0 kb/s Encoded_Date : UTC 2017-09-20 20:19:58 Tagged_Date : UTC 2017-09-20 20:19:58 Audio ID/String : 2 Format : AAC Format/Info : Advanced Audio Codec Format_Profile : LC CodecID : mp4a Duration/String : 1 s 555 ms BitRate_Mode/String : Variable BitRate/String : 85.1 kb/s Channel(s)/String : 1 channel SamplingRate/String : 44.1 kHz FrameRate/String : 43.066 FPS (1024 SPF) Compression_Mode/String : Lossy StreamSize/String : 16.2 KiB (95%) Encoded_Date : UTC 2017-09-20 20:19:58 Tagged_Date : UTC 2017-09-20 20:19:58 ------------------- Video encoding using x265 2.5+14 ------------------- D:\Projekte\VS\VB\StaxRip\bin\Apps\avs2pipemod\avs2pipemod64.exe -y4mp D:\Temp\StaxRip\burnchar_temp\burnchar.avs | D:\Projekte\VS\VB\StaxRip\bin\Apps\x265\x265.exe --crf 20 --preset ultrafast --profile main10 --output-depth 10 --frames 45 --y4m --output D:\Temp\StaxRip\burnchar_temp\burnchar_out.hevc - y4m [info]: 1920x1080 fps 89990/3003 i420p8 unknown frame count raw [info]: output file: D:\Temp\StaxRip\burnchar_temp\burnchar_out.hevc x265 [info]: HEVC encoder version 2.5+14-2718cb5dd67f x265 [info]: build info [Windows][GCC 7.1.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main 10 profile, Level-4 (Main tier) x265 [info]: Thread pool created using 8 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 3 / wpp(34 rows) x265 [info]: Coding QT: max CU size, min CU size : 32 / 16 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : dia / 57 / 0 / 2 x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 0 / 5.00 x265 [info]: Lookahead / bframes / badapt : 5 / 3 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 0 / 0 x265 [info]: References / ref-limit cu / depth : 1 / off / off x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock avs2pipemod[info]: writing 45 frames of 89990/3003 fps, 1920x1080, sar 0:0, YUV-420-planar-8bit progressive video. avs2pipemod[info]: finished, wrote 45 frames [100%]. avs2pipemod[info]: total elapsed time is 0.607 sec. x265 [info]: frame I: 1, Avg QP:24.32 kb/s: 15272.23 x265 [info]: frame P: 11, Avg QP:25.20 kb/s: 2984.20 x265 [info]: frame B: 33, Avg QP:27.63 kb/s: 235.46 x265 [info]: consecutive B-frames: 8.3% 0.0% 0.0% 91.7% encoded 45 frames in 0.74s (61.14 fps), 1241.53 kb/s, Avg QP:26.96 Start: 22:44:37 End: 22:44:38 Duration: 00:00:00 General CompleteName : D:\Temp\StaxRip\burnchar_temp\burnchar_out.hevc Format : HEVC Format/Info : High Efficiency Video Coding FileSize/String : 230 KiB Encoded_Library/String : x265 2.5+14-2718cb5dd67f:[Windows][GCC 7.1.0][64 bit] 10bit Video Format : HEVC Format/Info : High Efficiency Video Coding Format_Profile : Main 10@L4@Main Width/String : 1920 pixel3 Height/String : 1080 pixel3 DisplayAspectRatio/String : 16:9 FrameRate/String : 29.970 (29970/1000) fps3 ColorSpace : YUV ChromaSubsampling/String : 4:2:0 BitDepth/String : 10 bit3 Encoded_Library/String : x265 2.5+14-2718cb5dd67f:[Windows][GCC 7.1.0][64 bit] 10bit ----------------- Muxing using MP4Box 0.7.2-DEV-rev79 ----------------- D:\Projekte\VS\VB\StaxRip\bin\Apps\MP4Box\MP4Box.exe -add D:\Temp\StaxRip\burnchar_temp\burnchar_out.hevc#video -add "D:\Temp\StaxRip\burnchar_temp\burnchar ID1 Core Media Audio.m4a#audio:lang=ger:name=" -itags encoder="StaxRip 1.6.1.9" -new D:\Temp\StaxRip\burnchar.mp4 HEVC import - frame size 1920 x 1080 at 29.967 FPS Start: 22:44:38 End: 22:45:05 Duration: 00:00:26 -------------- Error Muxing using MP4Box 0.7.2-DEV-rev79 -------------- Muxing using MP4Box 0.7.2-DEV-rev79 failed with exit code: -1073741819 (0xC0000005) The exit code might be a system error code: Die Anweisung in 0xp verwies auf Arbeitsspeicher bei 0xp. Der Vorgang s konnte im Arbeitsspeicher nicht durchgeführt werden. ```
problem with iPhone file
https://api.github.com/repos/gpac/gpac/issues/908/comments
3
2017-09-20T20:56:23Z
2020-09-04T07:13:53Z
https://github.com/gpac/gpac/issues/908
259,299,338
908
[ "gpac", "gpac" ]
I refer the link to https://gpac.wp.imt.fr/category/compiling/ to get Mac version execution version. How to get the execution file for ios(my Apple iphone devices). The document is not clear. anyone who have some advice or some methods to help me. thanks
How to compile mp4box to get ios execute file?
https://api.github.com/repos/gpac/gpac/issues/907/comments
1
2017-09-19T12:48:24Z
2017-09-19T13:18:07Z
https://github.com/gpac/gpac/issues/907
258,808,060
907
[ "gpac", "gpac" ]
Hi, -I created hevc content using: kvazaar --input outputFile_1280x720.yuv --input-res=1280x720 --preset veryslow --tiles 3x3 --slices tiles --mv-constraint frametilemargin --aud --output tiled_1280x720threebythree.265 -mediainfo tiled_1280x720threebythree.265 General Complete name : tiled_1280x720threebythree.265 Format : HEVC Format/Info : High Efficiency Video Coding File size : 26.8 MiB Video Format : HEVC Format/Info : High Efficiency Video Coding Format profile : [email protected]@Main Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits -Next I packaged the hevc stream as per https://gpac.wp.imt.fr/2017/02/01/hevc-tile-based-adaptation-guide/ MP4Box -v -add tiled_1280x720threebythree.265:FMT=HEVC:split_tiles -fps 30 -new multitile.mp4 MP4Box -info multitile.mp4 * Movie Info * Timescale 600 - Duration 00:01:44.966 1 track(s) Fragmented File: no File suitable for progressive download (moov before mdat) File Brand iso4 - version 1 Created: GMT Sat Sep 16 22:15:40 2017 Modified: GMT Sat Sep 16 22:15:40 2017 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 30000 - Media Duration 00:01:44.966 Media Info: Language "und (und)" - Type "vide:hvc1" - 3149 samples Visual Track layout: x=0 y=0 width=1280 height=720 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x23 HEVC Video - Visual Size 1280 x 720 HEVC Info: Profile Main @ Level 6.2 - Chroma Format 1 NAL Unit length bits: 32 - general profile compatibility 0x60000000 Parameter Sets: 1 VPS 1 SPS 1 PPS SPS resolution 1280x720 Bit Depth luma 8 - Chroma 8 - 2 temporal layers VPS#1 hash: 9E811E99CCFE114792C63911120CBE88BA7BD8CD SPS#1 hash: 3338A461062622F082C25A2B6551ABD80FE8A887 PPS#1 hash: 17BD5AC3D2A94D2F795ED82A5A25B503A981E39A Self-synchronized RFC6381 Codec Parameters: hvc1.1.6.L186.80 Average GOP length: 62 samples MP4Box version: MP4Box -version MP4Box - GPAC version 0.7.2-DEV-rev265-g9b1c2ef5-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: --host=i686-linux-gnu --prefix=/usr --build=i686-linux-gnu --mandir=${prefix}/share/man --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc CXX=ccache g++ Features: GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG -I am not able to try out MP4Box -rem 3 multititle.mp4 -out test_tile_lost.mp4 as there is only one TrackID available. Can someone please let me know what I am missing here. Thanks, Sanil 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/
Unable to package tiled content.
https://api.github.com/repos/gpac/gpac/issues/906/comments
2
2017-09-16T23:27:17Z
2017-10-04T09:11:46Z
https://github.com/gpac/gpac/issues/906
258,265,407
906
[ "gpac", "gpac" ]
Apparently, MP4Box does not support HEIF/HEIC as generated by iOS 11 devices. Here are samples I took with my iPhone 7+ myself, useful for tests and debug. https://avi.alkalay.net/clipboard/HEIF-iOS-11.zip Zip file contains videos, regular photos, photos with depth and photo bursts. I'm particularly interested in MP4Box support for iOS 11 HEIF tags and metadata. This is what I get with GPAC 0.6.1 on Fedora Linux: ``` $ MP4Box -info IMG_4453.HEIC [iso file] Read Box "infe" failed (Invalid IsoMedia File) [iso file] Read Box "iinf" failed (Invalid IsoMedia File) [iso file] Read Box "meta" failed (Invalid IsoMedia File) Error opening file IMG_4453.HEIC: Invalid IsoMedia File ``` And this is 0.7.1: ``` $ MP4Box -info IMG_4449.HEIC ESC[33mICC colour profile not supported ESC[0mESC[33mICC colour profile not supported ESC[0mRoot Meta type: "pict" - 55 resource item(s) Primary Item - ID 49 Item #1 - ID 1 - Name: Item #2 - ID 2 - Name: Item #3 - ID 3 - Name: Item #4 - ID 4 - Name: Item #5 - ID 5 - Name: Item #6 - ID 6 - Name: Item #7 - ID 7 - Name: Item #8 - ID 8 - Name: Item #9 - ID 9 - Name: Item #10 - ID 10 - Name: Item #11 - ID 11 - Name: Item #12 - ID 12 - Name: Item #13 - ID 13 - Name: Item #14 - ID 14 - Name: Item #15 - ID 15 - Name: Item #16 - ID 16 - Name: Item #17 - ID 17 - Name: Item #18 - ID 18 - Name: Item #19 - ID 19 - Name: Item #20 - ID 20 - Name: Item #21 - ID 21 - Name: Item #22 - ID 22 - Name: Item #23 - ID 23 - Name: Item #24 - ID 24 - Name: Item #25 - ID 25 - Name: Item #26 - ID 26 - Name: Item #27 - ID 27 - Name: Item #28 - ID 28 - Name: Item #29 - ID 29 - Name: Item #30 - ID 30 - Name: Item #31 - ID 31 - Name: Item #32 - ID 32 - Name: Item #33 - ID 33 - Name: Item #34 - ID 34 - Name: Item #35 - ID 35 - Name: Item #36 - ID 36 - Name: Item #37 - ID 37 - Name: Item #38 - ID 38 - Name: Item #39 - ID 39 - Name: Item #40 - ID 40 - Name: Item #41 - ID 41 - Name: Item #42 - ID 42 - Name: Item #43 - ID 43 - Name: Item #44 - ID 44 - Name: Item #45 - ID 45 - Name: Item #46 - ID 46 - Name: Item #47 - ID 47 - Name: Item #48 - ID 48 - Name: Item #49 - ID 49 - Name: Item #50 - ID 50 - Name: Item #51 - ID 51 - Name: Item #52 - ID 52 - Name: - MimeType: application/rdf+xml Item #53 - ID 53 - Name: Item #54 - ID 54 - Name: - MimeType: application/rdf+xml File has no movie (moov) - static data container ```
Better support for iOS 11-generated HEIF/HEIC
https://api.github.com/repos/gpac/gpac/issues/905/comments
9
2017-09-15T11:47:59Z
2017-11-08T20:27:04Z
https://github.com/gpac/gpac/issues/905
258,013,680
905
[ "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/
IOS build issue: gpac_extra_libs/js/src/jstypes.h:231:14: fatal error: 'jsautocfg.h' file not found
https://api.github.com/repos/gpac/gpac/issues/904/comments
3
2017-09-14T22:36:56Z
2017-10-05T09:42:39Z
https://github.com/gpac/gpac/issues/904
257,876,605
904
[ "gpac", "gpac" ]
Hi, We want to package multiple MP4 files (of 10 seconds each) into DASH content such that the resolution may vary across these files. We are indicating the discontinuity of resolution by inserting a new period in MPD. Further, we are using -dash-ctx option and multiple MP4Box commands to achieve this. Please find the 4 commands below that we used to package 4 different MP4 files of 10 seconds each. ``` Command1: MP4Box -quiet -dash-strict 10000 -rap -dash-scale 1000 -tfdt 0 -moof-sn 0 -subsegs-per-sidx -1 -mpd-title "dash-chunked-transcode" -dash-ctx ctx.txt -mpd-info-url abc.com -segment-name test_0 input_480_270_1159kbps.mp4:period=0:id=0 -out manifest.mpd Command2: MP4Box -quiet -dash-strict 10000 -rap -dash-scale 1000 -tfdt 10000 -subsegs-per-sidx -1 -mpd-title "dash-chunked-transcode" -dash-ctx ctx.txt -mpd-info-url abc.com -segment-name test_0 input_480_270_1133kbps.mp4:period=0:id=0 -out manifest.mpd Command3: MP4Box -quiet -dash-strict 10000 -rap -dash-scale 1000 -tfdt 20000 -moof-sn 2 -subsegs-per-sidx -1 -mpd-title "dash-chunked-transcode" -dash-ctx ctx.txt -mpd-info-url abc.com -segment-name test_1 input_768_432_785kbps.mp4:period=1:id=0 -out manifest.mpd Command4: MP4Box -quiet -dash-strict 10000 -rap -dash-scale 1000 -tfdt 30000 -subsegs-per-sidx -1 -mpd-title "dash-chunked-transcode" -dash-ctx ctx.txt -mpd-info-url abc.com -segment-name test_1 input_768_432_783kbps.mp4:period=1:id=0 -out manifest.mpd ``` Please note the manifest file at the end of each command with GPAC version 0.7.1: Same is present at [Observations_GPACv0.7.1.zip](https://github.com/gpac/gpac/files/1292113/Observations_GPACv0.7.1.zip) Note the SegmentList within manifest file post Command3 (complete manifest file is present in the directory Command3_Segment11). ``` <Period id="0" duration="PT0H0M20.000S"> <SegmentList timescale="12800" duration="128000"> <Initialization sourceURL="test_0init.mp4"/> <SegmentURL media="test_01.m4s"/> <SegmentURL media="test_02.m4s"/> </SegmentList> </Period> <Period id="1" duration="PT0H0M10.000S"> <SegmentList timescale="12800" duration="128000"> <Initialization sourceURL="test_1init.mp4"/> <SegmentURL media="test_01.m4s"/> <SegmentURL media="test_02.m4s"/> <SegmentURL media="test_11.m4s"/> </SegmentList> </Period> ``` My question is that, why does period 1 has 3 segments? I expected it to have only test_11.m4s. Looks like GPAC maintains this list of segment internally and doesn't clear when new period starts. Additional information: 1. How I obtained GPAC: Downloaded using the command: wget https://github.com/gpac/gpac/archive/v0.7.1.tar.gz Built the same post that. 2. Operating System: CentOS Linux release 7.1 64 bit 3. Application used: MP4Box 4. GPAC version: MP4Box - GPAC version 0.7.1-revrelease Further, I tried executing the four commands with the latest nightly build of GPAC. (GPAC version 0.7.2-DEV-revUNKNOWN_REV). Behaviour with this version is little different. Note the SegmentList within manifest file post Command3 (complete manifest file is present in the directory Command3_Segment11 inside [Observations_GPACv0.7.2-DEV.zip](https://github.com/gpac/gpac/files/1292247/Observations_GPACv0.7.2-DEV.zip) ). ``` <Period id="0" duration="PT0H0M10.000S"> <SegmentList timescale="12800" duration="128000"> <Initialization sourceURL="test_0init.mp4"/> <SegmentURL media="test_01.m4s"/> <SegmentURL media="test_01.m4s"/> </SegmentList> </Period> <Period id="1" start="PT0H0M10.000S" duration="PT0H0M10.000S"> <SegmentList timescale="12800" duration="128000"> <Initialization sourceURL="test_1init.mp4"/> <SegmentURL media="test_01.m4s"/> <SegmentURL media="test_11.m4s"/> </AdaptationSet> </Period> ``` I expected it to have only test_11.m4s in period 1, but it has both test_01.m4s and test_11.m4s. Which looks wrong. Regards, Anita - [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
MPD is not as expected when context file is used while converting MP4 to DASH
https://api.github.com/repos/gpac/gpac/issues/903/comments
1
2017-09-11T10:58:22Z
2019-11-18T16:46:19Z
https://github.com/gpac/gpac/issues/903
256,662,137
903
[ "gpac", "gpac" ]
I am working on rate adaptation for SRD tiles. I noticed that the MP4Client is not playing tiles for HEVC based SRD video if it is not in local file mode, even if the files are located on the localhost. To explore further, I played a video from Apache server and controlled the bandwidth through traffic shaper in a single client -server architecture with no other cross traffic. The bandwidth was set to a much higher value than the cumulative highest bitrate. It was very strange that the download rate logged on line 5565 of dash_client.c shows some random values that vary too much from the value set by traffic shaper. Could this be the reason that tiles are not getting played at highest bitrate even if bandwidth is enough? 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/
HEVC SRD rate adaptation
https://api.github.com/repos/gpac/gpac/issues/902/comments
0
2017-09-09T05:32:52Z
2018-02-21T08:14:45Z
https://github.com/gpac/gpac/issues/902
256,416,508
902
[ "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 there, I see on the GPAC post that there is an easy way to create HEIF files using mp4box... Apologies if this is clearly stated somewhere, but is there a way to get jpeg's from .heic files using mp4box? Any documentation/references would be greatly appreciated. Thanks! -Ahmed
Creating JPEG file from .heic files
https://api.github.com/repos/gpac/gpac/issues/901/comments
22
2017-09-02T02:41:44Z
2018-06-27T10:11:58Z
https://github.com/gpac/gpac/issues/901
254,784,333
901
[ "gpac", "gpac" ]
I only changed the position of "lang" attribute for both commands. On the second command I get an error message: "The given code is not a valid one: ENG:name=englischer Untertitel (erzwungen):, using 'und' as 3-letter code..." mp4box.exe -inter 500 -par 1=1:1 -add "d:\test.hevc#1:name=H265" -add "d:\test.srt#1:name=englischer Untertitel (erzwungen):lang=ENG:txtflags=0xC0000000" -new "D:\test_muxed.mp4" mp4box.exe -inter 500 -par 1=1:1 -add "d:\test.hevc#1:name=H265" -add "d:\test.srt#1:lang=ENG:name=englischer Untertitel (erzwungen):txtflags=0xC0000000" -new "D:\test_muxed.mp4"
Bug lang attribute
https://api.github.com/repos/gpac/gpac/issues/900/comments
1
2017-08-18T09:22:51Z
2017-10-08T00:45:52Z
https://github.com/gpac/gpac/issues/900
251,188,437
900
[ "gpac", "gpac" ]
I have been following GPAC's demo on hybrid broadcast broadband of UHD SHVC video streams: http://download.tsi.telecom-paristech.fr/gpac/demos_hybrid/ In the demo, the base layer is broadcasted in TS format using multicast UDP, while the enhancement layer is sent in a DASH session. On the client side, MP4Client is able to play the video with both layers (which are sent separately) in sync. My question is how does MP4Client take 2 separate streams and play them out in sync? which part of the client source code is responsible for that?
Question about GPAC's hybrid broadcast broadband demo
https://api.github.com/repos/gpac/gpac/issues/899/comments
2
2017-08-11T06:31:53Z
2017-08-28T09:06:11Z
https://github.com/gpac/gpac/issues/899
249,548,946
899
[ "gpac", "gpac" ]
Hello everyone, I am trying to see a video encoded in hevc: > MP4Box -v -add Cactus_1920x1080_50_qp32.bin:FMT=HEVC -fps 50 -new output.mp4 > MP4Client output.mp4 The window appears but with no video, black and in the console appears the next problem: [NVDec] failed to create cuvid decoder CUDA_ERROR_NO_DEVICE I have a graphic card that uses the hardware to decode hevc but it does not work. Any solution? Thanks, Ignacio.
[NVDec] failed to create cuvid decoder CUDA_ERROR_NO_DEVICE
https://api.github.com/repos/gpac/gpac/issues/898/comments
6
2017-08-09T15:34:31Z
2021-05-26T14:30:26Z
https://github.com/gpac/gpac/issues/898
249,072,159
898
[ "gpac", "gpac" ]
(I'm putting this here instead of writing a long commit message) When running configure with` --static-modules` or `--enable-static-bin`, the `static.mak` puts all necessary include dirs (`-I`) on the gcc command line. If OpenSVCDec is detected present, it will add `-Iextra_lib/include` to the command line : https://github.com/gpac/gpac/blob/master/configure#L1072 So now the headers in `extra_lib/include` will all have higher priority than the system ones (see: https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options). In particular, in `utils/downloader.c`, when we `#include <openssl/ssl.h>`, it's the version in `extra_lib/include` that will be included. But this version seem to only be for windows (https://github.com/gpac/gpac/blob/master/extra_lib/include/openssl/opensslconf.h#L5). The only way for system headers to have a higher priority than local header is to use `-idirafter` instead of `-I`.
configure and static builds
https://api.github.com/repos/gpac/gpac/issues/897/comments
1
2017-08-09T12:35:58Z
2017-08-09T16:11:15Z
https://github.com/gpac/gpac/issues/897
249,016,128
897
[ "gpac", "gpac" ]
Is there any chance to decode [this video](https://github.com/gpac/gpac/files/1210948/videocam_1501316.zip) using GPAC? The most successfull tool that I've been used to extract video info says: "No movie found in the file". PS: the file header in HexEditor looks like this: ![2017-08-09_12-17-13](https://user-images.githubusercontent.com/25608313/29114378-60cf42ba-7cf4-11e7-9306-a65d4b8147ed.png)
Play encoded .mp4
https://api.github.com/repos/gpac/gpac/issues/896/comments
4
2017-08-09T09:18:07Z
2017-08-22T12:15:12Z
https://github.com/gpac/gpac/issues/896
248,967,742
896
[ "gpac", "gpac" ]
Tried using GPAC 0.7.2 32-bit build for Windows. Looking to add a properly populated btrt atom to an encoded file. Encoded a file with FFmpeg using x264, ran through `MP4Box -isma -out 47.mp4` Output attached. [out_47.zip](https://github.com/gpac/gpac/files/1209849/out_47.zip) Please advise how to properly create BTRT atom in MP4 and populate its values appropriately. Thank you!
MP4box adds 0 value btrt atom to ISMA file.
https://api.github.com/repos/gpac/gpac/issues/895/comments
1
2017-08-08T23:44:59Z
2017-10-05T14:18:45Z
https://github.com/gpac/gpac/issues/895
248,878,181
895
[ "gpac", "gpac" ]
How should I install GPAC from command line in windows? I need to automate my machine configuration and installing GPAC programatically, so I expect to install it from command line. Expected: call gpac.exe /quiet and it get installed Actual: gpac is prompting a graphical interface to install Platform: Windows 10 and Server 64bit Build used: gpac-0.7.0-rev0-gbd5c9af-master-x64.exe Also, an msi would be much easier to install in Windows machines, which already has option to install from command line.
Install from command line
https://api.github.com/repos/gpac/gpac/issues/894/comments
3
2017-08-07T22:20:50Z
2017-08-08T13:13:34Z
https://github.com/gpac/gpac/issues/894
248,547,784
894
[ "gpac", "gpac" ]
Hi, I'm trying to extract audio stream from some MP4 files located in a same folder, so I tried the command `FOR /R %G IN (*.mp4) DO "c:\program files (x86)\GPAC\mp4box" - raw 2 %G` The command tries the extraction for each file, but always with an error `c:\program files (x86)\GPAC\mp4box" -raw 2 "working_dir\file.mp4 Error - 2 input names specified, please check usage` However, if I run the same command but written by me, it works, and I don't understand why [EDIT] I use gpac-0.7.2-DEV-rev223-g06e9447-master-win32 on an updated W10
error when batch extract streams from various files
https://api.github.com/repos/gpac/gpac/issues/893/comments
1
2017-08-06T13:05:27Z
2017-08-07T07:22:35Z
https://github.com/gpac/gpac/issues/893
248,246,050
893
[ "gpac", "gpac" ]
Hello to all, i pass the past two weeks to setup DashCast for live media purpose. The purpose is to obtain a live media streaming of a video playlist and loop it when is finish. I used the GPAC Ubuntu 14.04 compilation guide on GPAC site. Below the sequence of commands to prepare the test: ``` # CODEC: sudo apt-get update sudo apt-get upgrade sudo apt-get install libx264-dev # FFMPEG; sudo apt-get install yasm sudo apt-get install git git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg cd ffmpeg ./configure --enable-shared --disable-debug --enable-libx264 --enable-avresample --enable-gpl make -j sudo make install cd #GPAC/DASHCAST: git clone https://github.com/gpac/gpac.git #DEPENDECIES: sudo apt-get install subversion make pkg-config g++ zlib1g-dev libfreetype6-dev libjpeg62-dev libpng12-dev libopenjpeg-dev libmad0-dev libfaad-dev libogg-dev libvorbis-dev libtheora-dev liba52-0.7.4-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavresample-dev libxv-dev x11proto-video-dev libgl1-mesa-dev x11proto-gl-dev linux-sound-base libxvidcore-dev libssl-dev libjack-dev libasound2-dev libpulse-dev libsdl1.2-dev dvb-apps libavcodec-extra libavdevice-dev libmozjs185-dev cd gpac ./configure make sudo make install cd #SYSTEM MONITOR sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor sudo apt-get update sudo apt-get install indicator-sysmonitor #APACHE2 sudo apt-get install apache2 leafpad sudo leafpad /etc/apache2/apache2.conf KeepAlive=Off MaxKeepAliveRequests 0 sudo service apache2 restart sudo nautilus /var/www/html ``` I also download chrome for media decoders. Now for my first test i use localhost, i put the source video, dash.all.min.js and the html page inside /var/www/html I run sudo DashCast -av t4.mp4 -live-media I'm still unable to play audio and video toghether due to video and audio encoder errors below the terminal result: ``` Options: video source: t4.mp4 video crop: 0x0 audio source: t4.mp4 Configurations: id:v1 res:1280x720 vbr:800000 id:a1 abr:128000 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 't4.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2014-01-17T07:48:38.000000Z Duration: 00:01:30.16, start: 0.000000, bitrate: 655 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 460 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default) Metadata: creation_time : 2014-01-17T07:48:39.000000Z handler_name : IsoMedia File Produced by Google, 5-11-2011 AVCTX give frame duration of 1/50 - keeping requested rate -1, but this may result in unexpected behaviour. Press q or Q to exit... [libx264 @ 0x7fd2f0000920] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 [libx264 @ 0x7fd2f0000920] profile High, level 3.1 [libx264 @ 0x7fd2f0000920] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=25 keyint_min=2 scenecut=40 intra_refresh=0 rc_lookahead=25 rc=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [video_encoder] Rep v1 UTC diff 2354 bigger than segment duration 0 - some frame where probably lost. Adjusting Generating MPD at 2017-08-04T02:02:27.271Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 1 Generating MPD at 2017-08-04T02:02:29.667Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 4 Generating MPD at 2017-08-04T02:02:32.625Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 6 [audio_encoder] UTC dur 6768 bigger than segment duration 0 - some frame where probably lost. Adjusting Generating MPD at 2017-08-04T02:02:33.584Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 7 Generating MPD at 2017-08-04T02:02:35.627Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 9 [audio_encoder] UTC dur 10238 bigger than segment duration 6 - some frame where probably lost. Adjusting Generating MPD at 2017-08-04T02:02:36.585Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 10 Generating MPD at 2017-08-04T02:02:38.625Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 12 [audio_encoder] UTC dur 13117 bigger than segment duration 10 - some frame where probably lost. Adjusting Unable to delete the file output/a1_2_gpac.m4s Unable to delete the file output/v1_2_gpac.m4s Generating MPD at 2017-08-04T02:02:39.625Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 13 Generating MPD at 2017-08-04T02:02:41.544Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 15 [audio_encoder] UTC dur 15512 bigger than segment duration 13 - some frame where probably lost. Adjusting Unable to delete the file output/a1_4_gpac.m4s Generating MPD at 2017-08-04T02:02:42.625Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 16 [audio_encoder] UTC dur 17482 bigger than segment duration 15 - some frame where probably lost. Adjusting Generating MPD at 2017-08-04T02:02:42.777Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 17 Unable to delete the file output/a1_6_gpac.m4s [audio_encoder] UTC dur 19318 bigger than segment duration 17 - some frame where probably lost. Adjusting Unable to delete the file output/a1_8_gpac.m4s Generating MPD at 2017-08-04T02:02:44.747Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 19 Generating MPD at 2017-08-04T02:02:46.624Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 20 Unable to delete the file output/a1_9_gpac.m4s Generating MPD at 2017-08-04T02:02:47.626Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 21 [audio_encoder] UTC dur 22288 bigger than segment duration 20 - some frame where probably lost. Adjusting Generating MPD at 2017-08-04T02:02:48.545Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 22 Unable to delete the file output/a1_12_gpac.m4s Generating MPD at 2017-08-04T02:02:49.553Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 23 [audio_encoder] UTC dur 25051 bigger than segment duration 23 - some frame where probably lost. Adjusting Generating MPD at 2017-08-04T02:02:50.969Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 25 Generating MPD at 2017-08-04T02:02:52.316Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 26 Generating MPD at 2017-08-04T02:02:53.624Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 27 Generating MPD at 2017-08-04T02:02:54.504Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 28 Generating MPD at 2017-08-04T02:02:55.650Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 29 Generating MPD at 2017-08-04T02:02:56.546Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 30 [dashcast] Live system dropped a video frame [dashcast] Live system dropped a video frame [dashcast] Live system dropped a video frame [dashcast] Live system dropped a video frame [dashcast] Live system dropped a video frame [audio_encoder] UTC dur 31023 bigger than segment duration 29 - some frame where probably lost. Adjusting Generating MPD at 2017-08-04T02:02:57.624Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 31 q Keyboard thread exit Audio encoder got an end of buffer! [aac @ 0x7fd2ec080c00] Qavg: 8202.769 [aac @ 0x7fd2ec080c00] 2 frames left in the queue on closing Video scaler got an end of input tbuffer! Video encoder got an end of buffer! Generating MPD at 2017-08-04T02:02:58.589Z StartTime: 2017-08-04T02:02:27.271Z - startNumber 1 - last number 32 Duration: PT00H00M10.000S [libx264 @ 0x7fd2f0000920] frame I:72 Avg QP:10.16 size: 22578 [libx264 @ 0x7fd2f0000920] frame P:382 Avg QP: 2.28 size: 4459 [libx264 @ 0x7fd2f0000920] frame B:303 Avg QP: 3.70 size: 1380 [libx264 @ 0x7fd2f0000920] consecutive B-frames: 46.2% 0.3% 2.8% 50.7% [libx264 @ 0x7fd2f0000920] mb I I16..4: 47.7% 41.0% 11.3% [libx264 @ 0x7fd2f0000920] mb P I16..4: 3.0% 1.1% 0.8% P16..4: 4.8% 1.0% 0.8% 0.0% 0.0% skip:88.5% [libx264 @ 0x7fd2f0000920] mb B I16..4: 0.3% 0.1% 0.3% B16..8: 6.8% 1.0% 0.2% direct: 0.4% skip:90.7% L0:49.9% L1:49.2% BI: 0.8% [libx264 @ 0x7fd2f0000920] final ratefactor: 2.34 [libx264 @ 0x7fd2f0000920] 8x8 transform intra:36.7% inter:72.3% [libx264 @ 0x7fd2f0000920] coded y,uvDC,uvAC intra: 12.6% 0.4% 0.3% inter: 1.6% 0.1% 0.1% [libx264 @ 0x7fd2f0000920] i16 v,h,dc,p: 82% 15% 4% 0% [libx264 @ 0x7fd2f0000920] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 64% 15% 20% 0% 0% 0% 0% 0% 0% [libx264 @ 0x7fd2f0000920] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 31% 9% 2% 2% 2% 2% 2% 2% [libx264 @ 0x7fd2f0000920] i8c dc,h,v,p: 98% 0% 1% 0% [libx264 @ 0x7fd2f0000920] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x7fd2f0000920] ref P L0: 86.4% 2.8% 6.9% 3.9% [libx264 @ 0x7fd2f0000920] ref B L0: 94.6% 3.8% 1.6% [libx264 @ 0x7fd2f0000920] ref B L1: 99.0% 1.0% [libx264 @ 0x7fd2f0000920] kb/s:494.98 ``` Im also not sure if the apapche2 server need some special configuration for this purpose.. Im writing you pretty much everything i do, i hope that someone can help me to find where im wrong :) Thank you in advance!
GPAC fresh install but still with DashCast issues: help
https://api.github.com/repos/gpac/gpac/issues/892/comments
2
2017-08-04T02:18:06Z
2019-06-28T22:25:25Z
https://github.com/gpac/gpac/issues/892
247,884,781
892
[ "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/ MP4Box version ``` /Applications/Osmo4.app/Contents/MacOS/MP4Box -version MP4Box - GPAC version 0.7.2-DEV-rev223-g06e9447-master GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: --extra-cflags=-Wno-deprecated Features: GPAC_64_BITS GPAC_HAS_SSL GPAC_HAS_SPIDERMONKEY GPAC_HAS_JPEG GPAC_HAS_PNG ``` I am trying to split into chunks a long running h264 video, but the last chunk (sometimes many chunks) is always around 700 bytes and therefore it is not a valid mp4 video file. Is there a way to avoid it? I tried -split and split-size but I got the same result. Below the output of the command: ``` /usr/local/bin/MP4Box -split 300 /Volumes/Elements/mrv/8/src/8_video.mp4 [iso file] Unknown box type gmhd [iso file] Unknown box type gmin [ISO file] dataReferenceIndex set to 0 in sample entry, overriding to 1 [isom] not enough bytes in box text: 36 left, reading 51 (file isomedia/box_code_3gpp.c, line 339) [iso file] Read Box "text" failed (Invalid IsoMedia File) - skipping [iso file] Unknown box type gmhd [iso file] Unknown box type gmin [ISO file] dataReferenceIndex set to 0 in sample entry, overriding to 1 [isom] not enough bytes in box text: 36 left, reading 51 (file isomedia/box_code_3gpp.c, line 339) [iso file] Read Box "text" failed (Invalid IsoMedia File) - skipping Storing split-file 8_video_001.mp4 - duration 299.22 seconds Warning: Edit list doesn't look like a track delay scheme - ignoring Warning: Edit list doesn't look like a track delay scheme - ignoring ``` repeated for every chunk. Thank you
MP4Box split - last chunks ˜700 bytes
https://api.github.com/repos/gpac/gpac/issues/891/comments
1
2017-08-02T22:46:28Z
2017-08-10T14:28:37Z
https://github.com/gpac/gpac/issues/891
247,544,597
891
[ "gpac", "gpac" ]
Does GPAC support playing 360 degree video side by side ?, So that we can watch videos directly with HMD (Head Mounted Display). If GPAC does not support then can you give me some pointers on how to extend/modify the GPAC to play videos side by side?. Thanks for help in advance.
Playing 360 video side by side
https://api.github.com/repos/gpac/gpac/issues/889/comments
1
2017-08-02T11:01:10Z
2017-08-28T07:24:59Z
https://github.com/gpac/gpac/issues/889
247,351,504
889
[ "gpac", "gpac" ]
[for reference after the holidays] https://github.com/gpac/gpac/commit/7571d383d811986bb1e1bc26ac1a9717734444e8 added a test that uses a media/encryption/drm_cbcs_const.xml file that doesn't exists (I guess a missing git add?) I'm disabling the test for now.
missing test file ./media/encryption/drm_cbcs_const.xml
https://api.github.com/repos/gpac/gpac/issues/888/comments
0
2017-08-01T09:20:05Z
2017-08-28T07:19:01Z
https://github.com/gpac/gpac/issues/888
247,006,352
888
[ "gpac", "gpac" ]
The DASH live simulator has been modified to fix a number of different issues: - non-aligned audio and video durations would cause desync after a few loops - forcing duration of media input was not properly working - drift would occur between the media timeline (ie tfdt) and the MPD segment startTime when using templates without segment timeline, causing potential 404 and other weird behaviours in seek requests We also added the possibility to force a new period rather than looping the source content (using -no-loop switch) This should fix quite a few issues on the live simulator, but don't hesitate to reopen this issue if needed.
Clock drift and 404 issues in live DASH simulator
https://api.github.com/repos/gpac/gpac/issues/885/comments
2
2017-07-28T12:15:57Z
2017-07-31T10:53:59Z
https://github.com/gpac/gpac/issues/885
246,330,735
885
[ "gpac", "gpac" ]
I recently started using mp4box, after it was recommended to me on the ffmpeg user email list.to extract the raw video from an AVI video and then use ffmpeg to extract the audio and combine it with the raw video to get the scaled mp4 video I need. Alas, I am having problems with mp4box. I first downloaded the windows version in 64 bit format from this site: https://gpac.wp.imt.fr/downloads/ but whenever I tried to run any command, it crashes with this message from Windows: **mp4box has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.** So I downloaded the 32 bit version and that worked fine for me while I was processing small files. But yesterday, I tried to extract raw video from a 700,000 kb file and the 32 bit version of mp4box crashed with the same message from Windows (see above). So I downloaded the latest versions (32 bit and 64 bit for Windows) from the daily build site (https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/) and tried again, but got the same results. The 64 bit version doesn't work at all and the 32 bit version only works on small files. I tried this with revision 195, the first one in the list of files available for download on the nightly builds page and with revision 200, hoping that the higher revision number may indicate that this is the latest revision, not the first one in the list. I tried starting the debugger when I got the error message, but since I don't have the source code I don't get much info. The debugger says the problem was caused by an unhandled exception, but that's all it can tell without source code. The system Application log also shows and error but gain, there is no useful information other than the application (mp4box) and the time of the error. The log can't record what the application does not pass on. BTW, the mp4box command I am using is: mp4box -aviraw audio hd.avi The video is NOT interlaced, although it is supposed to be, which is why I need to extract the raw video before I can scale it using ffmpeg. I tried attaching my test file but I was told that you don't support that file type. So if you want to get my test file called hd.avi, you can get it here: https://www.dropbox.com/sh/61kb841ayiwj28l/AAC46KAoNSCiI85LwFjM9tpba?dl=0 Just remember the 64 bit version crashed even on the small test video, while the 32 bit version runs fine on the small file. I can provide a larger file if you need one, but I don't have the space on my dropbox page. I would need ftp access or something like that to give you a copy of one of my larger videos. I am running Windows 10 Pro 64 bit version, with 16 GB of ram and an Intel i7 CPU. I really need to solve this ASAP. So if there is something I can do to get either version to work, let me know. And if I did not include some detail you need, just contact me and I will try to provide the info you need. Thanks URW 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/
mp4box crashes on Windows 10
https://api.github.com/repos/gpac/gpac/issues/884/comments
5
2017-07-27T22:23:32Z
2017-08-02T07:35:05Z
https://github.com/gpac/gpac/issues/884
246,186,891
884
[ "gpac", "gpac" ]
If I type the following command: `"C:\Program Files\GPAC\mp4box.exe" -par 1=1:1 "E:\NAS\video\Vidéos de famille\2010\Alex 2010\HDV_0091.MP4"` in a command prompt (cmd.exe) under Windows 10, the temp file "out_HDV_0091.MP4" is correclty created, but the command cannot finish because there is an error when the soft try to remove the old file: ``` Saving E:\NAS\video\Vid├®os de famille\2010\Alex 2010\HDV_0091.MP4: 0.500 secs Interleaving Error removing file E:\NAS\video\Vid├®os de famille\2010\Alex 2010\HDV_0091.MP4 Error: I/O Error ``` I get the same error with Powershell: ``` Saving E:\NAS\video\Vidéos de famille\2010\Alex 2010\HDV_0091.MP4: 0.500 secs Interleaving Error removing file E:\NAS\video\Vidéos de famille\2010\Alex 2010\HDV_0091.MP4 Error: I/O Error ``` The issue seems to be related with the space and the 'é' char contained in path. Perhaps the remove function called to drop the file doesn't support Unicode path. As workaround, I use the "-out" parameter to not use the in-place rewrite feature. I manually delete old video files after processing.
MP4Box doesn't work well with non ASCII path: the remove file feature doesn't work
https://api.github.com/repos/gpac/gpac/issues/883/comments
17
2017-07-23T21:07:24Z
2018-01-22T20:50:00Z
https://github.com/gpac/gpac/issues/883
244,936,235
883
[ "gpac", "gpac" ]
HI there ,I sent a live-media, but i have two issues, dashcast can't loop video or audio transmissions due to [libx264] non-strictly-monotonic PTS Invalid DTS.. Someone could help me? The second one issues is that i can't run -av transmissions The audio encoder error occured UTC dur bigger then segment duration Thanks in advance Gianmaria
Dashcast can't loop due to non-strictly-monotonic PTS
https://api.github.com/repos/gpac/gpac/issues/882/comments
1
2017-07-23T13:07:54Z
2019-06-28T22:24:47Z
https://github.com/gpac/gpac/issues/882
244,909,229
882
[ "gpac", "gpac" ]
Might be related to #183 - reason may be same or different. Samples available at: http://www.mediafire.com/?9lz533ddlj111 According to a report in a German video forum, using MP4Box to extract raw streams from an MP4 video with 7.1 channel AAC results in a raw AAC audio file which is detected as only 5.0 channel by MediaInfo and ffmpeg (ffplay), and MPC-HC (using LAV Filters natively as decoders, which are based on ffmpeg/libav*) gets stuck when playing an MKV multiplexed with this audio using mkvtoolnix; but VLC can play the remux. To test this issue, I downloaded some [Dolby TrueHD trailers](https://thedigitaltheater.com/index.php/dolby-trailers/), extracted the 7.1 THD audio with conversion to FLAC using eac3to v3.31, converted the FLAC audio to LC-AAC in MeGUI using QAAC x64 v2.64 (CoreAudioToolbox 7.10.9.0 from iTunes installer), then extracted the AAC to raw/ADTS files using MP4Box from gpac-0.7.2-DEV-rev206-gf32d687-master-x64 (`mp4box -raw * ~.m4a`). The sample archives in the MediaFire folder linked above contain all intermediate files and verbose reports generated by MediaInfo 0.7.97 (CLI, 2017-06-29) and ffprobe (N-86720-gf1baafac71, 2017-07-06). _Brief snippets:_ **M4A:** ``` Complete name : Dolby_Catalyst_Lossless-thedigitaltheater.mkv.m4a Format : MPEG-4 Channel(s) : 8 Channel(s) : 8 channels Channel positions : Front: L C R, Side: L R, Back: L R, LFE Channel positions : 3/2/2.1 ChannelLayout : C L R Ls Rs Rls Rrs LFE ``` ``` Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Dolby_Catalyst_Lossless-thedigitaltheater.mkv.m4a': Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 7.1, fltp, 367 kb/s (default) ``` **ADTS:** ``` Complete name : Dolby_Catalyst_Lossless-thedigitaltheater.mkv_track1.aac Format : ADTS Channel(s) : 5 Channel(s) : 5 channels Channel positions : Front: L C R, Side: L R Channel positions : 3/2/0 ChannelLayout : C L R Ls Rs ``` ``` [aac @ 0000000002626480] channel element 1.2 is not allocated Last message repeated 612 times [aac @ 0000000002613dc0] decoding for stream 0 failed [aac @ 0000000002613dc0] Estimating duration from bitrate, this may be inaccurate [aac @ 0000000002613dc0] Could not find codec parameters for stream 0 (Audio: aac (LC), 5.0, fltp, 11 kb/s): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, aac, from 'Dolby_Catalyst_Lossless-thedigitaltheater.mkv_track1.aac': Duration: 00:06:56.09, bitrate: 11 kb/s Stream #0:0: Audio: aac (LC), 5.0, fltp, 11 kb/s ```
ADTS AAC extracted by MP4Box from M4A with 7.1 channels reported as only 5.0 channels
https://api.github.com/repos/gpac/gpac/issues/881/comments
6
2017-07-21T09:35:27Z
2019-07-07T21:15:51Z
https://github.com/gpac/gpac/issues/881
244,615,856
881
[ "gpac", "gpac" ]
So probably? due to the patch for #873, supplying nothing to the ":name" modifier for 'add' results in this error: `[Importer] Unknown input file type for "new_chapters.xml:name=:" Error importing new_chapters.xml:name=:chap: Requested URL is not valid or cannot be found` but ONLY when a) importing a xml/ttxt chapters track b) putting the name parameter ahead of the chaps parameter. For example, `mp4box -add "video.mp4#trackID=1" -add "new_chapters.xml:name=:chap" -new "video_new.mp4"` will result in the above error, but `mp4box -add "video.mp4#trackID=1" -add "new_chapters.xml:chap:name=" -new "video_new.mp4"` will work fine. All of this is happening with the latest nightly x86 build, gpac-0.7.2-DEV-rev200-g9566a94-master, on Windows 10 x64. (FWIW, the purpose of supplying a blank name parameter is to avoid having the default trackname mp4box generates being written.)
MP4Box: blank ":name=" parameter sometimes results in error
https://api.github.com/repos/gpac/gpac/issues/879/comments
1
2017-07-19T04:36:14Z
2017-08-23T14:33:06Z
https://github.com/gpac/gpac/issues/879
243,920,201
879
[ "gpac", "gpac" ]
Hi, for the first test i would try to send only audio, an wav file into dashcast live.media I use the code below DashCast -a piano2.wav -seg-dur 100 -live-media The audio streamed result "segmented" also by listen These are the error occurred Unable to delete the file output/a1_1082_gpac.m4s [audio_encoder] UTC dur 100733 bigger than segment duration 1183 - some frame where probably lost. Adjusting Someone know how to fix it? Thanks!
Audio streaming
https://api.github.com/repos/gpac/gpac/issues/878/comments
1
2017-07-18T12:50:39Z
2019-06-28T22:23:15Z
https://github.com/gpac/gpac/issues/878
243,704,695
878
[ "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/ We are creating dash live stream with mp4box and packaging commands are below **MP4Box -logs all@error -dash-ctx /mnt/test/livestream/dash-live.txt -tmp /mnt/test/liveStream/ -dash 4800 -frag 4800 -rap -frag-rap -ast-offset 0 -mpd-refresh 4 -bs-switching no -min-buffer 4800 -url-template -time-shift 120 -mpd-info-url http://127.0.0.1:8080/ -segment-name live_$RepresentationID$_ -out /mnt/test/livestream/live.mpd -dynamic -subsegs-per-sidx -1 <inputs>** When we validate our live stream url in this validator (http://dashif.org/conformance.html), We are seeing Errors and warnings. How to solve this errors and warnings ? **Error details:** WARNING: unknown mvex atom 'trep' ### error: styp-1 ### Brand 'lmsg' found as a compatible brand for segment number 2 (not the last segment 6); violates Section 7.3.1. of ISO/IEC 23009-1:2012(E): In all cases for which a Representation contains more than one Media Segment ... If the Media Segment is not the last Media Segment in the Representation, the 'lmsg' compatibility brand shall not be present. tfdt base media decode time 323552.100089 not equal to accumulated decode time 0.000000 for track 256 for the first fragment of the movie. This software does not handle incomplete presentations. Applying correction. ### error: ### Buffer underrun conformance error: first (and only one reported here) for sample 78 of run 1 of track fragment 1 of fragment 3 of track id 256 (sample absolute file offset 6952276, fragment absolute file offset 5451781, bandwidth: 3299003)
Error: styp-1 "violates Section 7.3.1. of ISO/IEC 23009-1:2012(E)"
https://api.github.com/repos/gpac/gpac/issues/877/comments
1
2017-07-17T05:50:39Z
2019-06-28T22:22:50Z
https://github.com/gpac/gpac/issues/877
243,301,804
877
[ "gpac", "gpac" ]
Hi there, I'm trying to create a live with dashcast, I want to understand if the dashcast process that create output folder should take place on the web server or whether I can sync the output on my computer with an ftp on a webserver. This cause i don't have a webserver and i want to use an hosting service for the media distribution Thanks a lot
DashCast - sincronize output folder with ftp?
https://api.github.com/repos/gpac/gpac/issues/876/comments
2
2017-07-16T14:52:30Z
2017-08-04T01:52:46Z
https://github.com/gpac/gpac/issues/876
243,244,853
876
[ "gpac", "gpac" ]
I am trying to create a motion constrained segmented video for HEVC Tile-based adaptation. I encoded them into 4 QP using kvazaar. kvazaar --input YachtRide_1920x1080_120fps_420_8bit_YUV.yuv --tiles 3x3 --slices tiles --mv-constraint frametilemargin --qp 25 --output out1.hevc kvazaar --input YachtRide_1920x1080_120fps_420_8bit_YUV.yuv --tiles 3x3 --slices tiles --mv-constraint frametilemargin --qp 30 --output out2.hevc kvazaar --input YachtRide_1920x1080_120fps_420_8bit_YUV.yuv --tiles 3x3 --slices tiles --mv-constraint frametilemargin --qp 35 --output out3.hevc kvazaar --input YachtRide_1920x1080_120fps_420_8bit_YUV.yuv --tiles 3x3 --slices tiles --mv-constraint frametilemargin --qp 40 --output out4.hevc Then I used MP4BOX for packaging. MP4Box -add out1.hevc:split_tiles -new video_tiled1.mp4 MP4Box -add out2.hevc:split_tiles -new video_tiled2.mp4 MP4Box -add out3.hevc:split_tiles -new video_tiled3.mp4 MP4Box -add out4.hevc:split_tiles -new video_tiled4.mp4 Finally DASHing them as : MP4Box -dash 1000 -profile live -out t.mpd video_tiled1.mp4 video_tiled2.mp4 video_tiled3.mp4 video_tiled4.mp4 The output thus generated is showing only one quality and is not able to switch to other quality while being played through MP4Client. I verified the configuration of MP4Client by the sample given at http://download.tsi.telecom-paristech.fr/gpac/SRD/srd_hevc/multi_rate_p60/hevc_srd.mpd, where the player is showing other quality as well and able to change the quality level through GUI. Am I DASHing the video in wrong way?
MP4Box for multiple QP motion constrained HEVC tiles
https://api.github.com/repos/gpac/gpac/issues/875/comments
1
2017-07-15T14:57:10Z
2017-07-17T14:44:22Z
https://github.com/gpac/gpac/issues/875
243,179,896
875
[ "gpac", "gpac" ]
Consider an mp4 video that has a gpac ttxt menu track in it, plus an arbitrary amount of other tracks (audio, subtitle, whatever). Let's say one were to create a new mp4 by importing the video track only, and wanted to replace the current gpac ttxt menu with a different gpac ttxt menu. For example, video.mp4 has video track 1, audio tracks 2, and 3, subtitle track 4, and ttxt chapter track 5, and I want to create video_new.mp4 with video track 1, a new audio track from a separate file, and a new chapter track, also from a separate file: `mp4box -add "video.mp4#trackID=1" -add "audio.mp4#trackID=1" -add "new_chapters.xml:name=:chap" -new "video_new.mp4"` **This results in a video that indeed has the new chapter track.** However, we are warned about the reference to the now-orphaned original menu: `Warning: track ID 1 has references to a track not imported` and the presence of the reference to the old chapter track remains. In other words, if one runs MediaInfo on video_new.mp4, the 'Menus' line of the video track will list two track IDs: the ID of the original track in video.mp4 - in this example, 5 - and the ID of the new chapter track - here, 3. In other words, `<Menus>5,3</Menus>`. **On playback, phantom chapter track 5 will preempt real chapter track 3. Real chapter track 3 will never be parsed or acknowledged by the player in question. Practically, it's like it isn't there at all.** If, by chance, the trackID of the chapters track added to the new video matches the trackID of the chapters track in the original video, then there is no problem - there is no duplicate track entry in the Menus line of the video track in MediaInfo, and everything works fine. Obviously that isn't an acceptable workaround, though. Additionally: in the example above, I specified a new chapters file. Importing the old chapters track from the old file, like so: `mp4box -add "video.mp4#trackID=1" -add "video.mp4#trackID=3" -add "video.mp4#trackID=5:name=:chap" -new "video_new.mp4"` does result in a warning about not importing a referenced track, but does NOT result in the phantom menu issue, because **the track IDs of the original mp4 are retained!** This is appears to be odd behavior - while on the plus side, other track information, like track language and track name, is also retained, having trackIDs skip around instead of simply being reassigned from scratch is odd. And it doesn't stop there. Let's say one decided to import the video track and one of the audio tracks from the original file, but supply a new ttxt chapters file: `mp4box -add "video.mp4#trackID=1" -add "video.mp4#trackID=3" -add "new_chapters.xml:name=:chap" -new "video_new.mp4"` In this case, the audio file imported **retains its track ID of 3**, and the chapters file is assigned a track ID of 4 - the next whole number. This results in the same issue - two menus being referenced, one of which isn't in the file, but preempts the second, extant menu from being recognized or loaded. As might be guessed, importing the audio track with track ID 4: `mp4box -add "video.mp4#trackID=1" -add "video.mp4#trackID=4" -add "new_chapters.xml:name=:chap" -new "video_new.mp4"` works, since the track ID of the the new chapters file would be assigned 5 - the same as in the original file. **This only straightforward, complete workaround to this problem** is first manually exporting the video track from the original mp4, and then importing it, instead of importing the original mp4 directly and specifying the trackID of the video in the import parameters. While this works, it is also an extra, inelegant, time-consuming step. **Alternatively, one can also, either after the fact or in the original creation of the new file**, change the trackID of the new chapters file to match that of the trackID of the chapters in the original file. For example, in the case of a file with chapters that have a trackID of 4, but which originated from another file with chapters that had a trackID of 5: `mp4box video_new.mp4 -set-track-id 4:5` Or, equivalently, during the original creation of video_new.mp4 (again, using an audio track other than the one with the trackID of 4): `mp4box -add "video.mp4#trackID=1" -add "video.mp4#trackID=3" -add "new_chapters.xml:name=:chap" -set-track-id 4:5 -new "video_new.mp4"` In these cases, in MediaInfo, there are still two entries in the Menus line of the video track's information - it changes from `<Menus>5,4</Menus>` to `<Menus>5,5</Menus>` - but the chapters do get parsed (at least with the playback software I was using). If one decides to change the track ID again - let's say to 2 - the chapters will still work, however, the Menus entry for the video track reads `<Menus>2,5</Menus>`, rather than `<Menus>5,2</Menus>`. The lingering presence of an extra track reference seems undesirable: I have only tested these videos with one piece of playback software, after all, and even if I haven't, this just seems 'wrong'. **In conclusion**, if possible, a flag should be added that strips the original file of useless/obsolete track references upon importation. Or, even better, the default behavior should be the stripping of such track references, and a flag should be added that would disable such stripping. (**Aside from that,** it might make good sense to renumber tracks upon import, rather than retaining original trackIDs from a now obsolete context. But, this is a separate issue, whose consequences are not always obvious. The obsolete track reference issue is more concretely negative.) All this was observed with the latest nightly on Windows 10 x64. I have only been able to test whether chapters work in MPC-HC 1.7.11 x86 as I do not have an iDevice handy at the moment, but it is clear that the reference to the no-longer-existing chapters file is undesirable regardless. **ED:** All of this was actually observed with GPAC version 0.7.0-rev3-g10dc09c-master (I had installed the newest nightly to a different location, but forgot to change the PATH variable in Windows to reflect this). But when using GPAC version 0.7.2-DEV-rev192-gd1ee384-master, the issues are even stranger: instead of 2 Menus entries, there are **3**, so, it seems like things haven't improved (or potentially, have gotten worse...) **ED2:** It appears that if one simply does `mp4box -add "video.mp4" -new "video_new.mp4"` on a video file containing a ttxt menu, a) the ttxt menu is still imported, b) it is assigned a trackID of two, c) none of the other tracks are imported, d) the `Warning: track ID 1 has references to a track not imported` error still occurs, and e) the Menus entry of the video track in MediaInfo still contains two references, first to the original track ID, then to track 2.
MP4Box: Track references not stripped on import - breaks TTXT chapters
https://api.github.com/repos/gpac/gpac/issues/874/comments
4
2017-07-15T04:35:14Z
2017-07-18T07:35:32Z
https://github.com/gpac/gpac/issues/874
243,152,492
874
[ "gpac", "gpac" ]
When importing a track, when using an import option which itself could take a colon in its parameters, that option is not properly parsed: everything after the colon is treated as its own import option, and is flagged as invalid. For example, consider this command: `mp4box -add "video.mp4#trackID=1:fps=59.960:par=10:11" -new "video_new.mp4"` This results in the error, `Unrecognized import option 11, ignoring` Or this command: `mp4box -add "video.mp4#trackID=1:fps=59.960:name=file://trackname.txt" -new "video_new.mp4"` This results in the error, `Unrecognized import option //trackname.txt, ignoring` In each of these cases, there is an alternative - using the separate "-par" or "-name" options after the initial -add. But both the help screen in mp4box and the official documents still list the use of :par and :name as valid import options (in other words, as valid parameters to modify a string being fed to the '-add' parameter). If this functionality was intentionally removed, and end users wanting to specify a pixel aspect ratio or a trackname contained in a text file should use the general -par and -name options, then the help text and documentation should be changed to reflect this. Otherwise, whatever change was made that broke these options should be reverted. This issue occurs with the latest nightly on Windows 10 x64. ED: All of this was actually observed with GPAC version 0.7.0-rev3-g10dc09c-master (I had installed the newest nightly to a different location, but forgot to change the PATH variable in Windows to reflect this). But, this issue persists in an identical manner on GPAC version 0.7.2-DEV-rev192-gd1ee384-master.
MP4Box: Import options which have colons in them not properly parsed
https://api.github.com/repos/gpac/gpac/issues/873/comments
4
2017-07-15T02:16:42Z
2019-08-15T15:56:48Z
https://github.com/gpac/gpac/issues/873
243,146,979
873
[ "gpac", "gpac" ]
I tried to build gpac_extra_libs on Windows 10, using VS2015 Community. For libfaad, the function `lrintf` is defined in two places: 1. Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\math.h 2. gpac_extra_libs\faad2\libfaad\common.h To get it to compile, I commented the second one.
Compiling libfaad on Windows
https://api.github.com/repos/gpac/gpac/issues/870/comments
1
2017-07-10T23:52:23Z
2017-08-07T09:56:20Z
https://github.com/gpac/gpac/issues/870
241,884,715
870
[ "gpac", "gpac" ]
I tried to build GPAC on Windows according to the instructions provided here: [Command-line GPAC compiling on Windows (x86) using free Microsoft Visual C++](https://gpac.wp.imt.fr/2011/04/18/command-line-gpac-compiling-on-windows-x86-using-free-microsoft-visual-c/) The batch file CopyLibs2Public.bat in gpac_extra_libs that you get by calling `svn co svn://svn.code.sf.net/p/gpac/code/trunk/gpac_extra_libs/ ` is old and different than the one stored here: http://download.tsi.telecom-paristech.fr/gpac/gpac_extra_libs.zip Here you can see [the difference](https://www.diffchecker.com/Tq8PemaZ). Also, in both versions the link https://ftp.mozilla.org/pub/mozilla.org/mozilla.org/xulrunner/releases/7.0.1/sdk/xulrunner-7.0.1.en-US.win32.sdk.zip is broken and should be replaced by https://ftp.mozilla.org/pub/xulrunner/releases/7.0.1/sdk/xulrunner-7.0.1.en-US.win32.sdk.zip And "dektec_dtapi_5.2.zip" does not exist in gpac_extra_libs folder.
CopyLibs2Public
https://api.github.com/repos/gpac/gpac/issues/869/comments
3
2017-07-10T23:28:16Z
2017-09-04T10:51:54Z
https://github.com/gpac/gpac/issues/869
241,881,111
869
[ "gpac", "gpac" ]
Hello guys, I have encoded different videos using FFmpeg. Then I wanted to segment them using DashCast, however, I realised that I have to introduce a configuration file. If I do that, this would mean the encoded files from FFmpeg will be encoded again!! Is there any way I can disable using -conf option and just make DashCast only doing segmentations for the existing videos. The encoded videos are .mp4 Thanks
DashCast's config file
https://api.github.com/repos/gpac/gpac/issues/867/comments
2
2017-07-09T15:54:09Z
2017-07-11T11:01:29Z
https://github.com/gpac/gpac/issues/867
241,533,673
867
[ "gpac", "gpac" ]
I have read this topic and various gpac blogs but don't have the clear answer. https://github.com/gpac/gpac/issues/521 **I have a 3min(180sec) videofile** dashed to 6sec segment files. **I need later run separate processes** to split subtitle-langx-ttml.xml files. **Subtitles don't span over the entire video duration,** some files may have just 00:10-00:40(30sec) of text elements. What is the best way to serve ttml.xml content so that playback does not interrupt at 00:40 for 404NotFound subtitle.m4s errors? 1. Use `:dur=180` attribute for subtitle.mp4 input file, do not place an empty placeholder P text element to the end of xml file? Last text element is cloned on remaining segment files however not rendered anymore. 2. Use `:dur=180` attribute for subtitle.mp4 input file, add an empty 1sec begin=00:41/end=00:42 placeholder P text element to the end of xml file? Remaining segment files have an empty text element however not rendered. 3. Modify sub-ttml.xml file to have an empty P text element spanned over begin=00:41/end=03:00 duration? Does not sound a good solution. 4. Something else available in mp4box tool or best practices being used? ``` mp4box -add subeng.xml:ext=ttml -new temp-subtitles.mp4 mp4box -dash 12000 -mem-frags -profile dashavc264:live -bs-switching no -sample-groups-traf -single-traf -subsegs-per-sidx 1 -segment-name "$RepresentationID$/sub_$Number$$Init=i$" -out temp-subtitles.mpd "temp-subtitles.mp4:dur=180:id=subeng" - - - - - <AdaptationSet segmentAlignment="true" lang="eng" mimeType="application/mp4" codecs="stpp" contentType="text"> <SegmentTemplate timescale="1000" media="$RepresentationID$/sub_$Number$.m4s" startNumber="1" duration="12000" initialization="$RepresentationID$/sub_i.mp4"/> <Representation id="sub_eng" startWithSAP="1" bandwidth="1577"> </Representation> </AdaptationSet> ```
Dashing a short subtitle-TTML.xml file to the longer video, splitting not run at the same time?
https://api.github.com/repos/gpac/gpac/issues/866/comments
8
2017-07-07T12:59:18Z
2019-07-01T19:31:25Z
https://github.com/gpac/gpac/issues/866
241,256,410
866
[ "gpac", "gpac" ]
Hello, I have two MP4 videos encoded using SHVC reference software SHM12.3; one with one layer only (out.mp4) and the second with 2 layers (out2l.mp4). MP4Client is able to play the first version, but unable to play the second (with 2 layers). The command I used is `MP4Client out.mp4` for the first version, and although it plays out the video, I get the following error in terminal: `[Compositor2D] Cannot attach video surface memory to raster: Feature Not Supported` For the second version: `MP4Client out2l.mp4` the video doesn't play at all, and I get the following in the terminal: `[Codec] ODM1 ES2: Cannot find decoder for stream type MPEG-H L-HEVC Video Stream Setup Failure: Media Codec not found [Compositor2D] Cannot attach video surface memory to raster: Feature Not Supported` Both videos are encoded using the same SHM12.3 software, the only difference is with the number of layers. The two videos can be downloaded from [this link](https://drive.google.com/file/d/0BzO-c87ZZxWAUE53dGNFM3pCTEE/view?usp=sharing) How can I add SHVC decoder to MP4Client? And why does this error show only when I have a video of 2 layers? P.S. I can play both videos on VLC player
MP4Client unable to play SHVC-encoded video
https://api.github.com/repos/gpac/gpac/issues/865/comments
19
2017-07-06T11:26:48Z
2018-05-25T11:45:16Z
https://github.com/gpac/gpac/issues/865
240,925,915
865
[ "gpac", "gpac" ]
I have a sample taken from Blu-ray muxed to mp4 using mp4box. Playback in MPC-HC/LAV and ffplay is partly broken (it seems at least first and last 2(?) GOPs make screen grey and/or playback stop). When remuxing using ffmpeg -i "output.mp4" -c copy "remux.mp4" ffmpeg throws some errors: ```[mp4 @ 0000000002f0f020] Non-monotonous DTS in output stream 0:0; previous: -400 4, current: -4004; changing to -4003. This may result in incorrect timestamps in the output file. [mp4 @ 0000000002f0f020] Non-monotonous DTS in output stream 0:0; previous: -400 3, current: -4004; changing to -4002. This may result in incorrect timestamps in the output file. [mp4 @ 0000000002f0f020] Non-monotonous DTS in output stream 0:0; previous: -400 2, current: -4004; changing to -4001. This may result in incorrect timestamps in the output file. [mp4 @ 0000000002f0f020] Non-monotonous DTS in output stream 0:0; previous: -400 1, current: -4004; changing to -4000. This may result in incorrect timestamps in the output file. ``` I have uploaded the sample to the MediaFire dropbox. To test I used a simple "_mp4box -add input.264 -output.mp4_". Version is latest nightly (gpac-0.7.2-DEV-rev175-ga99b084-master-win32.exe). FWIW mkvtoolnix also had problems with this Blu-ray that now got fixed. Maybe their findings can give you a hint about what's going wrong: [https://github.com/mbunkus/mkvtoolnix/issues/2028#issuecomment-312566525](https://github.com/mbunkus/mkvtoolnix/issues/2028#issuecomment-312566525)
non-monotonous timestamps when muxing certain AVC/H.264 sample
https://api.github.com/repos/gpac/gpac/issues/864/comments
3
2017-07-04T21:12:02Z
2019-07-02T12:34:26Z
https://github.com/gpac/gpac/issues/864
240,498,203
864
[ "gpac", "gpac" ]
Hello , i don"t know how make gpac working in my pc , can u help me please ?
question
https://api.github.com/repos/gpac/gpac/issues/863/comments
1
2017-07-01T08:07:20Z
2017-07-17T13:27:16Z
https://github.com/gpac/gpac/issues/863
239,935,255
863
[ "gpac", "gpac" ]
After some time running the video is freezed. In my opinion there is something wrong with the the audio video sync but I don't now what is the reason; or maybe It has to do with the GOP length and the -dash-live parameter. The Average GOP length is 48 samples and I was running the following MP4Box command: `MP4Box -subdur 6000 -dash-live 2000 -profile "dashavc264:live" -mpd-title "DASH-LIVE stream" -rap -frag-rap -insert-utc -mpd-refresh 6 -time-shift 6 -min-buffer 2000 -bs-switching no -segment-name piece_live%s -dynamic -out reencoded_audiolive.mpd reencoded48_audio.mp4#video reencoded48_audio.mp4#audio` I read the @rbouqueau article https://gpac.wp.imt.fr/2015/11/02/check-key-frame-alignment-with-mp4box/ but I didn't understood how to configure the GOP and the dash-live DUR parameters. Could someone help me with the relation between GOP and DUR and how to fix this? Thanks!
After some time running the video is freezed (dash-live) [proposed Label] help wanted
https://api.github.com/repos/gpac/gpac/issues/862/comments
13
2017-06-29T11:18:05Z
2017-07-28T12:24:58Z
https://github.com/gpac/gpac/issues/862
239,445,595
862
[ "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/ I am having a problem where mp4box exits early when trying to dash live. My setup is as follows: A "remote client" streams from a webcam with ffmpeg: ffmpeg -f dshow -i video="HP HD Webcam" -f dshow -i audio="Microphone (Realtek High Definition Audio)" -c:v libx264 -r 30 -rtbufsize 100M -f mpegts -movflags frag_keyframe+empty_moov -frag_duration 2 -force_key_frames expr:gte(t,n_forced*2.0) -c:a aac udp://localhost:8080/liveTest The server reads the stream with ffmpeg, and saves it to a file: ffmpeg -i udp://localhost:8080/liveTest -c:v libx264 -rtbufsize 100M -an -f mp4 -movflags frag_keyframe+empty_moov -frag_duration 2 -force_key_frames expr:gte(t,n_forced*2.0) d:\test\out.video.mp4 -c:a aac -vn -frag_duration 2 d:\test\out.audio.mp4 And mp4box dashes the video/audio for the DASH-IF player: MP4Box -dash-live 2000 -rap -frag-rap -subdur 2000 -profile "dashavc264:live" -bs-switching no -dynamic -mpd-refresh 60 -time-shift 10800 -insert-utc -out d:\test\liveTest.mpd d:\test\out.video.mp4 d:\test\out.audio.mp4 Note: I am testing this on a single machine, so the remote client and server are the same for right now. MP4Box runs for a few iterations, but always exits with an "Error DASHing file: Bad Parameter": D:\test>mp4box.exe -dash-live 2000 -rap -frag-rap -subdur 2000 -profile "dashavc264:live" -bs-switching no -dynamic -mpd-refresh 60 -time-shift 10800 -insert-utc -out d:\test\liveTest.mpd d:\test\out.video.mp4 d:\svt\videos\aLiveT est\out.audio.mp4 Live DASH-ing - press 'q' to quit, 's' to save context and quit [DASH] WARNING! DASH Live profile requested but no -segment-name using "%s_dash" by default DASH-ing files: 2.00s segments 2.00s fragments single sidx per segment Spliting segments and fragments at GOP boundaries DASHing file d:\test\out.video.mp4 DASHing file d:\test\out.audio.mp4 [DASH] Segment duration is smaller than required (require 2 s but DASH-ing only 1.98469 s) [DASH] Generating MPD at time 2017-06-27T22:04:00.297Z [DASH] Current Period Duration: 2 Next generation scheduled in 1942 ms (DASH time 2000 ms) Slept for 1942 ms before generation DASH-ing files: 2.00s segments 2.00s fragments single sidx per segment Spliting segments and fragments at GOP boundaries DASHing file d:\test\out.video.mp4 DASHing file d:\test\out.audio.mp4 [DASH] Segment duration is smaller than required (require 2 s but DASH-ing only 1.99791 s) [DASH] Generating MPD at time 2017-06-27T22:04:02.275Z [DASH] Current Period Duration: 4 Next generation scheduled in 1964 ms (DASH time 4000 ms) Slept for 1964 ms before generation DASH-ing files: 2.00s segments 2.00s fragments single sidx per segment Spliting segments and fragments at GOP boundaries DASHing file d:\test\out.video.mp4 [DASH] Segment duration is smaller than required (require 2 s but DASH-ing only 0.466667 s) DASHing file d:\test\out.audio.mp4 [DASH] Segment duration is smaller than required (require 2 s but DASH-ing only 1.99592 s) [DASH] Generating MPD at time 2017-06-27T22:04:04.272Z [DASH] Current Period Duration: 6 Next generation scheduled in 1945 ms (DASH time 5976 ms) Slept for 1944 ms before generation DASH-ing files: 2.00s segments 2.00s fragments single sidx per segment Spliting segments and fragments at GOP boundaries DASHing file d:\test\out.video.mp4 DASHing file d:\test\out.audio.mp4 [DASH] Segment duration is smaller than required (require 2 s but DASH-ing only 1.99794 s) [DASH] Generating MPD at time 2017-06-27T22:04:06.255Z [DASH] Current Period Duration: 8 Next generation scheduled in 1959 ms (DASH time 7973 ms) Slept for 1958 ms before generation [DASH] Generating segments and MPD 0.978 seconds too late DASH-ing files: 2.00s segments 2.00s fragments single sidx per segment Spliting segments and fragments at GOP boundaries DASHing file d:\test\out.video.mp4 DASHing file d:\test\out.audio.mp4 Error while DASH-ing file: Bad Parameter Error DASHing file: Bad Parameter I ran this in the debugger, and the Bad Parameter error comes from the file stbl_read.c, from the line: ''' if (SampleNumber > sdep->sampleCount) return GF_BAD_PARAM; ''' I noticed before the Bad Parameter error, there was always a previous DASH iteration that dashes less than the expected 2s segment. (In the above example, one iteration only dashes 0.4667 of the 2s segment). I wonder if that is the real cause of the problem, and after that happens mp4box is out of sync. I checked the source video, and verified there are I-frames at every 2s, and nothing in between, so I don't know why mp4box segments at 0.4667s. The above results are from a code I built today (27-Jun-2017). Note I built from the gpac_mp4box_mini.sln. Also note I don't have the same problem with an old 0.5.2 build from a long time ago. That build will continue DASHing the file indefinitely. However, I have a different problem with that build, where it seems mp4box DASHes slightly slower than the playback, so the player eventually gets ahead of the available segments and stops playing. But that's an old build, and I figure everyone would rather focus on the problem with the most recent build.
MP4Box exits with "Bad Parameter" error when trying to dash live
https://api.github.com/repos/gpac/gpac/issues/860/comments
6
2017-06-27T22:51:00Z
2017-07-21T07:18:15Z
https://github.com/gpac/gpac/issues/860
239,005,796
860
[ "gpac", "gpac" ]
We are generating mpeg-dash live stream with the help of mp4box and test-engine-live tool. After packaging the manifest file validation gives us error on "Availability Start time" Error description: Start MPD validation ==================== Line:Col[10:21]:cvc-datatype-valid.1.2.1: ’2017-06-22T07:04:64.750Z’ is not a valid value for ‘dateTime’. Line:Col[10:21]:cvc-attribute.3: The value ’2017-06-22T07:04:64.750Z’ of attribute ‘availabilityStartTime’ on element ‘MPD’ is not valid with respect to its type, ‘dateTime’. Line:Col[10:21]:Invalid value 64 for Second field. MPD validation not successful – DASH is not valid! Invalid MPD file is available in this location for your reference - http://www.mediafire.com/file/w6vpmjx5zw3wxpm/live.mpd What will be the cause? If any additional details required we will provide you for analysis. Thanks, Natarajan S - [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/
Availability start time is wrongly mentioned in Manifest file
https://api.github.com/repos/gpac/gpac/issues/859/comments
2
2017-06-22T09:21:10Z
2019-07-02T12:28:43Z
https://github.com/gpac/gpac/issues/859
237,782,638
859
[ "gpac", "gpac" ]
DASH specifies a normative XSD with a fixed order of elements. It requires ContentProtection to be present before Role. However, mp4box generates the opposite order. Version: gpac-0.7.2-DEV-rev133-g732afbe-master-x64 Command: `mp4box.exe -dash-strict 4000 -out out/Manifest.mpd -profile "dashavc264:live" -bs-switching no video-H264-288-400k.mp4:role=main` Input files: [video-H264-288-400k.zip](https://github.com/gpac/gpac/files/1084433/video-H264-288-400k.zip) Expected behavior: ```xml <AdaptationSet segmentAlignment="true" maxWidth="512" maxHeight="288" maxFrameRate="24" par="16:9" lang="und"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="3018ca15-3a0f-40b4-974d-6557c6542efa"/> <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/> ``` Actual behavior ```xml <AdaptationSet segmentAlignment="true" maxWidth="512" maxHeight="288" maxFrameRate="24" par="16:9" lang="und"> <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="3018ca15-3a0f-40b4-974d-6557c6542efa"/> ``` Validated with http://dashif.org/conformance
Relative position of "Role" element to "ContentProtection" element in manifest is wrong
https://api.github.com/repos/gpac/gpac/issues/855/comments
1
2017-06-19T09:23:01Z
2019-06-28T22:19:04Z
https://github.com/gpac/gpac/issues/855
236,828,804
855
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! Hi , I am trying to play a dynamic (live manifest)using MP4Client GPAC Player. But i hit with the below error Version used :gpac-0.6.2-DEV-rev1515-g90e8f49-master-x64 OS Windows 7 Enter the absolute URL http://..../manifest.mpd [Terminal] Error fetching mime type for URL http://.../manifest.mpd: IP Connection Failed Cannot open service: IP Connection Failed I have run the osmo in administrator mode I have firewall allowed for this application I am able to get the manifest from this http url by putting it in a firefox or chrome browser Last four lines of help EXPERIMENTAL/UNSTABLE OPTIONS C: Enable Streaming Cache S: Stops Streaming Cache and save to file A: Aborts Streaming Cache M: specifies video cache memory for 2D objects MP4Client - GPAC command line player - version 0.6.2-DEV-rev1515-g90e8f49-mas GPAC Written by Jean Le Feuvre (c) 2001-2005 - ENST (c) 2005-200X Please let me know what could be the problem
Cannot open service: IP Connection Failed while playing live manifest from OSMO MP4CLient
https://api.github.com/repos/gpac/gpac/issues/854/comments
13
2017-06-19T07:19:53Z
2018-08-31T09:13:52Z
https://github.com/gpac/gpac/issues/854
236,800,340
854
[ "gpac", "gpac" ]
Hi, I have 264mb of M4A files that I am trying to concate into a single file using the `-cat` option. Unfortunately I only have 500mb of useable space (it's an AWS Lambda function) and so I collect the files one at a time, 'cat' them into the growing combined file, then clean up. This works great until I get close to the 250mb mark, at which point the temp file cannot be created. Is there any way to 'cat' the files directly into the target, without creating a temp file first? All the files are 100% the same in encoding, frequency, channels. Many thanks, Geoff
Avoiding the Temp file
https://api.github.com/repos/gpac/gpac/issues/852/comments
6
2017-06-16T00:52:15Z
2017-06-16T13:04:03Z
https://github.com/gpac/gpac/issues/852
236,352,073
852
[ "gpac", "gpac" ]
- [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 Greetings, I followed this blog post to generate a MPEG DASH tiled HEVC stream: https://gpac.wp.imt.fr/2016/05/25/srd/ So, now i have the mpd and m4s files for each tile each second with different qualities. I would like to ask how i can choose offline a prespecified qualities for each tile each second and decode these tile qualities each second and concatenate them to produce a YUV stream or even an HEVC stream of different tile qualities that i can use an HEVC decoder to get the YUV file. So, can i use the source code APIs to do such a thing ? Best Regards, Omar Eltobgy
Getting YUV file out of the dashed files
https://api.github.com/repos/gpac/gpac/issues/851/comments
1
2017-06-15T20:10:16Z
2017-06-16T05:19:15Z
https://github.com/gpac/gpac/issues/851
236,300,414
851
[ "gpac", "gpac" ]
Version: gpac-0.7.2-DEV-rev105-gbdd7fde-master-x64 Command: `mp4box.exe -dash-strict 4000 -out out\Manifest.mpd -profile "dashavc264:live" -sample-groups-traf -bs-switching no SD-1.mp4 SD-2.mp4 HD-1.mp4 HD-2.mp4` Input data: https://media.axprod.net/mp4box/multikey.zip The input data set contains two SD video tracks encrypted with one key and two HD video tracks encrypted with a different key. Expected behavior: representations with different keys are in different adaptation sets. Actual behavior: all representations are in one adaptation set. Relevant references: * DASH-IF IOP 4.0 section 7.7.1 p1 * DASH-IF IOP 4.0 section 7.7.2 p1-2 * DASH-IF IOP 4.0 section 7.7.5
Dashing tracks with different keys must create multiple adaptation sets
https://api.github.com/repos/gpac/gpac/issues/849/comments
3
2017-06-15T07:22:50Z
2017-06-15T13:30:24Z
https://github.com/gpac/gpac/issues/849
236,099,413
849
[ "gpac", "gpac" ]
I met a problem when I try to install the gpac pulled from the git. The error listed here. ` /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../bin/gcc/libgpac_static.a(tripledes.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../bin/gcc/libgpac_static.a(arith_decoder.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../bin/gcc/libgpac_static.a(predictive_mffield.o) has no symbols ld: warning: ignoring file /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64): /usr/local/lib/libz.dylib Undefined symbols for architecture x86_64: "_deflate", referenced from: _gf_gz_compress_payload in base_encoding.o _gf_import_nhml_dims in media_import.o "_deflateEnd", referenced from: _gf_gz_compress_payload in base_encoding.o _gf_import_nhml_dims in media_import.o "_deflateInit_", referenced from: _gf_gz_compress_payload in base_encoding.o _gf_import_nhml_dims in media_import.o "_deflateSetDictionary", referenced from: _gf_import_nhml_dims in media_import.o "_gzclose", referenced from: _xml_sax_read_file in xml_parser.o _gf_xml_sax_del in xml_parser.o _load_bt_done in loader_bt.o _load_bt_run in loader_bt.o "_gzeof", referenced from: _xml_sax_read_file in xml_parser.o _gf_xml_sax_peek_node in xml_parser.o _gf_bt_check_line in loader_bt.o _gf_bt_get_string in loader_bt.o "_gzgetc", referenced from: _gf_bt_check_line in loader_bt.o "_gzgets", referenced from: _gf_bt_check_line in loader_bt.o _gf_sm_load_bt_initialize in loader_bt.o "_gzopen", referenced from: _gf_xml_sax_parse_file in xml_parser.o _gf_sm_load_bt_initialize in loader_bt.o "_gzread", referenced from: _gf_xml_sax_parse_file in xml_parser.o _xml_sax_read_file in xml_parser.o _gf_xml_sax_peek_node in xml_parser.o "_gzrewind", referenced from: _gf_xml_sax_peek_node in xml_parser.o _gf_bt_peek_node in loader_bt.o "_gzseek", referenced from: _gf_xml_sax_peek_node in xml_parser.o _gf_bt_check_line in loader_bt.o _gf_bt_peek_node in loader_bt.o _gf_sm_load_bt_initialize in loader_bt.o "_gztell", referenced from: _gf_xml_sax_peek_node in xml_parser.o _gf_bt_check_line in loader_bt.o "_inflate", referenced from: _gf_gz_decompress_payload in base_encoding.o _gf_media_export_nhml in media_export.o "_inflateEnd", referenced from: _gf_gz_decompress_payload in base_encoding.o _gf_media_export_nhml in media_export.o "_inflateInit_", referenced from: _gf_gz_decompress_payload in base_encoding.o _gf_media_export_nhml in media_export.o "_uncompress", referenced from: _gf_swf_read_header in swf_parse.o _swf_def_bits_jpeg in swf_parse.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [../bin/gcc/libgpac.dylib] Error 1 make: *** [all] Error 2` Configure information is listed here: ` ** System Configuration Install prefix: /usr/local Source path: /Users/shenglan.huang/lowLatency/gpac C compiler: gcc C++ compiler: g++ make: make CPU: x86_64 Big Endian: no ** GPAC 0.7.2-DEV rev Core Configuration ** debug version: no GProf enabled: no Static build enabled: no Memory tracking enabled: no Fixed-Point Version: no IPV6 Support: yes Static Modules: no ** Detected libraries ** zlib: system OSS Audio: no ALSA Audio: no Jack Audio: no PulseAudio Audio: no DirectFB support: no SDL Support: yes OpenGL support: yes TinyGL support: no OpenSSL support: no Mozilla XUL/GECKO support: no XMLRPC Support: no wxWidgets support: no ** Extra Libraries used ** SpiderMonkey: system FreeType: system JPEG: system OpenJPEG: no PNG: system MAD: system FAAD: system XVID: system FFMPEG: system Xiph OGG: system Platinum UPnP: no AVCap: no Xiph Vorbis: system Xiph Theora: system A52 (AC3): system OpenSVCDecoder: no OpenHEVCDecoder: no Freenect: no Creating config.mak config.h is unchanged Check config.log for detection failures Done - type 'make help' for make info, 'make' to build` Thanks.
Install failure in mac OX
https://api.github.com/repos/gpac/gpac/issues/848/comments
2
2017-06-15T03:22:21Z
2018-08-02T17:43:47Z
https://github.com/gpac/gpac/issues/848
236,066,504
848
[ "gpac", "gpac" ]
Hello there, I am running DashCast on the server side for VoD streaming, and the bitrates (250,500,1000,2000Kbps) are done via a config file. I want to do further evaluation but I want to get the size (bitrate) of each frame once the segmentation is occur. Is there any way I can extract all frames or segments' information from either DashCast command line or in MP4Client? Thanks Irrz - [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/
MP4Client log file
https://api.github.com/repos/gpac/gpac/issues/846/comments
1
2017-06-08T15:03:37Z
2017-06-28T13:12:09Z
https://github.com/gpac/gpac/issues/846
234,558,273
846
[ "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 ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Hi, I downloaded the latest installers for Windows 64 bit (I tried both _gpac-0.7.0-rev0-gbd5c9af-master-x64_ and _gpac-0.7.2-DEV-rev86-g81601a2-master-x64_), but something seems to be missing in my installation for MP4Client. Here is the error log: > System info: 32651 MB RAM - 24 cores > Modules Found : 34 > Loading GPAC Terminal > [Core] Plugin GPAC 2D Raster not found in 34 modules. > [Compositor] Failed to initialize compositor: I/O Error > GF_COMPOSITOR_THREAD_INIT_FAILED : Deleting compositor. > [Terminal] Failed to create Compositor. > > Init error - check you have at least one video out and one rasterizer... > Found modules: > Available modules: > gm_aac_in.dll > gm_ac3_in.dll > gm_bifs_dec.dll > gm_ctx_load.dll > gm_dektec_out.dll > gm_dummy_in.dll > gm_dx_hw.dll > gm_ffmpeg_in.dll > gm_ft_font.dll > gm_gdip_raster.dll > gm_gpac_js.dll > gm_img_in.dll > gm_ismacryp.dll > gm_isom_in.dll > gm_laser_dec.dll > gm_mp3_in.dll > gm_mpd_in.dll > gm_mpegts_in.dll > gm_mse_in.dll > gm_nvdec.dll > gm_odf_dec.dll > gm_ogg.dll > gm_openhevc_dec.dll > gm_opensvc_dec.dll > gm_platinum.dll > gm_rtp_in.dll > gm_saf_in.dll > gm_soft_raster.dll > gm_svg_in.dll > gm_timedtext.dll > gm_vtt_in.dll > gm_wav_out.dll > gm_widgetman.dll > gm_xvid_dec.dll` I am sure that _GPAC 2D Raster_ was checked during the installation. On the same PC, version 0.6.1 worked fine. Thanks for any feedback!
MP4client not working with Win64 installer (gpac-0.7.0-rev0-gbd5c9af-master-x64 and gpac-0.7.2-DEV-rev86-g81601a2-master-x64)
https://api.github.com/repos/gpac/gpac/issues/843/comments
4
2017-06-07T12:49:44Z
2017-06-08T12:53:06Z
https://github.com/gpac/gpac/issues/843
234,198,100
843
[ "gpac", "gpac" ]
Apple has already supported fragment MP4. According to https://developer.apple.com/videos/play/wwdc2016/504/ this video, the Fairplay encryption mode of fragment MP4 should be 'cbcs'. In addition to this, I can't find any demo or tutorial about 'cbcs' working with fragment MP4. Can mp4box encrypt MP4 file for Fairplay? Thanks
How can I encrypt MP4 file for Fairplay DRM?
https://api.github.com/repos/gpac/gpac/issues/842/comments
1
2017-06-07T09:50:31Z
2022-09-29T04:11:15Z
https://github.com/gpac/gpac/issues/842
234,153,649
842
[ "gpac", "gpac" ]
Hello there, I am running DashCast on the server side for VoD streaming, and the bitrates are done via a config file. I want to do further evaluation but I want to get the size (bitrate) of each frame once the segmentation is occur. Is there any way I can extract all frames or segments' information? Thanks Irrz
How to fetch the log file
https://api.github.com/repos/gpac/gpac/issues/841/comments
1
2017-06-06T23:53:45Z
2017-06-19T08:22:06Z
https://github.com/gpac/gpac/issues/841
234,054,964
841
[ "gpac", "gpac" ]
Please add the latest changes to the Changelog. The Changelog is very helpful for packaging. Thank you.
Changelog outdated
https://api.github.com/repos/gpac/gpac/issues/840/comments
1
2017-06-06T15:19:21Z
2017-06-28T13:19:10Z
https://github.com/gpac/gpac/issues/840
233,928,203
840
[ "gpac", "gpac" ]
**Test files** http://akini.mbnet.fi/videos/test-dash1/ http://akini.mbnet.fi/videos/test-dash1/dash/ http://akini.mbnet.fi/videos/test-dash1/dash/manifest.mpd http://akini.mbnet.fi/videos/test-dash1/dash/manifest_orig.mpd MP4Box inserts both $Number$ and $Time$ substitutes to the media url mask value. Segment files use a 1..n sequence numbers (1080p_i.mp4, 1080p_1.m4s, 1080p_2.m4s, 1080p_3.m4s ...). Manifest works fine if I remove $Time$ variable from the value, see manifest.mpd test link above. ``` <SegmentTemplate timescale="1000" media="$RepresentationID$_$Number$$Time$.m4s" startNumber="1" initialization="$RepresentationID$_i.mp4"> <SegmentTimeline> <S t="0" d="12000" r="6"/> <S d="6000"/> </SegmentTimeline> </SegmentTemplate> <SegmentTemplate timescale="1000" media="$RepresentationID$_$Number$$Time$.m4s" startNumber="1" initialization="$RepresentationID$_i.mp4"> <SegmentTimeline> <S t="0" d="11968"/> <S d="11989"/> <S d="11990"/> <S d="11989" r="1"/> <S d="11990"/> <S d="11989"/> <S d="6096"/> </SegmentTimeline> ``` ``` mp4box.exe -version MP4Box - GPAC version 0.7.2-DEV-rev86-g81601a2f2-ab-suite GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/local64 --disable-shared --enable-static --static-mp4box Features: GPAC_64_BITS GPAC_DISABLE_3D mp4box -dash 12000 -frag 12000 -mem-frags -rap -profile dashavc264:live ^ -profile-ext "urn:hbbtv:dash:profile:isoff-live:2012" ^ -mpd-title "" -mpd-info-url "" ^ -bs-switching no -sample-groups-traf -single-traf -subsegs-per-sidx 1 ^ -segment-name "$RepresentationID$_$Number$$Init=i$" -segment-timeline ^ -out "manifest_orig.mpd" ^ "temp-360p.mp4#trackID=1:id=360p" ^ "temp-720p.mp4#trackID=1:id=720p" ^ "temp-1080p.mp4#trackID=1:id=1080p" ^ "temp-128k.mp4#trackID=1:id=128k" ```
MP4Box dash writes $RepresentationID$_$Number$$Time$.m4s media url value.
https://api.github.com/repos/gpac/gpac/issues/839/comments
8
2017-06-06T08:06:56Z
2017-07-12T06:40:59Z
https://github.com/gpac/gpac/issues/839
233,810,872
839
[ "gpac", "gpac" ]
**Test files** http://akini.mbnet.fi/videos/test-dash1/ http://akini.mbnet.fi/videos/test-dash1/temp-info.txt http://akini.mbnet.fi/videos/test-dash1/01_llama_drama_1080p_25fps.mp4 http://akini.mbnet.fi/videos/test-dash1/dash/manifest.mpd http://dashif.org/reference/players/javascript/v2.5.0/samples/dash-if-reference-player/index.html?url=http://akini.mbnet.fi/videos/test-dash1/dash/manifest.mpd&autoplay=true video streams: temp-1080p.mp4, temp-720p.mp4, temp-360.mp4 (h264, 25fps, 25gop closed) audio stream: temp-128k.mp4 (aac, 128k, stereo) Original input for separate bitrate files is a link to llama_drama video file. Video segments are using an even duration but audio durations fluctuates "randomly". **Is there something I could do make audios use an even length as well?** See this snippet what I mean, a full mpd is visible in a test links above. ``` <SegmentTemplate timescale="1000" media="$RepresentationID$_$Number$.m4s" startNumber="1" initialization="$RepresentationID$_i.mp4"> <SegmentTimeline> <S t="0" d="12000" r="6"/> <S d="6000"/> </SegmentTimeline> </SegmentTemplate> <SegmentTemplate timescale="1000" media="$RepresentationID$_$Number$.m4s" startNumber="1" initialization="$RepresentationID$_i.mp4"> <SegmentTimeline> <S t="0" d="11968"/> <S d="11989"/> <S d="11990"/> <S d="11989" r="1"/> <S d="11990"/> <S d="11989"/> <S d="6096"/> </SegmentTimeline> </SegmentTemplate> ``` This is ffmpeg encoding commands for video streams and audio stream. ``` ffmpeg -i "input.mp4" -preset fast -c:v libx264 -profile:v main -level 4.0 -s:v 1920x1080 -b:v 3200k \ -refs 3 -bf 3 -r 25 -g 25 -keyint_min 25 \ -b_strategy 1 -flags +cgop -sc_threshold 0 \ -an -y "temp-1080p.mp4" ffmpeg -i "input.mp4" -c:a aac -strict experimental -b:a 128k -maxrate:a 128k -bufsize:a 128k \ -af aresample=48000 -ar 48000 -ac 2 \ -vn -y "temp-128k.mp4" ``` ``` mp4box.exe -version MP4Box - GPAC version 0.7.2-DEV-rev86-g81601a2f2-ab-suite GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/local64 --disable-shared --enable-static --static-mp4box Features: GPAC_64_BITS GPAC_DISABLE_3D mp4box -dash 12000 -frag 12000 -mem-frags -rap -profile dashavc264:live ^ -profile-ext "urn:hbbtv:dash:profile:isoff-live:2012" ^ -mpd-title "" -mpd-info-url "" ^ -bs-switching no -sample-groups-traf -single-traf -subsegs-per-sidx 1 ^ -segment-name "$RepresentationID$_$Number$$Init=i$" -segment-timeline ^ -out "manifest_orig.mpd" ^ "temp-360p.mp4#trackID=1:id=360p" ^ "temp-720p.mp4#trackID=1:id=720p" ^ "temp-1080p.mp4#trackID=1:id=1080p" ^ "temp-128k.mp4#trackID=1:id=128k" ```
Dash audio segments with segment timeline: implement timescale equal to sample rate
https://api.github.com/repos/gpac/gpac/issues/838/comments
7
2017-06-06T07:55:50Z
2017-07-28T12:26:55Z
https://github.com/gpac/gpac/issues/838
233,808,259
838
[ "gpac", "gpac" ]
On the page https://gpac.wp.imt.fr/downloads/ all but the .zip and .tar.gz is linking to http instead of https and is therefore open to be exploited. Please changes them to https.
Download open up for man-in-the-middle attack
https://api.github.com/repos/gpac/gpac/issues/837/comments
3
2017-06-04T11:39:10Z
2017-06-06T08:02:50Z
https://github.com/gpac/gpac/issues/837
233,428,218
837
[ "gpac", "gpac" ]
(Windows 10, 64bit) Run git pull to update most recent files, media-autobuild_suite.bat script fails on the libbluray compilation. **Java class versions** J2SE8 = 52, J2SE7 = 51 I have the following folders but just JDK1.7 is installed and be visible in winregistry. JDK1.8 folder is unzipped without running setup.exe (zero-installation scheme). C:\Program Files\Java\jdk1.7.0_75 C:\Program Files\Java\jdk1.8.0_112 **Winregistry** ``` Computer\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\ CurrentVersion=1.7 Computer\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.7 JavaHome=C:\Program Files\Java\jdk1.7.0_75 ``` I suspect build scripts take JDK1.8 folder and libbluray fails or some of the compilations use JDK1.8 and some part JDK1.7 thus creating a mismatch in class version magic number. Helper function `build/media-suite_helper.sh/get_java_home()` is looking for registry value so it should take JDK1.7 release. I cannot verify which version was taken, script is using echo command to print value somewhere but none of the logfiles has it. Is this a common problem and ideas to solve this? I cannot move jdk1.8 folder anywhere else at the moment actually windows locks a folder cannot even rename it. > > dvdnav git ................................................ [Up-to-date] > Running git update for libbluray... > ┌ libbluray git ..................................... [Recently updated] > ├ Running autoreconf... > ├ Running ant-diagnostics... > Likely error: > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482) > Exception in thread "main" ant-diagnostics failed. Check C:/projects/media-autobuild_suite/media-autobuild_suite/build/libbluray-git/ab-suite.ant-diagnostics.log > This is required for other packages, so this script will exit. > Creating diagnostics file... > > All relevant logs have been anonymously uploaded to https://0x0.st/69n.zip > Copy and paste [logs.zip](https://0x0.st/69n.zip) in the GitHub issue. > > CFLAGS: -mthreads -mtune=generic -O2 -pipe LDFLAGS: -pipe -static-libgcc -static-libstdc++ ant -diagnostics java.lang.UnsupportedClassVersionError: org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0 `
WRONG project libbluray failed on java.lang.UnsupportedClassVersionError major.minor version 52.0
https://api.github.com/repos/gpac/gpac/issues/836/comments
1
2017-06-02T12:39:30Z
2017-06-02T13:09:42Z
https://github.com/gpac/gpac/issues/836
233,170,075
836
[ "gpac", "gpac" ]
Hi, first of all, i'm not sure if this is a bug or a misuse of the tool. I've searched for similar issues and didn't find anything alike. I´m trying to generate dash live streaming with ffmpeg and mp4box. I'm using ffmpeg to generate a file(black background with a burned TC) and then feed mp4box with the growing file. Commands: `ffmpeg -re -f lavfi -i color=s=nhd -map 0:v -filter_complex drawtext="fontfile='FreeSans.ttf':timecode='00\:00\:00\:00': r=25: x=(w-tw)/2: y=(h-th)/25: fontcolor=white: fontsize=42: box=1: boxcolor=0x00000099" -vcodec libx264 -g 1 -b:v 800k -pix_fmt yuv422p -movflags empty_moov+omit_tfhd_offset+frag_keyframe+default_base_moof -f mp4 -frag_duration 2 -y /tmp/longTC_2.mp4` `mp4box -dash-live 2000 -fps 25 -frag 1000 -profile "dashavc264:live" -mpd-title "DASH-LIVE stream" -rap -frag-rap -insert-utc -mpd-refresh 30 -time-shift 1200 -min-buffer 2000 -bs-switching no -out /streaming/live/dash.mpd /tmp/longTC_2.mp4:role=main` Also tested with: `mp4box -dash-ctx /streaming/live/dash-live.txt -dash-live 2000 -profile "dashavc264:live" -mpd-title "DASH-LIVE stream" -ast-offset 12 -no-frags-default -rap -frag-rap -insert-utc -mpd-refresh 30 -time-shift 1200 -min-buffer 2000 -bs-switching no -out /streaming/live/dash.mpd -subsegs-per-sidx -1 /tmp/longTC_2.mp4:role=main` (and multiple variants: -last-dynamic, add id to period, long etc ) The result is always the same, when the live session is launched, mp4box packages the whole mp4 file generated by ffmpeg available at the moment and goes to slept until the next iteration (the next lines corresponds to an execution that the file already had 1m1s of duration ) > Live DASH-ing - press 'q' to quit, 's' to save context and quit Next generation scheduled in 61338 ms (DASH time 61520 ms) In the next scheduled: > Live DASH-ing - press 'q' to quit, 's' to save context and quit Next generation scheduled in 61338 ms (DASH time 61520 ms) Slept for 2665038 ms before generation Next generation scheduled in 61492 ms (DASH time 123040 ms) The result is that the segments are being regenerated from the beginning of the file (it looks like it's resetting the file pointer or not seeking to the last position ), so: longTC_2_dash0.m4s has burned TC 00:00:00:00 and longTC_2_dash30..3N.m4s has burned TC 00:00:00:00 again If you concatenate all files and play them with ffplay (for example) you can see the loop: `cat longTC_2_dashinit.mp4 $(ls -vx longTC_2_dash*.m4s) > fullfileconcat.mp4` NOTE: the init file (longTC_2_dashinit.mp4) contains the box 'mvex' which in turn contains box 'mehd'. this box indicates the expected time of the segment set. This time is filled with the first available packet (in this case 61520) and never updated, so in order to play the concatenated file it would be necessary to open it with a hex editor and just skip this box. I left in dropbox all the files that are generated and the concatenated one (loop_dash_live_issue_835) Any ideas will be appreciated This issue happens with the 0.7.0-rev0-gbd5c9af-master version and with the development branch from github. Tested both on windows 10 and ubuntu 16.04. Thanks in advance and sorry for my bad english :)
Loop in dash-live with growing file
https://api.github.com/repos/gpac/gpac/issues/835/comments
6
2017-06-01T12:12:50Z
2019-06-29T13:31:27Z
https://github.com/gpac/gpac/issues/835
232,858,961
835
[ "gpac", "gpac" ]
There is a issue with qsvenc both avc and hevc. https://github.com/stax76/staxrip/issues/188
qsvenc output fails to mux
https://api.github.com/repos/gpac/gpac/issues/834/comments
17
2017-05-30T12:30:08Z
2017-06-01T19:42:09Z
https://github.com/gpac/gpac/issues/834
232,236,753
834
[ "gpac", "gpac" ]
Hi, whenever I import H.264 elemtary streams using mp4box it says "_[avc-h264] Possible Variable Frame Rate: VUI "fixed_frame_rate_flag" absent._". This even happens with samples that do have said flag set to 1. I haven't seen any actual issues with the output files. Sample "fixed_frame_rate_flag_NOT_absent.264" uploaded to MediaFire. mp4box is latest Windows nightly (gpac-0.7.2-DEV-rev67-g975c0eb-master-win32).
mp4box says "VUI "fixed_frame_rate_flag" absent." but it's actually not absent.
https://api.github.com/repos/gpac/gpac/issues/833/comments
1
2017-05-30T07:14:18Z
2017-05-30T08:41:50Z
https://github.com/gpac/gpac/issues/833
232,161,987
833
[ "gpac", "gpac" ]
1. Encrypt input media - ``` ~ Mp4box -crypt /Users/ani/work/input/crypt.xml -out output/enc-sintel-1024-video.mp4 input/sintel-1024-video.mp4 ``` 2. Create DASH chunks of encrypted media - ``` ~ Mp4box -dash 2000 -profile simple -mpd-refresh 4.0 -rap -segment-name dash_$RepresentationID$_$Number output/enc-sintel-1024-video.mp4 -out output/play.mpd ``` Above workflow worked perfectly in `GPAC version 0.6.1-revrelease` but when I upgraded to `GPAC version 0.7.1-revrelease` encrypted DASH segments stopped working in my player (shaka player). Are there any known issues? I would greatly appreciate any kind of help. Thanks!
Playback of CENC encrypted DASH chunks in version 0.7.1
https://api.github.com/repos/gpac/gpac/issues/832/comments
5
2017-05-22T20:05:33Z
2019-06-28T22:16:01Z
https://github.com/gpac/gpac/issues/832
230,504,096
832
[ "gpac", "gpac" ]
Are filenames with hash/number sign # supported?
Are filenames with hash/number sign # supported?
https://api.github.com/repos/gpac/gpac/issues/831/comments
4
2017-05-21T21:11:21Z
2019-06-28T22:15:06Z
https://github.com/gpac/gpac/issues/831
230,249,157
831
[ "gpac", "gpac" ]
Hello, I am trying to encrypt files with mp4box. It works fine unless I use the same file path for input and output file. (I want it to overwrite the original file with the encrypted file). Following is the error I get: ``` ~ Mp4box -crypt /Users/ani/work/mp4box-crypt/input/crypt.xml -out /Users/ani/work/archive/hd-00002.mp4 /Users/ani/work/archive/hd-00002.mp4 Saving to /Users/ani/work/archive/hd-00002.mp4: 0.500 secs Interleaving [Core] system failure for file opening of out_/Users/ani/work/archive/hd-00002.mp4 in mode w+b: 2 Error: I/O Error Error: I/O Error ``` I am on `MP4Box - GPAC version 0.7.1-revrelease`. I am wondering if this is how it's supposed to work, or if it's a bug?
Encryption: I/O error when input and output file paths are same
https://api.github.com/repos/gpac/gpac/issues/830/comments
2
2017-05-18T22:01:39Z
2017-05-22T19:39:18Z
https://github.com/gpac/gpac/issues/830
229,817,340
830
[ "gpac", "gpac" ]
I can 't play any HLS Stream : I tried several HLS stream with the latest Nightly build on MAC OSX gpac-0.7.2-DEV-rev58-g99b2689-master.dmg Opening URL http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/Manifest(format=m3u8-aapl) [DASH] Error - cannot connect service: MPD creation problem Bad Parameter [MPD_IN] Error - cannot initialize DASH Client for http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/Manifest(format=m3u8-aapl): Bad Parameter Cannot open http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/Manifest(format=m3u8-aapl): Bad Parameter
Cannot Play Any HLS Stream
https://api.github.com/repos/gpac/gpac/issues/828/comments
2
2017-05-17T09:41:39Z
2017-07-17T17:36:04Z
https://github.com/gpac/gpac/issues/828
229,294,248
828
[ "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 ...). I can share files anonymously with dropbox (see links provided below). Hello, I have a 8-minute 360 video that is divided into 5x5 tiles. The video was prepared using the latest version of kvazaar. 2 representations are prepared - 500kbps and 5Mbps. It is then converted into DASH format using the latest version of MP4Box with the following command: `MP4Box -dash 2000 -profile live -out ba.mpd -segment-name segment/%s 500k.mp4 5M.mp4` The whole video set (including MPD file and all segments) can be downloaded at: https://www.dropbox.com/s/hvflbdx442r5y2g/blue-angel.tar.gz?dl=0 I'm streaming the video in a local network setup as follows: [Server] <-> [Network Impairment Node] <-> [Client] where the network impairment node is able to add delays and packet loss to the path (using standard Linux tc netem). While MP4Client can play the video without any problem, I notice that no matter how poor the network is, MP4Client always chooses the 5Mbps representation and does not switch to a lower quality. This causes the video playback to stall every 2 seconds. Looking into the log file (using MP4Client's dash@debug option), which can be downloaded at https://www.dropbox.com/s/39w79kkjfzoixw8/mp4client-400ms.log?dl=0 I can see the following output: `[DASH] Rate Adaptation - download rate 11872 kbps - 3 quality levels (cumulated representations rate 5045 kbps)` while the actual download throughput is less than 1Mbps, which is observed by running Wireshark on the client machine. It's important to note that this issue seems to apply to SRD tiled video only. When I play non-tiled video using the same setup, MP4Client is able to correctly adapt representations based on network condition. Thanks! Chang
MP4Client quality adaptation not working when playing SRD tiled video
https://api.github.com/repos/gpac/gpac/issues/827/comments
8
2017-05-10T11:15:48Z
2019-06-28T22:02:13Z
https://github.com/gpac/gpac/issues/827
227,645,986
827