bur
13th May 2013, 19:13
I want to use this mkv in an AVS:
Format : AVC
Format/Info : Advanced Video Codec
Format-Profil : High 10@L5.0
Format-Einstellungen für CABAC : Ja
Format-Einstellungen für ReFrame : 16 frames
Codec-ID : V_MPEG4/ISO/AVC
Dauer : 23min
Breite : 1 280 Pixel
Höhe : 720 Pixel
Bildseitenverhältnis : 16:9
Modus der Bildwiederholungsrate : konstant
Bildwiederholungsrate : 23,976 FPS
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 10 bits
Scantyp : progressiv
verwendete Encoder-Bibliothek : x264 core 116 r2037+602 fbce75d
This is the AVS:
raw=DirectShowSource("video.mkv", audio=false)
conv=ConvertToYV12(raw)
return conv
The encoding finished without errors or warnings. But the video only consists of a grey color. I opened the AVS in MPC (both including and omitting the conversion part) and got the same grey picture.
When I open the source file with MPC all works well.
I checked and the problem seems to be that DirectShowSource opens the video using the internal Win 7 decoder while opening the mkv file in MPC correctly uses ffdshow. Graphedit also didn't use ffdshow to render the video.
I reinstalled ffdshow, but this didn't help.
I guess if I can tell Windows to use ffdshow for this kind of video DirectShowSource will work and hence the encoding. So how would I do that?
Also is there a way to tell Avisynth to use specific filters?
And last, I read somewhere that DirectShowSource is not the recommended way to open files in AVS but rather for example ffmpeg. What are the advantages (I guess it might solve this specific problem, but are there others)?
Format : AVC
Format/Info : Advanced Video Codec
Format-Profil : High 10@L5.0
Format-Einstellungen für CABAC : Ja
Format-Einstellungen für ReFrame : 16 frames
Codec-ID : V_MPEG4/ISO/AVC
Dauer : 23min
Breite : 1 280 Pixel
Höhe : 720 Pixel
Bildseitenverhältnis : 16:9
Modus der Bildwiederholungsrate : konstant
Bildwiederholungsrate : 23,976 FPS
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 10 bits
Scantyp : progressiv
verwendete Encoder-Bibliothek : x264 core 116 r2037+602 fbce75d
This is the AVS:
raw=DirectShowSource("video.mkv", audio=false)
conv=ConvertToYV12(raw)
return conv
The encoding finished without errors or warnings. But the video only consists of a grey color. I opened the AVS in MPC (both including and omitting the conversion part) and got the same grey picture.
When I open the source file with MPC all works well.
I checked and the problem seems to be that DirectShowSource opens the video using the internal Win 7 decoder while opening the mkv file in MPC correctly uses ffdshow. Graphedit also didn't use ffdshow to render the video.
I reinstalled ffdshow, but this didn't help.
I guess if I can tell Windows to use ffdshow for this kind of video DirectShowSource will work and hence the encoding. So how would I do that?
Also is there a way to tell Avisynth to use specific filters?
And last, I read somewhere that DirectShowSource is not the recommended way to open files in AVS but rather for example ffmpeg. What are the advantages (I guess it might solve this specific problem, but are there others)?