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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th December 2010, 20:08   #841  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
does it an audio stream only ?
Kurtnoise is offline   Reply With Quote
Old 13th December 2010, 20:54   #842  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
sorry...full output:
Code:
General
Complete name                    : tvshow.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 352 MiB
Duration                         : 42mn 59s
Overall bit rate                 : 1 146 Kbps
Writing application              : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library                  : VirtualDubMod build 2540/release

Video
ID                               : 0
Format                           : MPEG-4 Visual
Format profile                   : Advanced Simple@L5
Format settings, BVOP            : Yes
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Muxing mode                      : Packed bitstream
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 42mn 59s
Bit rate                         : 1 006 Kbps
Width                            : 624 pixels
Height                           : 352 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Compression mode                 : Lossy
Bits/(Pixel*Frame)               : 0.191
Stream size                      : 309 MiB (88%)
Writing library                  : XviD 1.2.0SMP (UTC 2006-01-08)

Audio
ID                               : 1
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Mode                             : Joint stereo
Codec ID                         : 55
Codec ID/Hint                    : MP3
Duration                         : 42mn 59s
Bit rate mode                    : Variable
Bit rate                         : 128 Kbps
Minimum bit rate                 : 32.0 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Video delay                      : 720ms
Stream size                      : 39.3 MiB (11%)
Alignment                        : Split accross interleaves
Interleave, duration             : 24 ms (0.58 video frame)
Interleave, preload duration     : 1515 ms
Writing library                  : LAME3.98 
Encoding settings                : -m j -V 4 -q 0 -lowpass 17.5 --vbr-new -b 32
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!
b66pak is offline   Reply With Quote
Old 13th December 2010, 21:34   #843  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by b66pak View Post
Video delay : 720ms it should be Audio delay
In the audio part, this means it is the delay between the considered stream and the video stream.
Isn't it enough meaningful?

this is definitely not an "audio delay", because this is compared to the video stream, maybe a better English proposal?
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 13th December 2010, 22:50   #844  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by ipanema View Post
It can be downloaded here:
This file has a DecoderConfigDescrTag:
00CA6672 DecoderConfigDescrTag (15 bytes)
00CA6672 Header (2 bytes)
00CA6672 type: 4 (0x04)
00CA6673 size: 17 (0x11)
00CA6674 objectTypeIndication: 64 (0x40) - Audio ISO/IEC 14496-3 (AAC)
00CA6675 streamType: 5 (0x05) - AudioStream
00CA6675 upStream: No
00CA6675 reserved: Yes
00CA6676 bufferSizeDB: 1536 (0x000600)
00CA6679 maxBitrate: 128000 (0x0001F400)
00CA667D avgBitrate: 128000 (0x0001F400)


So I use theses values (maxBitrate and avgBitrate), they are same so this is considered as CBR.
Actually, I should maybe change my +/-1% to +/-5% maybe...

Quote:
Originally Posted by ipanema View Post
This particular file has only 1 entry in the time-to-sample table, so I guess this sample duration applies to all of the entries in the sample size table. I assume that either the time-to-sample table must have the same number of entries as the sample size table or just 1 entry.
In your case, all AAC frames are 1024 sample long (1024/44100 timescale = ~23.22ms), but this is not always the case (AAC frames can be 120/128/960/1024 sample long), so if you look for a maximal bitrate, you must handle the case of different AAC frame duration.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 13th December 2010, 23:30   #845  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
Quote:
Originally Posted by Zenitram View Post
In the audio part, this means it is the delay between the considered stream and the video stream.
Isn't it enough meaningful?

this is definitely not an "audio delay", because this is compared to the video stream, maybe a better English proposal?
is confusing...may be a simple "delay"?
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!
b66pak is offline   Reply With Quote
Old 14th December 2010, 12:20   #846  |  Link
ipanema
Registered User
 
Join Date: Apr 2009
Posts: 93
If the delay is ALWAYS relative to the video stream, then I would agree that just "delay" is less confusing (with a note in the documentation to say that delays are relative to the video stream).

Alternatively something like "Delay relative to video", but that might be a bit to long.
ipanema is offline   Reply With Quote
Old 14th December 2010, 20:37   #847  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
@Zenitram you may want to consider audio only mkv (mka) with audio delay (with single or multiple tracks)...

eac3to log:
Code:
MKA, 2 audio tracks, 0:43:48
1: MP3, 2.0 channels, 32kbps, 48kHz, 24ms
2: AC3, 5.1 channels, 640kbps, 48kHz
mediainfo log:
Code:
Audio #1
ID                               : 1
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Mode                             : Joint stereo
Mode extension                   : MS Stereo
Muxing mode                      : Header stripping
Codec ID                         : A_MPEG/L3
Codec ID/Hint                    : MP3
Duration                         : 43mn 48s
Bit rate mode                    : Variable
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy

Audio #2
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Muxing mode                      : Header stripping
Codec ID                         : A_AC3
Duration                         : 43mn 48s
Bit rate mode                    : Constant
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Compression mode                 : Lossy
Stream size                      : 201 MiB
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!

Last edited by b66pak; 14th December 2010 at 20:40.
b66pak is offline   Reply With Quote
Old 15th December 2010, 22:56   #848  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by ipanema View Post
Alternatively something like "Delay relative to video", but that might be a bit to long.
I test and see with this field name
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 15th December 2010, 22:57   #849  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by b66pak View Post
@Zenitram you may want to consider audio only mkv (mka) with audio delay (with single or multiple tracks)...
Absolute "Delay" is hidden by default, only the delay relative to video is displayed.
but it should be available in "advanced mode" (check this item in "Debug" menu) in "Delay" field.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 17th December 2010, 13:53   #850  |  Link
Mtz
Registered User
 
Mtz's Avatar
 
Join Date: Sep 2003
Location: On The Beach
Posts: 714
Hi, Zenitram!
No info about AAC bitrate in this file.

enjoy,
Mtz
Mtz is offline   Reply With Quote
Old 17th December 2010, 14:02   #851  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Mtz View Post
No info about AAC bitrate in this
No index in MKV + variable bitrate of AAC = no bitrate info is possible as far as I know
https://sourceforge.net/tracker/?fun...62&atid=581184
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 25th December 2010, 19:54   #852  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
hi,

i just encode a sample with neroaacenc at 32kb/s (AAC-HE v2)...i am confused about mediainfo report (0.7.38):


for the .m4a:

Code:
General
Complete name                    : audio.m4a
Format                           : MPEG-4
Format profile                   : Base Media / Version 2
Codec ID                         : mp42
File size                        : 7.05 MiB
Duration                         : 30mn 1s
Overall bit rate                 : 32.8 Kbps
Encoded date                     : UTC 2010-12-25 18:23:24
Tagged date                      : UTC 2010-12-25 18:24:43
Writing application              : Nero AAC codec / 1.5.4.0
cdec                             : ndaudio 1.5.4.0 / -cbr 32000

Audio
ID                               : 1
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : HE-AACv2 / HE-AAC / LC
Codec ID                         : 40
Duration                         : 30mn 1s
Bit rate mode                    : Variable
Bit rate                         : 32.0 Kbps
Maximum bit rate                 : 38.9 Kbps
Channel(s)                       : 2 channels / 1 channel / 1 channel
Channel positions                : Front: L R / Front: C / Front: C
Sampling rate                    : 48.0 KHz / 48.0 KHz / 24.0 KHz
Compression mode                 : Lossy
Stream size                      : 6.87 MiB (98%)
Encoded date                     : UTC 2010-12-25 18:23:24
Tagged date                      : UTC 2010-12-25 18:24:43

Menu

after demuxing to adts:

Code:
General
Complete name                    : audio_track1.aac
Format                           : ADTS
Format/Info                      : Audio Data Transport Stream
File size                        : 7.15 MiB

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : HE-AACv2 / HE-AAC / LC
Bit rate mode                    : Variable
Channel(s)                       : 2 channels / 1 channel / 1 channel
Channel positions                : Front: L R /  / 
Sampling rate                    : 48.0 KHz / 48.0 KHz / 24.0 KHz
Compression mode                 : Lossy
Stream size                      : 7.15 MiB (100%)
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!

Last edited by b66pak; 25th December 2010 at 21:03.
b66pak is offline   Reply With Quote
Old 25th December 2010, 20:18   #853  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Format profile : HE-AACv2 / HE-AAC / LC
Sampling rate : 48.0 KHz / 48.0 KHz / 24.0 KHz
Channel(s) : 2 channels / 1 channel / 1 channel
HE-AAC == LC-AAC with SBR (Spectral Bandwidth Replication)
HE-AACv2 == LC-AAC with SBR (Spectral Bandwidth Replication) and PS (Parameteric Stereo).

Given we have a HE-AACv2 stream, you can decode with a HE-AACv2 (SBR+PS) capable decoder and you'll get Stereo at 48 KHz. Decode with a decoder that supports HE-AAC (SBR), but not HE-AACv2 (PS) and you'll get Mono at 48 KHz. Decode with a LC-AAC decoder that neither supports SBR nor PS and you'll get Mono at 24 KHz.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 25th December 2010 at 20:21.
LoRd_MuldeR is offline   Reply With Quote
Old 25th December 2010, 20:43   #854  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by LoRd_MuldeR View Post
Given we have a HE-AACv2 stream, you can decode with a HE-AACv2 (SBR+PS) capable decoder and you'll get Stereo at 48 KHz. Decode with a decoder that supports HE-AAC (SBR), but not HE-AACv2 (PS) and you'll get Mono at 48 KHz. Decode with a LC-AAC decoder that neither supports SBR nor PS and you'll get Mono at 24 KHz.
I would not have said it better
More généraly, data after " / " are legacy stream information, requested by some users.
This seems to be a bit stupid for AAC because there is only one method per AAC profile (HE-AACv2 has always legacy HE-AAC and HE-AAC has always LC-AAC), but I try to be coherant with other format like AC-3/TrueHD and DTS/DTS-HD (settings for the legacy part may be very different), and this is a way to remind that HE-AAC v1/v2 is compatible with old decoders!

b66pak, can you provide your file, I would like to see where is the "cdec" atom in order to put it in the right MediaInfo field (Writing library settings I imagine, but weird "-cbr" with a not cbr encode...)
+ I will correct the channel position glitch in ADTS I just remarked.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 25th December 2010, 21:01   #855  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
here it is a 40 sec sample (160k)...


how to reproduce (eac3to v3.24 + neroaacenc 1.5.4.0):

Code:
eac3to any_stereo.wav he-aac_v2.m4a -32
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!
b66pak is offline   Reply With Quote
Old 28th December 2010, 22:08   #856  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Hi Zenitram,

today a ran into some problems regarding audio files. First I noticed that I get (possibly) incorrect ID3 tag information from some of my music files (MP3s). I was using pretty old version 0.7.30, so I decided to upgrade to the newest one.

Unfortunately 0.7.38 crashes if I try to read information about audio files (video and images work). Here is the error I get:



I tried previous version, 0.7.37, and it has the same problem. Both the dll and GUI versions crash. Version 0.7.35 doesn't crash but shows the wrong tags.

I would like to send you the file with wrong tags. I tried to create a header file, but result was a zero sized file. I don't want to upload the whole MP3, because it is illegal. I could send you the file personally if you have an ftp or by e-mail. Or do you have any other idea?

Thank you!
vlada is offline   Reply With Quote
Old 28th December 2010, 22:13   #857  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by vlada View Post
Unfortunately 0.7.38 crashes if I try to read information about audio files (video and images work). Here is the error I get:
There is already a corrected version for the same kind of bug, please test the latest development snapshot:
https://sourceforge.net/projects/med...ent_snapshots/
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 29th December 2010, 11:33   #858  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Thanks a lot, this version doesn't crash anymore. However the problem with ID3 tags remains. I made a sample which should show the problem. I cut a few kB at the beginning and at the end of the MP3, which causes problem. The beginning contains ID3v2 tag, which is not read by MediaInfo at all. At the end is ID3V1 tag which is read incorrectly (shows "+" as song title). Other programs I tried (foobar2000, mp3tag, mp3infp) read the tags correctly.

Here is the sample.
vlada is offline   Reply With Quote
Old 29th December 2010, 15:20   #859  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by vlada View Post
The beginning contains ID3v2 tag, which is not read by MediaInfo at all.
Corrected.
Album replay gain : -4.40 dB
Album replay gain peak : 1.075327
Album : Parsley, Sage, Rosemary and Thyme
Track name : Homeward Bound
Track name/Position : 04
Performer : Simon & Garfunkel
Genre : Folk-Rock
Recorded date : 1966
Cover : Yes
Cover type : Cover (front)
Cover MIME : image/jpeg
PLAY_COUNTER : 4
LAST_PLAYED : 2009-12-13 03:48:28
FIRST_PLAYED : 2009-12-06 11:34:01
rating : 4
Play_date : 01. 07. 2005
Play_time : 02:26:45


Quote:
Originally Posted by vlada View Post
At the end is ID3V1 tag which is read incorrectly (shows "+" as song title).
TAG+ support added (the long album name is provided even if Id3v2 is not present.

Album : Parsley, Sage, Rosemary and Thyme
Track name : Homeward Bound
Track name/Position : 4
Performer : Simon & Garfunkel
Recorded date : 1966

Version 20101229 contains corrections.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 29th December 2010, 18:02   #860  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
Zenitram, you're amazing! Thanks a lot for the extremely quick fix. I can confirm it works perfectly now.
vlada is offline   Reply With Quote
Reply


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 22:21.


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