NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 412 413 414 415 416 … 433 Next »
nPVR and DVD playback using FFDshow Audio and Video decoder = black screen

nPVR and DVD playback using FFDshow Audio and Video decoder = black screen
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#1
2010-08-17, 09:19 AM
The question are simple - why it does not work if FFDShow is in use? Playback start, i can hear audio, graph is builded correctly but there is only blackscreen. Tested on Win XP and Win7 - same result.

Yes, it is working with PDVD video decoder, but that is not solution...

FFDshow have some + comparing to PDVD decoder like:

+it is free
+can output MPEG-2 to NV12 (21) = hardware deinterlacing
+crop black borders
+gamma corection to make black=black (not gray)
+no problems with DVD navigation (highlighted buttons if EVR is in use on Vista/Win7) = no need to use Line 21 decoder

This solution working great in most of other player like MPC-HC, MediaPortal, etc... but not in nPVR.

LOG: (nothing interesting here...)
Code:
2010-08-17 11:01:19.453    [DEBUG][1]    Adding VMR9 renderer
2010-08-17 11:01:19.562    [DEBUG][1]    about to load video decoder
2010-08-17 11:01:19.656    [DEBUG][1]    about to load audio decoder
2010-08-17 11:01:20.453    [DEBUG][1]    Graph filter list:
2010-08-17 11:01:20.468    [DEBUG][1]     - Default DirectSound Device
2010-08-17 11:01:20.468    [DEBUG][1]     - Video Mixing Renderer 9
2010-08-17 11:01:20.468    [DEBUG][1]     - ffdshow Audio Decoder
2010-08-17 11:01:20.468    [DEBUG][1]     - ffdshow Video Decoder
2010-08-17 11:01:20.468    [DEBUG][1]     - DVD Navigator
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x000d
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0104
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0106
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0102
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0107
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0108
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0101
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x000e
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0101
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0103
2010-08-17 11:01:20.531    [DEBUG][1]    GetEventCode() returned: 0x0104
2010-08-17 11:01:20.578    [DEBUG][1]    GetEventCode() returned: 0x0108
2010-08-17 11:01:20.578    [DEBUG][1]    GetEventCode() returned: 0x010b
2010-08-17 11:01:20.828    [DEBUG][1]    GetEventCode() returned: 0x0053
2010-08-17 11:01:20.828    [DEBUG][1]    GetEventCode() returned: 0x000a
2010-08-17 11:01:20.828    [DEBUG][1]    GetEventCode() returned: 0x000a
2010-08-17 11:01:20.828    [DEBUG][1]    GetEventCode() returned: 0x010b
2010-08-17 11:01:27.109    [INFO][1]    GetCurrentMetadata()
2010-08-17 11:01:27.109    [DEBUG][1]    Current meta data:
<ServiceInformation>

  <Service>

  <Streams>

  </Streams>

  </Service>

</ServiceInformation>


2010-08-17 11:01:27.125    [INFO][1]    GetCurrentMetadata()
2010-08-17 11:01:27.125    [DEBUG][1]    Current meta data:
<ServiceInformation>

  <Service>

  <Streams>

  </Streams>

  </Service>

</ServiceInformation>


2010-08-17 11:01:30.203    [DEBUG][1]    PlaybackPositionHelper.StorePlaybackPosition(C:\dvd\\video_ts, 1, 54)
2010-08-17 11:01:30.328    [DEBUG][1]    Stopping graph@3
2010-08-17 11:01:30.328    [DEBUG][1]    Removing filter  Default DirectSound Device
2010-08-17 11:01:30.328    [DEBUG][1]    Removing filter  Video Mixing Renderer 9
2010-08-17 11:01:30.328    [DEBUG][1]    Removing filter  ffdshow Audio Decoder
2010-08-17 11:01:30.343    [DEBUG][1]    Removing filter  ffdshow Video Decoder
2010-08-17 11:01:30.468    [DEBUG][1]    Removing filter  DVD Navigator
2010-08-17 11:01:30.593    [DEBUG][1]    DoCompositeRendering() took 125ms
2010-08-17 11:01:30.781    [DEBUG][1]    DoCompositeRendering() took 109,375ms
2010-08-17 11:01:30.968    [DEBUG][1]    DoCompositeRendering() took 109,375ms
2010-08-17 11:01:31.156    [DEBUG][1]    DoCompositeRendering() took 109,375ms
2010-08-17 11:01:31.343    [DEBUG][1]    DoCompositeRendering() took 109,375ms
2010-08-17 11:01:31.531    [DEBUG][1]    DoCompositeRendering() took 109,375ms
2010-08-17 11:01:31.718    [DEBUG][1]    DoCompositeRendering() took 109,375ms
2010-08-17 11:01:31.906    [DEBUG][1]    DoCompositeRendering() took 109,375ms
2010-08-17 11:01:32.046    [INFO][1]    RecordingService.Shutdown()
2010-08-17 11:01:32.218    [INFO][1]    Exiting...
2010-08-17 11:01:32.218    [INFO][1]    Done.
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2010-08-17, 04:37 PM
hoborg Wrote:The question are simple - why it does not work if FFDShow is in use? Playback start, i can hear audio, graph is builded correctly but there is only blackscreen. Tested on Win XP and Win7 - same result.

Yes, it is working with PDVD video decoder, but that is not solution...

FFDshow have some + comparing to PDVD decoder like:

+it is free
+can output MPEG-2 to NV12 (21) = hardware deinterlacing
+crop black borders
+gamma corection to make black=black (not gray)
+no problems with DVD navigation (highlighted buttons if EVR is in use on Vista/Win7) = no need to use Line 21 decoder
Is the graph it is building correct, and does the same graph work for you in GraphEdit? ie, NPVR doesnt really play any in DVD playback, it just builds the graph and calls Run.
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#3
2010-08-17, 05:02 PM
sub Wrote:Is the graph it is building correct, and does the same graph work for you in GraphEdit? ie, NPVR doesnt really play any in DVD playback, it just builds the graph and calls Run.

Yes, graph seems to be correct:

nPVR: (no idea why there are two EVR renderers - ?maybe this is the issue?)
[Image: nPVR.png]

MPC-HC:
[Image: MPC-HC.PNG]

I can create graph manually in Graphstudio, but i have no idea how to link DVD navigator with DVD files on disc...
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2010-08-17, 05:08 PM
Yeah, I'm guessing it is some how related to that second renderer. If you try it with VMR9, does it work?
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#5
2010-08-17, 05:47 PM
Nope, blacks screen with all renderers:
[Image: nPVR-VMR9.png]
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#6
2010-08-17, 05:57 PM
I went to check it here, but I cant get ffdshow to hookup to the navigator here in GraphEdit. Is there some special setting I need to enable in the ffdshow settings? I have MPEG2 enabled in the ffdshow codec list.
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#7
2010-08-17, 06:07 PM
Check if you enable DVD decoding (on MPEG-2 codec) in FFDShow setting or try SAF5, all is already predefined here. SAF 5 have special profiles created for MPEG-2 (LiveTV/DVD) to make it look as best as possible.
BTW, thanks for your time looking on this issue.
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2010-08-17, 06:55 PM
which codec are you using for mpeg2? libavcodec or libmpeg2?
[both in current tryouts are dvd enabled]
libmpeg2 always was most compatible for me, but libavcodec has come a long way...
[only libmpeg2 use to do dvd decode, it's new for libavcodec]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#9
2010-08-17, 07:03 PM
aha,i got it working for me by unselecting yuy2 and forcing only nv12 output...[used libavcodec and evr on xp]
confirmed by setting back and forth, yuy2 + yv12 = black screen, yv12 only = good...
[yuy2 is always preferred if available, i wish it were the opposite..backwards priority, giving nv12 hardware accell if available, and only going to lesser colorspaces if no hw available]
but that's a ffdshow issue..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#10
2010-08-17, 07:05 PM
hoborg Wrote:Check if you enable DVD decoding (on MPEG-2 codec) in FFDShow setting
I eventually found that checkbox. After enabling it, the decoders hoooked up, but the video was black. If I connect to the graph in GraphEdit, pause the graph, break the Navigator SubPicture -> ffdshow 'InText' pin connection, then hit play, the video plays fine. So its something funny about the ffdshow subpicture support.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  decoder issue? some channels don't play Donsch 10 5,151 2023-12-04, 10:19 PM
Last Post: turkeypets
  Missing Audio NND 39 8,480 2023-06-24, 01:42 PM
Last Post: mvallevand
Information Audio Video Sync Fixed with AC3Filter! gearsofwoe 0 1,070 2022-11-18, 04:36 AM
Last Post: gearsofwoe
  npvr is not responding johndutcher 3 1,492 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,864 2022-04-14, 04:33 AM
Last Post: Antmannz
  Need help with MPEG2 decoder for Windows10 ZachE1 9 12,187 2022-02-23, 03:42 PM
Last Post: sub
  nPVR Continually Wakes PC bfos 23 11,164 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,690 2022-01-03, 04:45 AM
Last Post: mvallevand
  Comskip Playback Odd Behavior kirschey 3 1,683 2021-09-27, 06:16 PM
Last Post: sub
  Missing Audio - Switching from MPEG-1 to AC3 and vice versa NumberFive 15 4,335 2021-05-06, 01:57 AM
Last Post: raymondjpg

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode