|
|
| ale5000 |
| Posted: Dec 12 2011, 10:20 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
Sample file (100_0423.mov - 3.85 MB): http://www.multiupload.com/JG79LFUE8X
4) For the uLaw audio in this file MediaInfo and VLC report 16-bit while the input plugin in File => File information report 8-bit. Also in Audio => Conversion => Precision there aren't the bit near "No change"
5) Just a minor thing, the audio duration is 16.024 for MediaInfo while it is 16.025 for the input plugin in File => File information.
6) I don't know too much how it is working but I'm curious to know why the QuickTime input plugin always return false in IsVBR().
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| ale5000 |
| Posted: Dec 13 2011, 02:16 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
Sample files: (AMR test files.zip - 16.77 MB): http://www.multiupload.com/0P6JQZPQZJ
7) 3g2 file in folder 1 => Unsupported ftyp major_brand: '3g2b'
8) 3gp file in folder 2 => Unsupported ftyp major_brand: '3gp6'
9-10) The AMR-WB I think is for AMR-NB like HE-AAC for AAC, so maybe you can reuse some existing code of AMR-NB for AMR-WB.
AMR-NB => "Sampling frequency 8 kHz/13-bit (160 samples for 20 ms frames), filtered to 200–3400 Hz.", probably only mono (I have some samples of 3gp files that report 48.0 KHz but they are 8 kHz) AMR-WB => "All modes are sampled at 16 kHz (using 14 bit resolution) and processed at 12.8 kHz.", "3GP also allows use of AMR-WB bit streams for stereo sound"
In the folder 1 there is "H.264 + AMR-WB.3g2" and the remuxed version "H.264 + AMR-WB.avi", also there is the extracted audio "AMR-WB.amr".
11) Maybe show also the sample precision in File -> File information that I suppose is fixed (13-bit for AMR-NB and 14-bit for AMR-WB).
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| fccHandler |
| Posted: Dec 17 2011, 03:18 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (ale5000 @ Dec 12 2011, 06:20 PM) | Sample file (100_0423.mov - 3.85 MB): http://www.multiupload.com/JG79LFUE8X
4) For the uLaw audio in this file MediaInfo and VLC report 16-bit while the input plugin in File => File information report 8-bit. |
I'm no expert but my understanding is that the samples encoded by aLaw and uLaw are always in the 8-bit range (0 - 255). The Windows codecs will only accept 8-bit audio for compression, so I presume their output is 8-bit as well.
| QUOTE | | Also in Audio => Conversion => Precision there aren't the bit near "No change" |
I don't see this in VirtualDub 1.9.11. Mine says "No change (8-bit)".
| QUOTE | | 5) Just a minor thing, the audio duration is 16.024 for MediaInfo while it is 16.025 for the input plugin in File => File information. |
The count of samples is 192294, and the rate is 12000 samples per second. So 192294 / 12000 = 16.0245. The plugin is only accurate to milliseconds so the number is rounded up to 16.025. I've no idea what MediaInfo does.
| QUOTE | | 6) I don't know too much how it is working but I'm curious to know why the QuickTime input plugin always return false in IsVBR(). |
As I understand it, returning true causes VirtualDub to invoke the plugin's TimeToPositionVBR() and PositionToTimeVBR() methods when seeking. This is necessary if the audio blocks have variable durations (as in WMV) but it isn't needed here. All of the audio codecs I support are composed of blocks of the same duration.
On the other hand, it is vitally important to specify kFlagVariableSizeSamples in the AudioSource's GetStreamSourceInfoV3() method if the audio blocks vary in size. The plugin flags this condition as QTT_IS_VBR (a misnomer, since it doesn't actually indicate VBR audio) and it is quite common. Support for variable size audio blocks was added in VirtualDub 1.8.8, which is why that version is the minimum required for the plugin.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Dec 17 2011, 01:21 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
| QUOTE (fccHandler @ Dec 17 2011, 04:18 AM) | | QUOTE (ale5000 @ Dec 12 2011, 06:20 PM) | | Also in Audio => Conversion => Precision there aren't the bit near "No change" |
I don't see this in VirtualDub 1.9.11. Mine says "No change (8-bit)". |
VirtualDub 1.9.11 is wrongly reporting 8-bit in many cases, try with VirtualDub 1.10.1 test 18.
| QUOTE (fccHandler @ Dec 17 2011, 04:18 AM) | | QUOTE (ale5000 @ Dec 12 2011, 06:20 PM) | | 5) Just a minor thing, the audio duration is 16.024 for MediaInfo while it is 16.025 for the input plugin in File => File information. |
The count of samples is 192294, and the rate is 12000 samples per second. So 192294 / 12000 = 16.0245. The plugin is only accurate to milliseconds so the number is rounded up to 16.025. I've no idea what MediaInfo does. |
So your plugin is right but MediaInfo probably is truncating instead of rounding.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| fccHandler |
| Posted: Dec 17 2011, 07:31 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Version 1.9 is up. AMR-NB and AMR-WB should mostly work, based on the three samples I have seen.
http://fcchandler.home.comcast.net/Plugins/QuickTime
| QUOTE (ale5000 @ Dec 11 2011, 08:21 PM) | | Can you add the display aspect ratio (with 3 decimals) in File => File information please (when there is)? |
I looked, but as far as I can tell aspect ratio information isn't given anywhere in the QuickTime container...
| QUOTE (ale5000 @ Dec 17 2011, 09:21 AM) | | VirtualDub 1.9.11 is wrongly reporting 8-bit in many cases, try with VirtualDub 1.10.1 test 18. |
You'd have to ask Avery, but if he is not showing the bits per sample then I would guess that it is because the audio is a compressed format. Bit depth doesn't really apply in that case.
I was wrong about Microsoft's aLaw and uLaw codecs, by the way. They actually require 16-bit samples, but they are compressed to 8-bit samples; i.e., these codecs have a fixed 2:1 compression ratio.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Dec 19 2011, 01:58 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
| QUOTE (fccHandler @ Dec 17 2011, 08:31 PM) | | QUOTE (ale5000 @ Dec 11 2011, 08:21 PM) | | Can you add the display aspect ratio (with 3 decimals) in File => File information please (when there is)? |
I looked, but as far as I can tell aspect ratio information isn't given anywhere in the QuickTime container... |
Sample files with the pasp box (PAR.zip - 5.83 MB)
2 files, same audio/video but different PAR (try with VLC if it doesn't work in your player)
Look for more info here => http://forum.doom9.org/showpost.php?p=1185325
FIXED (2.1)
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| sguisard |
| Posted: Dec 19 2011, 01:16 PM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 33845
Joined: 19-December 11

|
Hello,
....maybe a stupid question : -I have installed the latest version of this plugin, and am using VD-1.9.11. -I "open file" a .mp4 fila that is H264 encoded. The file does load in VD, but the frames are all black ??? (the original movie is of course not all black when watched in QT).
... certainly something stupid I am doing/not doing ?
Thanks for the help,
sgu |
 |
| ale5000 |
| Posted: Dec 19 2011, 01:31 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
If all frames are black probably you are using the MP4 input plugin by SEt instead of the QuickTime input plugin by fccHandler. Remove the first from the plugin folder.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| ale5000 |
| Posted: Dec 19 2011, 05:57 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
@fccHandler: I think that just mp4v and mp4a are used for many formats.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| sguisard |
| Posted: Dec 19 2011, 06:05 PM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 33845
Joined: 19-December 11

|
.... no, I do not think it is this.
... I have removed all the .vdplugin file from the "plugin" and "plugin32" folder (I had ffdshow + other encoder/decoder there) and just left the "QuickTime.vdplugin" in this last folder, even restarted the PC ... still the same... I do only see back frames .... any other ideas ?
Thanks,
Stephane |
 |
| ale5000 |
| Posted: Dec 19 2011, 06:21 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
Post the file, so I can try.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| ale5000 |
| Posted: Jan 26 2012, 10:32 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
Does it support "private track ID"?
| QUOTE | 4) Is it also possible to place streams not covered by the MPEG-4 standard in MP4? ... the MPEG-4 standard defines how to place any stream in MP4. Similar to how streams are marked in AVI with private FourCCs, in MP4 they get a "private track ID". ... the following streams, not covered by MPEG-4, can be placed in MP4 already: - Ogg Vorbis and Ogg Theora, via MP4Box - Ogg Vorbis, via a patched mp4creator - Apple's Lossless Audio (ALAC/ALE - not compliant with MPEG-4 ALS), via iTunes - DVD picture subtitles (Vobsubs), via Nero Recode2 |
It will be nice to also show the "private track ID" in File informations.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| rjisinspired |
| Posted: Feb 9 2012, 02:51 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06

|
Would it be possible for your plugin to load Flip UltraHD files?
Here's a sample clip from the Flip: http://rjschat.dyndns.org:8080/Paranoha/AP...DUB/VID00067.7z
If the above link is dead that means I had rebooted and will be back online in a few minutes.
Here's more information through Mediainfo:
| CODE | General Complete name : C:\Documents and Settings\rjisinspired\Desktop\VID00067.MP4 Format : MPEG-4 Format profile : Sony PSP Codec ID : MSNV File size : 3.57 MiB Duration : 3s 267ms Overall bit rate : 9 159 Kbps Encoded date : UTC 2012-01-04 15:15:57 Tagged date : UTC 2012-01-04 15:15:57
Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4.0 Format settings, CABAC : Yes Format settings, ReFrames : 1 frame Format settings, GOP : M=1, N=5 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 3s 267ms Bit rate mode : Variable Bit rate : 9 020 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.326 Stream size : 3.51 MiB (98%) Language : Japanese Encoded date : UTC 2012-01-04 15:15:57 Tagged date : UTC 2012-01-04 15:15:57 Color primaries : BT.709-2, SMPTE 274M, SMPTE 296M Transfer characteristics : BT.709-2, SMPTE 170M, SMPTE 274M, SMPTE 293M, SMPTE 296M Matrix coefficients : BT.709-2, SMPTE 274M, SMPTE 296M
Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 3s 251ms Bit rate mode : Constant Bit rate : 132 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Compression mode : Lossy Stream size : 52.2 KiB (1%) Language : Japanese Encoded date : UTC 2012-01-04 15:15:57 Tagged date : UTC 2012-01-04 15:15:57
|
I have been using your plugin for Kodak ZX1 .MOV files and it works great. There is no AAC stuttering and repeating in finished encodes to other audio formats. |
 |
| fccHandler |
| Posted: Feb 12 2012, 01:36 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
I've uploaded version 2.0 of the QuickTime plugin: http://fcchandler.home.comcast.net/Plugins/QuickTime
I updated its copies of the plugin SDK include files but did not add any support for new colorspaces yet.
To rjisinspired, I added the 'MSNV' ftyp, and I also added code to check compatible brands when the major brand is unknown. This should help a lot to reduce unknown ftyp errors in the future.
To ale5000, I added parsing of the 'pasp' atom but I have no idea if it is correct. Unfortunately I never got your sample and the link is dead now.
Regarding "private track IDs" in MP4, I can't find any official documentation about it and I don't know what field they are referring to. I presume this is something different from the Track ID field in the 'tkhd' atom? (That one is just a 32-bit int, and there are no restrictions on it except that it cannot be zero and must be unique.)
In the Doom9 FAQ he goes on to say that "no player will be able to handle such streams in MP4, but will simply ignore them, if not explicitely specified to do so." Based on that statement, this sounds like something messy that I might not want to get involved in.
-------------------- May the FOURCC be with you... |
 |
| rjisinspired |
| Posted: Feb 12 2012, 10:13 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06

|
Thanks fcchandler.
Works like a charm. |
 |