Log in

View Full Version : GPAC MP4Box Information, Feature Requests & Discussions [No bug reports]


Pages : 1 2 3 4 5 6 7 8 9 10 11 [12]

Barough
16th April 2017, 19:12
I must be a bit dense... I can't find your .exe files :(
There is a Zippyshare link in my post above. From there so can you DL the 7Zip archive with the EXE's.

Skickat från min SM-G935F via Tapatalk

SeeMoreDigital
16th April 2017, 21:40
There is a Zippyshare link in my post above. From there so can you DL the 7Zip archive with the EXE's.

Skickat från min SM-G935F via TapatalkThanks :)

Barough
20th April 2017, 17:35
GPAC/MP4Box v0.7.0-rev3-g10dc09ce9
Built on Apr 20, 2017, GCC 6.3.0
32 & 64-Bit Windows Binaries

https://gpac.wp.imt.fr/2017/04/14/gpac-0-7-0/
https://github.com/gpac/gpac

DL :
http://www47.zippyshare.com/v/LzLSFwFI/file.html

stax76
22nd April 2017, 00:02
Demuxing mov files stopped working with this build, I also tried a Visual Studio build from today, same problem. It worked in previous builds. Is a dev reading here or should I create a issue on the tracker?

https://pastebin.com/zppBCaEH

Selur
22nd April 2017, 06:14
You probably better create an issue in the bug tracker, especially since the thread title says '[No bug reports]',..
(I can confirm the issue with my own v0.7.0-rev3-g10dc09ce9 builds here)

Midzuki
22nd April 2017, 08:25
I gave up on MP4box.
It's sluggish, outdated, and has stupid design flaws.
Now I use only L-Smash and ffmpeg.

stax76
22nd April 2017, 09:22
https://github.com/gpac/gpac/issues/806

stax76
3rd May 2017, 07:57
The mov issue is said to be fixed.

https://github.com/gpac/gpac/issues/806

Selur
3rd May 2017, 17:01
Thanks for the info.

Barough
25th May 2017, 18:20
MP4Box v0.7.2-DEV-rev67-g975c0eb7b
Built on May 25, 2017, GCC 6.3.0
32 & 64-Bit Windows Binaries

https://github.com/gpac/gpac/commits/master

DL :
http://www66.zippyshare.com/v/k3pjiTFq/file.html

SeeMoreDigital
25th May 2017, 21:36
Thanks Barough,

Is there a 'change log' for this version?

Barough
26th May 2017, 07:25
Thanks Barough,

Is there a 'change log' for this version?

Have a look here
https://github.com/gpac/gpac/commits/master

Jamaika
13th June 2017, 09:34
With GPAC versions is a little mess. Currently there is version 7.2.0 already. I don't know what GPAC contains, who is interested in this.

I pinch what the users forced on the creators.
https://github.com/gpac/gpac/compare/v0.7.1...master
https://github.com/gpac/gpac/issues/840
https://github.com/gpac/gpac/commit/c7e5aa383df43272ebacec80cbd3df8a16f3b0f5

26/04/2017: GPAC 0.7.1
- Full changelog at https://github.com/gpac/gpac/wiki/GPAC-0.7.0
- Many security fixes (static compile and fuzzing through [AFL](http://lcamtuf.coredump.cx/afl/), always ongoing)
- Colorized log.
- Fix pkg-config Private.libs.
- Changed default audio volume to 100% instead of 75%.
- Expose more experimental options through the [documentation](http://htmlpreview.github.io/?https://github.com/gpac/gpac/blob/master/doc/configuration.html).
- Improved GLES renderer on mobile platforms
- YUV422 and YUV444 8 and 10 bit support in GLES renderer
- Improvements on AVI dump.
- SAT>IP modified RTSP client.
- Added L-HEVC File Format support (SHVC/MV-HEVC tracks and HEVC Tile Tracks).
- Added MPEG IFF (image File Format) support.
- Range extension support for AVC and HEVC.
- SHVC and MV-HEVC importers and playback: moved to final spec version (SHM6+).
- Support of HLS with fragmented MP4 playback.
- APIs: gf_mpd_() functions and new segmenter API.
- Improved alternate groups.
- More support for PIFF PSEC and Smooth Streaming ( file format & playback).
- DASH client: pluggable algorithms + improvements with scalable contents.
- The counter source from the DASH sequences added to the public content.
- HLS and DASH playback minor fixes.
- Cleanup of DASH client logs.
- Added support for DASH SRD in 360 for independent videos videos (NxM partial spheres) [more](https://gpac.wp.imt.fr/2016/05/25/srd/)
- Added support for DASH SRD in 360 for HEV Ctiled videos (NxM tiles on one sphere) - [checkout tuto](https://gpac.wp.imt.fr/2017/02/01/hevc-tile-based-adaptation-guide/)
- Apple VideoToolBox hardware decoding support for OSX and iOS for AVC|H264.
- Android hardware decoding hardware acceleration for AVC|H264 (HEVC on its way).
- Android build is based on Android Studio.
- Android: new File Manager.
- Import of TTML via NHML according to MPEG-4 part 30 improved.

SeeMoreDigital
13th June 2017, 15:30
Hi all,

Out of interest, are there any new MP4box muxing UI's that offer support for muxing HEVC in .mp4?


Cheers

stax76
13th June 2017, 16:31
staxrip can be used as muxing UI as it supports stream copy.

Jamaika
30th July 2017, 06:55
New function for image HEIF(Apple):
https://gpac.wp.imt.fr/2017/06/09/gpac-support-for-heif/
MP4Box -add-image file.hvc:primary -ab heic -new image.heic
MP4Box -add-image file.hvc:time=1.2:primary -ab heix -new image.heic
MP4Box -add-image tiled.hvc:split_tiles:primary -ab heic -new tiled.heic

Dumping Options
-dump-cover Extracts cover art
-dump-item args dumps item to file - syntax item_ID[:tk=ID][:path=fileName] (What is with dump-image???)


Importing Options

File importing syntax:
":xps_inband" Sets xPS inband for AVC/H264 and HEVC (for reverse operation, re-import from raw media)
":max_lid=N" sets HEVC max layer ID to be imported to N. Default imports all.
":max_tid=N" sets HEVC max temporal ID to be imported to N. Default imports all.
":tiles" adds HEVC tiles signaling and NALU maps without splitting the tiles into different tile tracks.
":split_tiles" splits HEVC tiles into different tile tracks, one tile (or all tiles of one slice) per track.

Supported raw formats and file extensions:
JPEG Images .jpg .jpeg
JPEG-2000 Images .jp2 .j2k(???)
PNG Images .png
HEIF Images .heic (???)

Supported iTunes tag modifiers:
cover usage: cover=*.jpg,*.png,*.jp2,(*.j2k,*.heic)???

Meta handling Options
-set-meta args sets given meta type - syntax: "ABCD[:tk=ID]"
* ABCD: four char meta type (NULL or 0 to remove meta)
* [:tk=ID]: if not set use root (file) meta (dead function)
if ID is 0 use moov meta
if ID is not 0 use track meta
-add-item args adds resource to meta (dead function)
* syntax: file_path + options (':' separated):
file_path "this" or "self": item is the file itself
tk=ID: meta location (file, moov, track)
name=str: item name
type=itype: item 4cc type (not needed if mime is provided)
mime=mtype: item mime type
encoding=enctype: item content-encoding type
id=id: item ID
ref=4cc,id: reference of type 4cc to an other item
-add-image args adds the given file (with parameters) as HEIF image item) (experimental function) (How is argument ABCD for meta type???)
* same syntax as add-item with the following options
name=str same as for -add-item
id=id same as for -add-item
ref=4cc, id same as for -add-item
primary indicates that this item should be the primary item.
time=t uses the next sync sample after time t (float, in sec, default 0)
split_tiles for an HEVC tiled image, each tile is stored as a separate item
rotation=a sets the rotation angle for this image to 90*a degrees anti-clockwise.
image-hidden indicates that this image item should be hidden.

GPAC version: 0.7.2-DEV-rev219-g9aec64d-master

Can I generate HEIF screenshots from other codecs?

filler56789
27th June 2019, 20:51
GPAC 0.8.0 is out.

We are happy to announce the new release 0.8.0 of GPAC, featuring AV1, full CENC and ATSC3.0 support.

General
Many security fixes (static compile and fuzzing through AFL, always ongoing).
Many bugs fixes
Added :ncl option in log levels to disable color logs
More tests and coverage
File Formats
Better support of QTFF / ProRes files
Support for AV1
-- import and export
-- source formats: OBUs (Section 5), IVF and AnnexB
-- AV1 in HEIF
Support for color (nclc, nclx and ICC profiles) in HEIF and ISOBMFF
Support for HDR (mdcv, clli) info in HEIF and ISOBMFF
Support for alpha in HEIF
Support for enforcing pasp presence even for 1:1 ratios
HEVC temporal sublayer split in MP4Box
Allow meta storage before mdat for meta-only files (heif and co)
Added option to keep AU delimiter in isobmff samples
Support for opus import
Support for pixi and ccst in HEIF
DolbyVision 'dvcC' and partial 'dvhe' boxes for HDR
Support for VP9 import and playback
Sample dependency in avc and hevc importers, and track thinner for non-refs images
Support for audio_roll signaling
New audio import mode to control AudioSampleEntry creation (v0, v1 ISOBMFF, v1 QTFF)
xHE-AAC import with detection of sync samples
Added support for MPEG-H 3D audio boxes (no import yet)
Handle Vobsub empty SPU packets
Added auxv and pict support
Common Encryption
Fully compliant CENC supporting cenc, cens, cbc1 and cbcs
CENC for AV1
Improved DASH+CENC support, pssh in MPD
ForceClear mode for CENC to skip encryption without sample groups
Made senc in movie fragments always stored before truns
Added default values handling for cbcs and possibility to set protection system per track
Compatibility with OpenSSL 1.1.x
Streaming and Adaptive Streaming
Support for ATSC3.0 both US and Korean versions !
Support for for live splices (xlink period insertions) in DASH client
Automatic period continuity in DASH when no codec change between periods
Added DASH cue-base segmentation (XML based) and -dsap option to generate cue files from source
Support for BBA-0 and BOLA implementations
Write fragment defaults in trex even when not using them
Support for simple ssix for keyframe data byterange at the start of a segment
Moved segment template at AdaptationSet level if only one representation
Changed default bsmode in dasher if single input file
Added init-seg-ext option
Added -mvex-after-traks option to MP4Box when dashing for CMAF
Added segmentation option to insert a tfdt per traf
Added -closest mode for DASH segmentation
Added -bound option to use audio segmenting method for video
Renamed -dash-run-for to -run-for
Added '=' in dash templates
Improved bandwith estimation when using HTTP 1.1 chunk transfer
Add option to force moof base offsets
MP4Box
Added -catpl to concatenate from playlist in MP4Box
Added options to set movie timescale at import and dash time
Added mpd rip option and top-level box compressor in MP4Box
Made -dts skip timing check and added -dtsc for that
Made force-cat option more agressive
Support for MovieFragmentRandomAccess using -mfra option
Added -dtsx to dump timing without offset
Added -dnalc opt for nal CRC dump
Added chunk extraction up to time until end
ISOBMFF single track import now removes references by default
Decoders
Updated ffmpeg to 4.0.2
Moved to openHEVC 3.0 API
Added nvdec support (windows, linux) with reuse of decoder context for tiled VR
Added HEVC support to mediacodec on android
AV1 playback through ffmpeg
Opus playback through ffmpeg
3D, VR and 360
Added vrhud for multiviewpoint 360
Added forced visibility mode of tiles in VR
Added tile visibility debug mode
Added forced stereo output for openhevc
Disable face nav if mouse grabbed
Added simple face tracking vr navigation based on udp commands
Added PSVR support
Added mouse move emulation at window border to force sphere rotation when inactive
Changed tile visibility algo to sample points in mesh
Players (Mobile and Desktop)
Added about extension
Added multiple audio objects in dynamic scene
Added addon splicing of main content
Added mosaic://v1:.:vN url support
Added gaze simulation through mouse and gaze-sphere visibility test
Subtitles
Allow * as argument of -srt|ttxt to dump all possible tracks (#925)
Improved support for WebVTT import
Improved support for WebVTT DASHing/fragmentation
Misc
OSX install now done through PKG and modify PATH env in/etc/paths
Added initial PMT version and disc marker to TS muxer
Moved dektec output to matrix API, added SDI clipping
Added temi periodic toggle and manual toggle in MP42TS

https://www.videohelp.com/software/MP4Box

SeeMoreDigital
27th June 2019, 21:31
Nice one ;)

filler56789
2nd July 2019, 00:28
http://sourceforge.net/p/gpac/discussion/287546/thread/43881fa9/

Very interesting, there was no "lack of time" for adding HEVC support to MP4Box...

Seven years later, jeanlf finally confirmed he and his team don't care at all:

https://github.com/gpac/gpac/issues/536

Kurtnoise
14th January 2021, 18:21
TrueHD support has been added recently...does anyone have test it ?

SeeMoreDigital
15th January 2021, 16:13
If somebody creates some muxes, I'm happy to test them with my hardware playback devices...

filler56789
17th January 2021, 19:06
MP4Box - GPAC version 1.0.1-rev0-gd8538e8a-master

now requires the av* and sw* libraries...

So why not just use ffmpeg instead of mp4box? ;)

stax76
17th January 2021, 20:32
TrueHD support has been added recently...does anyone have test it ?

Just tried it, did not work, MP4Box did freeze/hang.

---------------------------- Muxing to MP4 ----------------------------

MP4Box 1.1.0-rev447-g8c190b551-gcc10.2.0 Patman

D:\Projekte\VB\staxrip\bin\Apps\Support\MP4Box\MP4Box.exe -add "D:\Samples\Jupiter_temp\Jupiter.h265#video:name=" -add "D:\Samples\Jupiter_temp\ID2 English {TrueHD 7.1 @ 5484 kbps [Atmos]}.thd#audio:lang=eng:name=" -new D:\Samples\Jupiter_new.mp4

Track Importing HEVC - Width 3840 Height 2160 FPS 480000/20020 SAR 1/1
OpenGOP detected - adjusting file brand
HEVC Import results: 1311 samples (13609 NALUs) - Slices: 568 I 3288 P 6632 B - 1666 SEI - 152 IDR
HEVC Stream uses forward prediction - stream CTS offset: 2 frames

----------------------------------------------------------------------------


G: MLP FBA, 28.0 MiB

A: MLP FBA 16-ch, 8ch, 48.0 kHz


General

CompleteName : D:\Samples\Jupiter_temp\ID2 English {TrueHD 7.1 @ 5484 kbps [Atmos]}.thd
Format/String : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Format_Commercial_IfAny : Dolby TrueHD with Dolby Atmos
FileSize/String : 28.0 MiB
OverallBitRate_Mode/String : Variable

Audio

Format/String : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Format_Commercial_IfAny : Dolby TrueHD with Dolby Atmos
BitRate_Mode/String : Variable
BitRate_Maximum/String : 8 955 kb/s
Channel(s)/String : 8 channels
ChannelLayout : L R C LFE Ls Rs Lb Rb
SamplingRate/String : 48.0 kHz
FrameRate/String : 1 200.000 FPS (40 SPF)
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE

SeeMoreDigital
29th January 2021, 13:54
TrueHD support has been added recently...does anyone have test it ?
Has anyone been able to generate any muxes yet?

filler56789
29th January 2021, 17:16
Has anyone been able to generate any muxes yet?

Just use ffmpeg, problem solved :)

ffmpeg -i input.thd -strict -2 -acodec copy output.mp4

Kurtnoise
30th January 2021, 05:48
Just use ffmpeg, problem solved :)

ffmpeg -i input.thd -strict -2 -acodec copy output.mp4

Stop the troll...

filler56789
30th January 2021, 09:27
Stop the troll...

Look who's talking :rolleyes:

filler56789
30th January 2021, 09:35
By the way.....
this thread was started on 23rd May 2005, 16:55 UTC...
maybe it should be locked for good, since nothing important has happened to GPAC after the HEVC support was added to it.

Kurtnoise
30th January 2021, 11:26
obvioulsy, you know nothing...so, please go away.

manolito
30th January 2021, 17:54
I know this is a little bit OT, but since some MP4 gurus are here I figured that I can ask a question about the MP4 container here...

I do not like the Apple world, so my favorite container is MKV. But sometimes I get a request from a friend to repack the file I sent him into an MP4 container because his player(s) do not like MKV.

Of course I can do this, and the resulting MP4 plays fine. But what I do not understand is why this resulting MP4 has a Variable Frame Rate when the source had a Constant Frame Rate.

My original source is an FLV file with AVC video and AAC audio at a CFR of 29.97 fps. Repacking it to MKV always keeps the CFR. But when I use either FFmpeg or MP4Box to repack it into an MP4 container I get a file with VFR.
Frame rate mode : Variable
Frame rate : 29.970 FPS
Minimum frame rate : 29.412 FPS
Maximum frame rate : 30.303 FPS

Only the latest AviDemux repacks it into a CFR Mp4 file. An older AviDemux version which I need to use under WinXP has a choice of 2 different MP4 muxers, and one of them creates CFR and the other one VFR files. Quite confusing...

Can anyone shed some light on why FFmpeg and MP4Box need to create VFR MP4 files when the source clearly was CFR?

tormento
8th February 2021, 11:56
Uhm, seriously, what to use if I need to mux something to mp4? So used to Matroska that I almost never needed it.

Tried with

ffmpeg -i something.mkv -codec copy samething.mp4

but it copies video only, no audio, subs or chapters.

stax76
8th February 2021, 17:09
StaxRip has a stream copy mode, so it can be used for plain re-muxing. If you prefer command line you can use StaxRip to learn what command line you need.

The ffmpeg muxer in staxrip currently does not support subtitles, but the MP4Box muxer in StaxRip supports subtitles.

Cut/Trim in stream copy mode works only with the mkvmerge muxer.

Balling
1st September 2021, 07:05
TrueHD encoder losing 16 frames was fixed today in ffmpeg. See https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=9f420163c6207b9c54badd30056974a6b3450bfd

AudioGear944
15th July 2025, 22:12
https://i.imgur.com/MkQz5Ik.png

Somewhat related to MP4Box, does anyone perhaps recognize the name of this software?