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 30th September 2010, 20:57   #12581  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,970
You can add support for FOURCC 'png '? It is used in the mov-files. I used the same decoder, which decodes the "PNG1" and "MPNG". I substituted the FOURCC in the splitter, but it's not the best solution.

mov-png_example

I wanted to do the same "jpeg" (ffdshow_mediaguids.h, section //quicktime), but do not completely understand how to add changes in TglobalSettings.cpp.
v0lt is offline   Reply With Quote
Old 1st October 2010, 05:38   #12582  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
@ Midzuki
How do I do the same thing you did with the ffdshow audio processor outputting to raw?

Thanks!
dansrfe is offline   Reply With Quote
Old 1st October 2010, 07:34   #12583  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
@ dansrfe:

1) patch a copy of ffdshow.ax ;
2) unregister the original ffdshow.ax ;
3) hide the original ffdshow.ax in a temp folder,
move the modified .ax into ffdshow's folder ;
4) register the patched .ax file ;
5) start playing a DVD with MPC,
then press the pause button ;
6) run Graphstudio, press CTRL + G, click "Connect" ;

N.B.: I configured MPC to "prefer" ffdshow audio processor, since its default merit status is "DO_NOT_USE".

P.S.: Several weeks ago, Keiyakusha tried to convince that "it would be very bad" if ffdshow had dedicated standalone filters, without shared capabilities & settings.
Now, let's see whether he will change his mind.

Last edited by Midzuki; 1st October 2010 at 07:42. Reason: formatting
Midzuki is offline   Reply With Quote
Old 1st October 2010, 11:09   #12584  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Not really. I don't have anything against "dedicated" filters or something. I just don't want to see things like subtitles rendering removed from raw filter functionality.
Keiyakusha is offline   Reply With Quote
Old 2nd October 2010, 08:30   #12585  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
As I understand, revsion 3608 reverts 3589, i.e. mpeg decoders are now integer again.
Gleb Egorych is offline   Reply With Quote
Old 2nd October 2010, 14:06   #12586  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Nope, they are still float.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 2nd October 2010, 15:03   #12587  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
For example, all changes made in mpegaudiodec.c with 3589 are reverted with 3608. But seems these changes are relevant to disabled decoders and don't touch float decoders.
Gleb Egorych is offline   Reply With Quote
Old 4th October 2010, 10:28   #12588  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
MOV PCM problem

Hi.
I have problem with playback of few MOV files from Canon IXUS 200 IS.
It play in wierd slow motion in graphstudio - 2.5FPS.
If i disable audio, it play just fine.
Here is graph:

MP4Splitter.ax rev.1.4.2646.0, FFDshow 3608

MPC MPA audio decoder play it without any issue too on both machines.

Here video is sample

Media info:
Code:
Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L4.1
Format settings, CABAC           : No
Format settings, ReFrames        : 1 frame
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 4s 566ms
Bit rate mode                    : Variable
Bit rate                         : 23.1 Mbps
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.837
Stream size                      : 12.6 MiB (97%)
Language                         : English
Encoded date                     : UTC 2010-10-03 10:07:35
Tagged date                      : UTC 2010-10-03 10:07:35
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio
ID                               : 2
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Signed
Codec ID                         : sowt
Duration                         : 4s 566ms
Bit rate mode                    : Constant
Bit rate                         : 705.6 Kbps
Channel(s)                       : 1 channel
Sampling rate                    : 44.1 KHz
Bit depth                        : 16 bits
Stream size                      : 393 KiB (3%)
Language                         : English
Encoded date                     : UTC 2010-10-03 10:07:35
Tagged date                      : UTC 2010-10-03 10:07:35
The strange thing is, that it seems this problem only affect realtek sound cards, home i have SoubBlaster, and it play just fine.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 4th October 2010 at 10:31.
hoborg is offline   Reply With Quote
Old 4th October 2010, 18:00   #12589  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
Works fine on my side with ffdshow latest build, madVR latest build, and MPC-HC 32-bit latest build.
dansrfe is offline   Reply With Quote
Old 4th October 2010, 18:15   #12590  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by dansrfe View Post
Works fine on my side with ffdshow latest build, madVR latest build, and MPC-HC 32-bit latest build.
I was able to reproduce this issue on Intel Atom and Realtec HD audio. At home it is working fine C2D+Audigy4.

No idea what can causing it, but if i use MPC MPA audio decoder, it is working fine, so must be something in FFDshow.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 5th October 2010, 10:52   #12591  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
@devs
Possible bug in h.264/avc decoder
Haali Media Splitter + ffdshow r3572 (libavcodec / ffmpeg-mt with 1-4 threads) = corrupted image
Haali Media Splitter + ffdshow r3572 (DVXA enabled) = no corruption



sample
http://www.mediafire.com/?4z2as0yjvnjoage

Last edited by Atak_Snajpera; 5th October 2010 at 10:55.
Atak_Snajpera is offline   Reply With Quote
Old 5th October 2010, 16:30   #12592  |  Link
augur
Registered User
 
Join Date: Apr 2009
Posts: 1
crash when seeking

hi,
since rev.3501 (3500 works fine) when I'm seeking fast (holding & sliding the cursor) with mpc-hc, it crash.

After many tests, i've found that this is caused by the AC3 encoding option (16, 32 & 32 float are ok), absolutely nothing else is activated (i used 48000hz inputs since resample was desactivated).

On the MPC side, i've found that if i disable his filters (avi & mp3 for my tests) it works again.
Going back to previous versions didn't do anything (last try:1.3.1896)

sorry for my poor english & testing abilities , and thanks for all your work.

system: XP sp3. ffdshow x86 regular & icl11

edit: doesn't seem to crash with multichannels tracks (tried ac3,truehd, dts(hd), lpcm)

Last edited by augur; 5th October 2010 at 18:57. Reason: add informations
augur is offline   Reply With Quote
Old 6th October 2010, 12:57   #12593  |  Link
XhmikosR
Registered User
 
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
@clsid: rev3610 broke ffmpeg-mt. It's crashing with every h264 video I've tried while rev3609 works fine.
__________________
My Specs
XhmikosR is offline   Reply With Quote
Old 6th October 2010, 15:53   #12594  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Should be fixed in 3611.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 6th October 2010, 17:31   #12595  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
ffdshow does not render pgs subtitles from a .ts file at all. Internal mpc renderer with EVR-CP renders it fine. Also I want to bump the broken karaoke ssa support in ffdshow problem. Please give some sort of eta of when these problems can be expected to be fixed. Thanks again ffdshow devs.
dansrfe is offline   Reply With Quote
Old 7th October 2010, 16:11   #12596  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
I have a problem with ffdshow expanding the height of the video, repeating lower lines, if it is not MOD 16. But it does that in a rather strange way.

- ffdshow_rev3611_20101006_xvidvideo-ru_x86_icl11
- mpc-homecinema.1.4.2667_(x86)_msvc2010

both from xvidvideo.ru; this effect happened with earlier versions too.

At first I usually had disabled all internal decoders and splitters of MPC-HC where useful, to allow decoding via ffdshow. But it appears that the MPC-HC internal decoder does the same as ffdshow.

The media info dialog in MPC-HC (Shift+F10; Details) shows the following values, depending on ffdshow or MPC-HC wether or not using DXVA for decoding H.264:

a) if DXVA decoding for H.264 is enabled: General { Video size = 640 x 368 }; stream list { Video: MPEG4 Video (H264) 640x360 25.00fps [Video] } -- at least MOD 16
b) if DXVA decoding for H.264 is disabled: General { Video size = 640 x 372 }; stream list { Video: MPEG4 Video (H264) 640x360 25.00fps [Video] } -- not even MOD 16?!

Test files: MP4 or MKV (same content, ~330 KB each)



P.S.: DGIndexNV 2026 and 2030 warn "Stream specifies cropping" (for the MKV) and report the "coded size" as 640x384 (even MOD 32).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 7th October 2010 at 16:25.
LigH is online now   Reply With Quote
Old 7th October 2010, 22:02   #12597  |  Link
jmone
Registered User
 
Join Date: Dec 2007
Posts: 652
Can I confirm a comment in some MADFLAC threads that FLAC decoding in FFDSHOW is only 16-Bit (eg 24-Bit source material is decoded to 16-Bit).
Thanks
Nathan

Last edited by jmone; 7th October 2010 at 23:41.
jmone is offline   Reply With Quote
Old 8th October 2010, 01:04   #12598  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
any chance the DXVA filter can be made to produce the same output as the software-only filter in the following respect...

for interlaced material,
output colorspace - e.g. NV12 only
set interlace flag in output media type

I find this is essential when watching e.g. some Concert Blu-Rays.

just wondering if it's possible!
also could the DXVA filter be somehow rolled into the main filter such that it can be chosen based on a profile rule?
(and is there any way of creating a profile rule to distinguish interlaced from non-interlaced content??)
magic144 is offline   Reply With Quote
Old 8th October 2010, 07:39   #12599  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
Quote:
Originally Posted by jmone View Post
Can I confirm a comment in some MADFLAC threads that FLAC decoding in FFDSHOW is only 16-Bit (eg 24-Bit source material is decoded to 16-Bit).
Thanks
Nathan
Since FLAC decoding in ffdshow is done by libavcodec, the output is indead 16-bit.
Gleb Egorych is offline   Reply With Quote
Old 8th October 2010, 10:43   #12600  |  Link
jmone
Registered User
 
Join Date: Dec 2007
Posts: 652
Thanks - so all 24-Bit sources using libavcodec (eg True-HD) is also only 16bit. Any plans to support 24-bit?
Thanks
Nathan
jmone 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 23:37.


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