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 15th August 2009, 13:30   #1281  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
The other benefits are correct decoding for many streams that the alternative decoders have issues with, such as some VC1 streams, and access to GPU deinterlacing, cropping, and resizing.
Guest is offline  
Old 15th August 2009, 15:48   #1282  |  Link
Zelos
Registered User
 
Join Date: May 2007
Location: Marseille
Posts: 73
ok i see , thanks.
Is the power of the graphic card will determine the average speed ?
Zelos is offline  
Old 15th August 2009, 15:50   #1283  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Zelos View Post
Is the power of the graphic card will determine the average speed ?
Average speed of what? And what do you mean by "power of the graphic card"? Your question is too vague to answer.
Guest is offline  
Old 15th August 2009, 16:18   #1284  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
My understanding is that the VP2 engine is the same on all GPU's.
So decoding speed would only be affected by memory clock and bus width I guess.
__________________
http://www.7-zip.org/
Audionut is offline  
Old 15th August 2009, 16:46   #1285  |  Link
Zelos
Registered User
 
Join Date: May 2007
Location: Marseille
Posts: 73
Quote:
Originally Posted by Audionut View Post
My understanding is that the VP2 engine is the same on all GPU's.
So decoding speed would only be affected by memory clock and bus width I guess.
yes right sorry for my bad english
Zelos is offline  
Old 24th August 2009, 17:13   #1286  |  Link
creamyhorror
Registered User
 
Join Date: Mar 2008
Posts: 118
Quote:
Originally Posted by neuron2 View Post
Your site seem to be down:

redirects to http://gs12.inmotionhosting.com/suspended.page/

"This Site Is Temporarily Unavailable.
If you are the site owner, please contact the billing/support department as soon as possible."
creamyhorror is offline  
Old 24th August 2009, 17:50   #1287  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
It's up again. Somebody was attacking my forum and blew out my CPU usage. I've taken the forum down until I find a solution.
Guest is offline  
Old 29th August 2009, 10:26   #1288  |  Link
paulvdb
Registered User
 
Join Date: Jan 2005
Posts: 33
Your new beta 8 causes problems with ITV HD. Indexing works fine but when I try to load the avs in virtualdub I get the following error message:

Avisynth open failure:
Evaluate: System exception - Access Violation
(I:\TheBill.avs, line 8)

Line 8 is the line with DGSource. The same avs works ok with beta 5. I tried this on Windows XP x64 and Windows 7 RC x64. I also tried it with Channel 4 HD and BBC HD and they worked ok with beta 8 so the problem seems to be specific to ITV HD. Sample stream that shows this error: http://members.home.nl/pvdbelt/TheBillSample.ts

Last edited by paulvdb; 29th August 2009 at 10:32.
paulvdb is offline  
Old 29th August 2009, 15:30   #1289  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Got it fixed locally. Beta 9 comes later today. Thanks for pointing it out.
Guest is offline  
Old 29th August 2009, 15:48   #1290  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
NV beta 9

NV beta 9 is released. It has a lot of fixes.

http://neuron2.net/dgavcdecnv/NVbeta9.zip
Guest is offline  
Old 1st September 2009, 18:35   #1291  |  Link
JungleBoy
Registered User
 
JungleBoy's Avatar
 
Join Date: Aug 2007
Posts: 21
ITV HD audio sync
I've noticed that ITV HD uses an AC3 audio sync time of either -999999ms or +999999ms.
They appear to be using a PCR PID instead to sync the video and audio.
The Video and PCR PIDs can be defined in DGAVCINDEXNV but it says in the manual under Detect PIDs: PAT/PMT,
"Note that unless you use the Log Timestamps function, the PCR PID is not used and can be ignored."
Here's the manual: http://neuron2.net/dgavcdecnv/DGAVCIndexNVManual.html
The question is, what is the Log Timestamps function ?
I see the Video PID in the DGA file but not the PCR PID.

I'm using DGAVCINDEXNV v1.0.13

Last edited by JungleBoy; 1st September 2009 at 18:39.
JungleBoy is offline  
Old 1st September 2009, 18:51   #1292  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
That's a leftover from copying and pasting from the DGIndex manual. DGAVCIndexNV does not have the Log Timestamps function.

Quote:
I've noticed that ITV HD uses an AC3 audio sync time of either -999999ms or +999999ms.
I can't make any sense out of this. Can you post a link to a short sample stream so I can see if there is anything out of the ordinary going on?

Set-top boxes sync their local clock to the PCR time. Then the audio and video is played by presenting a unit when its PTS matches the local clock. That means audio and video units with the same PTS are presented together, therefore it is sufficient just to consider the offset between the audio and video PTSs.

You can get the PCR PID from the PAT/PMT table accessible under the Stream menu. Usually it is the same as the video PID, but not always.
Guest is offline  
Old 1st September 2009, 19:41   #1293  |  Link
JungleBoy
Registered User
 
JungleBoy's Avatar
 
Join Date: Aug 2007
Posts: 21
Here's 1 minute 95MBytes file of the ITV HD mux.
It contains ITV HD and Brit Shorts TV and a bunch of radio channels.
If you put the TS file through tsmuxerGUI you'll see the audio delay of the ITV HD AC3 stream.
http://www.mediafire.com/download.php?yujkelygjvt

[Note: I edited this excerpt from a 22Gbyte TS file of the complete multiplex.
I haven't been able to extract the video from this excerpt].

Here's a picture:


I've been putting the complete mux through tsmuxerGUI to convert the H222 to H264.
I also set the AC3 audio delay to something like -870ms.
The video and audio is approximately in sync in the created m2ts file but could be out by +/-100ms.

Is there a way of finding out the time difference between the video and audio streams ?

Last edited by JungleBoy; 1st September 2009 at 19:57.
JungleBoy is offline  
Old 1st September 2009, 20:28   #1294  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Sorry, an *edited* TS is not helpful. Just use DGSplit to split the first 100MByte of the *original* TS and upload that. Thank you.
Guest is offline  
Old 1st September 2009, 22:00   #1295  |  Link
JungleBoy
Registered User
 
JungleBoy's Avatar
 
Join Date: Aug 2007
Posts: 21
itvhdmux22.ts (100 MB)
24 seconds of the ITV HD/Brit Sports TV multiplex:
http://www.mediafire.com/download.php?dm0djemijgd

Putting this file through tsmuxerGUI (only ticking the H264 and AC3 boxes) converts the H222 to H264.
The AC3 audio delay needs setting to about -750ms to get the audio approximately in sync.
The video/audio PIDs of 3401/3402 (or 0x0d49/0x0d4A) change to 4113/4352 (or 0x1011/0x1100) in the M2TS file.
Viewing the M2TS file with TS Packet Editor shows the PCR PID on 0x1001.

The first 4.5 minutes of the original TS contains the message saying that ITV HD was unavailable (as nothing was being transmitted at the time) so I picked file 22 from DGSplit that contained some dialogue.
What is the procedure for getting the correct audio sync delay for the final MKV ?

ITV have been to a lot of trouble to obfuscate their streams it seems.
TS Packet Editor is also able to convert the H222 to H264 but I finish up with no audio at all.
I found that by recording the entire mux I was more likely to capture stuff that was needed to decode ITV HD.

Last edited by JungleBoy; 1st September 2009 at 23:12.
JungleBoy is offline  
Old 1st September 2009, 23:50   #1296  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I can't help you with tsmuxer or the other tools. I can only tell you how to do it with my tools.

I loaded the stream in DGAVCIndexNV. The tables are non-standard (which explains the problems everyone is having) but by looking at raw PIDs and experimenting, I determined there is AVC video on 0xd49 and AC3 audio on 0xd4a. Use Audio Demux to set up for demuxing only audio stream 0xd4a. Then Save Project.

Now, you make a standard AVS with the audio adjusted by the reported -225ms and everything plays in perfect sync.

vid=dgsource("itvhdmux22.dga",resize_w=1280,resize_h=720)
aud=nicac3source("itvhdmux22 PID d4a 2_0ch 48KHz 256Kbps DELAY -225ms.ac3").delayaudio(-0.225)
audiodub(vid,aud)

I think it's funny that they throw away half the horizontal resolution but still call it HD.

Last edited by Guest; 2nd September 2009 at 00:39.
Guest is offline  
Old 2nd September 2009, 00:42   #1297  |  Link
JungleBoy
Registered User
 
JungleBoy's Avatar
 
Join Date: Aug 2007
Posts: 21
I was only using tsmuxerGUI to filter out all the other streams just leaving the ITV HD streams and then feeding the M2TS into TS Packet Editor to edit out the adverts then loading the final M2TS file into DGAVCIndexNV. It also converted the h222 to h264.
I'll try loading the TS directly and see what happens.
JungleBoy is offline  
Old 2nd September 2009, 00:45   #1298  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by JungleBoy View Post
It also converted the h222 to h264.
You're apparently unaware that this is silly. You must have overheard it on a bus or something.

Quote:
I'll try loading the TS directly and see what happens.
I already told you what happens!

You can likely use the same process on your edited TS, as long as you get the remapped PIDs correct.

Last edited by Guest; 2nd September 2009 at 00:54.
Guest is offline  
Old 2nd September 2009, 00:58   #1299  |  Link
JungleBoy
Registered User
 
JungleBoy's Avatar
 
Join Date: Aug 2007
Posts: 21
Yes, I get the same result, I didn't realise you can feed the entire mux into DGAVCIndexNV.
The only problem is how to edit out the adverts before feeding into DGAVCIndexNV.
Any suggestions ?
JungleBoy is offline  
Old 2nd September 2009, 01:37   #1300  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
You can use trims in your script or use your TSPacket editor. The output should be usable in DGAVCDecNV.
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 10:30.


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