View Full Version : DirectShowSource error when encoding 1080i HDTV
Penecho
24th October 2012, 17:46
I get an avisynth error when i try to encode my recordings from HDTV (they are in *.ts format). MeGui tells my there are some filters missing. When i try to open my *.avs with vdub it tells me avisynth error at line 1, which is:
DirectShowSource("X:\Temp\file.ts", fps=25.000, audio=false)
Everything should be installed correctly, since xvid encoding with gknot works flawlessly.
Encoding x264 movies from blurays also works perfectly. But for some reason encoding TV recordings wont work :(
General
ID : 1 (0x1)
Complete name : X:\Temp\test.ts
Format : MPEG-TS
File size : 2.85 GiB
Duration : 44mn 59s
Overall bit rate mode : Variable
Overall bit rate : 9 071 Kbps
Video
ID : 162 (0xA2)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 27
Duration : 44mn 59s
Bit rate : 8 235 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.159
Stream size : 2.59 GiB (91%)
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Atak_Snajpera
24th October 2012, 19:07
haali media splitter and ffdshow installed?
Blue_MiSfit
24th October 2012, 20:24
MPEG-TS is frequently a pain in the ass for open-source encoding workflows. You might need to remux these files into something a bit more friendly like MKV. ffmpeg should be able to do this:
ffmpeg -i input.ts -vcodec copy -acodec copy output.mkv
Derek
Penecho
24th October 2012, 20:31
haali media splitter and ffdshow installed?
Yes, both installed.
It always worked fine under win7, but now that im running win8, for some reason it wont work...
Atak_Snajpera
24th October 2012, 21:44
the same problem in ripbot264?
Penecho
24th October 2012, 22:09
Yes, even have the problem when doing the avs by hand...
IanB
24th October 2012, 22:28
@Penecho,
It would really help if you told us the exact text of the Avisynth error on line 1 that was reported.
Penecho
25th October 2012, 14:25
When i try and open the file in MeGui and chose DiretShowSource it tells me:
Unable to render the file, You probably dont have the right filters installed
When i take an *.avs file from befroe i installed Win8, vdub tells me:
Avisynth open failure: DirectShowSource could not open file myfile.ts, The source filter for that file could not be loaded
When using the Fileindexer and then use:
LoadPlugin("C:\Program Files (x86)\MeGUI_2153_x86\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("X:\file.dga")
it works, but encoding is only half as fast than with DirectShowSource...
Edit: Nope does not work with AVCSource, just ends without any message after ~3%
IanB
25th October 2012, 22:13
Direct Show took a pretty big kick to the head with Windows 7. In Windows 8 I suspect Micro$loth are now beating it with very heavy clubs and kicking it in the ribs.
For Windows 7 the white knights of this forum provided first aide and restored Direct Show to a useful state of health, I guess you should start with investigating the Win7 remediation techniques and see if they can resuscitate Direct Show under Win8.
Micro$oft are now focused on Media Foundation which allows even better DRM control over what they will let us watch.
For your immediate problem I think it may be FFMpegSource to the rescue.
Penecho
25th October 2012, 23:08
Hmm it stops after couple of seconds when using ffmpeg2source:
LoadPlugin("C:\Program Files (x86)\MeGUI_2153_x86\tools\avisynth_plugin\ffms2.dll")
FFVideoSource("X:\Temp\file.ts")
AssumeFPS("pal_film")
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI_2153_x86\tools\yadif\yadif.dll")
Yadif(order=-1)
crop(4, 4, -4, -4)
Spline36Resize(1280,720)
X:\Temp\Attack_in_the_Wild>X:\blabla\in.avs
avs [info]: 1280x720p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.1
[0.3%] 344/100890 frames, 32.28 fps, 185.77 kb/s, eta 0:51:54
X:\blabla\>
Just stops working there after 0,3%
Guest
25th October 2012, 23:19
Maybe your source stream is corrupted.
Penecho
25th October 2012, 23:28
Well i tried 5 different ones, not one did work...
I did exactly what i did back under win7, same program to record (DVBViewer Pro) same program to cut (VideoRedo)...
And i also tried one that i still had that was working under win7
Edit: Just reinstalled avisynth 2.5.8 + haali splitter as admin, now it seems to work
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.