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. |
30th January 2010, 12:32 | #10562 | Link | |
⃪ ͤͤͤͤͤͤͤͤͤͤͤͤͤͤͤͤͤͤͤͤͤ ͤͤ
Join Date: Nov 2009
Location: Australia
Posts: 54
|
Hi guys, I'm on Windows 7 64-bit at the moment, and now I need some help using/installing FFDSHOW Video Encoder for "Sony Vegas Pro 9", I'm having trouble encoding with it, I have downloaded two different version which are the latest version thats "ffdshow_rev3200_20100112_clsid_icl10" and "ffdshow_rev3222_20100123_clsid_x64", when ever I try encoding no matter what encoding type I do, if its a H.263 or a Mpeg-4/Xvid my Sony Vegas crashes when ever it begins encoding, also would I get any junk or broken registry on my Windows 7 because its fresh and don't want to ruin it. Here's my log when it crashes;
Quote:
|
|
30th January 2010, 14:01 | #10563 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Yes, but the same is true for all DXVA options in MPC-HC and FFdshow, bistreaming only.
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC |
30th January 2010, 15:21 | #10564 | Link | |
Registered User
Join Date: Nov 2002
Posts: 131
|
Quote:
|
|
30th January 2010, 16:22 | #10565 | Link | |
Registered User
Join Date: Jan 2010
Posts: 47
|
Quote:
The problem continues in Windows 7 with most of my files. I only can see the subs in Graphstudio reconnecting the subtitles pin. I also tried updating the ATI drivers (HD3450 in the PC and mobility HD4530 in the laptop) but no luck. |
|
30th January 2010, 17:49 | #10566 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Yes, I have spent some time on it this afternoon with no luck
Actually the connection to the text pin is done (with MPC) and the subtitles are received and parsed by the subtitles reader of ffdshow ... but they are not displayed I'll continue to work on this, maybe Tal will have an idea The only difference in the logs between ffdshow video and ffdshow dxva is a ReconnectOutput call in ffdshow video. NAILED IT : the imgfilters are not initialized when the subtitles are loaded Last edited by albain; 30th January 2010 at 18:14. |
30th January 2010, 18:26 | #10568 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
I discovered that enabling overlay can make seeking a bit unstable,
it seems that the DXVA API call to GetBuffer() might wait infinitely for a locked buffer to be unlocked. I tried to figure out why, but so far I couldn't. maybe albain will have an idea. (right back at you, buddy ) Tal edit: this may have something with the fact that we're voilating the API when we're requesting the uncompressed buffer address after the allowed time. Last edited by tal.aloni; 30th January 2010 at 18:52. |
30th January 2010, 19:02 | #10569 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
I had deadlocks that were caused by 1/ either the m_csCodecs_and_imgFilters lock 2/ or the fact that all the buffers are allocated and waiting to be delivered BUT there is a new compressed buffer coming and no more available buffers (GetDeliveryBuffer is locked) The solution, when a seeking occur, in the NewSegment method (which is called) freeing all the buffers Easier to tell than to do because some buffers are being processed, some others are being copied I'll have a look at it tomorrow |
|
30th January 2010, 19:28 | #10570 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
albain,
thanks, however, this seems to be occuring with DXVA 1.0 only. it might be somehow connected to the fact that under windows 7 I get immidiate garbled seeking, and in XP it's usually prettier. EDIT: calling Sleep(1) befire calling GetBuffer seems to help more than a bit. I'll test and commit if this is effective. Last edited by tal.aloni; 30th January 2010 at 20:54. |
30th January 2010, 21:25 | #10571 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
1/ NewSegment or brefore GetDeliveryBuffer (don't know which one causes the deadlock) : autolock(dxvaLockBuffer) 2/ Before calling GetBuffer : autolock(dxvaLockBuffer) |
|
30th January 2010, 22:48 | #10573 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
I managed to resolve the deadlock issue in rev. 3248
instead of deadlocking on skip, if the renderer is not ready after 50ms, the frame will not be post processed. for now, this may create a tiny delay for subtitles (40ms on average, I'm not compensating yet), but it's way better than deadlocking. Tal |
31st January 2010, 00:15 | #10575 | Link |
Registered User
Join Date: Apr 2007
Posts: 220
|
Hi there is also a long standing bug with 48000 khz, 24 bit, lpcm mono sound. This is found on a lot Criterion BluRay disks. It is played back through ffdshow in slow motion. It is roughly half the speed, as if ffdshow produces only half the samples per second - maybe ffdshow internally still thinks its stereo even though it correctly displays: 48000 khz mono 24 bit as input. If you need a sample - tell me exactly how (what tools) and what you need.
Last edited by Casshern; 31st January 2010 at 00:25. |
31st January 2010, 04:18 | #10576 | Link |
Questioning User
Join Date: Jan 2005
Posts: 166
|
I artifacting I had with ffdshow DXVA is similar to thuan's.
The picture explodes on seek and the picture slows and desyncs, theres lag on switching in and out of full screen. DXVA for MPCHC isn't perfect as well. Its slow to keep up when seeking(no artifact but desyncs for quite a period). Sometimes its gets slow and affects the switching in and out of full screen. So far for me its better to use the CPU to decode video. DXVA gives me the impression that using GPU to decode is much slower. (I'm don't know a lot about video decoding so I may have the wrong impression.)
__________________
8 Pro x64 | i5-3470 | 8GB ram | GT430 | Xonar DX | MPC-HC x86
|
31st January 2010, 09:25 | #10577 | Link | |
Registered User
Join Date: Sep 2008
Posts: 496
|
Quote:
use: eac3to "C:\00001.m2ts" --demux to demux all of the tracks to the current directory, and then use mkvmerge (part of mkvtoolnix) to put the audio track inside mkv / mka, you can split it to several parts with predefined size. just upload a single part. |
|
31st January 2010, 14:26 | #10578 | Link | |
Registered User
Join Date: Apr 2007
Posts: 220
|
Quote:
eac3to created a file with the ending ".pcm". The GUI for MKVtoolnix 3.1.0.0 does not seem to recognize this as a valid format. Could you give me the correct commandline to process the pcm file? |
|
31st January 2010, 14:29 | #10579 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
you are right to point out that when some applications would try to use the DXVA decoder (avsp for instance), it would lead to problems.
and you are also right to point out that the DXVA decoder should be used only by video players. I would not want to limit usage (keep in mind that some players have their own preferred list), but I wouldn't object turning on the white list by default. (one with a short list of popular players) |
31st January 2010, 14:37 | #10580 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
interesting, I thought it was a compressed format.
you can use eac3to "C:\00001.m2ts" to view the list of streams, identify the PCM track number, and then use eac3to "C:\00001.m2ts" 4:C:\1.flac to encode it to flac (lossless), when 4 represents the number of the pcm track. mkvtoolnix will accept flac. (I'm not sure the problem would persist with a flac though, but it's worth trying) alternative suggestion: maybe TSMuxer can cut the the m2ts with the PCM |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
|
|