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 > New and alternative video codecs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th August 2010, 14:36   #12281  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
Hi albain.

There is crash in ff_samplerate.dll possibly related to revision 3501. See page 613, posts by me and 27049215: http://forum.doom9.org/showthread.ph...31#post1426231
Gleb Egorych is offline   Reply With Quote
Old 29th August 2010, 05:26   #12282  |  Link
Hyper Shinchan
Registered User
 
Join Date: Mar 2005
Location: Italy
Posts: 286
Is it possible to add MPEG-4 ALS support in FFDShow? Since revision 20517 ffmpeg can decode it. There's also the issue of a splitter capable of demuxing and feeding the audio stream correctly, so actually adding support in FFDShow isn't enough I suppose but it would be nice to have ALS under directshow.
Hyper Shinchan is offline   Reply With Quote
Old 30th August 2010, 14:47   #12283  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by Gleb Egorych View Post
Hi albain.

There is crash in ff_samplerate.dll possibly related to revision 3501. See page 613, posts by me and 27049215: http://forum.doom9.org/showthread.ph...31#post1426231

Hi,

I can't reproduce the problem. Do you have a sample file ? Which splitters are you using ? which player ?
albain is offline   Reply With Quote
Old 30th August 2010, 15:40   #12284  |  Link
fastplayer
Registered User
 
Join Date: Nov 2006
Posts: 799
@albain:
In rev3551 you moved a statement next to the condition. Where's the fix in that?
I'm probably missing something big here, right?
fastplayer is offline   Reply With Quote
Old 30th August 2010, 17:59   #12285  |  Link
Blight
Software Developer
 
Blight's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 1,005
Albain:
I've had it set to not show the tray icon at all and the option to show internal filter in the tray icon was not enabled.

I tried enabling the tray icon and then when playing a media file, right clicking the tray icon threw this error:
Quote:
---------------------------
Debugger Fault Notification
---------------------------
Project Z:\zplayer.exe faulted with message: 'application-defined exception (code 0xc00000fd) at 0x1026ac27'. Process Stopped. Use Step or Run to continue.
---------------------------
Enabling the tray icon or enabling the show internal filters feature had no affect on the StackOverflow error.
I'm calling QueryInterface before the graph is running (filters are added to the graph and connected), does this make a difference?

I'm on Windows 7 Pro 32bit and set the ffdshow tray icon to always show in the tray. Still using the same CLSID build.
__________________
Yaron Gur
Zoom Player . Lead Developer
Blight is offline   Reply With Quote
Old 30th August 2010, 19:11   #12286  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
Quote:
Originally Posted by albain View Post
Hi,

I can't reproduce the problem. Do you have a sample file ? Which splitters are you using ? which player ?
Here is a sample: http://www.mediafire.com/?9maeuon2vgbza6u
I watch using Zoom Player, navigate file using mouse wheel.
Audio is resampled from 44.1Khz to 48KHz using libsamplerate high.

FLV splitter 1.3.2099 from MPC-HC project.
Gleb Egorych is offline   Reply With Quote
Old 31st August 2010, 08:40   #12287  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Hi.
Since LAVF splitter introduced very good MOV splitting, all my *.MOV samples plays using FFDshow except one with "twos" audio inside. Sample is here.

Here is what MediaInfo say:
Code:
Audio
ID                               : 2
Format                           : PCM
Format settings, Endianness      : Big
Format settings, Sign            : Signed
Codec ID                         : twos
Duration                         : 2s 0ms
Bit rate mode                    : Constant
Bit rate                         : 256 Kbps
Channel(s)                       : 1 channel
Sampling rate                    : 16.0 KHz
Bit depth                        : 16 bits
Stream size                      : 62.5 KiB (1%)
Language                         : English
Encoded date                     : UTC 2010-03-17 22:55:13
Tagged date                      : UTC 2010-03-17 22:55:13
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 31st August 2010, 09:18   #12288  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
hoborg's post reminds me on a similar issue we have discussed in the german doom9/Gleitz board: MOVs with "twos" audio don't play in MPC-HC. Because MediaInfo reports them as PCM, I wondered if it was possible to hex-patch the Codec ID to something more compatible, but I had no idea which alternative FourCCs for PCM audio might exist in QuickTime... "Simply" recognising it as compatible PCM format would of course be a more convenient solution.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 31st August 2010, 09:55   #12289  |  Link
XhmikosR
Registered User
 
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
You should try the latest MPC-HC build.
__________________
My Specs
XhmikosR is offline   Reply With Quote
Old 31st August 2010, 12:07   #12290  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
mpc-homecinema.2397_(x86)_msvc2010 + ffdshow_rev3550_20100829_sse_icl11 from XvidVideo.RU => Sample ^ (p1010337) plays without error message.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 31st August 2010, 12:12   #12291  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by LigH View Post
mpc-homecinema.2397_(x86)_msvc2010 + ffdshow_rev3550_20100829_sse_icl11 from XvidVideo.RU => Sample ^ (p1010337) plays without error message.
Yes, MPC-HC will use Quicktime frameworks to play MOV file. Open it in Graphstudio and LAVF as splitter - FFDShow audio decoder refuse to connect.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 31st August 2010, 12:56   #12292  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by hoborg View Post
Yes, MPC-HC will use Quicktime frameworks to play MOV file. Open it in Graphstudio and LAVF as splitter - FFDShow audio decoder refuse to connect.
It plays fine with MPC's internal MP4 splitter here, so I take it's a problem with LAVFSplitter only?
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 31st August 2010, 13:14   #12293  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by STaRGaZeR View Post
It plays fine with MPC's internal MP4 splitter here, so I take it's a problem with LAVFSplitter only?
Looks like you are right, it is working with MP4 splitter.
The problem is that MP4 splitter failed to split some MOV samples i have - there is no audio output PIN, but working fine with LAVF as splitter :/
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 31st August 2010, 13:32   #12294  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by fastplayer View Post
@albain:
In rev3551 you moved a statement next to the condition. Where's the fix in that?
I'm probably missing something big here, right?
You're right, my mistake. I changed CoTaskMemFree by free() and I had a corrrupted heap but the change was done only locally, so a commit for nothing
albain is offline   Reply With Quote
Old 31st August 2010, 13:35   #12295  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by Blight View Post
Albain:
I've had it set to not show the tray icon at all and the option to show internal filter in the tray icon was not enabled.

I tried enabling the tray icon and then when playing a media file, right clicking the tray icon threw this error:


Enabling the tray icon or enabling the show internal filters feature had no affect on the StackOverflow error.
I'm calling QueryInterface before the graph is running (filters are added to the graph and connected), does this make a difference?

I'm on Windows 7 Pro 32bit and set the ffdshow tray icon to always show in the tray. Still using the same CLSID build.
Ok, I guess that you release the pointer after each call of QueryInterface ?
The fact that the graph is not running shouldn't have any effect
albain is offline   Reply With Quote
Old 31st August 2010, 17:04   #12296  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by hoborg View Post
Looks like you are right, it is working with MP4 splitter.
The problem is that MP4 splitter failed to split some MOV samples i have - there is no audio output PIN, but working fine with LAVF as splitter :/
The problem seems to be in LAVFSplitter, it's sending 00000000-0000-0010-8000-00AA00389B71 as subtype (WMMEDIASUBTYPE_Base???), while MPC's splitter is using 736F7774-0000-0010-8000-00AA00389B71 as subtype. Dunno if this is the official guid of twos, but here it says it is. Report this to nevcairiel, it should be easy to fix.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 1st September 2010, 00:04   #12297  |  Link
XhmikosR
Registered User
 
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
@albain it seem you missed my previous post.

Quote:
Originally Posted by XhmikosR View Post
@albain: thanks for adding support for COOK audio. Here are a few samples which don't play with the latest rev. Note that "pareme.rm" crashes mpc-hc pointing to libavcodec.dll.
I also tried this sample which has 1 channel 22.05Khz COOK audio and still the same. The latest ffplay has no problem with this.
__________________
My Specs
XhmikosR is offline   Reply With Quote
Old 1st September 2010, 12:49   #12298  |  Link
Tinkerer2
Registered User
 
Join Date: Jun 2010
Posts: 1
The default matrices in mixer do not seem to be correct.
For example for 5.1 to 2.0 it uses 0.707 for both center and LFE. However, the LFE channel is supposed to be played 10dB louder than other channels. Is it a bug or does ffdshow compensate for this somewhere else?
Tinkerer2 is offline   Reply With Quote
Old 1st September 2010, 13:00   #12299  |  Link
Blight
Software Developer
 
Blight's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 1,005
Small feature request:
Accept video decoder pin connections for the "{72707A61-0000-0010-8000-00AA00389B71}" sub-type exposed by the microsoft AVI splitter. You already support decoding this video format when the "QTRpza" sub-type is used for connection (exposed by 'haali media splitter' for the same file).

Here are some sample files:
http://samples.mplayerhq.hu/V-codecs/RPZA/
(i couldn't find a splitter for the MOV files, but the jumping.avi file can be used as a test case)


Albain:
Here's my entire process for getting the stream info:

1) I enum all the filters in the graph.

2) For each filter in the graph, I call:
Code:
  // dsStreamFilter is an IBaseFilter class
  If dsStreamFilter.QueryInterface(IID_IAMStreamSelect, dsStreamSelect) = S_OK then // dsStreamSelect is an IAMStreamSelect class
  Begin
    dsStreamFilter.GetClassID(dsFilterGUID);
    If (IsEqualGUID(dsFilterGUID,CLSID_FFDShow) = True) then
    Begin
      If dsStreamSelect.Count(StreamCount) = S_OK then // This call throws the StackOverflow exception, StreamCount is a DWord.
      Begin
      End;
    End;
    dsStreamSelect := nil; // removes the reference count and frees the object
  End;
This works for every other filter supporting the IAMStreamSelect interface...
Am I doing something wrong?
__________________
Yaron Gur
Zoom Player . Lead Developer

Last edited by Blight; 1st September 2010 at 13:03.
Blight is offline   Reply With Quote
Old 1st September 2010, 14:07   #12300  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by Blight View Post
Small feature request:
Accept video decoder pin connections for the "{72707A61-0000-0010-8000-00AA00389B71}" sub-type exposed by the microsoft AVI splitter. You already support decoding this video format when the "QTRpza" sub-type is used for connection (exposed by 'haali media splitter' for the same file).

Here are some sample files:
http://samples.mplayerhq.hu/V-codecs/RPZA/
(i couldn't find a splitter for the MOV files, but the jumping.avi file can be used as a test case)
MEDIASUBTYPE_QTRpza is {617a7072-0000-0010-8000-00AA00389B71}, I couldn't find any info about {72707A61-0000-0010-8000-00AA00389B71}. Is there a know MEDIASUBTYPE_xxx for this guid?
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl


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 03:19.


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