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 > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 29th June 2009, 22:24   #1  |  Link
bartnovsky
Registered User
 
Join Date: Feb 2009
Location: Russia, Moscow
Posts: 29
DirectShow access crash

I need to simultaneously capture and encode video(via x264) and sound(via ffmpeg to mp3, for example) from BlackMagic Intensity capture card. Here is simple script, which i used for this purpose:
v = DirectShowSource("video.grf", audio=false, fps=25, framecount=4000).ConvertToYV12
a = DirectShowSource("sound.grf", video=false, fps=25, framecount=4000)
AudioDub(a,v)
where "video.grf" and "sound.grf" are the corresponding capture graphs. When i launch encoding separately, everything is fine. But parallel starting of encoding processes from command line leads to breakdown of the one (the other is working correctly at the same time). Here are examples of error messages:
[ffmpeg]:
Input #0, avs, from 'sony_1080i.avs':
Duration: 00:00:10.00, start: 0.000000, bitrate: 0 kb/s
Stream #0.0: Video: rawvideo, rgb32, 804x80, 49397 kb/s, 24.00 tb(r)
Output file does not contain any stream
[x264]:
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'sony_1080i.avs'
The usage of two separate avs scripts cannot solve this problem. Everything is fine also when i use *.avi clip in the first call of DirectShowSource. Could anyone help or suggest more convenient way to achive the goal described above?
bartnovsky is offline   Reply With Quote
 

Tags
avisynth, directshowsource, intencity, video capture

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:29.


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