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" ]
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 ...). ---- Hi, Hope you are doing well. I had more than 2 weeks without testing my script for dash LL and it is no longer working due to a recent regression. My issue today is: ``` [14:48:35.467Z] [Filter] dasher not responding properly: 100000 consecutive process with no packet discarded or sent, but 1 packets pending discarding all inputs and notifying end of stream on all outputs [14:48:43.688Z] Argument "--cdur" was set but not used by any filter ``` My command: ``` gpac -r -i /home/roo/30min_countdown.mp4#video reframer:rt=on @ -o http://localhost:8091/experiment_gpac_template/master.mpd \ --title=ONLY-VIDEO-NO-BEEP-AUDIO --rdirs=/var/www/html \ --asto=7 --buf=-1000 --cdur=1 --segdur=8 --tsb=180 \ --dmode=dynamic --profile=dashif.ll --reqlog=GET \ --cors=true --loop=true --sreg=true --stl=false --tpl=true ``` Sources were uploaded here: https://www.mediafire.com/file/5nqh24jo4j6tky4/made.mp4/file https://www.mediafire.com/file/rayu7qxubydtcqr/30min_countdown.mp4/file Script of installation: ``` # Environnement # dnf remove ffmpeg ffmpeg-libs ffmpeg-compat-devel ffmpeg-devel dnf groupinstall "Development Tools" "Development Libraries" dnf update -v --best --allowerasing dnf clean all && dnf update --releasever=33 dnf install make automake gcc gcc-c++ kernel-devel pkgconfig git scons cmake yasm dnf install zlib-devel freetype-devel libjpeg-turbo-devel libpng-devel libmad-devel faad2-libs libogg-devel libvorbis-devel libtheora libtheora-devel liba52 liba52-devel SDL-devel libXv-devel audiocd-kio-devel audiofile-devel audio-entropyd dnf install xorg-x11-proto-devel xorg-x11-drv-openchrome xvidcore-devel openssl-devel-1\:1.0.2k jack-audio-connection-kit-dbus alsa-lib-devel pulseaudio-libs-devel SDL2-devel dvb-apps libglvnd-opengl jack-audio-connection-kit-devel dnf install libfreenect-devel lzma-sdk-devel mesa-vdpau-drivers mesa-omx-drivers mesa-libxatracker-devel mesa-libgbm-devel mesa-libd3d-devel mesa-libOpenCL-devel mesa-libOSMesa-devel mesa-libGLw-devel mesa-libGL-devel dnf install audacity # Old gpac installation removal rm -Rf gpac_public deps_unix # git clone git clone https://github.com/gpac/gpac gpac_public git clone https://github.com/gpac/deps_unix cd deps_unix git submodule update --init --recursive --force --checkout # building ./build_all.sh linux # visual check echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ ls -l ../gpac_public/extra_lib/lib/gcc/ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ echo ........................ cd ../gpac_public # make preparation make uninstall make distclean ./configure make # make install make install cd .. ``` **Version gpac** - GPAC command line filter engine - version 1.1.0-DEV-rev196-g1b1c3f1ac-master **OS** Fedora 33 Workstation
[Filter] dasher not responding properly
https://api.github.com/repos/gpac/gpac/issues/1638/comments
1
2020-11-05T15:36:31Z
2020-11-06T12:41:36Z
https://github.com/gpac/gpac/issues/1638
737,039,233
1,638
[ "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 ...). # System ubuntu 18.04.3 , gcc version 7.5.0 gpac version [head](https://github.com/gpac/gpac/commit/1b1c3f1ac22fd5346dff8b8fd15bcff67abc8e88) # POC [file](https://www.mediafire.com/file/dkuynsixh2040vs/sample-mp4/file) # Command line `$ MP4Box -dxml sample-mp4 ` # cause result esd in media_export.c:1095 : `{tag = 3 '\003', ESID = 2, OCRESID = 0, dependsOnESID = 0, streamPriority = 0 '\000', URLString = 0x0, decoderConfig = 0x0, slConfig = 0x5555571d4e40, ipiPtr = 0x0, qos = 0x0, RegDescriptor = 0x0, langDesc = 0x0, IPIDataSet = 0x5555571d57f0, IPMPDescriptorPointers = 0x5555571d58b0, extensionDescriptors = 0x5555571d58d0, has_scalable_layers = GF_FALSE, service_url = 0x0}` The esd-> decoderConfig is 0x0(null), but try to get esd->decoderConfig->objectTypeIndication. It is null dereference.
MP4Box causes SIGSEGV in media_export.c:1098
https://api.github.com/repos/gpac/gpac/issues/1637/comments
0
2020-11-05T08:04:34Z
2020-11-12T08:45:00Z
https://github.com/gpac/gpac/issues/1637
736,705,905
1,637
[ "gpac", "gpac" ]
Hello, For a few years I have been using a script with a quite older version of MP4Box to modify the fullrange flag to off in videos from Gopro cameras. The reason was that after editing said videos to reduce file size, the video looked kind of washed out. After research, the reason for that seemed to be that gopro incorrectly flagged the videos as full range colour, when in reality they are limited range. For that reason, I used to modify the fullrange flag to off with the following command on MP4Box - GPAC version 0.4.6-DEV (internal rev. 7) mp4boxmod -add filename.mp4:fullrange=off newFilename.mp4 which solved the problem and produced excellent videos after encoding. Now I have switched to using a newer Gopro 8, which uses h264 + HEVC options. The older Mp4Box would throw an error related to hvc1, so I updated to the latest Mp4Box version MP4Box - GPAC version 1.0.1-rev0-gd8538e8a-master On this newer version when trying to run my command for turning fullrange flag to off I get the following error: Unrecognized import option fullrange=off, ignoring [FileIn] Failed to open C:*Filepath*\GX011821.MP4:fullrange=off [Importer] Cannot load filter for input file "C:*MyFilepath*\GX011821.MP4:fullrange=off" Error importing C:*MyFilepath*\GX011821.MP4:fullrange=off: Requested URL is not valid or cannot be found Has the command been changed /deprecated or am I misusing it?
MP4Box fullrange flag
https://api.github.com/repos/gpac/gpac/issues/1636/comments
1
2020-11-03T21:10:34Z
2020-11-06T12:34:43Z
https://github.com/gpac/gpac/issues/1636
735,637,054
1,636
[ "gpac", "gpac" ]
I want to use libgpac.py to play mpeg dash hevc tiles Is there a template?
How to use libgpac.py to play mpeg dash
https://api.github.com/repos/gpac/gpac/issues/1634/comments
13
2020-11-01T16:56:17Z
2020-11-26T07:14:01Z
https://github.com/gpac/gpac/issues/1634
734,012,130
1,634
[ "gpac", "gpac" ]
Hi -- I am looking to build a MPD with a particular @scheme/@value and a specific brand. For the scheme/value I am looking for "2094-40" per [DASH-IOP](https://dashif-documents.azurewebsites.net/DASH-IF-IOP/master/DASH-IF-IOP.html#codecs-hevc-hdr-smpte209440). For the brand I am trying to make ftyp equal to 'chd1,cdm4'. I've tried the following unsuccessfully and also tried to use gpac instead of mp4box but I couldn't get as far $ mp4box -dash 3000 -brand chd1:cdm4 File.mp4 -out FILE_dash.mpd:kind="http://dashif.org/metadata/hdr"="SMPTE2094-40" For the 'kind' I was expecting to get a new "EssentialProperty" line in the output MPD with the schemeIdURI/value and for the brand I was expecting to have the ftype updated. I'm unable to verify the brand, I used mp4box -diso to dump the ISOBMFF but I don't see the brand values I applied in the command. Best Regards, Bill 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/
Question: How to input a @scheme/@value?
https://api.github.com/repos/gpac/gpac/issues/1632/comments
3
2020-10-29T21:27:02Z
2020-11-13T08:37:59Z
https://github.com/gpac/gpac/issues/1632
732,675,393
1,632
[ "gpac", "gpac" ]
How do `keyRoll="roll=5"` parameter actually works and how do this number relates to segment durations? Say I have a `segment.duration=4s, segment.fragment=1s (four moof/mdat pairs in segX.m4s file), fps=25, gop=50` structure, I would like to test a new key every 3 minutes(180s / 4s = every 45th segment file)? Do keys go around if vod media duration was longer than `keyCount+keyRoll=N` iteration? > roll=N : Common Encryption allows groups of samples within the track to use different keys. The encryption parameters (i.e KID, initialization vector size and encryption flag) are contained in a 'SampleGroupDescriptionBox' and will override the default parameters for this track. If this option is set, each N encrypted samples will share the same key supported by the DRM system. GPAC-DRMSystem example with key rotation in an another issue. https://github.com/gpac/gpac/wiki/Common-Encryption https://github.com/gpac/gpac/issues/1555 ``` <?xml version="1.0" encoding="UTF-8"?> <GPACDRM type="CENC AES-CTR"> <DRMInfo type="pssh" version="1" cypherOffset="9" cypherKey="0x6770616363656E6364726D746F6F6C31" cypherIV="0x00000000000000000000000000000001"> <BS ID128="6770616363656E6364726D746F6F6C31"/> <BS value="4" bits="32"/> <BS ID128="0x279926496a7f5d25da69f2b3b2799a7f"/> <BS ID128="0x597669572e55547e656b56586e2f6f68"/> <BS ID128="0x205b2b293a342f3d3268293e6f6f4e29"/> <BS ID128="0x32783e367c2e4d4d6b46467b3e6b5478"/> <BS bits="8" string="CID=Toto"/>> <BS ID128="0x5544694d47473326622665665a396b36"/> <BS ID128="0x7959493a764556786527517849756635"/> <BS ID128="0x3a4f3674376d6c48675a273464447b40"/> <BS ID128="0x3e213f6d45584f51713d534f4b417855"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="16" first_IV="0x0a610676cb88f302d10ac8bc66e039ed" selectiveType="RAP" saiSavedBox="senc" keyRoll="roll=5"> <key KID="0x279926496a7f5d25da69f2b3b2799a7f" value="0x5544694d47473326622665665a396b36"/> <key KID="0x597669572e55547e656b56586e2f6f68" value="0x7959493a764556786527517849756635"/> <key KID="0x205b2b293a342f3d3268293e6f6f4e29" value="0x3a4f3674376d6c48675a273464447b40"/> <key KID="0x32783e367c2e4d4d6b46467b3e6b5478" value="0x3e213f6d45584f51713d534f4b417855"/> </CrypTrack> </GPACDRM> ```
Playready, Widevine key rotation per X seconds?
https://api.github.com/repos/gpac/gpac/issues/1631/comments
1
2020-10-29T11:38:03Z
2020-11-12T18:34:25Z
https://github.com/gpac/gpac/issues/1631
732,239,011
1,631
[ "gpac", "gpac" ]
I'm far from an expert on MP4box or even CLI but with the help of other's i've managed to semi get where i want to go. I have a ton of video files organised like this ``` <root folder> <Subfolder1> <final folder 1> file1.mp4 file2.mp4 <final folder 2> file1.mp4 <subfolder2> <subfolder3> ``` etc. There's a ton of video files in them all with english audio, but plenty without the proper header so Plex lists them as "Unknown audio". I was referred to MP4box as it should be able to do this, but the ones recommending it to me arent fully versed in it either. I currently have the following line in a batch file in the root folder > for /R %%a in ("*.mp4") do MP4Box -add "%%a#1:lang=en" -add "%%a#2:lang=en" -new "%%~na.mp4" > pause The problem with that is that it creates a new file (probably due to the -new) in the ROOT folder where the batch file is located. I'm trying to UPDATE the existing files with the proper audio language header, and have MP4box place the updated file in the same folder either by simply updating the existing file, or replacing the existing file with the audio flag updated file. Can anyone fix that commandline for me? I'd be very grateful!
Recursive looping through folders
https://api.github.com/repos/gpac/gpac/issues/1630/comments
10
2020-10-26T18:56:24Z
2020-10-27T16:29:06Z
https://github.com/gpac/gpac/issues/1630
729,823,788
1,630
[ "gpac", "gpac" ]
I want to track people in the HEVC TILES video ![image](https://user-images.githubusercontent.com/68137277/97173263-3c283500-17cb-11eb-99cb-5a92ec760c91.png)
Is there any similar Multiple Object Tracking function
https://api.github.com/repos/gpac/gpac/issues/1629/comments
2
2020-10-26T12:41:25Z
2020-10-27T09:17:14Z
https://github.com/gpac/gpac/issues/1629
729,529,231
1,629
[ "gpac", "gpac" ]
I want to track people in the HEVC TILES video ![image](https://user-images.githubusercontent.com/68137277/97173263-3c283500-17cb-11eb-99cb-5a92ec760c91.png)
Is there something like Multiple Object Tracking Features
https://api.github.com/repos/gpac/gpac/issues/1628/comments
1
2020-10-26T12:40:24Z
2020-10-27T08:42:14Z
https://github.com/gpac/gpac/issues/1628
729,528,569
1,628
[ "gpac", "gpac" ]
Hi, Since an open source USAC/xHE-AAC encoder [is now available](https://gitlab.com/ecodis/exhale), it would be great to have its support into gpac library. A sample has been uploaded [here](https://filebin.net/u8vfpxonrwcdjqxj). A basic patch also can be found there : http://pastebin.fr/69313 Thanks in advance. Regards,
USAC/xHE-AAC support
https://api.github.com/repos/gpac/gpac/issues/1627/comments
1
2020-10-22T06:33:59Z
2020-10-22T17:23:09Z
https://github.com/gpac/gpac/issues/1627
727,094,484
1,627
[ "gpac", "gpac" ]
My environment: ubuntu 16.04 LTS desktop x64 Question: How to enable customized FFMPEG when compiling gpac Since GPAC supports full FFMPEG as mentioned in the release note, I am trying to enable my customized FFMPEG in GPAC: Full FFMPEG support: Encoding/decoding through FFMPEG libavcodec. Multiplexing/demultiplexing through FFMPEG libavformat. Device grabbers through FFMPEG libavdevice. Raw audio and video filters through FFMPEG libavfilter. First, I referred to this issue page about how to enable openhevc in gpac: https://github.com/gpac/gpac/issues/979 I download gpac source code from https://github.com/gpac/gpac and ffmpeg source code from https://ffmpeg.org/download.html As stated in GPAC Build Guide, I first tried to configure in such a way that I could use my customized FFMPEG (I made some minor changes in the way of video decoding) step 1: ./configure --use-ffmpeg=local and the following is a part of the configure result. ** Extra Libraries used ** FreeType: system JPEG: system OpenJPEG: no PNG: system MAD: no FAAD: no XVID: no FFMPEG: local LZMA: yes Xiph OGG: system Platinum UPnP: no AVCap: no Xiph Vorbis: no Xiph Theora: system A52 (AC3): no OpenSVCDecoder: no OpenHEVCDecoder: no Freenect: system As shown above, FFMPEG is set to 'local'. After that, I copied 'libavcodec.a', 'libavdevice.a', 'libavfilter.a', 'libavformat.a', 'libavutil.a', 'libpostproc.a', 'libswresample.a', and 'libswscale.a'. to gpac_public/extra_lib/lib/gcc, which was automatically created after ./configure --use-ffmpeg=local. step 2: make If I run 'make', I encounter the following error message: /usr/bin/ld: /usr/local/lib/libswscale.a(swscale.o): relocation R_X86_64_PC32 against symbol `ff_M24A' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status Makefile:346: recipe for target '../bin/gcc/libgpac.so' failed make[1]: *** [../bin/gcc/libgpac.so] Error 1 make[1]: Leaving directory '/home/duin/Downloads/gpac_public/src' Makefile:13: recipe for target 'all' failed make: *** [all] Error 2 I recompiled FFMPEG by enabling PIC and tried it again, but it is still not working. Could anyone give some help on this issue? Thanks in advance.
How to enable customized FFMPEG libraries in gpac
https://api.github.com/repos/gpac/gpac/issues/1625/comments
24
2020-10-17T03:52:13Z
2024-01-15T12:00:27Z
https://github.com/gpac/gpac/issues/1625
723,653,440
1,625
[ "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 I've used the following steps to convert the [Joker trailer](https://download.wetransfer.com//us2/08b347559143454a00c75befbdd0fed120190813110311/de3194c367cb64290ebffec5d680e90e050eb974/JOKER_TSR-1_1920X1080_AC3_51_UP-thedigitaltheater.mkv?cf=y&token=eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDI3NDk3NDQsInVuaXF1ZSI6IjA4YjM0NzU1OTE0MzQ1NGEwMGM3NWJlZmJkZDBmZWQxMjAxOTA4MTMxMTAzMTEiLCJmaWxlbmFtZSI6IkpPS0VSX1RTUi0xXzE5MjBYMTA4MF9BQzNfNTFfVVAtdGhlZGlnaXRhbHRoZWF0ZXIubWt2Iiwid2F5YmlsbF91cmwiOiJodHRwOi8vcHJvZHVjdGlvbi5iYWNrZW5kLnNlcnZpY2UudXMtZWFzdC0xLnd0OjkyOTIvd2F5YmlsbC92MS9zYXJrYXIvNjZiMmEwNmM2ODU1NGU1NzkxNGVlNjZhMjIxYzQ3MzY1NmU2NjlkMThlZWY4NmZjZGI3NzU0MGYwZGJhNTM4MTZjZjM0OTAwODA0MTdmZjI4ZjJlZmIiLCJmaW5nZXJwcmludCI6ImRlMzE5NGMzNjdjYjY0MjkwZWJmZmVjNWQ2ODBlOTBlMDUwZWI5NzQiLCJjYWxsYmFjayI6IntcImZvcm1kYXRhXCI6e1wiYWN0aW9uXCI6XCJodHRwOi8vcHJvZHVjdGlvbi5mcm9udGVuZC5zZXJ2aWNlLmV1LXdlc3QtMS53dDozMDAwL3dlYmhvb2tzL2JhY2tlbmRcIn0sXCJmb3JtXCI6e1widHJhbnNmZXJfaWRcIjpcIjA4YjM0NzU1OTE0MzQ1NGEwMGM3NWJlZmJkZDBmZWQxMjAxOTA4MTMxMTAzMTFcIixcImRvd25sb2FkX2lkXCI6MTA0ODA3MzQwMDZ9fSJ9.uIGE98K9ox0ebgLzxBDBFuPiRM1BkqKO-LN4RZ_yNB4) into the dash format. **But surprisingly, the AC-3 5.1 degraded to AC-3 Stereo**. Really appreciate if someone can explain to me how to keep the 5.1 channels. Steps I've used. - Download the joker trailer - Change the container file mkv->mp4 by `ffmpeg -i joker.mkv -codec copy joker.mp4` - Examine the audio format and get the result as following ``` hang@p300a:~/git-root/leixiaohua-ffmpeg/CDxFFmpeg$ ffprobe joker.mp4 ffprobe version 4.2.4 Copyright (c) 2007-2020 the FFmpeg developers Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 640 kb/s (default) ``` - Execute the following to get dash file chunks ``` MP4Box -dash 2000 -rap -frag-rap -url-template -dash-profile live -init-seg '$RepresentationId$/init.mp4' -out playlist.mpd joker.mp4 ``` - Deploy all the output files into apache2 server - Examine dash stream. And surprisingly, it's ac-3 stereo now. ``` chang@p300a:~/git-root/leixiaohua-ffmpeg/CDxFFmpeg$ ffprobe http://cxz.mynetgear.com/dash/joker/playlist.mpd Stream #0:1: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 632 kb/s Metadata: variant_bitrate : 639898 id : 1 ``` I'm using the latest MP4Box 1.0.1.
AC-3 5.1 downgrade to AC-3 stereo
https://api.github.com/repos/gpac/gpac/issues/1624/comments
4
2020-10-15T12:44:51Z
2020-10-17T18:03:51Z
https://github.com/gpac/gpac/issues/1624
722,301,767
1,624
[ "gpac", "gpac" ]
when I use this command to start my ghtorrent:ruby -Ilib bin/ght-retrieve-repo -c config.yaml gousiosg github-mirror; It will generate this warning: WARN, 2020-10-15T18:29:16+08:00, ghtorrent -- api_client.rb: Failed request. URL: https://api.github.com/users/gousiosg?per_page=100, Status code: 401, Status: Unauthorized, Access: place your , IP: 0.0.0.0, Remaining: 59 WARN, 2020-10-15T18:29:16+08:00, ghtorrent -- api_client.rb: Unauthorised request with token: place your github token here WARN, 2020-10-15T18:29:16+08:00, ghtorrent -- ghtorrent.rb: Transaction failed (989 ms) 401 Unauthorized seems like Permissions issue
Permissions issue
https://api.github.com/repos/gpac/gpac/issues/1623/comments
1
2020-10-15T10:32:49Z
2020-10-15T10:42:40Z
https://github.com/gpac/gpac/issues/1623
722,210,006
1,623
[ "gpac", "gpac" ]
When processing a file generated by other software (in this case ffmpeg), if I try to remove a udta atom that doesn't already exist, the processing aborts with a `Bad Parameter` error. A dump of the info on the file doesn't indicate any problems: ``` > mp4box -info output.m4v * Movie Info * Timescale 1000 - 5 tracks Computed Duration 02:01:50.984 - Indicated Duration 02:02:03.584 Fragmented File: no File Brand M4V - version 512 Compatible brands: isom iso2 avc1 Created: UNKNOWN DATE Modified: UNKNOWN DATE File has no MPEG4 IOD/OD Chapters: Chapter #1 - 00:00:00.000 - "Chapter 1" Chapter #2 - 00:08:52.319 - "Chapter 2" Chapter #3 - 00:14:02.504 - "Chapter 3" Chapter #4 - 00:21:18.273 - "Chapter 4" Chapter #5 - 00:30:28.156 - "Chapter 5" Chapter #6 - 00:38:46.779 - "Chapter 6" Chapter #7 - 00:47:22.627 - "Chapter 7" Chapter #8 - 00:57:07.712 - "Chapter 8" Chapter #9 - 01:04:51.842 - "Chapter 9" Chapter #10 - 01:11:10.095 - "Chapter 10" Chapter #11 - 01:17:08.120 - "Chapter 11" Chapter #12 - 01:25:16.566 - "Chapter 12" Chapter #13 - 01:32:22.700 - "Chapter 13" Chapter #14 - 01:38:47.376 - "Chapter 14" Chapter #15 - 01:44:59.081 - "Chapter 15" Chapter #16 - 01:51:27.510 - "Chapter 16" Chapter #17 - 01:57:21.531 - "Chapter 17" iTunes Info: Encoder Software: Lavf58.20.100 2 UDTA types: meta (1) chpl (1) Track # 1 Info - TrackID 1 - TimeScale 90000 Media Duration 02:01:35.121 - Indicated Duration 02:01:35.121 Track has 2 edit lists: track duration is 02:01:36.122 Media Info: Language "Undetermined (und)" - Type "vide:avc1" - 174906 samples Visual Sample Entry Info: width=1280 height=544 (depth=24 bits) Visual Track layout: x=0 y=0 width=1280 height=544 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 1280 x 544 AVC Info: 1 SPS - 1 PPS - Profile High @ Level 4.1 NAL Unit length bits: 32 Pixel Aspect Ratio 1:1 - Indicated track size 1280 x 544 Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8 SPS#1 hash: 2AF76099B67F94C11D704A1F6EB4FA9E5F5D99D5 PPS#1 hash: ED7856C499111E1D48681FB8D459555DE4567838 Self-synchronized RFC6381 Codec Parameters: avc1.640029 Average GOP length: 107 samples Max sample duration: 4694 / 90000 Track # 2 Info - TrackID 2 - TimeScale 48000 Media Duration 02:01:35.317 - Indicated Duration 02:01:35.317 Track has 2 edit lists: track duration is 02:01:36.296 Media Info: Language "French (fra)" - Type "soun:mp4a" - 341968 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC (AOT=2 implicit) - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 RFC6381 Codec Parameters: mp4a.40.2 Alternate Group ID 1 All samples are sync Max sample duration: 1024 / 48000 Track # 3 Info - TrackID 3 - TimeScale 48000 Media Duration 02:01:50.869 - Indicated Duration 02:01:50.869 Track has 1 edit lists: track duration is 02:01:38.248 Track is disabled Media Info: Language "English (eng)" - Type "soun:mp4a" - 342697 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC (AOT=2 implicit) - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 RFC6381 Codec Parameters: mp4a.40.2 Alternate Group ID 1 All samples are sync Max sample duration: 1024 / 48000 Track # 4 Info - TrackID 4 - TimeScale 90000 Media Duration 02:02:03.584 - Indicated Duration 02:02:03.584 Track has 1 edit lists: track duration is 02:01:50.984 Media Info: Language "English (eng)" - Type "sbtl:tx3g" - 2386 samples Unknown Text Stream Size 839 x 54 - Translation X=0 Y=0 - Layer 0 RFC6381 Codec Parameters: tx3g Alternate Group ID 3 All samples are sync Max sample duration: 27926495 / 90000 Track # 5 Info - TrackID 5 - TimeScale 1000 Media Duration 02:01:38.279 - Indicated Duration 02:01:38.279 Track has 1 edit lists: track duration is 02:01:38.279 Track is disabled Media Info: Language "Undetermined (und)" - Type "text:text" - 17 samples Unknown Text Stream Size 0 x 0 - Translation X=0 Y=0 - Layer 0 RFC6381 Codec Parameters: text All samples are sync Max sample duration: 585085 / 1000 ``` Then try to remove the udta atom: ``` > mp4box -udta 3:type=name output.m4v Setting up iTunes/iPod file... Assigning udta box Error: Bad Parameter ``` However if I try to add the atom, that works just fine: ``` > mp4box -udta 3:type=name:str=label output.m4v Setting up iTunes/iPod file... Assigning udta box Saving output.m4v: 0.500 secs Interleaving ``` And if I try to remove a non-existent atom after the file has already been processed by mp4box, that also works: ``` > mp4box -udta 3:type=name output.m4v Setting up iTunes/iPod file... Assigning udta box Saving output.m4v: 0.500 secs Interleaving > mp4box -udta 3:type=name output.m4v Setting up iTunes/iPod file... Assigning udta box Saving output.m4v: 0.500 secs Interleaving ``` I discovered this because I was scripting a function to replace (remove and then add) the udta name atom in the same mp4box invocation, and found that it failed, but only if both the name atom didn't already exist, and the file had not previously been processed by mp4box. An example invocation to do this is: ``` mp4box -udta 3:type=name -udta 3:type=name:str=label output.m4v ``` OS: Debian Buster amd64 Version: GPAC version 1.1.0-DEV-rev99-g2fc85f4fe-master GPAC Configuration: --static-mp4box
Processing aborts if try to clear a non-existent udta atom
https://api.github.com/repos/gpac/gpac/issues/1622/comments
2
2020-10-14T19:56:45Z
2020-10-16T08:23:50Z
https://github.com/gpac/gpac/issues/1622
721,738,900
1,622
[ "gpac", "gpac" ]
Hello. How I can import a new chapter txt file to "mp4" file with changes for menü #1 and menü #2? Ok. The command for import is: mp4box.exe -chap chapterlist.txt file.mp4 The chapterlist.txt overwrites the chapter menü #2 and not menü #1 + #2 (please see attachment file). But how I can overwrite menü #1? Sorry. I found not information how I can do it. ![menue](https://user-images.githubusercontent.com/72867951/96010612-48fb6f00-0e42-11eb-8c78-c352f141ec08.jpg)
mp4box question - Import chapter into mp4 file
https://api.github.com/repos/gpac/gpac/issues/1621/comments
2
2020-10-14T15:31:04Z
2020-11-21T10:48:25Z
https://github.com/gpac/gpac/issues/1621
721,562,874
1,621
[ "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 ...). It is quite a common industry praxis to specify a time offset in subtitles. This time offset is called "subtitle zero". Often, an offset of 10 hours is used. More can be found here: https://bbc.github.io/subtitle-guidelines/#Subtitle-zero It would be great, if the subtitle zero could be passed to MP4Box via an argument, so that it offsets all subtitles by the given amount. Example ttml subtitle with a 10 hour offset: https://classic.ardmediathek.de/subtitle/258167
Option to specify subitle zero
https://api.github.com/repos/gpac/gpac/issues/1618/comments
6
2020-10-11T13:51:31Z
2021-01-05T17:30:21Z
https://github.com/gpac/gpac/issues/1618
718,840,603
1,618
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ Hello. Thanks for your great work. I have been using MP4box for years. # 1. Overview Some versions of MP4box often fail to extract hevc from HEIF images. I have confirmed that this problem occurs in the same way in the version downloaded from [GPAC Nightly Builds](https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/) and versions compiled with Visual Studio 2019 by myself. # 2. System environment Windows 10 / Version 2004 (OS Build 19041.508) / 64bit # 3. Compiler Visual Studio Community 2019, version 16.7.5 # 4. Problem [Attached files](https://www.mediafire.com/file/pgmnly3ge9fnz81/sampleheifs.rar/file) are 2 HEIF files. Extracting hevc from these HEIF files using MP4box fails. These 2 files were created by iOS 13 (iPhone 11 Pro) and were randomly selected. The same thing happens with countless other pictures. You can easily check the error with those images by entering a command like this: ```mp4box.exe -dump-item 5:path=p1_05.hevc problem1.heic mp4box.exe -dump-item 11:path=p1_11.hevc problem1.heic mp4box.exe -dump-item 15:path=p1_15.hevc problem1.heic mp4box.exe -dump-item 20:path=p1_20.hevc problem1.heic mp4box.exe -dump-item 26:path=p1_26.hevc problem1.heic mp4box.exe -dump-item 29:path=p1_29.hevc problem1.heic mp4box.exe -dump-item 35:path=p1_35.hevc problem1.heic mp4box.exe -dump-item 48:path=p1_48.hevc problem1.heic mp4box.exe -dump-item 3:path=p2_03.hevc problem2.heic mp4box.exe -dump-item 11:path=p2_11.hevc problem2.heic mp4box.exe -dump-item 20:path=p2_20.hevc problem2.heic mp4box.exe -dump-item 32:path=p2_32.hevc problem2.heic mp4box.exe -dump-item 37:path=p2_37.hevc problem2.heic mp4box.exe -dump-item 47:path=p2_47.hevc problem2.heic ``` # 5. The MP4box version that is having problems The issue occurs with [3efc028, Commits on Jun 12, 2020](https://github.com/gpac/gpac/commit/3efc028b16718ba9c56e91ee80e46bbbae5a38c7) and later versions(of course including lastest version) released. The immediate previous release, [e90526f, Commits on Jun 12, 2020](https://github.com/gpac/gpac/commit/e90526f3d2ec0dee4cddc5244eb115668f10341f) and earlier versions, did not have this problem at all. This problem occurs in the same way for the compiled version and the downloaded official version. You can download [Attached files from here](https://www.mediafire.com/file/pgmnly3ge9fnz81/sampleheifs.rar/file). Thanks for reading. Hope this will be resolved soon.
MP4box often fails to extract hevc from HEIF images.
https://api.github.com/repos/gpac/gpac/issues/1617/comments
1
2020-10-10T17:52:20Z
2020-10-11T11:04:34Z
https://github.com/gpac/gpac/issues/1617
718,669,938
1,617
[ "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/ Could these https://forum.doom9.org/showthread.php?p=1461968#post1461968 instructions be added in the man page of mp4box? > ``` > -chap chap_file: adds chapter information located in chap_file to the destination file. Chapter extensions have been introduced by Nero and are NOT standard extensions of IsoMedia file format, don't be surprised if some players don't understand them. > The following syntaxes are supported in the chapter text file, with one chapter entry per line: > > * ZoomPlayer chapter files : AddChapter(nb_frames,chapter name), AddChapterBySeconds(nb_sec,chapter name) and AddChapterByTime(h,m,s,chapter name). One chapter entry per line. > * Time codes : h:m:s name, h:m:s:ms name and h:m:s.ms name. One chapter entry per line. > * SMPTE codes : h:m:s;nb_f/fps name and h:m:s;nb_f name with nb_f the number of frames and fps the framerate. One chapter entry per line. > * Common syntax : CHAPTERX=h:m:s[:ms or .ms] on one line and CHAPTERXNAME=name on the other - the order is not important but chapter lines MUST be declared sequencially (same X value expected for 2 consecutive lines). > ```
Add -chap instructions to `man mp4box`
https://api.github.com/repos/gpac/gpac/issues/1616/comments
1
2020-10-10T11:11:24Z
2020-10-11T11:25:10Z
https://github.com/gpac/gpac/issues/1616
718,596,008
1,616
[ "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 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ **Version:** I tried this with the MP4Box dasher from GPAC version 1.1.0-DEV-rev81-g55293a88-master downloaded precompiled form the website, running on a 64-bit Ubuntu 18.04.5 VM. **Overview:** I'm trying to produce variable-length DASH segments, with each segment separately downloadable (for bitrate switching later) using the `-cues` flag. I currently use only one resolution for testing (no switching yet). **Input I get:** A video gets split into variable length stand-alone MP4 files using a custom segmentation process. I have only access to all the resulting (ordered) short clips, with lengths of between less than a second and ~5 seconds. **Goal:** Prepare this for use with DASH-player using the segmentation from the input (i.e. one clip == one downloadable DASH segment). I use the [DASH-IF reference player](https://reference.dashif.org/dash.js/v3.1.2/samples/dash-if-reference-player/index.html) for testing. **Pipeline so far:** First I concatenate all clips into one using ffmpeg: `ffmpeg -f concat -safe 0 -i path/to/concatlist.txt -c copy path/to/concated.mp4` Next I assemble the dts timings for the `-cues` option using ffprobe: I run `ffprobe -show_packets -of json path/to/filename.mp4 > path/to/filename.json` on the concatenated file, as well as each clip seperately. I use a python script to generate the `cue_timing.xml` as follows: For each clip, in order, get the number of _packets_ it consists of (as reported by ffprobe). Jump this many packets ahead in the _packet list_ of the concatenated file, read out the dts value of that packet, and put it into the `cue_timing.xml`. This way the dts at which I'd like to start a new segment corresponds to what once was the start of a clip, which also means that there is already a keyframe at that position. **What I try to do:** Use `MP4Box -dash` with the `-cues` option on the concatenated file like so: `MP4Box -dash 1000 -cues path/to/cue_timing.xml -strict-cues -min-buffer 1000 -url-template -segment-timeline -segment-name $Path=path/to/output/$1920x1080/ -out path/to/output/concat_split_single.mpd path/to/concated.mp4` **Issue:** Expected result: DASH segments according to the dts values given in `cue_timing.xml`, and the `init.mp4`. Actual result: The `init.mp4` and one (1) segment `0.m4s` (segment at time==0, when used with $Number$ in template it is `1.m4s`). The MPD reflects the same by only listing one segment in the timeline, spanning the entire duration of the video. The only way I was able to generate multiple segment files was to also use `-frag`, but doing so ignores the cue timings and creates segments with `-dash-dash_duration` length. Adding `-profile live` above also results in just one segment. I'm not sure if I interpret the `-cues` option correctly, therefore I don't know if the problem lies with me or MP4Box. Any insight is greatly appreciated. &nbsp; This is the example I'm trying to get to work. You can download the files from here: https://www.dropbox.com/sh/nbbr3tr3lp40bfv/AAAPb8Z84E6xR30UIRa5Tg8ea?dl=0 It includes: - `concated_1920x1080.mp4`: ~15 second video, result of ffmpeg concat command used, composed of 5 variable length clips. - `concated_1920x1080.json`: output of ffprobe command used on the concatenated file. - `cue_timing.xml`: cues-file used. - `output/` contains the DASH ready files to go on the server: the MPD and inside `1920x1080/` the output of the command above: `init.mp4` and the single `0.m4s` segment. - `source_files/`: in case it is of help, the source files I receive. &nbsp; &nbsp; P.S.: The `-cues` entry in the [DASH Options on the Wiki](https://github.com/gpac/gpac/wiki/mp4box-dash-opts) has a reference to the renamed `tests/media/dash_cues`, which should now be `testsuite/media/dash_cues`.
[MP4Box] -dash with -cues produces only one output segment
https://api.github.com/repos/gpac/gpac/issues/1615/comments
2
2020-10-09T18:47:48Z
2020-10-14T21:02:56Z
https://github.com/gpac/gpac/issues/1615
718,353,572
1,615
[ "gpac", "gpac" ]
This is my first time building, but I followed this guide https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Windows It builds perfectly, x86/x64 but when I use the mp4box.exe in command prompt it looks weird like this ``` C:\Users\jlw_4>"C:\BuildMP4Box\gpac_static\bin\x64\Release - MP4Box_only\mp4box.exe" -h MP4Box [option] input [option] ←[32mGeneral Options:←[0m ←[32m-h←[0m (string): print help * ←[33mgeneral←[0m: general options help * ←[33mhint←[0m: hinting options help * ←[33mdash←[0m: DASH segmenter help * ←[33mimport←[0m: import options help * ←[33mencode←[0m: encode options help * ←[33mmeta←[0m: meta handling options help * ←[33mextract←[0m: extraction options help * ←[33mdump←[0m: dump options help * ←[33mswf←[0m: Flash (SWF) options help * ←[33mcrypt←[0m: ISMA E&A options help * ←[33mformat←[0m: supported formats help * ←[33mlive←[0m: BIFS streamer help * ←[33mcore←[0m: libgpac core options * ←[33mall←[0m: print all the above help screens * ←[33mopts←[0m: print all options * ←[33mVAL←[0m: search for option named ←[33m←[3mVAL←[0m (without ←[33m←[3m-←[0m or ←[33m←[3m--←[0m) in MP4Box, libgpac core and all filters ←[32m-hx←[0m (string): look for given string in all possible options ←[32m-nodes←[0m: list supported MPEG4 nodes ←[32m-node←[0m (string): get given MPEG4 node syntax and QP infolist ←[32m-xnodes←[0m: list supported X3D nodes ←[32m-xnode←[0m (string): get given X3D node syntax ←[32m-snodes←[0m: list supported SVG nodes ←[32m-languages←[0m: list supported ISO 639 languages ←[32m-boxes←[0m: list all supported ISOBMF boxes and their syntax ←[32m-fstat←[0m: print filter session statistics (import/export/encrypt/decrypt/dashing) ←[32m-fgraph←[0m: print filter session graph (import/export/encrypt/decrypt/dashing) ←[32m-v←[0m: verbose mode ←[32m-version←[0m: get build version ←[32m---←[0m INPUT: escape option if INPUT starts with ←[33m←[3m-←[0m character ``` I tried this in both Windows 7 x64 and Windows 10 x64 with the same results Running the same compiled mp4box.exe in GitBash on Windows works perfectly fine and looks correct
Compiling latest MP4Box has weird formatting in the CLI
https://api.github.com/repos/gpac/gpac/issues/1614/comments
15
2020-10-09T04:18:05Z
2020-10-13T23:56:21Z
https://github.com/gpac/gpac/issues/1614
717,838,986
1,614
[ "gpac", "gpac" ]
Github double posted
ignore
https://api.github.com/repos/gpac/gpac/issues/1613/comments
0
2020-10-09T04:17:39Z
2020-10-09T04:20:11Z
https://github.com/gpac/gpac/issues/1613
717,838,847
1,613
[ "gpac", "gpac" ]
Terminal seems not binge able to display still image or the first picture of a video, since there is no specific event to stop the player at the first displayed image and the argurment pause_at_first_frame arguments of this function : void gf_term_connect_from_time(GF_Terminal * term, const char *URL, u64 startTime, u32 pause_at_first_frame); keeps the decoder performing the full decoding of the current input file. Still images appear and then goes black. Videos keep playing or stay black when the event GF_EVENT_CONNECT is triggered. May be a specific event triggered at the first displayed image could help to pause the gf_term_process_step loop ?
pause_at_first_frame doesn't have effect on decoding
https://api.github.com/repos/gpac/gpac/issues/1612/comments
8
2020-10-08T23:09:54Z
2020-10-21T11:23:28Z
https://github.com/gpac/gpac/issues/1612
717,730,093
1,612
[ "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/ ```sh MP4Box -add test.vtt -lang en test-vtt.mp4 MP4Box -dash 2000 -profile dashavc264.onDemand -out test.mpd \ test-vtt.mp4:role=subtitle test-108p.mp4#audio \ test-108p.mp4#video [...] test-720p#video ``` gives me several DTS warnings/adjustments like ```[MP4Mux] PID T3 Sample 8 with DTS 7960 less than previous sample DTS 7960, adjusting prev sample duration```. Indeed some subtitles are duplicated or triplicated, disappear and reappear etc. MPD demonstrating the issue: https://d2b3xtj80vdo5b.cloudfront.net/dev/lshtrailer-cc.mpd Symptoms can be observed e.g. in the dashjs sample player at https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/ DASH-IF conformance tool https://conformance.dashif.org/ reports for the subtitle track: ``` Log No Segment Validation Report 1 ### error: moov-1:trak-1 ### ../src/ValidateAtomList.cpp : 789 : ### error: moov-1:trak-1 ### Non-visual/audio track has non-zero trackVolume, trackWidth, or trackHeight 2 (12 repetition\s) ### error: ### ../src/PostprocessData.cpp : 233 : ### error: ### tfdt base media decode time 19.760000 not equal to accumulated decode time 22.000000 for track 1 for sequence_number 12 (fragment absolute count 12) 3 ### error: ### ../src/PostprocessData.cpp : 1142 : ### error: ### According to DASH-IF IOP Section 3.2.8 @bandwidth of the Representation (154 bps) is set too low given the @minimumBufferTime (1 s), the minimum @bandwidth value required to conform is 1351 bps. ``` Video and audio tracks are conformant. ```sh $ MP4Box -version MP4Box - GPAC version 1.1.0-DEV-rev63-g70a812c75-master (c) 2000-2020 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io Please cite our work in your research: GPAC Filters: https://doi.org/10.1145/3339825.3394929 GPAC: https://doi.org/10.1145/1291233.1291452 GPAC Configuration: --prefix=/usr/local --extra-cflags=-I/usr/local/include -I/opt/sw/include --extra-ldflags=-L/usr/loc al/lib -L/opt/sw/lib Features: GPAC_CONFIG_DARWIN GPAC_64_BITS GPAC_HAS_IPV6 GPAC_HAS_SOCK_UN GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_HAS_FFMPEG G PAC_HAS_JP2 GPAC_HAS_XVID ```
dash wvtt subtitles DTS issues, do not pass DASH-IF compliance
https://api.github.com/repos/gpac/gpac/issues/1611/comments
12
2020-10-08T16:17:55Z
2020-10-22T11:07:40Z
https://github.com/gpac/gpac/issues/1611
717,485,389
1,611
[ "gpac", "gpac" ]
I am trying to mux GPMF metadata to an mp4 file. GPMF is an ATOM based format designed to be written into an mp4. [https://gopro.github.io/gpmf-parser/](https://gopro.github.io/gpmf-parser/) To write it properly, I need to add a track that has a custom sample description (gpmd) and media information header. I cannot find a way to do this within libgpac. Trying to add a text track did not work properly and I get a GF_BAD_PARAM when I try to write the sample with gf_isom_add_sample. When I look at the resulting file, it is missing the sample description. This code does not work for me for adding the track information: ``` GF_TextSampleDescriptor *sd; sd = (GF_TextSampleDescriptor*)gf_odf_desc_new(GF_ODF_TX3G_TAG); sd->fonts = (GF_FontRecord*)gf_malloc(sizeof(GF_FontRecord)); sd->font_count = 1; sd->fonts[0].fontID = 1; sd->fonts[0].fontName = gf_strdup("Serif"); sd->back_color = 0x00000000;//transparent sd->default_style.fontID = 1; sd->default_style.font_size = 18; //TTXT_DEFAULT_FONT_SIZE; sd->default_style.text_color = 0xFFFFFFFF; //white sd->default_style.style_flags = 0; sd->horiz_justif = 1; //center of scene sd->vert_justif = (s8) -1; //bottom of scene sd->default_pos.top = sd->default_pos.left = sd->default_pos.right = sd->default_pos.bottom = 0; gf_isom_new_text_description(pIsoFile, trackNumber, sd, NULL, NULL, &streamIdx); gf_odf_desc_del((GF_Descriptor *)sd); ``` It does not error but when I call gf_isom_add_sample I get an error. Is there a way to do this within the current API that libgpac provides?
Writing a GPMF Track With libgpac
https://api.github.com/repos/gpac/gpac/issues/1610/comments
10
2020-10-07T16:36:44Z
2020-10-27T12:13:14Z
https://github.com/gpac/gpac/issues/1610
716,684,615
1,610
[ "gpac", "gpac" ]
Using: MP4Box - GPAC version 1.1.0-DEV-rev62-g5c5d26c0d-ab-suite and [2020-10-07@17_16_39_1610_01.zip](https://github.com/gpac/gpac/files/5341797/2020-10-07%4017_16_39_1610_01.zip) using: ``` MP4Box -add "E:\Temp\2020-10-07@17_16_39_1610_01.m4v" -tmp "E:\Temp" -new "E:\Output\2020-10-07@17_16_39_1610__02.mp4" ``` I get: ``` [Importer] Error probing E:\Temp\2020-10-07@17_16_39_1610_01.m4v Error importing E:\Temp\2020-10-07@17_16_39_1610_01.m4v: Filter not found for the desired type ``` using ffmpeg with '-c copy' produces a proper file. I know this worked years ago,... no clue when it broke. Would be nice if this could be fixed. Thanks.
Muxing Mpeg-4 ASP (XviD) fails with 'Filter not found for the desired type'
https://api.github.com/repos/gpac/gpac/issues/1609/comments
4
2020-10-07T15:30:40Z
2020-12-01T15:16:47Z
https://github.com/gpac/gpac/issues/1609
716,635,673
1,609
[ "gpac", "gpac" ]
Hello, I am now trying to change the default ABR algorithm in dash transmission task while display the video in a panorama view through gpac v1.1.0. I found that use this command `gpac -gui /home/out.mpd#VR` can show the panorama view, and I also found that in the filter way, use `gpac fin:src=/home/out.mpd dashin:algo=bolao vout` can change the default ABR algorithm. But the question is, I can't combine the two approaches to achieve both results at the same time. such like `gpac fin:src=/home/out.mpd#VR compositor:player=gui dashin:algo=bolao` or `gpac fin:src=/home/out.mpd#VR dashin:algo=bolao compositor:nav=vr vout` Thank you.
Can't display 360° videos when changing the ABR algorithm
https://api.github.com/repos/gpac/gpac/issues/1608/comments
1
2020-10-07T12:03:48Z
2020-10-13T12:16:13Z
https://github.com/gpac/gpac/issues/1608
716,467,772
1,608
[ "gpac", "gpac" ]
Hello, I have been trying to encrypt fmp4 chunks with the feature from https://github.com/gpac/gpac/issues/924 and I believe it is well configured but when playing on dash-if or bitmovin players, they are only able to show the first I-frame of each chunk. So I only see frames in 2 second jumps. It seems the IV matches for the first frame but than it goes wrong, i can't think of anything else. I tried doing changes from issues I found here, but it either gets worse and doesnt play at all, or the same issue continues. I ran the commands MP4Box -crypt drm.xml header.m4s -out header_myenc.mp4 MP4Box -crypt drm.xml -init-seg header.m4s [layer]_clear/segment.m4s -out [layer]/segment.m4s with the drm.xml <?xml version="1.0" encoding="UTF-8"?> <GPACDRM type="CENC AES-CTR"> <DRMInfo type="pssh" version="0"> <BS ID128="EDEF8BA979D64ACEA3C827DCD51D21ED"/> <BS data="0x08011210"/> <BS ID128="0x783d17c9498e4330a9267b20848e0864"/> <BS data="0x220430313237"/> </DRMInfo> <CrypTrack IsEncrypted="1" IV_size="16" first_IV="0x0a610676cb88f302d10ac8bc66e039ed" saiSavedBox="senc"> <key KID="0x783d17c9498e4330a9267b20848e0864" value="0x1e74f5182c02b6e39a610676567cd84a"/> </CrypTrack> </GPACDRM> I checked the pssh data on the init file and it was correct. I also notice the trun box is losing information from the clear version to the encrypted version, but I don't think the issue is caused by that. I also tested changing the key value so the player gets the wrong key and can't decrypt and as expected it doesn't play anything. Having the correct key atleast decrypts the first I-frame, so something is working :) Attached 10 seconds of dummy content I was using to test. Hope you can give me some insight on what may be failing here, cause at this point I ran out of ideas. Thank you. [manifests_chucks.zip](https://github.com/gpac/gpac/files/5339558/manifests_chucks.zip)
fmp4 encrypted content only playing first I-frame
https://api.github.com/repos/gpac/gpac/issues/1607/comments
5
2020-10-07T09:58:33Z
2021-10-20T12:03:14Z
https://github.com/gpac/gpac/issues/1607
716,382,534
1,607
[ "gpac", "gpac" ]
I'm trying to use mp4box to set track/stream metadata labels, and it doesn't seem to work. No error is produced, but the UDTA atom isn't getting set either. The documentation for `-set-meta` seems like this should work. Specifically, I'm trying to set the UDTA `name` atom, which is displayed by vlc and other players to identify/differentiate multiple streams. Example: ``` > mp4box -set-meta 'name;3=Commentary' output.m4v Setting up iTunes/iPod file... Saving output.m4v: 0.500 secs Interleaving > mp4box -info output.m4v ... Track # 3 Info - TrackID 3 - TimeScale 48000 Media Duration 01:47:56.394 - Indicated Duration 01:47:56.394 Track has 1 edit lists: track duration is 01:47:55.373 Track is disabled Media Info: Language "English (eng)" - Type "soun:mp4a" - 303581 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC (AOT=2 implicit) - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 RFC6381 Codec Parameters: mp4a.40.2 Alternate Group ID 1 All samples are sync Max sample duration: 1024 / 48000 ``` Yet this is the info output of a different file produced by Handbrake that has the stream name set correctly (note the UDTA line that was missing in the mp4box produced file): ``` Track # 3 Info - TrackID 3 - TimeScale 48000 Media Duration 01:47:56.394 - Indicated Duration 01:47:56.394 Track has 1 edit lists: track duration is 01:47:56.373 Track is disabled Media Info: Language "English (eng)" - Type "soun:mp4a" - 303581 samples 1 UDTA types: name (1) MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC (AOT=2 implicit) - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 RFC6381 Codec Parameters: mp4a.40.2 Alternate Group ID 1 All samples are sync Max sample duration: 1024 / 48000 ``` Version: 1.0.1-rev0-gd8538e8ae-HEAD (compiled from latest release source) OS: Debian buster amd64 Reference info: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap2/qtff2.html
mp4box unable to set individual track/stream label metadata in mp4/m4v files
https://api.github.com/repos/gpac/gpac/issues/1606/comments
2
2020-10-07T09:47:55Z
2020-10-11T20:13:18Z
https://github.com/gpac/gpac/issues/1606
716,374,587
1,606
[ "gpac", "gpac" ]
Hi, the &lt;strike&gt; tag is incorrectly imported into an Mp4 file. &lt;i&gt; and &lt;font&gt; works correctly. srt subfile: 1 00:12:35,838 --> 00:12:38,926 "Abc&lt;strike&gt;cde&lt;/strike&gt;fgh" When I look at the mp4 file or extract the subtile, I see the following: "Abc&gt;cde&gt;fgh"
strike-Tag is imported incorrectly
https://api.github.com/repos/gpac/gpac/issues/1605/comments
1
2020-10-06T11:32:50Z
2020-10-09T11:51:24Z
https://github.com/gpac/gpac/issues/1605
715,586,890
1,605
[ "gpac", "gpac" ]
With gpac_1.0.1-rev0-gd8538e8a-master_amd64.deb from here: ``` ian:~$ sudo dpkg -i gpac_1.0.1-rev0-gd8538e8a-master_amd64.deb Selecting previously unselected package gpac. (Reading database ... 396812 files and directories currently installed.) Preparing to unpack gpac_1.0.1-rev0-gd8538e8a-master_amd64.deb ... Unpacking gpac (1.0.1-rev0-gd8538e8a-master) ... dpkg: dependency problems prevent configuration of gpac: gpac depends on libavcodec57 (>= 7:3.4.8) | libavcodec-extra57 (>= 7:3.4.8); however: Package libavcodec57 is not installed. Version of libavcodec-extra57:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. gpac depends on libavdevice57 (>= 7:3.4.8); however: Package libavdevice57 is not installed. gpac depends on libavfilter6 (>= 7:3.4.8) | libavfilter-extra6 (>= 7:3.4.8); however: Version of libavfilter6:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. Package libavfilter-extra6 is not installed. gpac depends on libavformat57 (>= 7:3.4.8); however: Version of libavformat57:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. gpac depends on libavutil55 (>= 7:3.4.8); however: Version of libavutil55:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. gpac depends on libswscale4 (>= 7:3.4.8); however: Version of libswscale4:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. dpkg: error processing package gpac (--install): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.31-0ubuntu9.1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for man-db (2.9.1-1) ... Errors were encountered while processing: gpac ``` Trying to fix results in: ``` ian:~$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: gpac-modules-base libfreenect0.5 libgpac4 libjpeg62 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED gpac 0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade. 1 not fully installed or removed. After this operation, 14.2 MB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 396939 files and directories currently installed.) Removing gpac (1.0.1-rev0-gd8538e8a-master) ... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.1) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for menu (2.1.47ubuntu4) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ... Rebuilding /usr/share/applications/bamf-2.index... ``` Trying with the latest nightly build: ``` ian@punch:~$ sudo dpkg -i gpac_1.1.0-DEV-rev62-g5c5d26c0-master_amd64.deb Selecting previously unselected package gpac. (Reading database ... 396812 files and directories currently installed.) Preparing to unpack gpac_1.1.0-DEV-rev62-g5c5d26c0-master_amd64.deb ... Unpacking gpac (1.1.0-DEV-rev62-g5c5d26c0-master) ... dpkg: dependency problems prevent configuration of gpac: gpac depends on libavcodec57 (>= 7:3.4.8) | libavcodec-extra57 (>= 7:3.4.8); however: Package libavcodec57 is not installed. Version of libavcodec-extra57:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. gpac depends on libavdevice57 (>= 7:3.4.8); however: Package libavdevice57 is not installed. gpac depends on libavfilter6 (>= 7:3.4.8) | libavfilter-extra6 (>= 7:3.4.8); however: Version of libavfilter6:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. Package libavfilter-extra6 is not installed. gpac depends on libavformat57 (>= 7:3.4.8); however: Version of libavformat57:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. gpac depends on libavutil55 (>= 7:3.4.8); however: Version of libavutil55:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. gpac depends on libswscale4 (>= 7:3.4.8); however: Version of libswscale4:amd64 on system is 7:3.4.6-0ubuntu0.18.04.1. dpkg: error processing package gpac (--install): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.31-0ubuntu9.1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for man-db (2.9.1-1) ... Errors were encountered while processing: gpac ``` This is with Ubuntu MATE 20.04 / AMD64. 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
Prebuilt Debian/Ubuntu package dependency issues on Ubuntu 20.04
https://api.github.com/repos/gpac/gpac/issues/1604/comments
1
2020-10-05T21:47:48Z
2020-10-08T16:02:23Z
https://github.com/gpac/gpac/issues/1604
715,184,762
1,604
[ "gpac", "gpac" ]
I installed gpac on my ubuntu system via performing: `sudo apt-get install gpac` if I need to do anything else, p I tried performing this as I came from this post: https://stackoverflow.com/questions/64057660/create-different-qaulities-for-my-manifest-with-only-mp4box `MP4Box -dash 2000 -profile dashavc264:live test.mp4#video:@ffsws#video:osize=160x120@enc:c=avc:fintra=2:b=100k:#Representation=1@@ffsws:osize=320x240@enc:c=avc:fintra=2:b=200k:#Representation=2 test.mp4#audio -out test.mpd` However this ends up creating a manifest file like this: ``` <?xml version="1.0"?> <!-- MPD file Generated with GPAC version 0.5.2-DEV-revVersion: 0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1 at 2020-10-03T04:16:26.859Z--> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H0M6.805S" maxSegmentDuration="PT0H0M1.984S" profiles="urn:mpeg:dash:profile:isoff-live:2011,http://dashif.org/guidelines/dash264"> <ProgramInformation moreInformationURL="http://gpac.sourceforge.net"> <Title>videouploads/5f77fb1ace504302517361/5f77fb1ace504302517361.mpd generated by GPAC</Title> </ProgramInformation> <Period duration="PT0H0M6.805S"> <AdaptationSet segmentAlignment="true" maxWidth="1920" maxHeight="1080" maxFrameRate="25" par="16:9" lang="eng"> <Representation id="1" mimeType="video/mp4" codecs="avc1.640033" width="1920" height="1080" frameRate="25" sar="1:1" startWithSAP="1" bandwidth="1827174"> <SegmentTemplate timescale="25000" media="phpurgzST_dash_track2_$Number$.m4s" startNumber="1" duration="33000" initialization="phpurgzST_dash_track2_init.mp4"/> </Representation> </AdaptationSet> <AdaptationSet segmentAlignment="true" lang="eng"> <Representation id="2" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="48000" startWithSAP="1" bandwidth="198124"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <SegmentTemplate timescale="48000" media="phpurgzST_dash_track1_$Number$.m4s" startNumber="1" duration="95232" initialization="phpurgzST_dash_track1_init.mp4"/> </Representation> </AdaptationSet> </Period> </MPD> ``` Basically it only creates 2 representations, one for video and one for audio. Not only that but the video representation has the resolution of 1920 by 1080, which is given from the source input file. I feel that this was my fault because I took the example code from the stackoverflow post above and tried specifiying the audio and video, however I don't know what to do. Apolgies if I don't provide enough information, and I will take a while to respond to comments Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
Using the new multi encoding for mp4box to create a non multiplexed mpd.
https://api.github.com/repos/gpac/gpac/issues/1603/comments
12
2020-10-03T04:27:57Z
2020-10-09T10:28:19Z
https://github.com/gpac/gpac/issues/1603
714,001,577
1,603
[ "gpac", "gpac" ]
I used this to download the full build of gpac on my ubuntu instance: https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-Linux `gpac - GPAC command line filter engine - version 1.1.0-DEV-rev52-gcf5f485df-master` I have some php code that runs an mp4box command like so: ``` $r144p = $link. "144.mp4"; $r360p = $link."360.mp4"; $r720p = $link."720.mp4"; $r1080p = $link."1080.mp4"; echo exec("ffmpeg -i ".$filentmpname." -vf scale=256:144 ".$link."144.mp4"); echo exec("ffmpeg -i ".$filentmpname." -vf scale=640:360 ".$link."360.mp4"); echo exec("ffmpeg -i ".$filentmpname." -vf scale=1280:720 ".$link."720.mp4"); echo exec("ffmpeg -i ".$filentmpname." -vf scale=1920:1080 ".$link."1080.mp4"); echo exec("MP4Box -dash 2000 -profile dashavc264:live -bs-switching multi -url-template ".$r144p."#trackID=1:id=vid0:role=vid0 ".$r1080p."#trackID=2:id=vid1:role=vid1 ".$filentmpname."#trackID=3:id=aud0:role=aud0 -out videouploads/".$link. "/".$link.".mpd", $output, $return_var); //or echo exec("MP4Box -dash 2000 -profile dashavc264:live ".$filentmpname.":@ffsws:osize=160x120@enc:c=avc:fintra=2:b=100k:#Representation=1@@ffsws:osize=320x240@enc:c=avc:fintra=2:b=200k:#Representation=2 -out videouploads/".$link. "/".$link.".mpd", $output, $return_var); ``` And these produce nothing except for this message: `int(1) array(0) { }` If I were to uninstall the dependencies and just run `sudo apt-get install gpac` these commands would in some way generate something at least. Is there any reason to why is this occuring?
Attempting to generate dash mpd causes nothing to happen.
https://api.github.com/repos/gpac/gpac/issues/1602/comments
2
2020-10-02T04:55:08Z
2020-10-03T02:39:13Z
https://github.com/gpac/gpac/issues/1602
713,345,153
1,602
[ "gpac", "gpac" ]
Greetings, I was using MP4Box from gpac version 0.7.1 on Debian amd64 - binaries could be downloaded from: https://snapshot.debian.org/archive/debian/20190414T034649Z/pool/main/g/gpac/gpac_0.7.1%2Bdfsg1-3_amd64.deb https://snapshot.debian.org/archive/debian/20190414T034649Z/pool/main/g/gpac/libgpac7_0.7.1%2Bdfsg1-3_amd64.deb After upgrading to gpac 1.0.1 (binary package from deb-multimedia.org), some of the AAC files started to generate an error when trying to process them with MP4Box. 1) MP4Box version 0.7.1 - no error: $ MP4Box -version MP4Box - GPAC version 0.7.1-revVersion: 0.7.1+dfsg1-3 GPAC Copyright (c) Telecom ParisTech 2000-2012 GPAC Configuration: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --libdir=lib/x86_64-linux-gnu --mandir=${prefix}/share/man --extra-cflags=-Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpac-b3cjzz/gpac-0.7.1+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security --extra-ldflags=-Wl,-z,relro --enable-joystick --enable-debug --disable-ssl --verbose Features: GPAC_64_BITS GPAC_HAS_JPEG GPAC_HAS_PNG $ MP4Box -strict-error -noprog -hint -add input.aac output.m4a AAC ADTS import - sample rate 22050 - MPEG-4 audio - 2 channels Setting up iTunes/iPod file... Hinting file with Path-MTU 1450 Bytes Hinting track ID 1 - Type "mp4a:mp4a" (mpeg4-generic) - BW 63 kbps Saving to output.m4a: 0.500 secs Interleaving 2) MP4Box version 1.0.1 - error: $ MP4Box -version MP4Box - GPAC version 1.0.1-revUNKNOWN_REV (c) 2000-2020 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io Please cite our work in your research: GPAC Filters: https://doi.org/10.1145/3339825.3394929 GPAC: https://doi.org/10.1145/1291233.1291452 GPAC Configuration: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --moddir=${prefix}/lib/x86_64-linux-gnu/gpac --use-js=no --extra-cflags=-DXP_UNIX -g -O2 -fdebug-prefix-map=/src/gpac-1.0.1+really1.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 --enable-pic --enable-debug --extra-ldflags=-Wl,-z,relro --libdir=lib/x86_64-linux-gnu --use-freenect=no --use-a52=system Features: GPAC_CONFIG_LINUX GPAC_64_BITS GPAC_HAS_IPV6 GPAC_HAS_SSL GPAC_HAS_SOCK_UN GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_HAS_FAAD GPAC_HAS_MAD GPAC_HAS_LIBA52 GPAC_HAS_JPEG GPAC_HAS_PNG GPAC_HAS_FFMPEG GPAC_HAS_JP2 GPAC_HAS_THEORA GPAC_HAS_VORBIS GPAC_HAS_XVID GPAC_HAS_LINUX_DVB $ MP4Box -strict-error -noprog -hint -add input.aac output.m4a [MPEG-2 TS] TS Packet 2 has error (PID could be 5488) [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 [MPEG-2 TS] TS Packet 6 has error (PID could be 994) [MPEG-2 TS] TS Packet 7 does not start with sync marker [MPEG-2 TS] TS Packet 8 does not start with sync marker [... skipped ...] [MPEG-2 TS] TS Packet 274 does not start with sync marker [MPEG-2 TS] TS Packet 275 does not start with sync marker [MPEG-2 TS] TS Packet 276 does not start with sync marker [MPEG-2 TS] TS Packet 277 does not start with sync marker [MPEG-2 TS] TS Packet 278 does not start with sync marker [Importer] No valid track to import in input file "input.aac" Error importing input.aac: Feature Not Supported I've attached the source file "input.aac" which could be used to replicate the described problem. Note that this behavior happens not with all the AAC files, but only with some of them. The AAC files I'm using were generated with "fdkaac". Thanks for the gpac suite, and hope that this bug report will help improving the gpac. [test-input.zip](https://github.com/gpac/gpac/files/5304763/test-input.zip) Best wishes, Vladimir
some AAC files are not recognized by MP4Box after upgrade of gpac from version 0.7.1 to 1.0.1
https://api.github.com/repos/gpac/gpac/issues/1601/comments
3
2020-09-30T10:25:21Z
2020-09-30T12:51:19Z
https://github.com/gpac/gpac/issues/1601
711,826,313
1,601
[ "gpac", "gpac" ]
gpac "-mod-dirs=$root/lib/gpac;/some/other/directory" the_filter results in: ``` Failed to find filter "the_filter" No filter with similar name found, see gpac -h filters ``` This is in gpac 1.0.1. Adding the other directory to mod-dirs in GPAC.cfg does work. I believe this is due to mod-dirs being read as part of gf_sys_init (after a few levels of indirection resulting in gf_modules_get_module_directories), rather than after gf_sys_set_args. For context, I can't just put gf_the_filter.so in $root/lib/gpac as the contents of $root can't be modified after building gpac, due to my operating system/package manager (NixOS). --- Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [ ] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
mod-dirs doesn't work when passed on the command line
https://api.github.com/repos/gpac/gpac/issues/1600/comments
2
2020-09-27T00:59:53Z
2020-09-28T16:32:04Z
https://github.com/gpac/gpac/issues/1600
709,641,268
1,600
[ "gpac", "gpac" ]
Hi I am trying to install MP4Box on my mac and encountered the following errors while trying to build. I was following the instructions for MP4Box only at https://github.com/gpac/gpac/wiki/GPAC-Build-Guide-for-OSX and it fails at the make command. make -C src all CC filters/dec_vtb.c **filters/dec_vtb.c:510:20: error: use of undeclared identifier 'kCMVideoCodecType_HEVC'** ctx->vtb_type = kCMVideoCodecType_HEVC; ^ 1 error generated. make[1]: *** [filters/dec_vtb.o] Error 1 make: *** [all] Error 2 Appreciate any help rendered. Thanks, EL
Error encountered when make: use of undeclared identifier 'kCMVideoCodecType_HEVC'
https://api.github.com/repos/gpac/gpac/issues/1599/comments
16
2020-09-26T02:53:47Z
2020-10-09T15:00:15Z
https://github.com/gpac/gpac/issues/1599
709,407,936
1,599
[ "gpac", "gpac" ]
I want to play SHVC encoded video. However, when I make SHVC bitstreams into dash segment, I confirmed that it does not work. (I confirmed that shvc bitstreams are well displayed on the screen through openhevc filter.) In addition, an openhevc filter is needed to play shvc bitstreams, but there was a problem that the ffmpeg filter was turned on first, so the ffmpeg filter was turned off and proceeded. <command example> ./MP4Client test_mp4/Cactus_ATSC_10bits_qp32_shm12-3.mp4 ./MP4Client test_mp4/Cactus_ATSC_10bits_qp32_shm12-3_split.mp4 (I saw it play well.) 'Cactus_ATSC_10bits_qp32_shm12-3.mp4' created a bitstream using shm 12.3 and converted to mp4 format referring to the url below. (https://github.com/gpac/gpac/wiki/MPEG-HEVC-Support-in-GPAC) 'Cactus_ATSC_10bits_qp32_shm12-3_split.mp4' is a mode in which the track is split referring to the url below. (https://github.com/gpac/gpac/wiki/SVC-Support-in-MP4Box) However, the following command does not work. ./MP4Client cactus_32_shm12-3_3s/dash.mpd The contents of the error are as follows. -------------------------------------------------------------- Duplicate POC in a sequence: 8. Error parsing NAL unit #2. Could not find ref with POC 8. Duplicate POC in a sequence: 4. Error parsing NAL unit 2. could not find ref with POC 4. Duplicate POC in a sequence: 2. Error parsing NAL unit #2. . . . . . . . . . could not find ref with POC 499. Error parsing NAL unit #2. -------------------------------------------------------------- This error seems to be the code below not working properly in dec_openhevc.c (line 1183). got_pic = oh_decode(ctx->codec, (u8 *) ctx->reaggregation_buffer, ctx->reaggregation_size, min_cts); reaggregation_buffer is a buffer allocated through a 'if' statement in line 1162. When shvc bitstreams, nb_streams is 2. In line 1167, it was confirmed that when the memcpy func was used, the data of the base layer was duplicated and stored in reaggregation_buffer. -------------------------------------------------- ---------- Thanks for listening to the problem. Can you solve this problem? A file (test_data.zip) is attached, and there is a test file in it. [test data.zip](https://github.com/gpac/gpac/files/5266495/test.data.zip)
SHVC dash segment is not played....
https://api.github.com/repos/gpac/gpac/issues/1598/comments
3
2020-09-23T07:58:45Z
2020-10-13T05:07:17Z
https://github.com/gpac/gpac/issues/1598
707,138,781
1,598
[ "gpac", "gpac" ]
```gpac -graph -i counter_video_360.mp4 @ reframer:rt=on @ -o http://127.0.0.1:1789/live.mpd:gpac:rdirs=outdir:wdir=outdir:segdur=4:cdur=1:profile=dashavc264.live:dmode=dynamic:asto=3:cors:mvex:tfdt_traf:reqlog=GET::utcs=https://time.akamai.com/::``` ```No filter chain found for PID counter_video_360.mp4 in filter reframer to any loaded filters - NOT CONNECTED``` Note that adding the global option `````` works fine. So it's a parsing error.
gpac (filters): error when parsing final :utcs=URL
https://api.github.com/repos/gpac/gpac/issues/1597/comments
0
2020-09-21T12:26:33Z
2020-09-21T14:21:39Z
https://github.com/gpac/gpac/issues/1597
705,550,920
1,597
[ "gpac", "gpac" ]
I want to create my own rules ![image](https://user-images.githubusercontent.com/68137277/93740312-d28d9780-fc1c-11ea-9370-91b8aae0ca40.png) i create the new one but where can i create my own rules ![image](https://user-images.githubusercontent.com/68137277/93740380-f05afc80-fc1c-11ea-9bf2-406ef16c6bac.png)
how to create new srd control??
https://api.github.com/repos/gpac/gpac/issues/1596/comments
6
2020-09-21T07:13:58Z
2020-10-13T23:12:56Z
https://github.com/gpac/gpac/issues/1596
705,351,639
1,596
[ "gpac", "gpac" ]
When I run gpac with and UDP input, it looks like the port is interpreted as an argument, even though the pipeline works and displays correctly the video. P.S: is there a way to print the PIDs of the input? ( it is mpegts) ``` gpac -i udp://127.0.0.1:4123:FID=1 @ vout No filter chain found for PID P1V2 in filter m2tsdmx to any loaded filters - NOT CONNECTED [MPEG-2 TS] PES 256: Packet discontinuity (5 expected - got 13) - trashing PES packet Unknown argument ":4123" set but not used by any filter - no matching argument found ``` Tested on commit c6ca4f24dcc257b08606b5f1d7356d57056bd2e9 ----------------------------------------------------------- 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/
UDP Port parsing issue
https://api.github.com/repos/gpac/gpac/issues/1595/comments
4
2020-09-13T17:49:25Z
2020-09-14T07:46:41Z
https://github.com/gpac/gpac/issues/1595
700,615,310
1,595
[ "gpac", "gpac" ]
[crash.zip](https://github.com/gpac/gpac/files/5211706/crash.zip) - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. (version 1.1.0-DEV-rev17-gc6ca4f2-master) - [x] I give enough information for contributors to reproduce my issue https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Hi, I was trying to produce LL DASH. Whenever I add the last option with some value other than 'inband' as string I have Segmentation fault. BTW, in the documentation it is not well explained an example where it can be produced the mpd with the wanted utctiming tag (my aim). `gpac -h | grep version gpac -r -i /var/www/html/onDemand/videos/30min_countdown.mp4#video reframer:rt=on @ -o http://localhost:8091/experiment_gpac_public/master.mpd \ --asto=7 --buf=-1000 --cdur=1 --segdur=8 --tsb=180 \ --cors=true --dmode=dynamic --loop=true --profile=live --rdirs=/var/www/html \ --reqlog=GET --sreg=true --stl=false --title=ONLY-VIDEO-NO-BEEP-AUDIO --tpl=true --utcs=inband` This is the backtrace: Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f70fb5ffbf9 in gf_dm_sess_process () from /usr/local/lib/libgpac.so.10 (gdb) bt #0 0x00007f70fb5ffbf9 in gf_dm_sess_process () from /usr/local/lib/libgpac.so.10 #1 0x00007f70fb9d840a in dasher_switch_period.constprop () from /usr/local/lib/libgpac.so.10 #2 0x00007f70fb9da94e in dasher_process () from /usr/local/lib/libgpac.so.10 #3 0x00007f70fb9bb0d8 in gf_filter_process_task () from /usr/local/lib/libgpac.so.10 #4 0x00007f70fb9ab42c in gf_fs_thread_proc () from /usr/local/lib/libgpac.so.10 #5 0x00007f70fb9aeb00 in gf_fs_run () from /usr/local/lib/libgpac.so.10 #6 0x000000000040c351 in gpac_main () #7 0x00007f70fb180731 in __libc_start_main (main=0x403f20 <main>, argc=24, argv=0x7ffcd31762a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcd3176298) at ../csu/libc-start.c:289 #8 0x0000000000403f59 in _start () **Segmentation fault (core dumped and ATTACHED)**
Crash when using utcs option in dasher with another string than 'inband'
https://api.github.com/repos/gpac/gpac/issues/1594/comments
5
2020-09-11T22:28:43Z
2020-09-30T14:57:14Z
https://github.com/gpac/gpac/issues/1594
699,814,070
1,594
[ "gpac", "gpac" ]
Multifragmenting segments to have multiple `MOOF,MDAT` pairs writes broken segments. it's only **the first pair having** TFDT atom but the following pairs missing one. Player dashjs goes like 10x steps speed until encounter missing segments. ``` MP4Box.exe Not enough arguments - check usage with -h MP4Box - GPAC version 1.0.0-rev204-g348365dd1-ab-suite (c) 2000-2020 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io MP4Box.exe -dash 384000 -frag 48000 -dash-scale 48000 -closest -mem-frags -rap -profile dashavc264:live ^ -min-buffer 8000 -bs-switching no -sample-groups-traf -single-traf -subsegs-per-sidx 0 ^ -segment-name $RepresentationID$/$Number$$Init=i$ ^ -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 ^ temp-a1-1.mp4#trackID=1:id=a1-1:period=p0 ``` ps: Is this mp4box.exe still valid now and a future? Some examples start to use gpac.exe binary with a pipeline argument syntax, mp4box support only an old skool arguments and missing some new param tricks?
Multifragment(MOOF,MDAT) segmenting missing TFDT(mediaDecodeTime) fields
https://api.github.com/repos/gpac/gpac/issues/1593/comments
4
2020-09-10T09:09:23Z
2020-09-10T16:26:03Z
https://github.com/gpac/gpac/issues/1593
697,651,973
1,593
[ "gpac", "gpac" ]
The fix for #1131 and the resulting commit 6d54d215c29984c84433eb128c27b12276315078 switching to the libpng-dev package dependency has a bad side effect: In Debian 10 (Buster) the libpng12 and libpng16 coexsist,but in Ubuntu 18 / 20 (Bionic / Focal) there is no more libpng12 causing the packages available at https://gpac.wp.imt.fr/downloads/ for **Linux 32 bits (debian/ubuntu)** **Linux 64 bits (debian/ubuntu)** only work with Debian out of the box, and for Ubuntu a workaround needs to be done, by downloading and installing an Ubuntu 16 (Xenial) package of libpng12-0 ; and i assume to build successfully i assume, the libpng12-dev is required, because looking at the source here, you still has headers and code depending on libpng 1.2.33
Prebuilt Debian/Ubuntu package and libpng12 dependency unresolved on Ubuntu 18 / 20
https://api.github.com/repos/gpac/gpac/issues/1592/comments
3
2020-09-09T23:02:16Z
2020-09-10T13:27:48Z
https://github.com/gpac/gpac/issues/1592
697,220,243
1,592
[ "gpac", "gpac" ]
Hi community: When I used the MP4Clinet to play .mpd file some error occurred. As shown in the figure below. ![批注 2020-09-07 184846](https://user-images.githubusercontent.com/57747741/92381046-ba0d7f80-f13c-11ea-9eff-756683e89d5f.png) I encoded the video: `kvazaar -i MyVideo.yuv --input-res 1280x720 -o MyVideo.hvc --tiles 3x3 --slices tiles --mv-constraint frametilemargin` The default GOP(group of pictures) is 64. Then I used MP4Box to split tiles and FPS is 30: `MP4Box -add MyVideo.hvc:split_tiles -fps 30 -new MyVideo-tiled.mp4` Then to generate MPD file and segment length is 2200ms : `MP4Box -dash 2200 -rap -frag-rap -profile live -out MyVideo.mpd MyVideo-tiled.mp4 ` I will be grateful for any help.
DASH duration and Segment duration
https://api.github.com/repos/gpac/gpac/issues/1591/comments
5
2020-09-07T11:18:03Z
2020-09-10T12:11:09Z
https://github.com/gpac/gpac/issues/1591
694,997,043
1,591
[ "gpac", "gpac" ]
In rfnalu, if [this condition](https://github.com/gpac/gpac/blob/24c98a3a464c9318625ce0c808b46535131b848b/src/filters/reframe_nalu.c#L2935) is hit on an [input packet marked as an AU start](https://github.com/gpac/gpac/blob/24c98a3a464c9318625ce0c808b46535131b848b/src/filters/reframe_nalu.c#L2074), rfnalu can output one packet marked as an AU start with a cts and dts later than it should be, followed by one packet marked as an AU start with the same cts. Inevitably the first packet is very small, so I doubt it is actually a valid frame. To find this, I instrumented rfnalu with extra logging, ran `srt-live-transmit srt://0.0.0.0:3800?mode=server file://con | gpac -logs=parser@debug src=stdin dst=test.mp4`, and pointed OBS at it - although I imagine this is triggerable in other ways to get the same result. I have uploaded the test.mp4 [here](https://www.mediafire.com/file/so8zlifi446o3nc/test.mp4/file), and the broken samples are 601/602 on track 256, with cts 1809000. - [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/
Duplicate cts/broken framing in rfnalu
https://api.github.com/repos/gpac/gpac/issues/1590/comments
5
2020-09-06T07:20:12Z
2020-09-10T19:15:44Z
https://github.com/gpac/gpac/issues/1590
694,276,618
1,590
[ "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 would like to request long path support in Windows 10. Currently, long paths don't work with long path prefix `\\?\` but only using 8.3 names. I would like to request native long path support that don't need a prefix or short name. https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#short-vs-long-names https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later This is frequently requested by staxrip users: https://github.com/staxrip/staxrip/wiki/Windows-10-long-path-support
Windows 10 long path support
https://api.github.com/repos/gpac/gpac/issues/1589/comments
25
2020-09-05T10:29:11Z
2021-01-18T20:35:53Z
https://github.com/gpac/gpac/issues/1589
694,055,414
1,589
[ "gpac", "gpac" ]
Version: 1.0.0-rev-228 (Downloaded from site) OS: Windows 10 64bit (updated) Sample Media: This Old House-S31E26.mp4 (uploaded to your mediafire link) Issue: I started to notice that SplitX and SplitZ would randomly cause audio issues in the resulting file. In this sample's case, _mp4box -splitx 45:end_ will cause the problem. The streams in the resulting file seem to have non-matching audio and video lengths. As a result, subtracting the stream length from the audio track and the video track, and then setting an audio delay will mitigate the bug. For the example, _mp4box -delay 2=-2934_ (following a 45 second splitx). I have reliably recreated the bug in files using AAC and MP3 audio. Video codec seems to have no effect. Changing the split location does alter the delay, sometimes negating any issue. Deprecating to 0.7.2-DEV-rev888-gd5362240-master-x64 solves the issue. (I just happened to have a backup of that version.) I hope I've been detailed enough to help you some. I've tried to think of any issues on my end that could be causing this, but I can't seem to find anything else. Cheers for such an invaluable tool!!
[MP4Box] SplitX/SplitZ Causes Audio Synchronization Error
https://api.github.com/repos/gpac/gpac/issues/1588/comments
1
2020-09-05T08:21:52Z
2020-10-13T15:19:33Z
https://github.com/gpac/gpac/issues/1588
694,033,116
1,588
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [5a884e](https://github.com/gpac/gpac/commit/5a884e376e1f67b3d40ec91c0b70ab49219fe3cd)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -disox -ttxt -2 -dump-chap-ogg -dump-cover -drtp -bt -out /dev/null @@ ## AddressSanitizer output ``` ================================================================= ==66502==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000e054 at pc 0x7f91d0a841d9 bp 0x7ffcd7145d60 sp 0x7ffcd71454d8 READ of size 5 at 0x60200000e054 thread T0 #0 0x7f91d0a841d8 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x601d8) #1 0x7f91d0a84bbc in __interceptor_vfprintf (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x60bbc) #2 0x55ad61358dd0 in gf_fprintf utils/os_file.c:1512 #3 0x55ad619271c4 in url_box_dump isomedia/box_dump.c:350 #4 0x55ad61979ed0 in gf_isom_box_dump isomedia/box_funcs.c:1926 #5 0x55ad6192490a in gf_isom_box_array_dump isomedia/box_dump.c:101 #6 0x55ad6197a057 in gf_isom_box_dump_done isomedia/box_funcs.c:1933 #7 0x55ad6192d385 in dref_box_dump isomedia/box_dump.c:863 #8 0x55ad61979ed0 in gf_isom_box_dump isomedia/box_funcs.c:1926 #9 0x55ad6192490a in gf_isom_box_array_dump isomedia/box_dump.c:101 #10 0x55ad6197a057 in gf_isom_box_dump_done isomedia/box_funcs.c:1933 #11 0x55ad61927135 in dinf_box_dump isomedia/box_dump.c:339 #12 0x55ad61979ed0 in gf_isom_box_dump isomedia/box_funcs.c:1926 #13 0x55ad6192490a in gf_isom_box_array_dump isomedia/box_dump.c:101 #14 0x55ad6197a057 in gf_isom_box_dump_done isomedia/box_funcs.c:1933 #15 0x55ad61931825 in minf_box_dump isomedia/box_dump.c:1253 #16 0x55ad61979ed0 in gf_isom_box_dump isomedia/box_funcs.c:1926 #17 0x55ad6192490a in gf_isom_box_array_dump isomedia/box_dump.c:101 #18 0x55ad6197a057 in gf_isom_box_dump_done isomedia/box_funcs.c:1933 #19 0x55ad619323a5 in mdia_box_dump isomedia/box_dump.c:1296 #20 0x55ad61979ed0 in gf_isom_box_dump isomedia/box_funcs.c:1926 #21 0x55ad6192490a in gf_isom_box_array_dump isomedia/box_dump.c:101 #22 0x55ad6197a057 in gf_isom_box_dump_done isomedia/box_funcs.c:1933 #23 0x55ad61928bb8 in trak_box_dump isomedia/box_dump.c:550 #24 0x55ad61979ed0 in gf_isom_box_dump isomedia/box_funcs.c:1926 #25 0x55ad6192490a in gf_isom_box_array_dump isomedia/box_dump.c:101 #26 0x55ad6197a057 in gf_isom_box_dump_done isomedia/box_funcs.c:1933 #27 0x55ad61925df0 in moov_box_dump isomedia/box_dump.c:217 #28 0x55ad61979ed0 in gf_isom_box_dump isomedia/box_funcs.c:1926 #29 0x55ad61924c92 in gf_isom_dump isomedia/box_dump.c:135 #30 0x55ad612fef09 in dump_isom_xml /home/seviezhou/gpac/applications/mp4box/filedump.c:1671 #31 0x55ad612d0754 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5550 #32 0x7f91cfa50b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #33 0x55ad612afbe9 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x280be9) 0x60200000e054 is located 0 bytes to the right of 4-byte region [0x60200000e050,0x60200000e054) allocated by thread T0 here: #0 0x7f91d0abc612 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98612) #1 0x55ad62bea6a9 in url_box_read isomedia/box_code_base.c:580 SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 ?? Shadow bytes around the buggy address: 0x0c047fff9bb0: fa fa 00 fa fa fa 00 00 fa fa 00 00 fa fa 02 fa 0x0c047fff9bc0: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 00 0x0c047fff9bd0: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 00 0x0c047fff9be0: fa fa 00 00 fa fa 00 05 fa fa 00 00 fa fa 00 00 0x0c047fff9bf0: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 00 =>0x0c047fff9c00: fa fa 00 fa fa fa 00 00 fa fa[04]fa fa fa 00 00 0x0c047fff9c10: fa fa 00 00 fa fa 00 05 fa fa 00 00 fa fa 00 00 0x0c047fff9c20: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 00 0x0c047fff9c30: fa fa 00 00 fa fa 00 00 fa fa fd fa fa fa 00 fa 0x0c047fff9c40: fa fa 00 00 fa fa 00 00 fa fa 00 07 fa fa fd fa 0x0c047fff9c50: fa fa 00 02 fa fa 04 fa fa fa fd fa fa fa 07 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe ==66502==ABORTING ``` ## POC [heap-overflow-url_box_dump-box_dump-350.zip](https://github.com/gpac/gpac/files/5175604/heap-overflow-url_box_dump-box_dump-350.zip)
A heap-buffer-overflow in box_dump.c:350
https://api.github.com/repos/gpac/gpac/issues/1587/comments
0
2020-09-04T15:05:21Z
2020-09-07T07:20:45Z
https://github.com/gpac/gpac/issues/1587
693,270,293
1,587
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [5a884e](https://github.com/gpac/gpac/commit/5a884e376e1f67b3d40ec91c0b70ab49219fe3cd)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ASAN:SIGSEGV ================================================================= ==14934==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x556b734996bc bp 0x0c0c00001d9e sp 0x7fffb5212f80 T0) #0 0x556b734996bb in vwid_box_del isomedia/box_code_base.c:11579 #1 0x556b721a79de in gf_isom_box_del isomedia/box_funcs.c:1668 #2 0x556b721ab705 in gf_isom_box_parse_ex isomedia/box_funcs.c:295 #3 0x556b721ac7a1 in gf_isom_parse_root_box isomedia/box_funcs.c:38 #4 0x556b721e2f9c in gf_isom_parse_movie_boxes isomedia/isom_intern.c:259 #5 0x556b721ede7e in gf_isom_parse_movie_boxes isomedia/isom_intern.c:247 #6 0x556b721ede7e in gf_isom_open_file isomedia/isom_intern.c:740 #7 0x556b71b167df in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5333 #8 0x7f5bcfaeeb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #9 0x556b71ae9be9 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x280be9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV isomedia/box_code_base.c:11579 vwid_box_del ==14934==ABORTING ``` ## POC [SEGV-vwid_box_del-box_code_base-11579.zip](https://github.com/gpac/gpac/files/5175561/SEGV-vwid_box_del-box_code_base-11579.zip)
A Segmentation fault in box_code_base.c:11579
https://api.github.com/repos/gpac/gpac/issues/1586/comments
0
2020-09-04T14:58:11Z
2020-09-07T07:20:45Z
https://github.com/gpac/gpac/issues/1586
693,262,344
1,586
[ "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 ...). ------ Hi, DASHIF proposes a validator (https://conformance.dashif.org/) to which the mpd generated thru gpac command is not LL compliant with this result: Log No | MPD Validation Report -- | -- 1 | 0XLink resolving successful 2 | MPD validation successful - DASH is valid! 3 | Schematron validation successful - DASH is valid! 4 | DASH-IF IOP CR Low Latency Live warning section 9.X.4.1: "A Media Presentation that follows a DASH-IF Low-Latency Service Offering according to this specification SHOULD be signalled with the @profiles identifier 'http://www.dashif.org/guidelines/low-latency-live-v5'", specified identifier is not found in the MPD. 5 | DASH-IF IOP CR Low Latency Live check violated Section 9.X.4.2: "At least one ServiceDescription element SHALL be present", ServiceDescription element not found in neither MPD nor Period 1. 6 | DASH-IF IOP CR Low Latency Live check violated Section 9.X.4.2: "At least one UTC timing description SHALL be present and be restricted with @schemeIdUri set to one of {urn:mpeg:dash:utc:http-xsdate:2014, urn:mpeg:dash:utc:http-iso:2014, urn:mpeg:dash:utc:http-ntp:2014}", UTCTiming element not found in the MPD. 7 | DASH-IF IOP Low Latancy Live check warning Section 9.X.4.2: "Low latency content SHOULD provide a LeapSecondInformation element providing correction for leap seconds", LeapSecondInformation element is not found in the MPD The mpd in output is "master.mpd" (attached to this ticket indented) and the command for gpac generation was: `gpac -r -i /var/www/html/onDemand/videos/30min_countdown.mp4#video reframer:rt=on @ \ -o http://localhost:8091/experiment_gpac_public/master.mpd --rdirs=/var/www/html --dmode=dynamic --cdur=1 --asto=7 --segdur=8 --reqlog=GET --profile=live --stl=false --tpl=true --tsb=180 --sreg=true --utcs=xsd@` So the ServiceDescription element and the UTC timing tags seems to be missing. Didnt find neither how to include this in the documentation. Best, [from browser gpac.zip](https://github.com/gpac/gpac/files/5161216/from.browser.gpac.zip)
No conformance with DASHIF low latency validator (related to or due to documentation improvement need #1533)
https://api.github.com/repos/gpac/gpac/issues/1585/comments
1
2020-09-02T09:14:36Z
2020-09-30T14:56:34Z
https://github.com/gpac/gpac/issues/1585
690,857,555
1,585
[ "gpac", "gpac" ]
Checks - [x] I looked for a similar issue and couldn't find any. **SIMILAR, yes, but not this exact one, and it is closed.** - [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 -------------------------------------------- Hello GPAC Team, Please consider this issue: mp4box -dump-chap-ogg is documented as extracting a chapter file as OGG format. However it extract file as ttxt, exactly as when using -dump-chap ! Isn't it supposed to give a different output? Here is the command used: MP4Box.exe -dump-chap-ogg "TimecodeSample25FpsWithChapts.mp4" -out "Timechaptersogg.txt" Here is the ouput file, with -dump-chap and **-dump-chap-ogg**: ![SNAG-0002](https://user-images.githubusercontent.com/17828567/91656837-b76bb400-eac4-11ea-9d40-e76ff4f4e3e1.jpg) [Timechaptersogg.txt](https://github.com/gpac/gpac/files/5146643/Timechaptersogg.txt) [Here is the link to the source file](https://www.mediafire.com/file/kqnpfk30vjmqm4q/TimecodeSample25FpsWithChapts.mp4/file), created by handbrake for this testing purpose. Thanks again !
mp4box -dump-chap and -dump-chap-ogg give the exact same ouput !
https://api.github.com/repos/gpac/gpac/issues/1584/comments
2
2020-08-30T10:23:37Z
2020-09-01T17:23:45Z
https://github.com/gpac/gpac/issues/1584
688,692,963
1,584
[ "gpac", "gpac" ]
Dashing three video tracks and two audio tracks. Segment .m4s files are written to v1,v2,v3,a1,a1-1 sub folders. Init segments are written only to v1, a1 and a1-1 subfolders. **Missing init.mp4 files in v2,v3 video track folders.** New binary `MP4Box - GPAC version 1.0.0-rev188-g2aa266dfa-ab-suite`. My previous binary `MP4Box - GPAC version 0.8.0-rev165-g9d3dfe34c-ab-suite` works fine writing all init.mp4 files. ``` MP4Box.exe -dash 88200 -frag 11025 -dash-scale 44100 -closest ^ -mem-frags -rap -profile dashavc264:live ^ -profile-ext "urn:hbbtv:dash:profile:isoff-live:2012" -min-buffer 4000 ^ -bs-switching no -sample-groups-traf -single-traf ^ -subsegs-per-sidx 0 -segment-name "$RepresentationID$/$Number$$Init=i$" ^ -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" ^ "temp-a1-1.mp4#trackID=1:id=a1-1:period=p0" MP4Box.exe (from git repository) MP4Box - GPAC version 1.0.0-rev188-g2aa266dfa-ab-suite (c) 2000-2020 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io ``` Manifest.mpd file has multiple `<SegmentTemplate>` elements. ``` <?xml version="1.0"?> <!-- MPD file Generated with GPAC version 1.0.0-rev188-g2aa266dfa-ab-suite at 2020-08-27T06:50:50.055Z --> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT4.000S" type="static" mediaPresentationDuration="PT0H6M26.023S" maxSegmentDuration="PT0H0M4.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011,http://dashif.org/guidelines/dash264,urn:hbbtv:dash:profile:isoff-live:2012"> <ProgramInformation moreInformationURL="http://refapp"> <Title>refapp</Title> </ProgramInformation> <Period id="p0" duration="PT0H6M26.023S"> <AdaptationSet segmentAlignment="true" maxWidth="1920" maxHeight="1080" maxFrameRate="25" par="16:9" lang="eng" startWithSAP="1"> <SegmentTemplate media="$RepresentationID$/$Number$.m4s" initialization="$RepresentationID$/i.mp4" timescale="44100" startNumber="1" duration="88200"/> <Representation id="v1" mimeType="video/mp4" codecs="avc1.4D4028" width="640" height="360" frameRate="25" sar="1:1" bandwidth="520865"> </Representation> <Representation id="v2" mimeType="video/mp4" codecs="avc1.4D4028" width="1280" height="720" frameRate="25" sar="1:1" bandwidth="1527626"> <SegmentTemplate media="$RepresentationID$/$Number$.m4s" timescale="44100" startNumber="1" duration="88200"/> </Representation> <Representation id="v3" mimeType="video/mp4" codecs="avc1.4D4028" width="1920" height="1080" frameRate="25" sar="1:1" bandwidth="2142373"> <SegmentTemplate media="$RepresentationID$/$Number$.m4s" timescale="44100" startNumber="1" duration="88200"/> </Representation> </AdaptationSet> <AdaptationSet segmentAlignment="true" lang="eng" startWithSAP="1"> <SegmentTemplate media="$RepresentationID$/$Number$.m4s" initialization="$RepresentationID$/i.mp4" timescale="44100" startNumber="1" duration="88200"/> <Representation id="a1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="127701"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> </Representation> </AdaptationSet> <AdaptationSet segmentAlignment="true" lang="fin" startWithSAP="1"> <SegmentTemplate media="$RepresentationID$/$Number$.m4s" initialization="$RepresentationID$/i.mp4" timescale="44100" startNumber="1" duration="88200"/> <Representation id="a1-1" mimeType="audio/mp4" codecs="mp4a.40.2" audioSamplingRate="44100" bandwidth="128650"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> </Representation> </AdaptationSet> </Period> </MPD> ```
Init segment not written to all multiple videos (1/3 videoinit.mp4)
https://api.github.com/repos/gpac/gpac/issues/1583/comments
1
2020-08-27T07:00:27Z
2020-09-01T10:24:27Z
https://github.com/gpac/gpac/issues/1583
686,996,582
1,583
[ "gpac", "gpac" ]
When using command `gpac -i subtitles.mp4 -i video.mp4 dst=master.mpd:dual:profile=onDemand:segdur=10` the resulting master.m3u8 is: ``` #EXTM3U #EXT-X-VERSION: 6 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=SUBTITLE,GROUP-ID="subs1",NAME="1",LANGUAGE="eng",AUTOSELECT=YES,URI="master_1.m3u8" #EXT-X-STREAM-INF:BANDWIDTH=5743027,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE="25",AUDIO="audio3",SUBTITLE="subs"1" master_2.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio3",NAME="3",LANGUAGE="nld",AUTOSELECT=YES,URI="master_3.m3u8",CHANNELS="2" ``` There are 2 issues that prohibit successfully playing these assets in the Safari browser: - TYPE for subtitles should be SUBTITLES both in the EXT-X-MEDIA tag and the EXT-X-STREAM-INF tag. - Note the `SUBTITLE="subs"1"`. It seems like there's an extra quote that shouldn't be there.
HLS master playlist issues
https://api.github.com/repos/gpac/gpac/issues/1582/comments
1
2020-08-25T14:05:49Z
2020-09-01T11:20:37Z
https://github.com/gpac/gpac/issues/1582
685,514,397
1,582
[ "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. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [ ] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/
How to import gapc library to myself android project?
https://api.github.com/repos/gpac/gpac/issues/1581/comments
1
2020-08-22T09:49:32Z
2020-09-01T11:46:17Z
https://github.com/gpac/gpac/issues/1581
683,968,244
1,581
[ "gpac", "gpac" ]
Hi, I am try to use gpac to create encrypted video, I have follow the gpac code but not understand how can I get the keys for encryption and also how I can play in media player for decrypt the video and play. And also tell me is I need to purchase the key or its free. I have upload my detail report regarding the issue I have face, please see the attachment [gpac.docx](https://github.com/gpac/gpac/files/5103906/gpac.docx)
Gpac key
https://api.github.com/repos/gpac/gpac/issues/1580/comments
5
2020-08-20T15:04:16Z
2020-11-29T10:33:49Z
https://github.com/gpac/gpac/issues/1580
682,791,263
1,580
[ "gpac", "gpac" ]
As I don't have access to that ISO/IEC and haven't really found any other open source project that actually have an implementation of ISO/IEC 23001-9 I would like to know if there are plans or considerations to do so. The more interesting part would be the encryption of mpeg (ts/m2ts) and secondly enc_m2ts -> enc_mp4 and vice versa. If you know of any implementation let me know.
Feature Request ISO/IEC 23001-9
https://api.github.com/repos/gpac/gpac/issues/1578/comments
1
2020-08-18T22:34:12Z
2020-09-01T14:11:29Z
https://github.com/gpac/gpac/issues/1578
681,382,089
1,578
[ "gpac", "gpac" ]
Hi. I build .rpm for Centos7. The gpac.spec has issues: **1.** error: bad date in %changelog: Jun 16 2020 Jean Le Feuvre **Fix**: add Tue in the line `Jun 16 2020 Jean Le Feuvre` **2.** Error: No Package found for libjack-devel **Fix.** For Centos not have package libjack-devel. This package should replaced by jack-audio-connection-kit **3.** install: cannot create directory '/usr//usr': Permission denied **Fix.** Use sudo, but i don't know why happened this error. **4.** cp: cannot stat 'AUTHORS': No such file or directory **Fix.** Replace this string `%doc AUTHORS BUGS Changelog COPYING README.md TODO` by `%doc Changelog README.md` **5.** ``` Processing files: gpac-1.0.0-1.0.0.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aqbsQP error: File not found by glob: /builddir/build/BUILDROOT/gpac-1.0.0-1.0.0.x86_64/usr/lib64/* + umask 022 + cd /builddir/build/BUILD + cd gpac + DOCDIR=/builddir/build/BUILDROOT/gpac-1.0.0-1.0.0.x86_64/usr/share/doc/gpac-1.0.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gpac-1.0.0-1.0.0.x86_64/usr/share/doc/gpac-1.0.0 + cp -pr Changelog /builddir/build/BUILDROOT/gpac-1.0.0-1.0.0.x86_64/usr/share/doc/gpac-1.0.0 + cp -pr README.md /builddir/build/BUILDROOT/gpac-1.0.0-1.0.0.x86_64/usr/share/doc/gpac-1.0.0 + exit 0 RPM build errors: File not found by glob: /builddir/build/BUILDROOT/gpac-1.0.0-1.0.0.x86_64/usr/lib64/* ERROR: Exception(SRPMS/x86_64/gpac-1.0.0-1.0.0.src.rpm) Config(epel-7-x86_64) 3 minutes 33 seconds INFO: Results and/or logs in: gpac ``` **Fix.**. I don't know how fix this issue and need some help.
Errors in gpac.spec
https://api.github.com/repos/gpac/gpac/issues/1577/comments
1
2020-08-18T12:30:19Z
2020-09-04T18:16:45Z
https://github.com/gpac/gpac/issues/1577
681,003,546
1,577
[ "gpac", "gpac" ]
Using: ``` MP4Box - GPAC version 1.0.0-rev188-g2aa266dfa-ab-suite (c) 2000-2020 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io ``` And the following calls: 1. extract audio: ``` ffmpeg -y -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:1 -vn -sn -acodec copy -map_metadata -1 -metadata encoding_tool="Hybrid 2020.08.14.1" "E:\Output\iId_1_aid_1_DELAY_-53ms_2020-08-17@04_20_16_1410_01.mp3" ``` ``` ffmpeg version N-98737-g8a31850ebf-ga72d5290c5+3 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10.2.0 (Rev1, Built by MSYS2 project) configuration: --cc='ccache gcc' --cxx='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-libopenmpt --enable-version3 --enable-libsvtav1 --enable-libkvazaar --enable-libzmq --enable-libvmaf --enable-vapoursynth --enable-librav1e --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DZMQ_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB libavutil 56. 58.100 / 56. 58.100 libavcodec 58.100.100 / 58.100.100 libavformat 58. 51.100 / 58. 51.100 libavdevice 58. 11.101 / 58. 11.101 libavfilter 7. 87.100 / 7. 87.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Input #0, avi, from 'F:\TestClips&Co\files\test.avi': Metadata: ISGN : Drama IRTD : Unrated title : Encoding TestClip artist : AutorTest album : Movie date : Heute genre : Documentary ISBJ : downfall of Hitler copyright : CopyrightTest IKEY : Hitler comment : Kleiner Testclip den ich zum Testen verwende encoder : VirtualDub build 29393/releaseNandub v1.0rc2 Duration: 00:00:17.16, start: 0.000000, bitrate: 860 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 [SAR 1:1 DAR 20:11], 723 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 123 kb/s Output #0, mp3, to 'E:\Output\iId_1_aid_1_DELAY_-53ms_2020-08-17@04_20_16_1410_01.mp3': Metadata: encoding_tool : "Hybrid 2020.08.14.1" TSSE : Lavf58.51.100 Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 123 kb/s Stream mapping: Stream #0:1 -> #0:0 (copy) Press [q] to stop, [?] for help size= 254kB time=00:00:17.13 bitrate= 121.2kbits/s speed=6.87e+03x video:0kB audio:253kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.183642% finished after 00:00:00.088 created E:\Output\iId_1_aid_1_DELAY_-53ms_2020-08-17@04_20_16_1410_01.mp3 (0.247646 MB) ``` 2. convert audio: ``` ffmpeg -y -threads 8 -loglevel fatal -nostdin -i "E:\Output\iId_1_aid_1_DELAY_-53ms_2020-08-17@04_18_07_5110_01.mp3" -ac 2 -ar 48000 -acodec pcm_s16le -f wav - | neroAacEnc -br 128000 -ignorelength -if - -of "E:\Output\iId_1_aid_1_DELAY_-53ms_2020-08-17@04_18_07_5110_02.aac" ``` ``` ************************************************************* * * * Nero AAC Encoder * * Copyright 2009 Nero AG * * All Rights Reserved Worldwide * * * * Package build date: Feb 18 2010 * * Package version: 1.5.4.0 * * * * See -help for a complete list of available parameters. * * * ************************************************************* Processed 0 seconds... Processed 1 seconds... Processed 2 seconds... Processed 3 seconds... Processed 4 seconds... Processed 5 seconds... Processed 6 seconds... Processed 7 seconds... Processed 8 seconds... Processed 9 seconds... Processed 10 seconds... Processed 11 seconds... Processed 12 seconds... Processed 13 seconds... Processed 14 seconds... Processed 15 seconds... Processed 16 seconds... Processed 17 seconds... finished after 00:00:00.390 created E:\Output\iId_1_aid_1_DELAY_-53ms_2020-08-17@04_20_16_1410_02.aac (0.264829 MB) ``` 3. convert video: ``` ffmpeg -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f yuv4mpegpipe - | NVEnc --y4m -i - --fps 25.000 --codec h265 --profile main --level auto --tier high --sar 1:1 --lookahead 16 --output-depth 8 --vbrhq 0 --vbr-quality 35.00 --max-bitrate 240000 --gop-len 0 --ref 3 --bframes 0 --no-b-adapt --mv-precision Q-pel --preset quality --colormatrix bt470bg --cuda-schedule sync --output "E:\Output\test_2020-08-17@04_18_07_5110_03.265" ``` ``` -------------------------------------------------------------------------------- E:\Output\test_2020-08-17@04_20_16_1410_03.265 -------------------------------------------------------------------------------- NVEncC (x64) 5.13 (r1625) by rigaya, Jul 29 2020 13:52:13 (VC 1916/Win/avx2) OS Version Windows 10 x64 (19041) CPU AMD Ryzen 7 1800X Eight-Core Processor (8C/16T) GPU #0: GeForce GTX 1070 Ti (2432 cores, 1683 MHz)[PCIe3x16][451.67] NVENC / CUDA NVENC API 10.0, CUDA 11.0, schedule mode: sync Input Buffers CUDA, 32 frames Input Info y4m(yv12)->nv12 [AVX2], 640x352, 25/1 fps Vpp Filters copyHtoD Output Info H.265/HEVC main @ Level auto 640x352p 1:1 25.000fps (25/1fps) Encoder Preset quality Rate Control VBR Multipass 2pass-full Bitrate 0 kbps (Max: 240000 kbps) Target Quality 35.00 Initial QP I:20 P:23 B:25 VBV buf size auto Lookahead on, 16 frames, Adaptive I Insert GOP length 250 frames B frames 0 frames [ref mode: disabled] Ref frames 3 frames AQ off CU max / min auto / auto VUI matrix:bt470bg Others mv:Q-pel encoded 429 frames, 1311.93 fps, 148.48 kbps, 0.30 MB encode time 0:00:00, CPULoad: 9.6 frame type IDR 3 frame type I 3, total size 0.01 MB frame type P 426, total size 0.29 MB finished after 00:00:01.274 created E:\Output\test_2020-08-17@04_20_16_1410_03.265 (0.303741 MB) ``` 4. rename audio: ``` E:\Output\iId_1_aid_1_DELAY_-53ms_2020-08-17@04_18_07_5110_02.aac to E:\Output\iId_1_aid_1_ms_2020-08-17@04_18_07_5110_02.aac ``` 5. mux audio and video: ``` MP4Box -add "E:\Output\test_2020-08-17@04_18_07_5110_03.265"#video:fps=25:delay=53:xps_inband:name="" -brand hev1 -add "E:\Output\iId_1_aid_1_ms_2020-08-17@04_18_07_5110_02.aac"#audio:name="":lang= -mpeg4 -itags tool="Hybrid 2020.08.14.1" -tmp "E:\Output" -new "E:\Output\2020-08-17@04_18_07_5110__05.mp4" ``` ``` Track Importing HEVC - Width 640 Height 352 FPS 25000/1000 SAR 1/1 Import: | | (01/100) Import: | | (03/100) Import: | | (04/100) Import: |= | (06/100) Import: |= | (07/100) Import: |= | (09/100) Import: |== | (10/100) Import: |== | (12/100) Import: |== | (14/100) Import: |=== | (15/100) Import: |=== | (17/100) Import: |=== | (18/100) Import: |==== | (20/100) Import: |==== | (21/100) Import: |==== | (23/100) Import: |===== | (25/100) Import: |===== | (26/100) Import: |===== | (28/100) Import: |===== | (29/100) Import: |====== | (31/100) Import: |====== | (32/100) Import: |====== | (34/100) Import: |======= | (36/100) Import: |======= | (37/100) Import: |======= | (39/100) Import: |======== | (40/100) Import: |======== | (42/100) Import: |======== | (43/100) Import: |========= | (45/100) Import: |========= | (47/100) Import: |========= | (48/100) Import: |========== | (50/100) Import: |========== | (51/100) Import: |========== | (53/100) Import: |========== | (54/100) Import: |=========== | (56/100) Import: |=========== | (58/100) Import: |=========== | (59/100) Import: |============ | (61/100) Import: |============ | (62/100) Import: |============ | (64/100) Import: |============= | (65/100) Import: |============= | (67/100) Import: |============= | (69/100) Import: |============== | (70/100) Import: |============== | (72/100) Import: |============== | (73/100) Import: |=============== | (75/100) Import: |=============== | (76/100) Import: |=============== | (78/100) Import: |================ | (80/100) Import: |================ | (81/100) Import: |================ | (83/100) Import: |================ | (84/100) Import: |================= | (86/100) Import: |================= | (87/100) Import: |================= | (89/100) Import: |================== | (91/100) Import: |================== | (92/100) Import: |================== | (94/100) Import: |=================== | (95/100) Import: |=================== | (97/100) Import: |====================| (100/100) Import: |====================| (100/100) Import: |====================| (100/100) Import: |====================| (100/100) Import: |====================| (100/100) Import: |====================| (100/100) Import: |====================| (100/100) Import: |====================| (100/100) HEVC Import results: 429 samples (433 NALUs) - Slices: 3 I 426 P 0 B - 0 SEI - 3 IDR HEVC Max NALU size is 5875 - stream could be optimized by setting nal_length=2 IsoMedia import iId_1_aid_1_ms_2020-08-17@04_20_16_1410_02.aac - track ID 1 - Audio (SR 48000 - 2 channels) Importing ISO File: | | (00/100) Importing ISO File: | | (01/100) Importing ISO File: | | (02/100) Importing ISO File: | | (03/100) Importing ISO File: | | (04/100) Importing ISO File: |= | (05/100) Importing ISO File: |= | (06/100) Importing ISO File: |= | (07/100) Importing ISO File: |= | (08/100) Importing ISO File: |= | (09/100) Importing ISO File: |== | (10/100) Importing ISO File: |== | (11/100) Importing ISO File: |== | (12/100) Importing ISO File: |== | (13/100) Importing ISO File: |== | (14/100) Importing ISO File: |=== | (15/100) Importing ISO File: |=== | (16/100) Importing ISO File: |=== | (17/100) Importing ISO File: |=== | (18/100) Importing ISO File: |=== | (19/100) Importing ISO File: |==== | (20/100) Importing ISO File: |==== | (21/100) Importing ISO File: |==== | (22/100) Importing ISO File: |==== | (23/100) Importing ISO File: |==== | (24/100) Importing ISO File: |===== | (25/100) Importing ISO File: |===== | (26/100) Importing ISO File: |===== | (27/100) Importing ISO File: |===== | (28/100) Importing ISO File: |===== | (29/100) Importing ISO File: |====== | (30/100) Importing ISO File: |====== | (31/100) Importing ISO File: |====== | (32/100) Importing ISO File: |====== | (33/100) Importing ISO File: |====== | (34/100) Importing ISO File: |======= | (35/100) Importing ISO File: |======= | (36/100) Importing ISO File: |======= | (37/100) Importing ISO File: |======= | (38/100) Importing ISO File: |======= | (39/100) Importing ISO File: |======== | (40/100) importing iso file Importing ISO File: |======== | (41/100) Importing ISO File: |======== | (42/100) Importing ISO File: |======== | (43/100) Importing ISO File: |======== | (44/100) Importing ISO File: |========= | (45/100) Importing ISO File: |========= | (46/100) Importing ISO File: |========= | (47/100) Importing ISO File: |========= | (48/100) Importing ISO File: |========= | (49/100) Importing ISO File: |========== | (50/100) Importing ISO File: |========== | (51/100) Importing ISO File: |========== | (52/100) Importing ISO File: |========== | (53/100) Importing ISO File: |========== | (54/100) Importing ISO File: |=========== | (55/100) Importing ISO File: |=========== | (56/100) Importing ISO File: |=========== | (57/100) Importing ISO File: |=========== | (58/100) Importing ISO File: |=========== | (59/100) Importing ISO File: |============ | (60/100) Importing ISO File: |============ | (61/100) Importing ISO File: |============ | (62/100) Importing ISO File: |============ | (63/100) Importing ISO File: |============ | (64/100) Importing ISO File: |============= | (65/100) Importing ISO File: |============= | (66/100) Importing ISO File: |============= | (67/100) Importing ISO File: |============= | (68/100) Importing ISO File: |============= | (69/100) Importing ISO File: |============== | (70/100) Importing ISO File: |============== | (71/100) Importing ISO File: |============== | (72/100) Importing ISO File: |============== | (73/100) Importing ISO File: |============== | (74/100) Importing ISO File: |=============== | (75/100) Importing ISO File: |=============== | (76/100) Importing ISO File: |=============== | (77/100) Importing ISO File: |=============== | (78/100) Importing ISO File: |=============== | (79/100) Importing ISO File: |================ | (80/100) Importing ISO File: |================ | (81/100) Importing ISO File: |================ | (82/100) Importing ISO File: |================ | (83/100) Importing ISO File: |================ | (84/100) Importing ISO File: |================= | (85/100) Importing ISO File: |================= | (86/100) Importing ISO File: |================= | (87/100) Importing ISO File: |================= | (88/100) Importing ISO File: |================= | (89/100) Importing ISO File: |================== | (90/100) Importing ISO File: |================== | (91/100) Importing ISO File: |================== | (92/100) Importing ISO File: |================== | (93/100) Importing ISO File: |================== | (94/100) Importing ISO File: |=================== | (95/100) Importing ISO File: |=================== | (96/100) Importing ISO File: |=================== | (97/100) Importing ISO File: |=================== | (98/100) Importing ISO File: |=================== | (99/100) Importing ISO File: |====================| (100/100) importing iso file ;The given code is not a valid one: , using 'und' as 3-letter code Saving E:\Output\2020-08-17@04_20_16_1410__05.mp4: 0.500 secs Interleaving ISO File Writing: | | (00/100) ISO File Writing: | | (01/100) ISO File Writing: | | (02/100) ISO File Writing: | | (03/100) ISO File Writing: | | (04/100) ISO File Writing: |= | (05/100) ISO File Writing: |= | (06/100) ISO File Writing: |= | (07/100) ISO File Writing: |= | (08/100) ISO File Writing: |= | (09/100) ISO File Writing: |== | (10/100) ISO File Writing: |== | (11/100) ISO File Writing: |== | (12/100) ISO File Writing: |== | (13/100) ISO File Writing: |== | (14/100) ISO File Writing: |=== | (15/100) ISO File Writing: |=== | (16/100) ISO File Writing: |=== | (17/100) ISO File Writing: |=== | (18/100) ISO File Writing: |=== | (19/100) ISO File Writing: |==== | (20/100) ISO File Writing: |==== | (21/100) ISO File Writing: |==== | (22/100) ISO File Writing: |==== | (23/100) ISO File Writing: |==== | (24/100) ISO File Writing: |===== | (25/100) ISO File Writing: |===== | (26/100) ISO File Writing: |===== | (27/100) ISO File Writing: |===== | (28/100) ISO File Writing: |===== | (29/100) ISO File Writing: |====== | (30/100) ISO File Writing: |====== | (31/100) ISO File Writing: |====== | (32/100) ISO File Writing: |====== | (33/100) ISO File Writing: |====== | (34/100) ISO File Writing: |======= | (35/100) ISO File Writing: |======= | (36/100) ISO File Writing: |======= | (37/100) ISO File Writing: |======= | (38/100) ISO File Writing: |======= | (39/100) ISO File Writing: |======== | (40/100) ISO File Writing: |======== | (41/100) ISO File Writing: |======== | (42/100) ISO File Writing: |======== | (43/100) ISO File Writing: |======== | (44/100) ISO File Writing: |========= | (45/100) ISO File Writing: |========= | (46/100) ISO File Writing: |========= | (47/100) ISO File Writing: |========= | (48/100) ISO File Writing: |========= | (49/100) ISO File Writing: |========== | (50/100) ISO File Writing: |========== | (51/100) ISO File Writing: |========== | (52/100) ISO File Writing: |========== | (53/100) ISO File Writing: |========== | (54/100) ISO File Writing: |=========== | (55/100) ISO File Writing: |=========== | (56/100) ISO File Writing: |=========== | (57/100) ISO File Writing: |=========== | (58/100) ISO File Writing: |=========== | (59/100) ISO File Writing: |============ | (60/100) ISO File Writing: |============ | (61/100) ISO File Writing: |============ | (62/100) ISO File Writing: |============ | (63/100) ISO File Writing: |============ | (64/100) ISO File Writing: |============= | (65/100) ISO File Writing: |============= | (66/100) ISO File Writing: |============= | (67/100) ISO File Writing: |============= | (68/100) ISO File Writing: |============= | (69/100) ISO File Writing: |============== | (70/100) ISO File Writing: |============== | (71/100) ISO File Writing: |============== | (72/100) ISO File Writing: |============== | (73/100) ISO File Writing: |============== | (74/100) ISO File Writing: |=============== | (75/100) ISO File Writing: |=============== | (76/100) ISO File Writing: |=============== | (77/100) ISO File Writing: |=============== | (78/100) ISO File Writing: |=============== | (79/100) ISO File Writing: |================ | (80/100) ISO File Writing: |================ | (81/100) ISO File Writing: |================ | (82/100) ISO File Writing: |================ | (83/100) ISO File Writing: |================ | (84/100) ISO File Writing: |================= | (85/100) ISO File Writing: |================= | (86/100) ISO File Writing: |================= | (87/100) ISO File Writing: |================= | (88/100) ISO File Writing: |================= | (89/100) ISO File Writing: |================== | (90/100) ISO File Writing: |================== | (91/100) ISO File Writing: |================== | (92/100) ISO File Writing: |================== | (93/100) ISO File Writing: |================== | (94/100) ISO File Writing: |=================== | (95/100) ISO File Writing: |=================== | (96/100) ISO File Writing: |=================== | (97/100) ISO File Writing: |=================== | (98/100) ISO File Writing: |=================== | (99/100) ISO File Writing: |====================| (100/100) finished after 00:00:00.163 created E:\Output\2020-08-17@04_20_16_1410__05.mp4 (0.570005 MB) ``` 6. renamed E:\Output\2020-08-17@04_20_16_1410__05.mp4 to E:\Output\test_rev188.mp4 I end up with a file where the video is not playable. I uploaded all the files to: https://drive.google.com/drive/folders/1SsA1RpBhhUYbVAS_LJ2-Yixh_f2EAQAc?usp=sharing As a side note: just muxing the video works fine. Using ffmpeg as muxer instead of Mp4Box works fine. All the raw files seem fine and play without a problem. Tried different players they all have the same problem. Using different aac audio and video encoders (tried NVEncC, x264, x265) all produced a broken file. Hope this can be fixed soon. Thanks
Mp4box aac muxing broken
https://api.github.com/repos/gpac/gpac/issues/1576/comments
8
2020-08-17T02:46:31Z
2020-09-07T15:43:51Z
https://github.com/gpac/gpac/issues/1576
679,893,759
1,576
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -disox -x3d -diod -latm -keep-utc -out /dev/null @@ ## AddressSanitizer output ``` ================================================================= ==64471==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffc9b2e916f at pc 0x562be4afcd8d bp 0x7ffc9b2e8f10 sp 0x7ffc9b2e8f00 WRITE of size 1 at 0x7ffc9b2e916f thread T0 #0 0x562be4afcd8c in DumpRawUIConfig odf/odf_dump.c:887 #1 0x562be4b3b57e in gf_odf_dump_dcd odf/odf_dump.c:974 #2 0x562be4b18eb0 in gf_odf_dump_desc odf/odf_dump.c:113 #3 0x562be4b32b81 in gf_odf_dump_esd odf/odf_dump.c:536 #4 0x562be4b18e58 in gf_odf_dump_desc odf/odf_dump.c:111 #5 0x562be4844bc6 in esds_box_dump isomedia/box_dump.c:1221 #6 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #7 0x562be483776a in gf_isom_box_array_dump isomedia/box_dump.c:101 #8 0x562be488d89c in gf_isom_box_dump_done isomedia/box_funcs.c:1930 #9 0x562be483e636 in audio_sample_entry_box_dump isomedia/box_dump.c:750 #10 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #11 0x562be483776a in gf_isom_box_array_dump isomedia/box_dump.c:101 #12 0x562be488d89c in gf_isom_box_dump_done isomedia/box_funcs.c:1930 #13 0x562be4840892 in stsd_box_dump isomedia/box_dump.c:857 #14 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #15 0x562be483776a in gf_isom_box_array_dump isomedia/box_dump.c:101 #16 0x562be488d89c in gf_isom_box_dump_done isomedia/box_funcs.c:1930 #17 0x562be4839fa5 in stbl_box_dump isomedia/box_dump.c:331 #18 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #19 0x562be483776a in gf_isom_box_array_dump isomedia/box_dump.c:101 #20 0x562be488d89c in gf_isom_box_dump_done isomedia/box_funcs.c:1930 #21 0x562be4844d15 in minf_box_dump isomedia/box_dump.c:1236 #22 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #23 0x562be483776a in gf_isom_box_array_dump isomedia/box_dump.c:101 #24 0x562be488d89c in gf_isom_box_dump_done isomedia/box_funcs.c:1930 #25 0x562be48459a5 in mdia_box_dump isomedia/box_dump.c:1279 #26 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #27 0x562be483776a in gf_isom_box_array_dump isomedia/box_dump.c:101 #28 0x562be488d89c in gf_isom_box_dump_done isomedia/box_funcs.c:1930 #29 0x562be483bf01 in trak_box_dump isomedia/box_dump.c:533 #30 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #31 0x562be483776a in gf_isom_box_array_dump isomedia/box_dump.c:101 #32 0x562be488d89c in gf_isom_box_dump_done isomedia/box_funcs.c:1930 #33 0x562be4838e3e in moov_box_dump isomedia/box_dump.c:217 #34 0x562be488d749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #35 0x562be4837aba in gf_isom_dump isomedia/box_dump.c:135 #36 0x562be4214ce9 in dump_isom_xml /home/seviezhou/gpac/applications/mp4box/filedump.c:1670 #37 0x562be41e5fa4 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5548 #38 0x7f7a080ccb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #39 0x562be41c3f09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) Address 0x7ffc9b2e916f is located in stack of thread T0 at offset 511 in frame #0 0x562be4af934f in DumpRawUIConfig odf/odf_dump.c:875 This frame has 3 object(s): [32, 35) 'szPh' [96, 196) 'ind_buf' [256, 511) 'devName' <== Memory access at offset 511 overflows this variable HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow odf/odf_dump.c:887 DumpRawUIConfig Shadow bytes around the buggy address: 0x1000136551d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x1000136551e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 0x1000136551f0: f1 f1 03 f4 f4 f4 f2 f2 f2 f2 00 00 00 00 00 00 0x100013655200: 00 00 00 00 00 00 04 f4 f4 f4 f2 f2 f2 f2 00 00 0x100013655210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x100013655220: 00 00 00 00 00 00 00 00 00 00 00 00 00[07]f3 f3 0x100013655230: f3 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 0x100013655240: 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 00 00 00 0x100013655250: 00 00 00 00 00 00 04 f4 f4 f4 f3 f3 f3 f3 00 00 0x100013655260: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 0x100013655270: 00 00 00 00 00 00 00 00 00 00 04 f4 f4 f4 f3 f3 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe ==64471==ABORTING ``` ## POC [stack-overflow-DumpRawUIConfig-odf_dump-887.zip](https://github.com/gpac/gpac/files/5077984/stack-overflow-DumpRawUIConfig-odf_dump-887.zip)
A stack-buffer-overflow in odf_dump.c:887
https://api.github.com/repos/gpac/gpac/issues/1575/comments
0
2020-08-15T01:36:37Z
2020-09-01T16:03:15Z
https://github.com/gpac/gpac/issues/1575
679,475,781
1,575
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ASAN:SIGSEGV ================================================================= ==77583==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000038 (pc 0x555d67a9030a bp 0x61600000cf80 sp 0x7ffc245f5240 T0) #0 0x555d67a90309 in ilst_item_box_dump isomedia/box_dump.c:3641 #1 0x555d67ac2749 in gf_isom_box_dump isomedia/box_funcs.c:1923 #2 0x555d67a6caba in gf_isom_dump isomedia/box_dump.c:135 #3 0x555d67449ce9 in dump_isom_xml /home/seviezhou/gpac/applications/mp4box/filedump.c:1670 #4 0x555d6741afa4 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5548 #5 0x7fe303b6bb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #6 0x555d673f8f09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV isomedia/box_dump.c:3641 ilst_item_box_dump ==77583==ABORTING ``` ## POC [SEGV-ilst_item_box_dump-box_dump-3641.zip](https://github.com/gpac/gpac/files/5066977/SEGV-ilst_item_box_dump-box_dump-3641.zip)
A Segmentation fault in box_dump.c:3641
https://api.github.com/repos/gpac/gpac/issues/1574/comments
0
2020-08-13T03:20:26Z
2020-09-01T16:00:16Z
https://github.com/gpac/gpac/issues/1574
678,118,496
1,574
[ "gpac", "gpac" ]
When using version **1.0.0-rev188** to add 2 subtitles to a video, iTunes (Win 10 Version 12.10.8.5) does not display the subtitles. ``` P:\temp>mp4box -version MP4Box - GPAC version 1.0.0-rev188-g2aa266df-master (c) 2000-2020 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io GPAC Configuration: (static configuration file) Features: GPAC_CONFIG_WIN32 GPAC_64_BITS GPAC_MEMORY_TRACKING GPAC_HAS_SSL GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_HAS_FAAD GPAC_HAS_MAD GPAC_HAS_LIBA52 GPAC_HAS_JPEG GPAC_HAS_PNG GPAC_HAS_FFMPEG GPAC_HAS_OPENSVC GPAC_HAS_JP2 GPAC_HAS_OPENHEVC GPAC_HAS_THEORA GPAC_HAS_VORBIS GPAC_HAS_XVID GPAC_HAS_GLU P:\temp>mp4box -add subtitle-file-eng.srt:lang=eng:group=2 -add subtitle-file-khm.srt:lang=khm:group=2:disabled video-file.mp4 Track Importing Timed Text - Text track 1280 x 720 font Serif (size 18) layer 0 Track Importing Timed Text - Text track 1280 x 720 font Serif (size 18) layer 0 Saving video-file.mp4: 0.500 secs Interleaving P:\temp>mp4box -info video-file.mp4 * Movie Info * Timescale 600 - 4 tracks Computed Duration 00:20:42.560 - Indicated Duration 00:20:42.560 Fragmented File: no File suitable for progressive download (moov before mdat) File Brand mp42 - version 0 Compatible brands: mp42 mp41 Created: GMT Wed Aug 12 11:32:57 2020 Modified: GMT Wed Aug 12 11:33:20 2020 File has root IOD (9 bytes) Scene PL 0xff - Graphics PL 0xff - OD PL 0xff Visual PL: ISO Reserved Profile (0x15) Audio PL: AAC Profile @ Level 2 (0x29) No streams included in root OD 3 UDTA types: A954494D (1) A9545343 (1) A954535A (1) Track # 1 Info - TrackID 1 - TimeScale 25000 Media Duration 00:20:42.560 - Indicated Duration 00:20:42.560 Track has 1 edit lists: track duration is 00:20:42.560 Media Info: Language "English (eng)" - Type "vide:avc1" - 31064 samples Visual Sample Entry Info: width=1280 height=720 (depth=24 bits) Visual Track layout: x=0 y=0 width=1280 height=720 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 1280 x 720 AVC Info: 1 SPS - 1 PPS - Profile Main @ Level 4.1 NAL Unit length bits: 32 Pixel Aspect Ratio 1:1 - Indicated track size 1280 x 720 Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8 SPS#1 hash: 34C598E9A74BD45272EC6AD90DFB692359E65338 PPS#1 hash: 5A1B740082E916B08978315B8ED7EA1ECA6831DC Self-synchronized RFC6381 Codec Parameters: avc1.4D0029 Average GOP length: 25 samples Max sample duration: 1000 / 25000 Track # 2 Info - TrackID 2 - TimeScale 48000 Media Duration 00:20:42.602 - Indicated Duration 00:20:42.602 Track has 1 edit lists: track duration is 00:20:42.560 Media Info: Language "English (eng)" - Type "soun:mp4a" - 58247 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC (AOT=2 implicit) - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 RFC6381 Codec Parameters: mp4a.40.2 All samples are sync Max sample duration: 1024 / 48000 Track # 3 Info - TrackID 3 - TimeScale 1000 Media Duration 00:20:01.250 - Indicated Duration 00:20:01.250 Media Info: Language "English (eng)" - Type "text:tx3g" - 310 samples Unknown Text Stream Size 1280 x 720 - Translation X=0 Y=0 - Layer 0 RFC6381 Codec Parameters: tx3g Alternate Group ID 2 All samples are sync Max sample duration: 50917 / 1000 Track # 4 Info - TrackID 4 - TimeScale 1000 Media Duration 00:20:01.250 - Indicated Duration 00:20:01.250 Track is disabled Media Info: Language "Central Khmer (khm)" - Type "text:tx3g" - 309 samples Unknown Text Stream Size 1280 x 720 - Translation X=0 Y=0 - Layer 0 RFC6381 Codec Parameters: tx3g Alternate Group ID 2 All samples are sync Max sample duration: 50917 / 1000 ``` ![subtitles-ios-bad](https://user-images.githubusercontent.com/1268358/90087091-223b9200-dd46-11ea-8cde-183a1a915df6.png) I decided to try using my old commands that that included the "layer" option on a legacy build. I went back through the legacy versions and found the most recent one that would still allow me to use my old commands **0.6.2-DEV-rev744** and where iTunes will still display the subtitles: ``` P:\temp>mp4box -version MP4Box - GPAC version 0.6.2-DEV-rev744-g8eedf1f-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 P:\temp>mp4box -add subtitle-file-eng.srt:hdlr=sbtl:lang=eng:group=2:layer=-1 -add subtitle-file-khm.srt:hdlr=sbtl:lang=khm:group=2:layer=-1:disabled video-file.mp4 Timed Text (SRT) import - text track 1280 x 720, font Serif (size 18) Timed Text (SRT) import - text track 1280 x 720, font Serif (size 18) Saving video-file.mp4: 0.500 secs Interleaving P:\temp>mp4box -info video-file.mp4 * Movie Info * Timescale 90000 - 4 tracks Computed Duration 00:20:42.560 - Indicated Duration 00:20:42.560 Fragmented File: no File suitable for progressive download (moov before mdat) File Brand mp42 - version 0 Created: GMT Wed Aug 12 11:32:57 2020 Modified: GMT Wed Aug 12 11:33:20 2020 File has root IOD (9 bytes) Scene PL 0xff - Graphics PL 0xff - OD PL 0xff Visual PL: ISO Reserved Profile (0x15) Audio PL: AAC Profile @ Level 2 (0x29) No streams included in root OD 3 UDTA types: .TIM (1) .TSC (1) .TSZ (1) Track # 1 Info - TrackID 1 - TimeScale 25000 Media Duration 00:20:42.560 - Indicated Duration 00:20:42.560 Track has 1 edit lists: track duration is 00:20:42.560 Media Info: Language "English (eng)" - Type "vide:avc1" - 31064 samples Visual Track layout: x=0 y=0 width=1280 height=720 MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 1280 x 720 AVC Info: 1 SPS - 1 PPS - Profile Main @ Level 4.1 NAL Unit length bits: 32 Pixel Aspect Ratio 1:1 - Indicated track size 1280 x 720 Chroma format YUV 4:2:0 - Luma bit depth 8 - chroma bit depth 8 SPS#1 hash: 34C598E9A74BD45272EC6AD90DFB692359E65338 PPS#1 hash: 5A1B740082E916B08978315B8ED7EA1ECA6831DC Self-synchronized RFC6381 Codec Parameters: avc1.4d0029 Average GOP length: 25 samples Track # 2 Info - TrackID 2 - TimeScale 48000 Media Duration 00:20:42.602 - Indicated Duration 00:20:42.602 Track has 1 edit lists: track duration is 00:20:42.560 Media Info: Language "English (eng)" - Type "soun:mp4a" - 58247 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 RFC6381 Codec Parameters: mp4a.40.2 All samples are sync Track # 3 Info - TrackID 3 - TimeScale 1000 Media Duration 00:20:01.250 - Indicated Duration 00:20:01.250 Media Info: Language "English (eng)" - Type "sbtl:tx3g" - 310 samples Unknown Text Stream Size 1280 x 720 - Translation X=0 Y=0 - Layer 0 RFC6381 Codec Parameters: tx3g Alternate Group ID 2 All samples are sync Track # 4 Info - TrackID 4 - TimeScale 1000 Media Duration 00:20:01.250 - Indicated Duration 00:20:01.250 Track is disabled Media Info: Language "Central Khmer (khm)" - Type "sbtl:tx3g" - 309 samples Unknown Text Stream Size 1280 x 720 - Translation X=0 Y=0 - Layer 0 RFC6381 Codec Parameters: tx3g Alternate Group ID 2 All samples are sync ``` ![subtitles-ios-good](https://user-images.githubusercontent.com/1268358/90087109-2e275400-dd46-11ea-8e53-7c8f05afc135.png) Is the command I'm using with the latest version wrong, or is there a bug ?
Subtitles not appearing in iTunes / iOS
https://api.github.com/repos/gpac/gpac/issues/1573/comments
4
2020-08-13T02:10:06Z
2020-09-07T10:41:16Z
https://github.com/gpac/gpac/issues/1573
678,094,385
1,573
[ "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/ How to play 360 video online? I put the 360 video url[https://bitmovin.com/player-content/playhouse-vr/progressive.mp4] at the Enter Address below, and it doesn't play and result is below. Thanks! ![image](https://user-images.githubusercontent.com/8191309/89872317-58183380-dbeb-11ea-8372-ddcbef36238e.png)
osmo4 client doesn't play 360 video online, but 2d video is ok
https://api.github.com/repos/gpac/gpac/issues/1572/comments
2
2020-08-11T08:05:52Z
2021-10-03T15:02:26Z
https://github.com/gpac/gpac/issues/1572
676,671,135
1,572
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ==18482==WARNING: AddressSanitizer failed to allocate 0x001939d11d00 bytes ==18482==AddressSanitizer's allocator is terminating the process instead of returning 0 ==18482==If you don't like this behavior set allocator_may_return_null=1 ==18482==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0) #0 0x7f53458b3611 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0611) #1 0x7f53458b85c3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55c3) #2 0x7f5345830393 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x1d393) #3 0x7f53458b6845 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa3845) #4 0x7f5345835abd (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22abd) #5 0x7f53458ab5e2 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x985e2) #6 0x563fc1ff6618 in trun_box_read isomedia/box_code_base.c:7271 #7 0x563fc0d3db64 in gf_isom_box_read isomedia/box_funcs.c:1681 #8 0x563fc0d3db64 in gf_isom_box_parse_ex isomedia/box_funcs.c:259 #9 0x563fc0d3f041 in gf_isom_parse_root_box isomedia/box_funcs.c:38 #10 0x563fc0d766f5 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:259 #11 0x563fc0d81951 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:247 #12 0x563fc0d81951 in gf_isom_open_file isomedia/isom_intern.c:740 #13 0x563fc06ab7e3 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5331 #14 0x7f534483fb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #15 0x563fc067cf09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) ``` ## POC [malloc-size-error-trun_box_read-box_code_base-7271.zip](https://github.com/gpac/gpac/files/5048775/malloc-size-error-trun_box_read-box_code_base-7271.zip)
Malloc size error in box_code_base.c:7271
https://api.github.com/repos/gpac/gpac/issues/1571/comments
0
2020-08-10T01:54:25Z
2020-09-01T15:27:05Z
https://github.com/gpac/gpac/issues/1571
675,819,072
1,571
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ================================================================= ==3848==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000e119 at pc 0x7f931a0c33d5 bp 0x7fff7e91fcd0 sp 0x7fff7e91f478 READ of size 10 at 0x60200000e119 thread T0 #0 0x7f931a0c33d4 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x623d4) #1 0x563de374e827 in abst_box_read isomedia/box_code_adobe.c:168 #2 0x563de353db64 in gf_isom_box_read isomedia/box_funcs.c:1681 #3 0x563de353db64 in gf_isom_box_parse_ex isomedia/box_funcs.c:259 #4 0x563de353f041 in gf_isom_parse_root_box isomedia/box_funcs.c:38 #5 0x563de35766f5 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:259 #6 0x563de3581951 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:247 #7 0x563de3581951 in gf_isom_open_file isomedia/isom_intern.c:740 #8 0x563de2eab7e3 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5331 #9 0x7f931908db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #10 0x563de2e7cf09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) 0x60200000e119 is located 0 bytes to the right of 9-byte region [0x60200000e110,0x60200000e119) allocated by thread T0 here: #0 0x7f931a0f9612 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98612) #1 0x563de374c3a9 in abst_box_read isomedia/box_code_adobe.c:97 SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 strdup Shadow bytes around the buggy address: 0x0c047fff9bd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9be0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9bf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9c10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c047fff9c20: fa fa 00[01]fa fa 00 00 fa fa 00 00 fa fa 00 00 0x0c047fff9c30: fa fa 00 00 fa fa 00 00 fa fa fd fa fa fa 00 fa 0x0c047fff9c40: fa fa 00 00 fa fa 00 00 fa fa 00 07 fa fa fd fa 0x0c047fff9c50: fa fa 00 02 fa fa 04 fa fa fa fd fa fa fa 07 fa 0x0c047fff9c60: fa fa fd fa fa fa 05 fa fa fa fd fa fa fa 00 fa 0x0c047fff9c70: fa fa fd fa fa fa 07 fa fa fa fd fa fa fa 07 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe ==3848==ABORTING ``` ## POC [heap-overflow-abst_box_read-box_code_adobe-168.zip](https://github.com/gpac/gpac/files/5048763/heap-overflow-abst_box_read-box_code_adobe-168.zip)
A heap-buffer-overflow in box_code_adobe.c:168
https://api.github.com/repos/gpac/gpac/issues/1570/comments
1
2020-08-10T01:49:17Z
2020-09-01T15:17:16Z
https://github.com/gpac/gpac/issues/1570
675,818,184
1,570
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ================================================================= ==73339==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300000e2d3 at pc 0x7f61cb5fc3d5 bp 0x7ffc8913b6b0 sp 0x7ffc8913ae58 READ of size 20 at 0x60300000e2d3 thread T0 #0 0x7f61cb5fc3d4 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x623d4) #1 0x56330736c407 in abst_box_read isomedia/box_code_adobe.c:141 #2 0x56330715bb64 in gf_isom_box_read isomedia/box_funcs.c:1681 #3 0x56330715bb64 in gf_isom_box_parse_ex isomedia/box_funcs.c:259 #4 0x56330715d041 in gf_isom_parse_root_box isomedia/box_funcs.c:38 #5 0x5633071946f5 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:259 #6 0x56330719f951 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:247 #7 0x56330719f951 in gf_isom_open_file isomedia/isom_intern.c:740 #8 0x563306ac97e3 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5331 #9 0x7f61ca5c6b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #10 0x563306a9af09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) 0x60300000e2d3 is located 0 bytes to the right of 19-byte region [0x60300000e2c0,0x60300000e2d3) allocated by thread T0 here: #0 0x7f61cb632612 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98612) #1 0x56330736a3a9 in abst_box_read isomedia/box_code_adobe.c:97 SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 strdup Shadow bytes around the buggy address: 0x0c067fff9c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c067fff9c10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c067fff9c20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c067fff9c30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c067fff9c40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c067fff9c50: fa fa fa fa fa fa fa fa 00 00[03]fa fa fa 00 00 0x0c067fff9c60: 04 fa fa fa 00 00 00 07 fa fa 00 00 00 fa fa fa 0x0c067fff9c70: 00 00 00 06 fa fa 00 00 00 fa fa fa 00 00 00 fa 0x0c067fff9c80: fa fa 00 00 00 07 fa fa 00 00 00 fa fa fa 00 00 0x0c067fff9c90: 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa fa fa 0x0c067fff9ca0: 00 00 00 fa fa fa 00 00 00 fa fa fa 00 00 00 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe ==73339==ABORTING ``` ## POC [heap-overflow-abst_box_read-box_code_adobe-141.zip](https://github.com/gpac/gpac/files/5042085/heap-overflow-abst_box_read-box_code_adobe-141.zip)
A heap-buffer-overflow in box_code_adobe.c:141
https://api.github.com/repos/gpac/gpac/issues/1569/comments
1
2020-08-07T14:53:11Z
2020-09-01T15:16:27Z
https://github.com/gpac/gpac/issues/1569
675,069,002
1,569
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ================================================================= ==24631==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000e114 at pc 0x7f2a609a93d5 bp 0x7ffe7daf8840 sp 0x7ffe7daf7fe8 READ of size 5 at 0x60200000e114 thread T0 #0 0x7f2a609a93d4 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x623d4) #1 0x55979e0874b7 in abst_box_read isomedia/box_code_adobe.c:124 #2 0x55979de76b64 in gf_isom_box_read isomedia/box_funcs.c:1681 #3 0x55979de76b64 in gf_isom_box_parse_ex isomedia/box_funcs.c:259 #4 0x55979de78041 in gf_isom_parse_root_box isomedia/box_funcs.c:38 #5 0x55979deaf6f5 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:259 #6 0x55979deba951 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:247 #7 0x55979deba951 in gf_isom_open_file isomedia/isom_intern.c:740 #8 0x55979d7e47e3 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5331 #9 0x7f2a5f973b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #10 0x55979d7b5f09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) 0x60200000e114 is located 0 bytes to the right of 4-byte region [0x60200000e110,0x60200000e114) allocated by thread T0 here: #0 0x7f2a609df612 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98612) #1 0x55979e0853a9 in abst_box_read isomedia/box_code_adobe.c:97 SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 strdup Shadow bytes around the buggy address: 0x0c047fff9bd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9be0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9bf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9c10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa 02 fa =>0x0c047fff9c20: fa fa[04]fa fa fa 00 00 fa fa 00 00 fa fa 00 00 0x0c047fff9c30: fa fa 00 00 fa fa 00 00 fa fa fd fa fa fa 00 fa 0x0c047fff9c40: fa fa 00 00 fa fa 00 00 fa fa 00 07 fa fa fd fa 0x0c047fff9c50: fa fa 00 02 fa fa 04 fa fa fa fd fa fa fa 07 fa 0x0c047fff9c60: fa fa fd fa fa fa 05 fa fa fa fd fa fa fa 00 fa 0x0c047fff9c70: fa fa fd fa fa fa 07 fa fa fa fd fa fa fa 07 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe ==24631==ABORTING ``` ## POC [heap-overflow-abst_box_read-box_code_adobe-124.zip](https://github.com/gpac/gpac/files/5039356/heap-overflow-abst_box_read-box_code_adobe-124.zip)
A heap-buffer-overflow in box_code_adobe.c:124
https://api.github.com/repos/gpac/gpac/issues/1568/comments
0
2020-08-07T04:41:36Z
2020-09-01T15:10:21Z
https://github.com/gpac/gpac/issues/1568
674,752,234
1,568
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ================================================================= ==38343==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60600000ec94 at pc 0x7f6ebd7a53d5 bp 0x7ffd9261d2c0 sp 0x7ffd9261ca68 READ of size 53 at 0x60600000ec94 thread T0 #0 0x7f6ebd7a53d4 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x623d4) #1 0x562152c228bf in abst_box_read isomedia/box_code_adobe.c:155 #2 0x562152a11b64 in gf_isom_box_read isomedia/box_funcs.c:1681 #3 0x562152a11b64 in gf_isom_box_parse_ex isomedia/box_funcs.c:259 #4 0x562152a13041 in gf_isom_parse_root_box isomedia/box_funcs.c:38 #5 0x562152a4a6f5 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:259 #6 0x562152a55951 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:247 #7 0x562152a55951 in gf_isom_open_file isomedia/isom_intern.c:740 #8 0x56215237f7e3 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5331 #9 0x7f6ebc76fb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #10 0x562152350f09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) 0x60600000ec94 is located 0 bytes to the right of 52-byte region [0x60600000ec60,0x60600000ec94) allocated by thread T0 here: #0 0x7f6ebd7db612 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98612) #1 0x562152c203a9 in abst_box_read isomedia/box_code_adobe.c:97 SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 strdup Shadow bytes around the buggy address: 0x0c0c7fff9d40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0c7fff9d50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0c7fff9d60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0c7fff9d70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0c7fff9d80: fa fa fa fa fa fa fa fa fa fa fa fa 00 00 00 00 =>0x0c0c7fff9d90: 00 00[04]fa fa fa fa fa 00 00 00 00 00 00 00 fa 0x0c0c7fff9da0: fa fa fa fa 00 00 00 00 00 00 00 fa fa fa fa fa 0x0c0c7fff9db0: 00 00 00 00 00 00 00 03 fa fa fa fa 00 00 00 00 0x0c0c7fff9dc0: 00 00 02 fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c0c7fff9dd0: fa fa fa fa fd fd fd fd fd fd fd fa fa fa fa fa 0x0c0c7fff9de0: fd fd fd fd fd fd fd fd fa fa fa fa 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe ==38343==ABORTING ``` ## POC [heap-overflow-abst_box_read-box_code_adobe-155.zip](https://github.com/gpac/gpac/files/5039343/heap-overflow-abst_box_read-box_code_adobe-155.zip)
A heap-buffer-overflow in box_code_adobe.c:155
https://api.github.com/repos/gpac/gpac/issues/1567/comments
1
2020-08-07T04:38:51Z
2020-09-01T15:06:33Z
https://github.com/gpac/gpac/issues/1567
674,751,358
1,567
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -sdp -ttxt -2 -dump-chap-ogg -dump-cover -drtp -bt -out /dev/null @@ ## Output ``` Scene loaded - dumping root scene Exporting MPEG-4 AAC Audio - SampleRate 44100 2 channels 16 bits per sample Segmentation fault (core dumped) ``` ## AddressSanitizer output ``` ASAN:SIGSEGV ================================================================= ==31981==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1269c005a1 bp 0x000000000000 sp 0x7fffad3ba678 T0) #0 0x7f1269c005a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0) #1 0x7f1269af1204 in fputs (/lib/x86_64-linux-gnu/libc.so.6+0x7f204) #2 0x55eb9834073a in dump_isom_sdp /home/seviezhou/gpac/applications/mp4box/filedump.c:1627 #3 0x55eb98311eb3 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5533 #4 0x7f1269a93b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #5 0x55eb982eff09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV ??:0 ?? ==31981==ABORTING ``` ## POC [SEGV-dump_isom_sdp-filedump-1627.zip](https://github.com/gpac/gpac/files/5039113/SEGV-dump_isom_sdp-filedump-1627.zip)
A Segmentation fault in filedump.c:1627
https://api.github.com/repos/gpac/gpac/issues/1566/comments
0
2020-08-07T03:10:20Z
2020-09-01T15:10:21Z
https://github.com/gpac/gpac/issues/1566
674,723,890
1,566
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -dxml -x3d -diod -latm -keep-utc -out /dev/null @@ ## Output ``` Scene loaded - dumping root scene Exporting MPEG-4 AAC Audio - SampleRate 44100 2 channels 16 bits per sample Segmentation fault (core dumped) ``` ## AddressSanitizer output ``` ASAN:SIGSEGV ================================================================= ==1506==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x557beddb309a bp 0x0c2200000636 sp 0x7fff536d0ac0 T0) #0 0x557beddb3099 in nhmldump_send_header filters/write_nhml.c:401 #1 0x557beddb3099 in nhmldump_process filters/write_nhml.c:864 #2 0x557bed884315 in gf_filter_process_task filter_core/filter.c:2158 #3 0x557bed82e4dd in gf_fs_thread_proc filter_core/filter_session.c:1463 #4 0x557bed8403fe in gf_fs_run filter_core/filter_session.c:1700 #5 0x557bed4e3171 in gf_media_export_filters media_tools/media_export.c:1391 #6 0x557beca503df in dump_isom_xml /home/seviezhou/gpac/applications/mp4box/filedump.c:1733 #7 0x557beca20fa4 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5548 #8 0x7f4b75f6fb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #9 0x557bec9fef09 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x27ff09) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV filters/write_nhml.c:401 nhmldump_send_header ==1506==ABORTING ``` ## POC [SEGV-nhmldump_send_header-write_nhml-401.zip](https://github.com/gpac/gpac/files/5038990/SEGV-nhmldump_send_header-write_nhml-401.zip)
A Segmentation fault in write_nhml.c:401
https://api.github.com/repos/gpac/gpac/issues/1565/comments
1
2020-08-07T02:28:14Z
2020-09-01T14:46:28Z
https://github.com/gpac/gpac/issues/1565
674,711,009
1,565
[ "gpac", "gpac" ]
## System info Ubuntu x86_64, gcc (Ubuntu 5.5.0-12ubuntu1), MP4Box (latest master [2aa266](https://github.com/gpac/gpac/commit/2aa266dfaab6aaad9f9f4f216ad7d1e62adc7fa0)) ## Configure CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address -ldl" ./configure --static-mp4box ## Command line ./bin/gcc/MP4Box -diso -out /dev/null @@ ## AddressSanitizer output ``` ================================================================= ==18613==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000e11c at pc 0x7f33b3f553d5 bp 0x7ffd678545b0 sp 0x7ffd67853d58 READ of size 13 at 0x60200000e11c thread T0 #0 0x7f33b3f553d4 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x623d4) #1 0x559646e8d0b7 in abst_box_read isomedia/box_code_adobe.c:109 #2 0x559646cffd84 in gf_isom_box_read isomedia/box_funcs.c:1681 #3 0x559646cffd84 in gf_isom_box_parse_ex isomedia/box_funcs.c:259 #4 0x559646d01871 in gf_isom_parse_root_box isomedia/box_funcs.c:38 #5 0x559646d30bf6 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:259 #6 0x559646d3a6c2 in gf_isom_parse_movie_boxes isomedia/isom_intern.c:247 #7 0x559646d3a6c2 in gf_isom_open_file isomedia/isom_intern.c:740 #8 0x559646897b30 in mp4boxMain /home/seviezhou/gpac/applications/mp4box/main.c:5331 #9 0x7f33b2f1fb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #10 0x55964685e179 in _start (/home/seviezhou/gpac/bin/gcc/MP4Box+0x78179) 0x60200000e11c is located 0 bytes to the right of 12-byte region [0x60200000e110,0x60200000e11c) allocated by thread T0 here: #0 0x7f33b3f8b612 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98612) #1 0x559646e895e3 in abst_box_read isomedia/box_code_adobe.c:97 SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 strdup Shadow bytes around the buggy address: 0x0c047fff9bd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9be0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9bf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff9c10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c047fff9c20: fa fa 00[04]fa fa 00 00 fa fa 00 00 fa fa 00 00 0x0c047fff9c30: fa fa 00 00 fa fa 00 00 fa fa fd fa fa fa 00 fa 0x0c047fff9c40: fa fa 00 00 fa fa 00 00 fa fa 00 07 fa fa fd fa 0x0c047fff9c50: fa fa 00 02 fa fa 04 fa fa fa fd fa fa fa 07 fa 0x0c047fff9c60: fa fa fd fa fa fa 05 fa fa fa fd fa fa fa 00 fa 0x0c047fff9c70: fa fa fd fa fa fa 07 fa fa fa fd fa fa fa 07 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe ==18613==ABORTING ``` ## POC [heap-overflow-abst_box_read-box_code_adobe-109.zip](https://github.com/gpac/gpac/files/5038865/heap-overflow-abst_box_read-box_code_adobe-109.zip)
A heap-buffer-overflow in box_code_adobe.c:109
https://api.github.com/repos/gpac/gpac/issues/1564/comments
1
2020-08-07T01:48:18Z
2020-09-01T14:43:15Z
https://github.com/gpac/gpac/issues/1564
674,698,771
1,564
[ "gpac", "gpac" ]
Hi, try to use -no-loop instead calculate with ffprobe the video duration and place the variable inside -run-for, but no loop give me the wrong behavior, the segmentation process is without sleep, not what I need for live purpose. MP4Box -h dash -no-loop: disables looping content in live mode and uses period switch instead. Im not able to get it working, I do not understand what it mean for "uses period switch" may I ask how to correct my command to be able to live dash my content till the end of video without use -run-for ? GPAC 0.8.0 `MP4Box -dash-live 2000 -subdur 4000 -closest -no-cache -profile dashavc264:live -subsegs-per-sidx -1 -mpd-refresh 8 -time-shift 12 -min-buffer 2000 -url-template -insert-utc -bs-switching no -run-for $DUR -dash-ctx ../../live/log.txt -out ../../live/manifest.mpd ../current/1080.mp4#video ../current/720.mp4#video ../current/360.mp4#video ../current/180.mp4#video ../current/audio.mp4:#audio `
-no-loop wrong behavior
https://api.github.com/repos/gpac/gpac/issues/1563/comments
3
2020-08-03T19:38:19Z
2020-09-03T20:09:50Z
https://github.com/gpac/gpac/issues/1563
672,298,167
1,563
[ "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 I tried this with 2 files: `mp4box -splits 490000 filename.mp4` Each time, it added one extra part that was unnecessary. This last part was about 140kb. The previous part had hundreds of megabytes available before using up all the space. if I specified a size larger than the file, this still occurred. I installed the latest, in the problem no longer occurred.
Latest version of mp4box does not split by size correctly
https://api.github.com/repos/gpac/gpac/issues/1562/comments
1
2020-08-03T00:53:46Z
2020-09-02T15:58:39Z
https://github.com/gpac/gpac/issues/1562
671,726,771
1,562
[ "gpac", "gpac" ]
![mp4client](https://user-images.githubusercontent.com/68137277/89124264-38587f80-d508-11ea-8816-2bbde41fd500.png) What command to type in the terminal
MP4Client can not play HEVC TILES
https://api.github.com/repos/gpac/gpac/issues/1561/comments
1
2020-08-02T13:38:09Z
2020-09-02T14:02:28Z
https://github.com/gpac/gpac/issues/1561
671,618,227
1,561
[ "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, 1. when player video, drag the play progress bar,I found the GF_EVENT_QUALITY_SWITCHED not defined in the case 2020-01-01 18:43:09.482 13289-13345/com.gpac.Osmo4 E/GF_LOG_SCRIPT: [JS] 2020-01-01 18:43:09.483 13289-13345/com.gpac.Osmo4 E/GF_LOG_SCRIPT: ReferenceError: GF_EVENT_QUALITY_SWITCHED is not defined `2020-01-01 18:43:09.483 13289-13345/com.gpac.Osmo4 E/GF_LOG_SCRIPT: at ext_filter_event (/data/data/com.gpac.Osmo4/share/gui/extensions/player/player.js:92) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/extensions/player/player.js:1109) at gwlib_filter_event (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:952) at set_state (/data/data/com.gpac.Osmo4/share/gui/extensions/player/player.js:1323) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/extensions/player/player.js:570) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:1857)` 2.the osmos client not support online video?I try (https://bitmovin.com/player-content/playhouse-vr/progressive.mp4) in the enter address and it return open error.the log is below: ![image](https://user-images.githubusercontent.com/8191309/89012230-6beaac80-d344-11ea-8b73-25cbec92e5af.png) `2020-01-01 18:53:32.644 14451-14580/com.gpac.Osmo4 E/GF_LOG_SCRIPT: [JS] 2020-01-01 18:53:32.645 14451-14580/com.gpac.Osmo4 E/GF_LOG_SCRIPT: ReferenceError: GF_EVENT_QUALITY_SWITCHED is not defined 2020-01-01 18:53:32.646 14451-14580/com.gpac.Osmo4 E/GF_LOG_SCRIPT: at ext_filter_event (/data/data/com.gpac.Osmo4/share/gui/extensions/player/player.js:92) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/extensions/player/player.js:1109) at gwlib_filter_event (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:952) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:2593) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:2634) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:106) at gw_close_child_list (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:1159) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:1630) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:3033) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:106) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:1665) at apply (native) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:388) at <anonymous> (/data/data/com.gpac.Osmo4/share/gui/gwlib.js:72)` Thanks
play speedly and online video error
https://api.github.com/repos/gpac/gpac/issues/1560/comments
7
2020-07-31T07:49:41Z
2020-08-02T06:03:38Z
https://github.com/gpac/gpac/issues/1560
669,526,740
1,560
[ "gpac", "gpac" ]
Hi, I've tried streaming a real time transcoded video (only) into a UDP stream, and it seems that when a udp url is used as output, the udp filter isn't automatically selected. Command line used ` gpac -i ~/jdg.mp4:FID=1 reframer:rt=on:FID=2 ffsws:osize=128x128:SID=2:FID=EV3 @ enc:c=avc:FID=EV2 -o udp://239.10.90.75:5001:SID=EV2` It works when I output to a file. Am I missing something? - [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/
Automatic output to UDP
https://api.github.com/repos/gpac/gpac/issues/1559/comments
2
2020-07-30T16:38:30Z
2020-07-31T08:52:24Z
https://github.com/gpac/gpac/issues/1559
668,949,640
1,559
[ "gpac", "gpac" ]
i want to change filter chain to openHEVC so i can heve tile ![1](https://user-images.githubusercontent.com/68137277/88908900-0f788600-d28d-11ea-9b01-061a8e68eead.png) ![123](https://user-images.githubusercontent.com/68137277/88908911-130c0d00-d28d-11ea-87e3-63376af2a16c.png)
how to change mp4box client code
https://api.github.com/repos/gpac/gpac/issues/1558/comments
6
2020-07-30T09:50:19Z
2021-01-02T11:48:54Z
https://github.com/gpac/gpac/issues/1558
668,557,952
1,558
[ "gpac", "gpac" ]
The current mp4box 1.0.0 seems to have a problem that did not have the previous versions when reading output paths on batch files with FOR IN DO to create many files. Instead show the output path, the prompt show error message saying `Cannot create directory "": last error 3`. The "" is because I use directories with spaces, so I don't understand why such error. But despite everything, the files are generated, so this error does not make sense when before that did not happen on version 0.8.0 My batch file is more or less like this: ``` @echo off set "mp4box=D:\folder w spaces\MP4Box\mp4box.exe" set inputV=D:\folder w spaces\Encode\H264 set output=D:\folder w spaces\Encode\Remux FOR %%V IN ("%inputV%\*.h264") DO "%mp4box%" -add "%%V#1:fps=23.976" "%output%\%%~nV.mp4" PAUSE>NUL EXIT ```
Last error 3 on mp4box 1.0.0
https://api.github.com/repos/gpac/gpac/issues/1557/comments
15
2020-07-27T13:22:53Z
2020-09-10T15:45:02Z
https://github.com/gpac/gpac/issues/1557
666,291,615
1,557
[ "gpac", "gpac" ]
I am trying to encrypt a video content with key rotation using MP4Box. i.e. I want to encrypt different segments in a 4 min video with different keys. I am following crypt sample provided by gpac for key rotation. `<?xml version="1.0" encoding="UTF-8"?> <GPACDRM type="CENC AES-CTR"> <!-- example for GPAC 'clear' DRM System - keys are listed after the content and UL follows --> <DRMInfo type="pssh" version="1" cypherOffset="9" cypherKey="0x6770616363656E6364726D746F6F6C31" cypherIV="0x00000000000000000000000000000001"> <BS ID128="6770616363656E6364726D746F6F6C31"/> <BS value="4" bits="32"/> <BS ID128="0x279926496a7f5d25da69f2b3b2799a81"/> <BS ID128="0x597669572e55547e656b56586e2f6f68"/> <BS ID128="0x205b2b293a342f3d3268293e6f6f4e29"/> <BS ID128="0x32783e367c2e4d4d6b46467b3e6b5478"/> <BS bits="8" string="CID=Toto"/> <BS ID128="0xeee0f2b3b279926496a7f5d25da692f6"/> <BS ID128="0x7959493a764556786527517849756635"/> <BS ID128="0x3a4f3674376d6c48675a273464447b40"/> <BS ID128="0x3e213f6d45584f51713d534f4b417855"/> </DRMInfo> <CrypTrack trackID="1" IsEncrypted="1" IV_size="16" first_IV="0x0a610676cb88f302d10ac8bc66e039ed" saiSavedBox="senc" keyRoll="roll=4"> <key KID="0x279926496a7f5d25da69f2b3b2799a81" value="0xeee0f2b3b279926496a7f5d25da692f6"/> <key KID="0x597669572e55547e656b56586e2f6f68" value="0x7959493a764556786527517849756635"/> <key KID="0x205b2b293a342f3d3268293e6f6f4e29" value="0x3a4f3674376d6c48675a273464447b40"/> <key KID="0x32783e367c2e4d4d6b46467b3e6b5478" value="0x3e213f6d45584f51713d534f4b417855"/> </CrypTrack> </GPACDRM>` I am encrypting the content (audio and video streams separately) using this crypt file with following command: `MP4Box -crypt crypt.xml input_filename -out output_filename` Then I am packaging the encrypted content in dash format (onDemand profile) using following command: `MP4Box -dash 2000 -rap -bs-switching no -sample-groups-traf -profile onDemand -out dash.mpd audio_aac-lc_128k.mp4 audio_aac-lc_192k.mp4 video_512x288_h264-360k.mp4 video_704x396_h264-620k.mp4 video_896x504_h264-1340k.mp4 video_1280x720_h264-2500k.mp4 video_1920x1080_h264-4500k.mp4 ` I get a manifest (mpd) file (with dash_init file for each content file) with information about only one period i.e. Period 0. Generated Dash manifest file is attached here. [dash.txt](https://github.com/gpac/gpac/files/4980970/dash.txt) There should be multiple period information in manifest file along with KID used for those periods. When I play this dash content on exoplayer, it playback fails immediately without playing. Can anyone tell whether key rotation is supported for clearkey in MP4Box? If yes, what is wrong in my commands/procedure?
CENC - Clear Key encryption with Key rotation not working using MP4Box
https://api.github.com/repos/gpac/gpac/issues/1555/comments
11
2020-07-27T09:16:18Z
2020-09-01T16:13:47Z
https://github.com/gpac/gpac/issues/1555
666,125,522
1,555
[ "gpac", "gpac" ]
After i dash the 3x3 tiled video, it will produce 10(1-10) tiles, rather than 9(1-9). And the first tile (track1_?) is a small size file within 10 KB, why?
Dashing the tiled video
https://api.github.com/repos/gpac/gpac/issues/1554/comments
1
2020-07-27T02:28:32Z
2020-07-27T10:53:43Z
https://github.com/gpac/gpac/issues/1554
665,929,347
1,554
[ "gpac", "gpac" ]
Hello, in order to upgrading the os to Ubuntu 18.04 LTS I get an issue about MP4Box version 1.0.0-rev156-gbcbdbdbf4-master The command: > MP4Box -dash-live 2000 -subdur 4000 -segment-timeline -profile dashavc264:live -subsegs-per-sidx -1 -mpd-refresh 8 -time-shift 16 -min-buffer 2000 -url-template -insert-utc -dash-ctx ../../live/log.txt -out ../../live/manifest.mpd ../current/output_1080.mp4#video ../current/output_720.mp4#video ../current/output_360.mp4#video ../current/output_180.mp4#video ../current/output_audio.mp4#audio Give me this kind of errors: > [Dasher] No template assigned, using $File$_dash$FS$$Time$ > [MPD] Generating MPD at time 2020-07-26T14:31:18.051Z > [Dasher] AS0 Rep 1 segment 1 done 1986 ms before UTC due time > [Dasher] AS0 Rep 2 segment 1 done 1986 ms before UTC due time > [Dasher] AS0 Rep 3 segment 1 done 1986 ms before UTC due time > [Dasher] AS0 Rep 4 segment 1 done 1986 ms before UTC due time > [Dasher] updated period DID1 duration 2000 MPD time 2000 > [MPD] Generating MPD at time 2020-07-26T14:31:18.053Z > [Dasher] AS0 Rep 5 segment 1 done 1980 ms before UTC due time > [Dasher] removing segment output_1080_dash0.m4s > [Dasher] purging segment output_1080_dash0.m4s for AS 0 rep 1 but segment list is empty! > [Dasher] No timeline entry after currently removed segment, cannot update start time > [Dasher] removing segment output_720_dash0.m4s > [Dasher] purging segment output_720_dash0.m4s for AS 0 rep 2 but segment list is empty! > [Dasher] removing segment output_360_dash0.m4s > [Dasher] purging segment output_360_dash0.m4s for AS 0 rep 3 but segment list is empty! > [Dasher] removing segment output_180_dash0.m4s > [Dasher] purging segment output_180_dash0.m4s for AS 0 rep 4 but segment list is empty! > [Dasher] updated period DID1 duration 3583 MPD time 3583 > [MPD] Generating MPD at time 2020-07-26T14:31:18.055Z > [Dasher] AS0 Rep 1 segment 2 done 3983 ms before UTC due time#2 1.88s (93.75 %) AS#1.3(V) seg #2 1.88s (93.75 %) AS#1.4(V) seg #2 1.88s (93.75 %) AS#2.1(A) seg #2 0.16s (7.97 %) / MPD 3.88s 1 % > [Dasher] AS0 Rep 2 segment 2 done 3983 ms before UTC due time > [Dasher] AS0 Rep 3 segment 2 done 3983 ms before UTC due time > [Dasher] AS0 Rep 4 segment 2 done 3983 ms before UTC due time > [Dasher] removing segment output_audio_dash0.m4s#1.2(V) seg #3 0.00s (0.00 %) AS#1.3(V) seg #3 0.00s (0.00 %) AS#1.4(V) done (3 segs) AS#2.1(A) seg #2 0.23s (11.46 %) > [Dasher] purging segment output_audio_dash0.m4s for AS 0 rep 5 but segment list is empty! > [Dasher] No timeline entry after currently removed segment, cannot update start time > [Dasher] updated period DID1 duration 4000 MPD time 4000 > [MPD] Generating MPD at time 2020-07-26T14:31:18.056Z > [Dasher] Adaptation sets in period are of unequal duration min 3.39 max 6 seconds > [Dasher] removing segment output_1080_dash24576.m4s > [Dasher] purging segment output_1080_dash24576.m4s for AS 0 rep 1 but segment list is empty! > [Dasher] removing segment output_720_dash24576.m4s > [Dasher] purging segment output_720_dash24576.m4s for AS 0 rep 2 but segment list is empty! > [Dasher] removing segment output_360_dash24576.m4s > [Dasher] purging segment output_360_dash24576.m4s for AS 0 rep 3 but segment list is empty! > [Dasher] updated period DID1 duration 6000 MPD time 6000 > [MPD] Generating MPD at time 2020-07-26T14:31:18.058Z > [Dasher] AS0 Rep 5 segment 2 done 3973 ms before UTC due time > [Dasher] Adaptation sets in period are of unequal duration min 3.993 max 6 seconds > [Dasher] updated period DID1 duration 6000 MPD time 6000 > [MPD] Generating MPD at time 2020-07-26T14:31:18.059Z > [Filter] dasher not responding properly: 100000 consecutive process with no packet discarded or sent, but 5 packets pending > discarding all inputs and notifying end of stream on all outputs > Error DASHing file: Internal Service Error > Live DASH-ing - press 'q' to quit, 's' to save context and quit > [DASH] generation called too early by 5627 ms > Error DASHing file: End Of Stream / File > Live DASH-ing - press 'q' to quit, 's' to save context and quit > [DASH] generation called too early by 5591 ms > Error DASHing file: End Of Stream / File > Live DASH-ing - press 'q' to quit, 's' to save context and quit > [DASH] generation called too early by 5554 ms > Error DASHing file: End Of Stream / File > Live DASH-ing - press 'q' to quit, 's' to save context and quit > [DASH] generation called too early by 5519 ms > Error DASHing file: End Of Stream / File > Live DASH-ing - press 'q' to quit, 's' to save context and quit I think that it could be an install issue, since the command worked in the preview os/configuration, but also the GPAC revision upgrade could metter. I can't understand these errors: > [Filter] dasher not responding properly: 100000 consecutive process with no packet discarded or sent, but 5 packets pending > discarding all inputs and notifying end of stream on all outputs > Error DASHing file: Internal Service Error I observe the same issue on OSX Mojave May ask help to understand and fix what is going on? Thank you Gian
DASHing file: Internal Service Error
https://api.github.com/repos/gpac/gpac/issues/1553/comments
5
2020-07-26T14:50:18Z
2023-04-30T10:52:27Z
https://github.com/gpac/gpac/issues/1553
665,796,085
1,553
[ "gpac", "gpac" ]
Is it possible using mp4box to change the color space information of a video without re-encoding the file?
Insert rec709 color information into video without re-encoding
https://api.github.com/repos/gpac/gpac/issues/1552/comments
4
2020-07-24T21:57:54Z
2020-07-27T16:56:38Z
https://github.com/gpac/gpac/issues/1552
665,439,142
1,552
[ "gpac", "gpac" ]
when i try to use MP4Client to play a video or mpd, it warning that > [Compositor] Failed to load a video output module. > Error I/O Error while instantiating filter compositor > [Terminal] Failed to load compositor filter: I/O Error > > Init error - check you have at least one video out and one rasterizer... > Found modules: > Available modules: > gm_validator.dylib did i missing any lib?
MP4Client can t work!
https://api.github.com/repos/gpac/gpac/issues/1550/comments
2
2020-07-24T08:23:30Z
2020-07-27T02:25:33Z
https://github.com/gpac/gpac/issues/1550
665,001,400
1,550
[ "gpac", "gpac" ]
I try my code following the wiki of HEVC Tile based adaptation guide first: `kvazaar -i CA.mp4 --input-res 3840x1920 -o CB.hvc --tile 3x3 --slices tiles --mv-constraint frametilemargin --bitrate 15000000 --period 30 --input-fps 30` sec: `MP4Box -add CB.hvc:split_tiles -new CC.mp4` third `MP4Box -dash 5000 -segment-name file -out CC_dash.mpd CC.mp4` after this three step, i found it the video can t be tiled exactly, there is only one tiled file(m4s) and then i try to figure out it, i use ffplay or MP4Client to display the video produced from seccond code(CC.mp4) and first code(CB.hvc). these two video also can t be played correctly. i don t know why, can you help me? appriciate for helping!
the video can t display after tiled
https://api.github.com/repos/gpac/gpac/issues/1549/comments
0
2020-07-24T04:33:13Z
2020-07-24T08:20:40Z
https://github.com/gpac/gpac/issues/1549
664,908,882
1,549
[ "gpac", "gpac" ]
Hi everybody ! I cannot package an asset to HLS with MPEG2 TS segments. It cannot connect the audio streams. When I run the command: `gpac -i variants/video_145000.mp4 -i variants/audio_96000_fra.mp4 -o gpac/index.m3u8:m2ts:segdur=6` It results with the following error: ``` No filter chain found for PID audio_96000_fra.mp4 in filter dasher to any loaded filters - NOT CONNECTED [Filter] dasher in error / not responding properly: 2694685 consecutive errors in 1000000 us with no packet discarded or sent discarding all inputs and notifying end of stream on all outputs ``` I tried with raw ADTS instead of MPEG4 audio in input, but the result is identical. The same command with the same assets is working fine with MPEG4 segments, it is only failing with MPEG2 segments. The problem is arising with GPAC v1.0 (from brew) and latest dev build (version 1.0.0-rev118-g20e9b1de-master from gpac web site). I'm running on MacOS X 10.15.6. ----------- 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/
[HLS] Audio tracks not connected to output filter
https://api.github.com/repos/gpac/gpac/issues/1548/comments
7
2020-07-21T14:29:21Z
2020-07-23T14:12:41Z
https://github.com/gpac/gpac/issues/1548
663,061,130
1,548
[ "gpac", "gpac" ]
Hi, I am looking for simple commands to generate assets which will support IFrame based Trick mode Forward and reverse. I found asset at http://dash.akamaized.net/dash264/TestCases/9a/qualcomm/1/ but would like to generate multiple such assets with different codec. If you can provide set of commands to generate IFrame assets in forward and reverse order it would be of great help.
DASH IFrame based Trick mode sample generation
https://api.github.com/repos/gpac/gpac/issues/1547/comments
1
2020-07-21T09:59:56Z
2020-07-21T14:38:47Z
https://github.com/gpac/gpac/issues/1547
662,827,692
1,547
[ "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. **I built it myself in MSYS2/MinGW using media-autobuild suite** - [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 built from HEAD revision in MSYS2/MinGW, using media-autobuild suite. ``` MP4Box - GPAC version 1.0.0-rev115-g502bae149-ab-suite (c) 2000-2020 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io GPAC Configuration: --prefix=/local64 --disable-shared --enable-static --static-mp4box Features: GPAC_CONFIG_WIN32 GPAC_64_BITS GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_DISABLE_3D ``` When I tried to redirect the full help output of MP4Box to a text file to read it later, I realized that one part of the output was sent to **stdout** but another part got sent to **stderr**. Merging it in a linked redirection `2>&1` is unreliable under Windows because it may be bound to output buffer dimensions (e.g. merged at KiB boundaries, not at end-of-line characters). `MP4Box.exe -h all > MP4Box_out.txt 2> MP4Box_err.txt` Results attached: [MP4Box_out.txt](https://github.com/gpac/gpac/files/4925211/MP4Box_out.txt) [MP4Box_err.txt](https://github.com/gpac/gpac/files/4925212/MP4Box_err.txt) I would strongly recommend to have a consistent behaviour. In general, **stdout** should be reserved to payload data and **stderr** to console output.
Full help output is redirected partially to both stdout and stderr
https://api.github.com/repos/gpac/gpac/issues/1543/comments
2
2020-07-15T12:52:26Z
2020-07-16T17:41:26Z
https://github.com/gpac/gpac/issues/1543
657,326,115
1,543
[ "gpac", "gpac" ]
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you! - [x] I looked for a similar issue and couldn't find any. - [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/ - [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ The lastest Osmo4 client not work on Mi9 MIUI 12.0.2(Android 10),the gui not work normally, the menu button click disappear and click again, it appears, but it can't perform a function normally.The log and operation video are below: Please help, Thanks. [Mi9 Android10 log.txt](https://github.com/gpac/gpac/files/4922479/Mi9.Android10.log.txt) [The video of osmo4 opertaion log](https://c-t.work/s/9db9b1d62f844e)
MI9 MIUI12.0.2 Android10 gui not work
https://api.github.com/repos/gpac/gpac/issues/1542/comments
4
2020-07-15T02:27:32Z
2022-05-19T17:00:25Z
https://github.com/gpac/gpac/issues/1542
657,012,725
1,542
[ "gpac", "gpac" ]
Hi ! Please check the uploaded zip file [hls_fMP4_by_Bitmovin.zip](https://github.com/gpac/gpac/files/4918255/hls_fMP4_by_Bitmovin.zip) which contains 3 files * init.mp4 * segment_0.m2s * init_seg_0_1.mp4 The 3rd file was concated from 1st and 2nd file. They're generated from GPAC 0.53 . Write a very simple program to parse `segment_0.m2s`, but crashed, here is the error ```C++ #include <iostream> #include <gpac/avparse.h> #include <gpac/isomedia.h> int main(int argc, char *argv[]) { const char *filePath = argv[1]; u32 fileType = gf_isom_probe_file(filePath); std::cout << fileType << std::endl; GF_ISOFile *file = gf_isom_open(filePath, GF_ISOM_OPEN_READ, NULL); u32 brand = 0, version = 0; Bool hasSeg = gf_isom_has_segment(file, &brand, &version); if (hasSeg == GF_TRUE) { std::cout << brand << ' ' << version << std::endl; } return 0; } ``` It outputs ```bash 3 [iso file] Movie fragment but no moov (yet) - possibly broken parsing! [iso file] Error: moov not received before merging fragment Segmentation fault (core dumped) ``` According document, 3 = media segment, it's correct. But the `segment_0.m4s` file doesn't have any [ftyp] box, here is its layout ``` [styp] (unsupported box type) Size=24 Data=[...] (use -a option to show all) [sidx] (unsupported box type) Size=44 Data=[...] (use -a option to show all) [moof] Size=888 [mfhd] Size=16 Version=0 Flags=0x000000 SequenceNumber=1 [traf] Size=864 [tfhd] Size=16 Version=0 Flags=0x020000 TrackID=1 [tfdt] Size=16 Version=0 Flags=0x000000 BaseMediaDecodeTimeV0=0 [trun] Size=824 ... (use -a option to show all) [mdat] Size=490058 Data=[...] (use -mdat option to expand) ``` So it onlyl contains the samples for the TrackID=1. Another question is how to generate the file similar to `segment_0.m4s` by API ? Thanks a lot.
Failed to Parse Segment File from Bitmovin
https://api.github.com/repos/gpac/gpac/issues/1541/comments
1
2020-07-14T10:53:46Z
2020-07-16T17:03:14Z
https://github.com/gpac/gpac/issues/1541
656,521,184
1,541
[ "gpac", "gpac" ]
Hi ! Tried to compile and install to a customized prefix path rather than `/usr/local`, for example `/home/user/Downloads/gpac/dist`, if setup the **LD_LIBRARY_PATH** to `/home/user/Downloads/gpac/dist/lib`, then tried to run either gpac or MP4Box under `bin` folder, it always prints ```bash [Core] default modules not found [core] Cannot create config file GPAC.cfg in /home/user/.gpac directory Fatal error: failed to initialize GPAC global configuration ``` Even created the folder `.gpac` in `$HOME` folder but it still not work, it just could not create the config file. Not sure why. Please have a look. Thanks a lot.
Custom Prefix Location = Can not Run Program
https://api.github.com/repos/gpac/gpac/issues/1540/comments
2
2020-07-14T02:28:27Z
2020-07-16T01:46:26Z
https://github.com/gpac/gpac/issues/1540
656,275,304
1,540
[ "gpac", "gpac" ]
When only MP4Box is installed on Windows, attempting to run mp4box.exe results in a System Error: _The program can't start because OpenSVCDecoder.dll is missing from your computer. Try reinstalling the program to fix this problem._ Steps to reproduce: On a Windows system that does not have GPAC installed, download and install the latest Win x64 nightly build (e.g. 1.0.0 for x64 revision 112-g09fb485a). During installation, enable MP4box only. (Naturally, gpac core remains enabled too, since it cannot be disabled.) Try to run %Program Files%\GPAC\mp4box.exe and observe the System Error dialog. Repeating the install process did not help. However, doing a full installation (leaving all the tickboxes enabled) resulted in the installation of the missing DLL, so presumably it is installed with another component—perhaps GPAC Player?
OpenSVCDecoder DLL needed by MP4Box not included when installing MP4Box only on Windows
https://api.github.com/repos/gpac/gpac/issues/1539/comments
2
2020-07-12T05:19:48Z
2020-07-15T13:12:39Z
https://github.com/gpac/gpac/issues/1539
655,333,836
1,539
[ "gpac", "gpac" ]
I have this problem i use MP4BOX but i cant run PS D:\360\GPAC> MP4Box -dash 1000 hight.mp4:desc_as=<SupplementalProperty schemeIdUri=\"urn:mpeg:dash:srd:2014\" value=\"0,0,1,1,1,2,2\"/> [DASH] Cannot open file schemeIdUri=\urn for dashing: Requested URL is not valid or cannot be found DASH Setup Error: Requested URL is not valid or cannot be found
h.264 tiles
https://api.github.com/repos/gpac/gpac/issues/1538/comments
1
2020-07-11T03:26:08Z
2020-07-16T17:08:26Z
https://github.com/gpac/gpac/issues/1538
655,124,159
1,538
[ "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/ I have try play 360 video on android huawei nexus6p(Android 10),but the result is the same as 2D video, there should be no back projection and can't swipe to switch perspective. ![image](https://user-images.githubusercontent.com/8191309/86871470-edb43500-c10c-11ea-93ba-fb4935545f05.png) I have another question about ![image](https://user-images.githubusercontent.com/8191309/86871674-556a8000-c10d-11ea-8f6a-d6f9c803b809.png) the full name of EQR is Equi-Rectangular Projection? and I have to use the video be projection of EQR can work well?
360 video play
https://api.github.com/repos/gpac/gpac/issues/1537/comments
4
2020-07-08T03:25:10Z
2020-07-08T07:46:08Z
https://github.com/gpac/gpac/issues/1537
652,888,901
1,537
[ "gpac", "gpac" ]
To date I had been using `0.5.1-DEV-rev5568` and I noticed today that I was way behind on versions. I decided to try upgrading, so I installed 1.0.0. When trying to use the new version, I got many `[TXTIn] Bad SRT formatting - expecting number got...` and `[TXTIn] Corrupted SRT frame X after frame Y`. And many, but not all, lines of the subtitle file get skipped. This does not happen using the same files in the v0.5.1 I was using before. The command I was running (for both versions) was: `mp4box.exe -add "My Subs.srt":hdlr=sbtl:lang=eng "My Movie.mp4" -out "My Movies with subs.mp4"`. I'm running on Windows x64. I've attached one SRT file and its associated command line outputs when running the above command. I tried many other SRTs and movies with the same issues. I also tried multiple versions of 1.0.0: `1.0.0-rev0-ga99c032b-master` and `1.0.0-rev87-g0bfe309f-master` (the latest nightly build) with the same result. Let me know if you require any additional information. [My Subs.srt](https://github.com/gpac/gpac/files/4875648/My.Subs.srt.txt) [output.txt](https://github.com/gpac/gpac/files/4875649/output.txt)
MP4Box "Bad SRT formatting" when upgrading to 1.0.0
https://api.github.com/repos/gpac/gpac/issues/1536/comments
6
2020-07-05T21:07:08Z
2020-07-07T15:36:13Z
https://github.com/gpac/gpac/issues/1536
651,145,898
1,536
[ "gpac", "gpac" ]
Hello, a user from staxrip mentioned an issue with the character "+" within the filename or input file. Please have a look at [this issue](https://github.com/staxrip/staxrip/issues/257).
unsupported character
https://api.github.com/repos/gpac/gpac/issues/1535/comments
1
2020-07-04T16:00:49Z
2020-07-06T07:48:52Z
https://github.com/gpac/gpac/issues/1535
650,914,710
1,535
[ "gpac", "gpac" ]
Hi Tried to use GPAC on OSX 10.15.4 in C++11 program. Using latest commit `e4dc0015293571aeef81817b486d16ff5673db8f` of master branch. Using the following compiler toolchain ```bash Apple clang version 11.0.0 (clang-1100.0.33.12) Target: x86_64-apple-darwin19.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ``` Once wrote `#include <gpac/avparse.h>` in source file, the compiler reported error as this ```bash In file included from /Users/user/Document/gpac-build/dist-master/include/gpac/avparse.h:56: In file included from /Users/user/Document/gpac-build/dist-master/include/gpac/bitstream.h:48: In file included from /Users/user/Document/gpac-build/dist-master/include/gpac/tools.h:33: /Users/user/Document/gpac-build/dist-master/include/gpac/setup.h:512:16: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] #define LLD "%"LLD_SUF ^ /Users/user/Document/gpac-build/dist-master/include/gpac/setup.h:514:16: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] #define LLU "%"LLU_SUF ^ /Users/user/Document/gpac-build/dist-master/include/gpac/setup.h:516:16: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] #define LLX "%"LLX_SUF ``` On Ubuntu 16 with GCC540, here is just warning not error. I think it's best to have a proper support for C++1x. Thanks a lot !
Compilation failed with Clang11 on OSX
https://api.github.com/repos/gpac/gpac/issues/1534/comments
4
2020-07-03T13:55:07Z
2020-07-06T12:33:27Z
https://github.com/gpac/gpac/issues/1534
650,613,143
1,534
[ "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 Gpac team, I wish to have information about the usage of the DASHER for CMAF alike generation, and the documentation of some options. In https://dl.acm.org/doi/abs/10.1145/3339825.3394929 some examples for low latency are shown in chapter 5. > MP4Box −dash− l i v e 1000 −f r a g 100 −f r a g −r t − > a s t − o f f s e t 900 − p r o f i l e l i v e q1 .mp4 q2 . > mp4 −out h t t p : / / foo . ba r / l i v e .mpd : hmode= > push > > > The new architecture also provides an HTTP server designed > for low latency DASH streaming, capable of both writing to disk > and pushing to the client(s). This ensures that client connecting to > the live edge will be pushed segments as they are delivered by the > dasher, while other clients will be delivered segments as stored on > disk. The operation does not require any file system monitoring > nor complex signaling (ad-hoc boxes in segments). > > > gpac −i q1 .mp4 −i q2 .mp4 r e f r ame r : r t =on @ − > out h t t p : / / l o c a l h o s t : 8 0 / l i v e .mpd : gpac : > r d i r s = . / temp : wdir = . / temp : cdur = 0 . 1 : a s t o > = 0 . 9 : dmode=dynamic > > > Thanks to the support for live grabbers and encoders, the input > can be audio and video from a live webcam: > > > gpac −i av : / / enc : c=avc : b=2M: f i n t r a =1 : FID=V > enc : c= aac : b =128 k : FID=A −out h t t p : / / foo . > ba r / l i v e .mpd : gpac : SID=V,A: r d i r s = . / temp : > wdir = . / temp : cdur = 0 . 1 : a s t o = 0 . 9 : dmode= > dynamic But in the help of the binary (/usr/local/bin/gpac -hx dasher or /usr/local/bin/gpac -ha dasher or general) we dont have explanations of some parameter options (eg. cdur, rdirs, wdirs). In the gpac wiki site, filters site I didnt find anything neither. Although the names of option seem intuitive, the actual usage for CHUNKS parametrization is unknown for me. And the using of the option have not generated me any chunk (subdivision of the dash segment). The control of the windows size (number of segments or chunks, whatever the case, in the server) is unknown for me. Thank you a lot for your help ! ----- Regards,
Documentation for dasher missing some clarification (low latency applications)
https://api.github.com/repos/gpac/gpac/issues/1533/comments
8
2020-07-03T11:27:43Z
2020-08-24T15:16:23Z
https://github.com/gpac/gpac/issues/1533
650,536,217
1,533
[ "gpac", "gpac" ]
Hi there, I'm using the gpac library in my own project and from time to time, I update and recompile the project to get new features like HEVC support. I recently faced a really strange issue I do not explain: - gf_sys_init has a single parameter at [39367c29f21232e61f6883607c1d1c677bc28ccd ](https://github.com/gpac/gpac/blob/39367c29f21232e61f6883607c1d1c677bc28ccd/include/gpac/tools.h)(June 5, 2020) - the next commit [44af1e163e53ab1d6f40921fdc033edd78aa6c51](https://github.com/gpac/gpac/blob/44af1e163e53ab1d6f40921fdc033edd78aa6c51/include/gpac/tools.h) it has one more parameter - until commit [31f15a73c69f8e019a2a83d7dcbeef3c68a48ee0](https://github.com/gpac/gpac/blob/31f15a73c69f8e019a2a83d7dcbeef3c68a48ee0/include/gpac/tools.h) (June 11, 2020) where function go back to a single parameter - and again, the following commit [ddc5db70b3f0df1f531882a11fb9c6900013b958](https://github.com/gpac/gpac/blob/ddc5db70b3f0df1f531882a11fb9c6900013b958/include/gpac/tools.h) have a gf_sys_init function with two parameters I get the history from [here](https://github.com/gpac/gpac/commits/master?after=7f0075ebc4cbc008b79c6da9daa8939e6809f24e+104) and my local tree is at 39367c29f21232e61f6883607c1d1c677bc28ccd (June 5, 2020) and gf_sys_init has a single parameter. I tracked down the change to commit 4ada86964068854dada4c4a2121d193ca63ba5fd which happened .. 2 years ago! How did my git clone from the 5th of june may not have that commit applied? And since I'm creating a new issue, please be careful when modifying public function prototypes, it breaks all project using your library. You may add a number at the end of the function name like gf_sys_init2 or add a single gf_sys_init_ex that takes a structure whose content may evolve at will. Thanks!
Backward compatibility
https://api.github.com/repos/gpac/gpac/issues/1532/comments
5
2020-07-02T09:01:53Z
2020-07-03T09:43:36Z
https://github.com/gpac/gpac/issues/1532
649,763,940
1,532
[ "gpac", "gpac" ]
Hi ! Using latest commit `7f0075ebc4cbc008b79c6da9daa8939e6809f24e` from master branch. Enter source folder, type command line ```bash ./configure --prefix=`pwd`/dist-master ``` then `make -j10 install`. Under prefix folder `dist-master`, there is no `gpac.pc` file installed, it seems that the script checks if the folder exists, which is not true when using customized prefix path as following output ``` if [ -d /home/user/gpac-repo/dist-master/lib/pkgconfig ] ; then \ install -m 644 gpac.pc "/home/user/gpac-repo/dist-master/lib/pkgconfig" ; \ fi ``` Another very annoying thing is that generated config.h was not installed to prefix, the file `dist-master/include/gpac/configuration.h` would not be replaced by generated one. Once external program which needs to include gpac would always report ```#error "Unknown target platform used with static configuration file```. Please have a look, thanks.
config.h gpac.pc were not installed properly
https://api.github.com/repos/gpac/gpac/issues/1531/comments
5
2020-07-02T08:07:54Z
2020-07-06T12:34:07Z
https://github.com/gpac/gpac/issues/1531
649,727,021
1,531
[ "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 Detailed guidelines: http://gpac.io/2013/07/16/how-to-file-a-bug-properly/ Hi, ### Introduction (you can skip this to address the crash) I am starting to use dasher to try to manufacture homemade CMAF stream for tests. I have performed several 'experiments' of gpac and mp4box using these references of documentation (among other doc webpages): https://github.com/gpac/gpac/wiki/dasher https://github.com/gpac/gpac/wiki/mp4box-dash-opts Specially: https://dl.acm.org/doi/pdf/10.1145/3339825.3394929 My purpose indeed is not to achieve tl, but I was trying different options to understand as Documentation is hard for beginners. My objective is to have Dash of ~6s segments with Chunks of ~600ms and preferably in template (more or less as my commented line in my older MP4box command line). A plus knoledg would be to KNOW HOW to control the WINDOW of available segments and chunks in the servers before any flush. Sometimes MP4Box creates all the segments once or "it never ends", thats why I want to learn gpac filters, because it seems in the good way, as per results of subfolder 6 (cf. Logs) ### Actions / Steps / Observations I execute the bash inside the folders.. `~]# ./gpac_experiment.bash` inside it is only: `~]# gpac -i /var/www/html/onDemand/videos/1.mp4#video -i /var/www/html/onDemand/videos/1.mp4#audio reframer:rt=on @ -o /var/www/html/experiment_gpac_public/master.mpd:segdur=4.0:stl=true:tpl=false:dmode=dynamic` In my destination folder, which I also copied, I achieve only 8 segments for each track, the 2 init and the mpd. Suddenly it crashes with Segmentation fault. Systematic. And also verified with the HEAD. ### Problem This is the bt: > (gdb) bt > #0 0x00007f1e63531884 in gf_mpd_segment_url_free () from /usr/local/lib/libgpac.so.10 > #1 0x00007f1e636b6450 in dasher_update_period_duration.isra () from /usr/local/lib/libgpac.so.10 > #2 0x00007f1e636c4d9b in dasher_process () from /usr/local/lib/libgpac.so.10 > #3 0x00007f1e636aab43 in gf_filter_process_task () from /usr/local/lib/libgpac.so.10 > #4 0x00007f1e6369b635 in gf_fs_thread_proc () from /usr/local/lib/libgpac.so.10 > #5 0x00007f1e6369edb0 in gf_fs_run () from /usr/local/lib/libgpac.so.10 > #6 0x000000000040c50b in gpac_main () > #7 0x00007f1e62edb731 in __libc_start_main (main=0x403d60 <main>, argc=9, argv=0x7ffd986816a8, init=<optimized out>, > fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd98681698) at ../csu/libc-start.c:289 > #8 0x0000000000403d99 in _start () ### Condition Version: gpac - GPAC command line filter engine - version 1.0.0-rev59-g5a10a36-master Setup: 4.11.12-100.fc24.x86_64 #1 SMP Fri Jul 21 17:35:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux ### Logs LOGS 10 & 11 for the same crash (script, outputdir, backtrace, coredump) Other logs (other folders) containing anomalies or bad tryouts/manipulations . Only the 6th is the best tryout or nearest to what I want, but no idea on how to have chunks correctly :( https://www.mediafire.com/file/a9jcoekjo97jw9c/experiments.7z/file ---------------- My best regards, special salutation to Jean, Aurelian and Romain :)
Crash of gpac when trying dasher with stl option
https://api.github.com/repos/gpac/gpac/issues/1530/comments
3
2020-06-29T22:37:39Z
2020-07-02T15:38:53Z
https://github.com/gpac/gpac/issues/1530
647,716,300
1,530
[ "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 have tested 0.8.1 and 1.0 lastest apk on android 6 8 9 10,0.8.1 is normal,but 1.0 lastest can't load libs normally,the log is below: $Revision$ Mon Jun 29 16:39:32 GMT+08:00 2020 *** Configuration GpacAppDirectory=/data/data/com.gpac.Osmo4/ GpacModulesDirectory=/data/data/com.gpac.Osmo4/lib/ GpacFontDirectory=/system/fonts/ GpacCacheDirectory=/data/data/com.gpac.Osmo4/cache GpacGuiDirectory=/data/data/com.gpac.Osmo4/share/gui/ GpacShaderDirectory=/data/data/com.gpac.Osmo4/share/shaders/ Loading library GLESv2...Loading library log...Loading library jpegdroid...Loading library javaenv...Loading library mad...Loading library editline...Loading library ft2...Loading library js_osmo...Loading library openjpeg...Loading library png...Loading library z...Loading library stlport_shared...Loading library stdc++...Loading library faad...Loading library gpac...Loading library gm_droid_mpegv...Loading library gm_mediacodec_dec...Failed to load gm_mediacodec_dec, error=dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.gpac.Osmo4-1/base.apk"],nativeLibraryDirectories=[/data/app/com.gpac.Osmo4-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libgm_mediacodec_dec.so" :: UnsatisfiedLinkError Loading library avutil...Loading library swscale...Loading library swresample...Loading library avcodec...Loading library avformat...Loading library avfilter...Loading library avdevice...Loading library gpacWrapper...*** Libs listing: /data/data/com.gpac.Osmo4/lib/ libstlport_shared.so [399384 bytes] libavfilter.so [1504740 bytes] libopenjpeg.so [89296 bytes] libavdevice.so [51108 bytes] libjs_osmo.so [523656 bytes] libgm_droid_audio.so [17884 bytes] libfaad.so [221720 bytes] libeditline.so [30552 bytes] libgpac.so [4559404 bytes] libavcodec.so [12169464 bytes] libft2.so [345604 bytes] libmad.so [99844 bytes] libz.so [87632 bytes] libgm_droid_out.so [21980 bytes] libpng.so [120376 bytes] libgm_ft_font.so [22056 bytes] libavutil.so [255452 bytes] libjavaenv.so [13728 bytes] libgpacWrapper.so [100072 bytes] libswscale.so [320908 bytes] libswresample.so [75148 bytes] libjpegdroid.so [157188 bytes] libavformat.so [1666644 bytes] libgm_droid_mpegv.so [17884 bytes] *** Modules listing: /data/data/com.gpac.Osmo4/lib/ libstlport_shared.so [399384 bytes] libavfilter.so [1504740 bytes] libopenjpeg.so [89296 bytes] libavdevice.so [51108 bytes] libjs_osmo.so [523656 bytes] libgm_droid_audio.so [17884 bytes] libfaad.so [221720 bytes] libeditline.so [30552 bytes] libgpac.so [4559404 bytes] libavcodec.so [12169464 bytes] libft2.so [345604 bytes] libmad.so [99844 bytes] libz.so [87632 bytes] libgm_droid_out.so [21980 bytes] libpng.so [120376 bytes] libgm_ft_font.so [22056 bytes] libavutil.so [255452 bytes] libjavaenv.so [13728 bytes] libgpacWrapper.so [100072 bytes] libswscale.so [320908 bytes] libswresample.so [75148 bytes] libjpegdroid.so [157188 bytes] libavformat.so [1666644 bytes] libgm_droid_mpegv.so [17884 bytes] *** Fonts listing: /system/fonts/ AndroidClock.ttf [4540 bytes] AndroidClock_Highlight.ttf [4464 bytes] AndroidClock_Solid.ttf [4464 bytes] CarroisGothicSC-Regular.ttf [40308 bytes] Clockopia.ttf [6564 bytes] ComingSoon.ttf [59136 bytes] CutiveMono.ttf [69180 bytes] DancingScript-Bold.ttf [115568 bytes] DancingScript-Regular.ttf [116580 bytes] DroidSansMono.ttf [108128 bytes] Lohit-Odia.ttf [97872 bytes] MTLmr3m.ttf [2558716 bytes] NotoColorEmoji.ttf [2317800 bytes] NotoNaskh-Bold.ttf [114612 bytes] NotoNaskh-Regular.ttf [115540 bytes] NotoNaskhUI-Bold.ttf [114596 bytes] NotoNaskhUI-Regular.ttf [115700 bytes] NotoSansArmenian-Bold.ttf [14152 bytes] NotoSansArmenian-Regular.ttf [14324 bytes] NotoSansBalinese-Regular.ttf [31604 bytes] NotoSansBatak-Regular.ttf [12472 bytes] NotoSansBengali-Bold.ttf [98100 bytes] NotoSansBengali-Regular.ttf [101308 bytes] NotoSansBengaliUI-Bold.ttf [103532 bytes] NotoSansBengaliUI-Regular.ttf [106640 bytes] NotoSansBuginese-Regular.ttf [7028 bytes] NotoSansBuhid-Regular.ttf [4460 bytes] NotoSansCanadianAboriginal-Regular.ttf [47268 bytes] NotoSansCham-Bold.ttf [22056 bytes] NotoSansCham-Regular.ttf [22048 bytes] NotoSansCherokee-Regular.ttf [34032 bytes] NotoSansCoptic-Regular.ttf [20956 bytes] NotoSansDevanagari-Bold.ttf [119664 bytes] NotoSansDevanagari-Regular.ttf [123740 bytes] NotoSansDevanagariUI-Bold.ttf [114168 bytes] NotoSansDevanagariUI-Regular.ttf [119200 bytes] NotoSansEthiopic-Bold.ttf [142968 bytes] NotoSansEthiopic-Regular.ttf [142832 bytes] NotoSansGeorgian-Bold.ttf [19636 bytes] NotoSansGeorgian-Regular.ttf [19684 bytes] NotoSansGlagolitic-Regular.ttf [15272 bytes] NotoSansGujarati-Bold.ttf [116588 bytes] NotoSansGujarati-Regular.ttf [119608 bytes] NotoSansGujaratiUI-Bold.ttf [113872 bytes] NotoSansGujaratiUI-Regular.ttf [116948 bytes] NotoSansGurmukhi-Bold.ttf [31176 bytes] NotoSansGurmukhi-Regular.ttf [31336 bytes] NotoSansGurmukhiUI-Bold.ttf [31932 bytes] NotoSansGurmukhiUI-Regular.ttf [31692 bytes] NotoSansHans-Regular.otf [8154368 bytes] NotoSansHant-Regular.otf [3097576 bytes] NotoSansHanunoo-Regular.ttf [6340 bytes] NotoSansHebrew-Bold.ttf [16636 bytes] NotoSansHebrew-Regular.ttf [16456 bytes] NotoSansJP-Regular.otf [168304 bytes] NotoSansJavanese-Regular.ttf [32772 bytes] NotoSansKR-Regular.otf [1857184 bytes] NotoSansKannada-Bold.ttf [80016 bytes] NotoSansKannada-Regular.ttf [81392 bytes] NotoSansKannadaUI-Bold.ttf [79136 bytes] NotoSansKannadaUI-Regular.ttf [80644 bytes] NotoSansKayahLi-Regular.ttf [7540 bytes] NotoSansKhmer-Bold.ttf [33620 bytes] NotoSansKhmer-Regular.ttf [34612 bytes] NotoSansKhmerUI-Bold.ttf [36456 bytes] NotoSansKhmerUI-Regular.ttf [38160 bytes] NotoSansLao-Bold.ttf [29004 bytes] NotoSansLao-Regular.ttf [30352 bytes] NotoSansLaoUI-Bold.ttf [29064 bytes] NotoSansLaoUI-Regular.ttf [30372 bytes] NotoSansLepcha-Regular.ttf [101584 bytes] NotoSansLimbu-Regular.ttf [10700 bytes] NotoSansMalayalam-Bold.ttf [56740 bytes] NotoSansMalayalam-Regular.ttf [56864 bytes] NotoSansMalayalamUI-Bold.ttf [61124 bytes] NotoSansMalayalamUI-Regular.ttf [61360 bytes] NotoSansMeeteiMayek-Regular.ttf [13512 bytes] NotoSansMyanmar-Bold.ttf [104692 bytes] NotoSansMyanmar-Regular.ttf [107640 bytes] NotoSansMyanmarUI-Bold.ttf [94696 bytes] NotoSansMyanmarUI-Regular.ttf [94188 bytes] NotoSansOlChiki-Regular.ttf [7144 bytes] NotoSansRejang-Regular.ttf [6008 bytes] NotoSansSaurashtra-Regular.ttf [18296 bytes] NotoSansSinhala-Bold.ttf [148660 bytes] NotoSansSinhala-Regular.ttf [155876 bytes] NotoSansSundanese-Regular.ttf [10044 bytes] NotoSansSylotiNagri-Regular.ttf [14504 bytes] NotoSansSymbols-Regular-Subsetted.ttf [247940 bytes] NotoSansTagbanwa-Regular.ttf [5124 bytes] NotoSansTaiLe-Regular.ttf [8340 bytes] NotoSansTaiTham-Regular.ttf [46068 bytes] NotoSansTaiViet-Regular.ttf [15376 bytes] NotoSansTamil-Bold.ttf [33096 bytes] NotoSansTamil-Regular.ttf [32980 bytes] NotoSansTamilUI-Bold.ttf [33548 bytes] NotoSansTamilUI-Regular.ttf [33412 bytes] NotoSansTelugu-Bold.ttf [109936 bytes] NotoSansTelugu-Regular.ttf [110176 bytes] NotoSansTeluguUI-Bold.ttf [110240 bytes] NotoSansTeluguUI-Regular.ttf [110644 bytes] NotoSansThaana-Bold.ttf [14944 bytes] NotoSansThaana-Regular.ttf [13912 bytes] NotoSansThai-Bold.ttf [17484 bytes] NotoSansThai-Regular.ttf [20536 bytes] NotoSansThaiUI-Bold.ttf [18156 bytes] NotoSansThaiUI-Regular.ttf [21160 bytes] NotoSansTifinagh-Regular.ttf [13084 bytes] NotoSansYi-Regular.ttf [121148 bytes] NotoSerif-Bold.ttf [246688 bytes] NotoSerif-BoldItalic.ttf [261772 bytes] NotoSerif-Italic.ttf [248644 bytes] NotoSerif-Regular.ttf [245788 bytes] Roboto-Black.ttf [242172 bytes] Roboto-BlackItalic.ttf [263976 bytes] Roboto-Bold.ttf [242304 bytes] Roboto-BoldItalic.ttf [264068 bytes] Roboto-Italic.ttf [263056 bytes] Roboto-Light.ttf [243788 bytes] Roboto-LightItalic.ttf [266080 bytes] Roboto-Medium.ttf [241640 bytes] Roboto-MediumItalic.ttf [263548 bytes] Roboto-Regular.ttf [241008 bytes] Roboto-Thin.ttf [246428 bytes] Roboto-ThinItalic.ttf [267068 bytes] RobotoCondensed-Bold.ttf [239596 bytes] RobotoCondensed-BoldItalic.ttf [261660 bytes] RobotoCondensed-Italic.ttf [261992 bytes] RobotoCondensed-Light.ttf [240820 bytes] RobotoCondensed-LightItalic.ttf [264500 bytes] RobotoCondensed-Regular.ttf [238804 bytes] DroidSans-Bold.ttf [242304 bytes] DroidSans.ttf [241008 bytes] *** Exceptions: gm_mediacodec_dec: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.gpac.Osmo4-1/base.apk"],nativeLibraryDirectories=[/data/app/com.gpac.Osmo4-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libgm_mediacodec_dec.so"(class java.lang.UnsatisfiedLinkError)
android load libs fail
https://api.github.com/repos/gpac/gpac/issues/1529/comments
12
2020-06-29T08:56:58Z
2020-07-16T17:09:49Z
https://github.com/gpac/gpac/issues/1529
647,238,343
1,529
[ "gpac", "gpac" ]
I have looked for info everywhere but most of them are old guides, they don't specify or include the steps to add GPAC or L-Smash in the x264 compilation process. No matter what I do (or I don't even know what I'm doing because there are no guides to explain it), when run "configure", x264 says "mp4: no". I use MSYS2 MinGW, the OS is Windows 10, I have Visual Studio 2015 and an VM with Ubuntu 18.04 Lts (for cross compile FFmpeg with "FFmpeg Windows Build Helpers", although in the case of MP4box only, compilation failed because there is an error that appears to be from GPAC).
MP4 output on x264 compile
https://api.github.com/repos/gpac/gpac/issues/1528/comments
15
2020-06-28T17:26:20Z
2020-09-02T16:07:27Z
https://github.com/gpac/gpac/issues/1528
646,969,633
1,528