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 > Video Encoding > MPEG-4 AVC / H.264

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 28th January 2009, 00:08   #921  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by neuron2 View Post
I have to solve a few issues and add audio support first.
Flac is gonna be an additional audio file which you will support as well with mkv decoding; i guess?
rica is offline  
Old 28th January 2009, 01:31   #922  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I found the cause of the long hang on some files. Please wait for a fix before testing further.

I plan to demux all audio types.
Guest is offline  
Old 28th January 2009, 02:06   #923  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
BTW, i've been awaiting you to make a CUDA encoder tool since i know you are the best in those CUDA things.
Still no hope on Cyberlink's Power Director 7 to me.

Last edited by rica; 28th January 2009 at 02:33.
rica is offline  
Old 28th January 2009, 05:07   #924  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I fixed the seeking in the MKV test version. It should be really fast now without any hangs.

http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip

I'm learning way more than I wanted to know about Matroska files.

A CUDA encoder is a massive project. Ask Dark_Shikari about it.

Last edited by Guest; 28th January 2009 at 05:11.
Guest is offline  
Old 28th January 2009, 05:29   #925  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Quote:
Originally Posted by neuron2 View Post
A CUDA encoder is a massive project. Ask Dark_Shikari about it.
I'd search for his previous responses before doing that.
__________________
http://www.7-zip.org/
Audionut is offline  
Old 28th January 2009, 06:12   #926  |  Link
Sagekilla
x264aholic
 
Join Date: Jul 2007
Location: New York
Posts: 1,752
I'd not even ask about a CUDA encoder to begin with. Discussion of it has popped up -many- times and it's a no go because of the extensive resources required. Unless you have a lot of coders who are willing to put time and effort into optimizing code for CUDA, it's not happening. IIRC, one huge issue Dark Shikari had was getting functions to run fast enough to make it worthwhile.

@neuron2: Thanks for adding mkv support No need for me to demux a mkv for doing comparisons of my encodes anymore!
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame.
Sagekilla is offline  
Old 28th January 2009, 15:07   #927  |  Link
yeye69
Registered User
 
Join Date: Apr 2008
Posts: 39
How about Linux version?
yeye69 is offline  
Old 28th January 2009, 15:53   #928  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
Quote:
Originally Posted by yeye69 View Post
How about Linux version?
Care to port AviSynth and neuron2's DG toolset to Linux?
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline  
Old 28th January 2009, 16:10   #929  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Port DirectShow too while you're at it because NVCUVID needs it.
Guest is offline  
Old 28th January 2009, 17:13   #930  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
Quote:
Originally Posted by neuron2 View Post
Port DirectShow too while you're at it because NVCUVID needs it.
What? No stand-alone? Poor NVIDIA.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software is offline  
Old 28th January 2009, 17:34   #931  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
They're working on disconnecting it from DirectShow.
Guest is offline  
Old 29th January 2009, 15:10   #932  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
MKV support with audio demuxing

I've added audio demuxing. Note that some formats are not supported yet. If you hit one of them you'll get a popup asking you to send me a sample. I need samples to implement the support.

Be sure to update with the included nvcuvid.dll.

http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip
Guest is offline  
Old 29th January 2009, 15:45   #933  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
Quote:
Originally Posted by neuron2 View Post
I've added audio demuxing. Note that some formats are not supported yet. If you hit one of them you'll get a popup asking you to send me a sample. I need samples to implement the support.
which ones don't you have supported yet? might be easier to
A. compare against a non-supported list and give you samples for the ones on the list rather than trying to hunt
B. compare against a supported list and give you samples for things not on the list.

i imagine B would be easier to do as you know what you've implemented and may forget listing some formats for A.
__________________
custom x264 builds & patches | F@H | My Specs
kemuri-_9 is offline  
Old 29th January 2009, 16:15   #934  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
The documentation of audio CodecIDs is incomplete, so by hunting I will find out ones that are in use but not documented. Anyway, here are the ones I currently support (because I have samples):

A_AC3
A_MPEG/L1
A_MPEG/L2
A_MPEG/L3
A_DTS
Guest is offline  
Old 29th January 2009, 18:23   #935  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
A_AAC
A_EAC3
A_FLAC
A_PCM/INT/LIT
A_REAL
A_TTA1
A_VORBIS
A_WAVPACK4

http://haali.cs.msu.ru/mkv/codecs.pdf

http://samples.mplayerhq.hu/Matroska/
http://www.bunkus.org/videotools/mkvtoolnix/samples/

Last edited by Kurtnoise; 29th January 2009 at 18:26.
Kurtnoise is offline  
Old 30th January 2009, 00:35   #936  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Added A_AAC support to MKV demuxer

Added support for A_AAC in MKV files.

http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip

What's the priority on the remaining formats?
Guest is offline  
Old 30th January 2009, 01:15   #937  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by neuron2 View Post
Added support for A_AAC in MKV files.

http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip

What's the priority on the remaining formats?
I think ac3, dts, aac and flac is enough for mkv since DTS-HD and TrueHD are not supported by matroska for now.

Code:
Stream Type: Matroska
Profile: High
Level: 4.1
Frame Size: 1920x1080
SAR: 1:1
Display Size: 1920x1080
Frame Rate: 23.976024 fps
Colorimetry: BT.709 [1]
Frame Structure: Frame
Frame Type: I
Coded Number: 257
Playback Number: 257
Frame Repeats: 0
Field Repeats: 0
Bitrate: 27.122
Bitrate (Avg): 13.526
Bitrate (Max): 27.122
Audio Stream: 1: A_FLAC 48000 6ch "und"
Elapsed: 0:00:00
Remain: 0:00:00
FPS: 
Info: Finished!
For m2ts, all formats seem to be supported:

Code:
Stream Type: Transport [192]
Profile: High
Level: 4.1
Frame Size: 1920x1080
SAR: 1:1
Display Size: 1920x1080
Frame Rate: 23.976024 fps
Colorimetry: BT.709 [1]
Frame Structure: Frame
Frame Type: I
Coded Number: 217
Playback Number: 217
Frame Repeats: 0
Field Repeats: 0
Bitrate: 35.124
Bitrate (Avg): 34.615
Bitrate (Max): 35.383
Audio Stream: 1100: DTS HDHR C+L+R+SL+SR 48 1536
Audio Stream: 1101: DTS C+L+R+SL+SR 48 768
Audio Stream: 1102: DTS C+L+R+SL+SR 48 768
Audio Stream: 1103: DTS C+L+R+SL+SR 48 768
Audio Stream: 1104: AC3 3/2 48 448
Elapsed: 0:00:01
Remain: 0:00:00
FPS: 
Info: Finished!
Code:
Stream Type: Transport [192]
Profile: High
Level: 4.1
Frame Size: 1920x1080
SAR: 1:1
Display Size: 1920x1080
Frame Rate: 23.976024 fps
Colorimetry: BT.709 [1]
Frame Structure: Frame
Frame Type: I
Coded Number: 258
Playback Number: 258
Frame Repeats: 0
Field Repeats: 0
Bitrate: 27.123
Bitrate (Avg): 13.697
Bitrate (Max): 27.123
Audio Stream: 1100: TrueHD AC3 3/2 48 640
Audio Stream: 1101: AC3 3/2 48 640
Audio Stream: 1102: AC3 3/2 48 640
Audio Stream: 1103: AC3 3/2 48 640
Audio Stream: 1104: AC3 3/2 48 640
Audio Stream: 1105: AC3 2/0 48 192
Audio Stream: 1a00: E-AC3 2/0 48 192
Elapsed: 0:00:01
Remain: 0:00:00
FPS: 
Info: Finished!
Thanks neuron.



_ _ _

Last edited by rica; 30th January 2009 at 01:32.
rica is offline  
Old 30th January 2009, 01:25   #938  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Added A_FLAC

Added support for A_FLAC in MKV files.

http://neuron2.net/dgavcdecnv/dgavcdecnv1011test.zip

I'd like to release this, so please beat on it.
Guest is offline  
Old 30th January 2009, 01:37   #939  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Sorry, but i haven't understood the difference with previous version?
That already gave me the flac.

Last edited by rica; 30th January 2009 at 01:44.
rica is offline  
Old 30th January 2009, 01:45   #940  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
No, the previous version displayed FLAC as the detected audio type, but if you tried to demux it, you got an error. With the latest version you get a demuxed FLAC file.
Guest is offline  
Closed Thread

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 09:29.


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