Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th January 2013, 00:50   #481  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,081
Nope,... problem is I'm unsure what to look for :/
muxed with ffmpeg: http://pastebin.com/58i9PKeu
muxed with mp4box: http://pastebin.com/dZmjTNXE
-> any help is appreciated
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 9th January 2013, 01:00   #482  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,245
Well, there's a quite obvious difference right at the beginning, in the "ftyp" atom:

Code:
<FileTypeBox MajorBrand="isom" MinorVersion="512">
    <BoxInfo Size="28" Type="ftyp"/>
    <BrandEntry AlternateBrand="isom"/>
    <BrandEntry AlternateBrand="iso2"/>
    <BrandEntry AlternateBrand="mp41"/>
</FileTypeBox>
Code:
<FileTypeBox MajorBrand="M4V " MinorVersion="1">
    <BoxInfo Size="28" Type="ftyp"/>
    <BrandEntry AlternateBrand="isom"/>
    <BrandEntry AlternateBrand="M4V "/>
    <BrandEntry AlternateBrand="mp42"/>
</FileTypeBox>
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 9th January 2013, 01:03   #483  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,081
there are so many differences,... that it's hard to know what's important, so I thought some one here probably would have used mp4box to remux Xvid content for iTunes&Co and could say something more.
-> will look further into it tomorrow. (need some sleep now )
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 9th January 2013, 01:05   #484  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,245
Well, I'd say a difference in the "ftyp" atom, which is an "file type" identifier for ISO Media (MP4) files, is a good candidate for compatibility issues.

Interestingly it seems to make a difference whether you let MP4Box save the output file with a .MP4 or .M4V extension


Also note the following related MP4Box options:
Quote:
-brand ABCD[:v]
Sets the major brand of a file. Brands are used to identify the most common usage of a file (MPEG-4 presentation, 3GP movie, etc…). If ‘v’ is set, also sets the version of the brand (default version is 0).

-ab ABCD
adds an alternate brand to the file. Alternate Brands are used to identify the other possible usage of a file (whether the 3GP file compliant with MPEG-4, etc…)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 9th January 2013 at 01:45.
LoRd_MuldeR is offline   Reply With Quote
Old 9th January 2013, 09:26   #485  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,081
Normally iTunes&Co files need the .m4v extension otherwise chapters&co are not identified properly,..
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 9th January 2013, 10:10   #486  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,081
found the problem:
Code:
MP4Box -par 1=1 -add "xvidVideo.avi"#video:fps=23.976 -ipod -new "test.m4v"
needs to be:
Code:
MP4Box -par 1=1:1 -add "xvidVideo.avi"#video:fps=23.976 -ipod -new "test.m4v"
DOH,...
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 9th January 2013, 13:02   #487  |  Link
Mattlb0619
Registered User
 
Join Date: Mar 2009
Posts: 6
i cant believe ive not seen this thread before.... listening.

Matt Bodin
Mattlb0619 is offline   Reply With Quote
Old 9th January 2013, 15:30   #488  |  Link
RBO
GPAC maintainer
 
Join Date: Jul 2010
Posts: 24
Hey guys,

I'm a GPAC maintainer. I came here by chance.

@Selur: the parsing now emits an error to avoid this non-obvious issue: http://sourceforge.net/apps/trac/gpac/changeset/4277/

Please post on our forums or tracker when you see errors.

Thanks,

Romain
RBO is offline   Reply With Quote
Old 5th August 2015, 17:18   #489  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
How to enter commands globaltags in MP4Box 0.5.2-DEV-rev529?
I can't use itags because I can't use the Enter and write in UTF-8. Can it do somehow with DOS?
Why don't players and MediaInfo show the metadata attachment in MP4Box?
Code:
<MetaBox>
  <BoxInfo Size="166" Type="meta"/>
  <FullBoxInfo Version="0" Flags="0x0"/>
  <HandlerBox Type="mdir" Name="GPAC mdir Handler" reserved1="0" reserved2="data:application/octet-string,000000000000000000000000">
    <BoxInfo Size="50" Type="hdlr"/>
    <FullBoxInfo Version="0" Flags="0x0"/>
  </HandlerBox>
  <ItemLocationBox offset_size="0" length_size="4" base_offset_size="4">
    <BoxInfo Size="30" Type="iloc"/>
    <FullBoxInfo Version="0" Flags="0x0"/>
    <ItemLocationEntry item_ID="1" data_reference_index="0" base_offset="806422" />
    <ItemExtentEntry extent_offset="0" extent_length="446082" />
  </ItemLocationBox>
  <ItemInfoBox>
    <BoxInfo Size="74" Type="iinf"/>
    <FullBoxInfo Version="0" Flags="0x0"/>
    <ItemInfoEntryBox item_ID="1" item_protection_index="0" item_name="photo1.jpg" content_type="image/jpeg" content_encoding="">
      <BoxInfo Size="60" Type="infe"/>
      <FullBoxInfo Version="0" Flags="0x0"/>
    </ItemInfoEntryBox>
  </ItemInfoBox>
  <ItemInfoBox>
    <BoxInfo Size="74" Type="iinf"/>
    <FullBoxInfo Version="0" Flags="0x0"/>
    <ItemInfoEntryBox item_ID="2" item_protection_index="0" item_name="photo2.jpg" content_type="image/jpeg" content_encoding="">
      <BoxInfo Size="60" Type="infe"/>
      <FullBoxInfo Version="0" Flags="0x0"/>
    </ItemInfoEntryBox>
  </ItemInfoBox>
  <ItemInfoBox>
    <BoxInfo Size="74" Type="iinf"/>
    <FullBoxInfo Version="0" Flags="0x0"/>
    <ItemInfoEntryBox item_ID="3" item_protection_index="0" item_name="photo3.jpg" content_type="image/jpeg" content_encoding="">
      <BoxInfo Size="60" Type="infe"/>
      <FullBoxInfo Version="0" Flags="0x0"/>
    </ItemInfoEntryBox>
  </ItemInfoBox>
</MetaBox>

Last edited by Jamaika; 8th August 2015 at 08:06.
Jamaika is offline   Reply With Quote
Old 5th August 2015, 21:47   #490  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,160
Quote:
Originally Posted by Jamaika View Post
Why don't players and MediaInfo show the metadata attachment in MP4Box?
Which 'meta-data' tags do you want to see?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 6th August 2015, 06:50   #491  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
Code:
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : iso4
File size                                : 556 MiB
Duration                                 : 16mn 31s
Overall bit rate mode                    : Variable
Overall bit rate                         : 4 703 Kbps
Movie name                               : Sunflowers field
Performer                                : Jamaika
Attachements                             : photo1.jpg / photo2.jpg /photo3.jpg / font.otf
Encoded date                             : UTC 2015-08-06 05:15:12
Tagged date                              : UTC 2015-08-06 05:15:12
Cover                                    : Yes
Comment                                  : Bike trail
Photo of the Matroska container

Last edited by Jamaika; 6th August 2015 at 07:04.
Jamaika is offline   Reply With Quote
Old 6th August 2015, 09:33   #492  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by Jamaika View Post
I can't use itags because I can't use the Enter and write in UTF-8. Can it do somehow with DOS?
did you try to switch to Lucida Console font first and then chcp 65001 in the command prompt ?
Kurtnoise is offline   Reply With Quote
Old 6th August 2015, 11:33   #493  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
It doesn't help command @chcp 65001. The file *.bat is saved in ANSI.
Code:
Active code page: 65001
...
iTunes Info:
        Comment: Krajobraz w?woz?w i zach?d s?o?ca
1 UDTA types: meta (1)
When we want to obtain information about the MP4 container with the proper save itunes texts UTF-8 then function DOS chcp 65001 as the most useful.
Code:
iTunes Info:
        Comment: Krajobraz wąwozów i zachód słońca
1 UDTA types: meta (1)
My ideas on the use of covers.
The registers to display the cover icons JPEG, PNG in File Explorer Windows 10. The cover don't open by Windows Photo.
Code:
HKCR\.mp4,"Content Type",,"video/mp4"
HKCR\.mp4,"PerceivedType",,"video"
HKCR\.mp4\ShellEX\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1},,,{9DBD2C50-62AD-11D0-B806-00C04FD706EC}
HKCR\.mp4\ShellEX\{e357fccd-a995-4576-b01f-234630154e96},,,{9DBD2C50-62AD-11D0-B806-00C04FD706EC}
HKCR\MIME\Database\Content Type\video/mp4,"AutoplayContentTypeHandler",,"PicturesContentHandler"
HKCR\MIME\Database\Content Type\video/mp4,"CLSID",,"{cd3afa99-b84f-48f0-9393-7edc34128127}"

Reboot Windows

Last edited by Jamaika; 20th August 2015 at 11:02.
Jamaika is offline   Reply With Quote
Old 6th August 2015, 15:06   #494  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,160
Have you considered creating 'named' chapters for each image?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 6th August 2015, 16:07   #495  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
Description chapters was before.
http://forum.doom9.org/showthread.php?t=94874&page=22
Quote:
Originally Posted by Atak_Snajpera View Post
I need command for mp4box which extracts chapters. I haven't found nothing interesting under -h extract
This is a hidden function.
Code:
mp4box.exe -dump-chap-ogg input.mp4 -out chapter.txt

Last edited by Jamaika; 7th August 2015 at 20:30.
Jamaika is offline   Reply With Quote
Old 19th August 2015, 13:22   #496  |  Link
RBO
GPAC maintainer
 
Join Date: Jul 2010
Posts: 24
I have added the missing doc to the option: https://github.com/gpac/gpac/commit/...90725a99cf3ecd
Thanks, Romain
RBO is offline   Reply With Quote
Old 20th August 2015, 11:29   #497  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
I miss still a function to copy metadata. It has already been repeatedly reported and probably not achievable in MP4Box.
MP4Box.exe -new -info -add "(video+audio).mp4:????(copy itunes)" -add "subtitle.ttxt/srt" "output.mp4"

I wonder also why any cover (webp, bpg, jpeg2000, others) and the name cover we can't use attachment(add-item) in the function itunes. For me it is an unnecessary duplication of functions "cover" and "set-meta/add-item".

Edit:
How to transfer metadata information to the newly created MP4 file? :idea: As we know, no such function "copy UDTA types: meta (1) chpl (1)" and could be a problem because the metadata information using -add functions are cleared.
Use a trick if you want to enter additional subtitles, chapter or cover.
mp4box.exe -add "subtitle.srt" -add "chapter.txt" -itags cover = "*. jpg,*. png" output{metadata}.mp4
Note:!: output{metadata}.mp4 file metadata is overwritten by newly added function. If muxer something wrong to do it the original file isn't recoverable.

Last edited by Jamaika; 13th September 2015 at 07:42.
Jamaika is offline   Reply With Quote
Old 20th August 2015, 13:11   #498  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
- Use m4v or m4a as output extension in order to activate Apple devices support.
- only jpg and png are supported as well for Apple devices. See MP4Box -tag-list switch...
Kurtnoise is offline   Reply With Quote
Old 20th August 2015, 14:25   #499  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
Quote:
Originally Posted by Kurtnoise View Post
- Use m4v or m4a as output extension in order to activate Apple devices support.
Theoretically, yes. Unfortunately, everyone knows that Apple fought with MP4 and Apple implemented container MOV for all video codecs. So the struggle the worlds with Microsoft continues today.
MP4Box doesn't support MOV.

Quote:
Originally Posted by Kurtnoise View Post
- only jpg and png are supported as well for Apple devices. See MP4Box -tag-list switch...
It is known for years with documentation help. Only apparently we have a world of new codecs photo HEVC/VPX. Hence my whining.

Last edited by Jamaika; 20th August 2015 at 14:41.
Jamaika is offline   Reply With Quote
Old 20th August 2015, 14:50   #500  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,347
http://sourceforge.net/p/gpac/discus...read/43881fa9/

Very interesting, there was no "lack of time" for adding HEVC support to MP4Box...
filler56789 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.