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 20th December 2009, 10:06   #621  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by zn View Post
0.26 beta still show "Resolution" field for AAC inside MP4 videos or M4A podcasts, it is hiddenly only when viewing raw .aac files (adts)

no such problem with mp3 and mp3 inside avi
no such problem with ac3 and ac3 inside mkv
See http://forum.doom9.org/showthread.ph...05#post1344305

So it should also be removed in MP3 now (0.7.26 released).
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 23rd December 2009, 06:21   #622  |  Link
zn
Registered User
 
Join Date: Jan 2009
Posts: 88
I know. But with different AAC formats (Codec ID) it have different results:

aac in m4a (incorrect?)
Code:
Audio
ID                               : 1
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 1h 25mn
Bit rate mode                    : Variable
Bit rate                         : 128 Kbps
Maximum bit rate                 : 136 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits
Stream size                      : 78.5 MiB (99%)
Title                            : Imported with GPAC 0.4.6-DEV (build 1)
Encoded date                     : UTC 2009-11-04 01:41:48
Tagged date                      : UTC 2009-11-04 01:42:00
aac in flv (incorrect?)
Code:
Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Duration                         : 55mn 24s
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits
aac in mkv (correct?)
Code:
Audio
ID                               : 1
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : A_AAC
Duration                         : 22mn 5s
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Video delay                      : 9ms
Language                         : English
I can make sameples if you need

Looks like it is correct when 'Codec ID : A_AAC', incorrect when 'Codec ID : ?" or "Codec ID : 40"

Last edited by zn; 23rd December 2009 at 06:50.
zn is offline   Reply With Quote
Old 26th December 2009, 18:23   #623  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806

Why chapters are under "Menu" section instead of "Chapters". Why did you change that?
Atak_Snajpera is offline   Reply With Quote
Old 2nd January 2010, 19:21   #624  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by zn View Post
I know. But with different AAC formats (Codec ID) it have different results:
I removed the "resolution" field from the AAC/MPEG Audio parsers, but not from the containers (they indicates 16 bits too!).

I added a rule in order to disable "Resolution" in the case of AAC/MPEG Audio.

Please test:
http://sourceforge.net/projects/medi...er.7z/download

No more AAC / MPEG audio files from my samples directory have Resolution field now, if you still have one, I need it.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 2nd January 2010, 19:24   #625  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Atak_Snajpera View Post
Why chapters are under "Menu" section instead of "Chapters". Why did you change that?
There were some misunderstandings between Chapters and Menu sections, and Chapters section was not a good idea: chapters are sometimes related to programs (e.g. in MPEG-TS), which are in the Menu section.
So I merged the Chapters section into the Menu section, output is more coherent between containers.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 5th January 2010, 14:50   #626  |  Link
zn
Registered User
 
Join Date: Jan 2009
Posts: 88
now it is correct
zn is offline   Reply With Quote
Old 10th January 2010, 19:08   #627  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Hello. I'm encoding a MP3 file with the following command-line:

Code:
C:\Temp\Wurst>lame -q 2 -V 5 "[01] Fliehende Stürme - Das Chaos brütet.wav" "[01] Fliehende Stürme - Das Chaos brütet.mp3"
LAME 3.98.2 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
Encoding [01] Fliehende St³rme - Das Chaos br³tet.wav
      to [01] Fliehende St³rme - Das Chaos br³tet.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=5)
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
 10996/10996 (100%)|    0:09/    0:09|    0:09/    0:09|   30.757x|    0:00
 32 [  106] %*
 40 [    1] %
 48 [    0]
 56 [    0]
 64 [    1] *
 80 [    1] *
 96 [  117] **
112 [ 1050] %*************
128 [ 3193] %%***************************************
160 [ 5316] %%%%***************************************************************
192 [  881] %%**********
224 [  199] %**
256 [  112] %*
320 [   19] %
-------------------------------------------------------------------------------
   kbps        LR    MS  %     long switch short %
  149.2        5.1  94.9        95.3   2.7   2.0
Writing LAME Tag...done
ReplayGain: -8.5dB
However Media-Info reports the following:

Code:
General
Complete name                    : C:\Temp\Wurst\[01] Fliehende Stürme - Das Chaos brütet.mp3
Format                           : MPEG Audio
File size                        : 5.10 MiB
Duration                         : 4mn 47s
Overall bit rate                 : 149 Kbps
Writing library                  : LAME3.98r

Audio
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Duration                         : 4mn 47s
Bit rate mode                    : Variable
Bit rate                         : 149 Kbps
Minimum bit rate                 : 32.0 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits
Stream size                      : 5.10 MiB (100%)
Writing library                  : LAME3.98r
Encoding settings                : -m j -V 5 -q 0 -lowpass 16.5 --vbr-new -b 32
So does MediaInfo "extract" the LAME command-line wrong or does LAME store the wrong command-line options in the file? Or what do I miss?

Note that this problem apparently only occurs with VBR mode, not with ABR mode
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 10th January 2010 at 23:05.
LoRd_MuldeR is offline   Reply With Quote
Old 10th January 2010, 20:15   #628  |  Link
Placio74
VideoAudio
 
Placio74's Avatar
 
Join Date: Feb 2007
Location: Poland
Posts: 219
BTW
Rather does not concerns Lame 3.97 and 4.0 alpha 14, so...
__________________
VideoAudio.pl - Serwis o technologii wideo & audio
Placio74 is offline   Reply With Quote
Old 10th January 2010, 22:38   #629  |  Link
MatLz
I often say "maybe"...
 
MatLz's Avatar
 
Join Date: Jul 2009
Location: France
Posts: 583
Hi Zenitram!
First, thx for your great tool!
But I experience a little problem since 0.7.26: all my videos and pics appear as 8bits resolution in the report. 0.7.25 was ok.

Last edited by MatLz; 10th January 2010 at 22:43.
MatLz is offline   Reply With Quote
Old 16th January 2010, 22:50   #630  |  Link
zn
Registered User
 
Join Date: Jan 2009
Posts: 88
LoRd_MuldeR, lame ignores -q in flavor of -v, this key is not relevant
Quote:
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=5)
zn is offline   Reply With Quote
Old 19th January 2010, 22:11   #631  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by zn View Post
LoRd_MuldeR, lame ignores -q in flavor of -v, this key is not relevant
LAME ignores "-q 2", uses "q=5" instead and finally MediaInfo reports "-q 0"

Sorry, but that doesn't make much sense to me!

In fact I think the "VBR(q=5)" in LAME's console output actually refers to the "-V 5" option and not to the "-q" option.

Still that doesn't explain why I pass "-q 2", but afterwards MediaInfo detects "-q 0"

Either LAME ignores my option, LAME writes the wrong info to the file -or- MediaInfo reports wrong information...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 25th January 2010, 05:34   #632  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Any chance the Windows GUI "Donate" button can be move so it doesn't block a scrollbar, text, or any other important part of the window?
Inspector.Gadget is offline   Reply With Quote
Old 27th January 2010, 17:40   #633  |  Link
aba101280
Registered User
 
Join Date: Apr 2005
Posts: 41
Hi,

thank you very much for your library. In the last weeks I tried to use it for developing a small frame rate analyzer that can automatically switch the frequency of the TV/Beamer.

This works fine for all supported VideosCodes. What I’m looking for is some information about the handling of DVD and Blu-Ray Structures. Of course Mediainfo can provide the framerate of Video files on Blu-Ray but as most of them are decrypted this does not work. For DVDs the information is also in the IFO File which can be read by Mediainfo. Do you know if there’s any possibility to get out the framerate of the Blu-Ray structure? Or is there (like DVD) a file that can be read out?

Would be happy if you have some information on this?

Regards,

Alex
aba101280 is offline   Reply With Quote
Old 2nd February 2010, 09:02   #634  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by MatLz View Post
But I experience a little problem since 0.7.26: all my videos and pics appear as 8bits resolution in the report. 0.7.25 was ok.
"24 bit" was a mistake. "Classic" usage is to speak about "bit per pixel", so 8,9,10 bits per pixel, as in video format specifications.
So if you have "8 bits" instead of "24 bit", this is normal
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 2nd February 2010, 09:03   #635  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Inspector.Gadget View Post
Any chance the Windows GUI "Donate" button can be move so it doesn't block a scrollbar, text, or any other important part of the window?
I implemented it this donate button too quickly.
I will change it a bit later.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 2nd February 2010, 09:05   #636  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by aba101280 View Post
Of course Mediainfo can provide the framerate of Video files on Blu-Ray but as most of them are decrypted this does not work. For DVDs the information is also in the IFO File which can be read by Mediainfo. Do you know if there’s any possibility to get out the framerate of the Blu-Ray structure? Or is there (like DVD) a file that can be read out?
MediaInfo does already not read the IFO equivalent to Blu-ray.
This is planned, but not yet done.
So if your files are encrypted, MediaInfo can't read the framerate.

I am a lot busy in the next weeks, so I will not implement blu-ray structure support soon .
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 2nd February 2010, 09:30   #637  |  Link
aba101280
Registered User
 
Join Date: Apr 2005
Posts: 41
Hi,

thanks a lot for your answer. BDINFO reads out the framerate even with encrypted files. I think it does it by reading the *clpi data (Thanks Madshi). I tried to find out how this is done in the source code but no way for me.

Quote:
I am a lot busy in the next weeks, so I will not implement blu-ray structure support soon .
Thank you for doing it, it does not matter when. IT#s free for all and it does more you can expect :-)

Regards,

Alex
aba101280 is offline   Reply With Quote
Old 27th February 2010, 17:01   #638  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
mediainfo and +4gb wav files error...

the examples below are from the same wav file written by three tools: eac3to, wavi, wavfix.

wav file size is 4,570,841,156 bytes


eac3to:

Code:
wav header:
52 49 46 46 3C 80 71 10 57 41 56 45 66 6D 74 20 
28 00 00 00 FE FF 06 00 80 BB 00 00 00 2F 0D 00 
12 00 18 00 16 00 18 00 0F 06 00 00 01 00 00 00 
00 00 10 00 80 00 00 AA 00 38 9B 71 64 61 74 61 
00 80 71 10

mediainfo report:
General
Complete name                    : eac3to.wav
Format                           : Wave
File size                        : 4.26 GiB
Duration                         : 1h 28mn
Overall bit rate                 : 6 912 Kbps

Audio
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Unsigned
Codec ID                         : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Hint                    : Microsoft
Duration                         : 1h 28mn
Bit rate mode                    : Constant
Bit rate                         : 6 912 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L, C, R, Middle: L, R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Stream size                      : 4.26 GiB (100%)

wavi:

Code:
wav header:
52 49 46 46 F0 FF FF FF 57 41 56 45 66 6D 74 20 
28 00 00 00 FE FF 06 00 80 BB 00 00 00 2F 0D 00 
12 00 18 00 16 00 18 00 0F 06 00 00 01 00 00 00 
00 00 10 00 80 00 00 AA 00 38 9B 71 64 61 74 61 
B4 FF FF FF

mediainfo report:
General
Complete name                    : wavi.wav
Format                           : Wave
File size                        : 4.26 GiB
Duration                         : 1h 22mn
Overall bit rate                 : 7 356 Kbps

Audio
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Unsigned
Codec ID                         : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Hint                    : Microsoft
Duration                         : 1h 22mn
Bit rate mode                    : Constant
Bit rate                         : 6 912 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L, C, R, Middle: L, R, LFE
Sampling rate                    : 48.0 KHz
Resolution                       : 24 bits
Stream size                      : 4.00 GiB (94%)

wavfix:

Code:
wav header:
52 49 46 46 0C 00 00 00 57 41 56 45 66 6D 74 20 
28 00 00 00 FE FF 06 00 80 BB 00 00 00 2F 0D 00 
12 00 18 00 16 00 18 00 0F 06 00 00 01 00 00 00 
00 00 10 00 80 00 00 AA 00 38 9B 71 64 61 74 61 
D0 FF FF FF

mediainfo report:
General
Complete name                    : wavfix.wav
Format                           : Wave
File size                        : 4.26 GiB

Audio
Format                           : 0
Codec ID                         : 0
Bit rate                         : 0
Channel(s)                       :  channel0
Sampling rate                    : 0

as tebasuna51 said:

Quote:
the differences are two fields, the yellow one is the filesize - 8, and the sienna one is the audio data size...both fields are invalid in a +4gb wav because with 4 bytes we can't put a value greater than 2^32...the soft that support +4gb wav files must ignore the two fields (maybe with parameters like -ignolength, -readtoeof, ...)

mediainfo report is correct only for the eac3to file...you should overcome this by reading the wav size from the disk and calculating the duration like this:

duration (in ms) = (wav_size_from_disk - wav_header)/(nr_of_channels * (resolution / 8) * sampling_rate)

also will be nice to have displayed the full duration: hh:min:sec:ms


best regards
_
b66pak is offline   Reply With Quote
Old 28th February 2010, 23:34   #639  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by b66pak View Post
the examples below are from the same wav file written by three tools: eac3to, wavi, wavfix.
And the three tools are totally wrong...


Quote:
Originally Posted by b66pak View Post
mediainfo report is correct only for the eac3to file...you should overcome this by reading the wav size from the disk and calculating the duration like this:
... Which may be false when there is metadata (some metadata may be 100 MB with some standards!) after the "data" chunk. Worse, some metadata in some standards (BWF and so on) may have a 4 GB non-data chunk next to a 100 GB data chunk (do'nt laught, such files exist...), how to handle this?

Quote:
Originally Posted by b66pak View Post
the soft that support +4gb wav files must ignore the two fields
No: the soft that supports +4GB wav files MUST reject this kind of invalid files, and writting tools should create valid files (ie not to create classic but broken WAV file as they do with +4BG files). See http://en.wikipedia.org/wiki/RF64 and http://tech.ebu.ch/docs/tech/tech3306-2009.pdf

Anyway, I added support for the 2 other broken WAV file kinds, please test https://sourceforge.net/projects/med...er.7z/download and let me know if there is still an issue.

And please, report bug to the software creators, they violate WAV specifications and they should not do it.

Quote:
Originally Posted by b66pak View Post
also will be nice to have displayed the full duration: hh:min:sec:ms_
Ah, everybody asks for a different format!
Easy view is not yet customizable (this is planned, but not currently a priority), you can create a text template with "HH:MM:SS.mmm" already existing field if you desire.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 1st March 2010, 18:05   #640  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
thanks a lot...reports are OK now...

i have noticed than you change the channel mask interpretation...

for 1551 (0x0000060F) before was "Front: L C R, Middle: L R, LFE" and now is "Front: L C R, Surround: L R, LFE"...this is very confusing (surround is vague)...

i may suggest to use Microsoft's terminology:

http://www.microsoft.com/whdc/device...chaud.mspx#E4C

and add the channel mask value to the description to avoid any misunderstanding...for example:

Quote:
Channel positions : Front: L, C, R, Surround: L, R, LFE
would become:

Quote:
Channel mask : 1551 (Front: L, C, R, Side: L, R, LFE)
_
b66pak 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 18:14.


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