directshow.net


File writer filter creating a bigger AVI file then original


I am using the SampleGrabber filter to get the frames of an AVI file and alter them before writing them to another (new) AVI file using the File writer filter.
The problem that I am facing is that the new AVI file size is greater then the original file. I removed the SampleGrabber filter thinking that it might be my code causing the problem, but still the new file size is greater then the original file. I tested it with graphedit.
The filters used were File reader->AVI Splitter->AVI Mux->File writer.
I really want to preserve the file size. Is there any other filter or property that I have to set. At the moment I am only adding the Filters in GraphBuilder and rendering the file.
I am using DirectShowLib.Net.
I just did a quick test using
File source (async) -> AVI splitter -> AVI mux -> file writer
in graphedit and the output file always seems to come out the same size as the input for me. The only thing I can think of is that your input file might be compressed. It might be worth inspecting the input file with an app like gspot to determine that. As I understand it DirectShow will sometimes insert appropriate filters in order to make a connection, so if you're trying to connect your file source to an AVI splitter it may insert a decompressor if needed. Hope that's of some use

Related Links

text overlay issue?
Chaining Shader Effects
MP4 Fast Forward/Rewind
Can I get timecode from directshow video?
Use specific codec or ffdshow folder with DirectShowLib?
File writer filter creating a bigger AVI file then original

Categories

HOME
flask
android-espresso
memory
adfs3.0
paypal-ipn
concurrency
code-formatting
adobe
informatica
websocket
azure-mobile-services
video-streaming
fireloop
slide
colors
feature-extraction
freertos
smartgwt
global-variables
tfsbuild
bosun
liferay-6.2
animated-gif
python-appium
beego
echosign
acrobat
openbr
envoy
adminer
xerces-c
subclassing
cloudera-sentry
dagger
apache-toree
type-inference
music21
liteide
realstudio
autorelease
sonarqube5.2
subforms
line-intersection
sequence-diagram
mongodb-aggregation
test-data
glassfish-4.1
case-when
.when
boost-compute
livecycle
jsf-2.3
spring-mongo
apple-configurator
gravatar
jsr363
univocity
textpattern
miniconda
gql
green-threads
angular-amd
ipod
findersync
mod-auth-openidc
directorysearcher
rebar
otl
webautomation
git-reset
forio-contour
cidr
property-injection
apache-shindig
unrealscript
delphi-xe4
web-frameworks
mongo-jackson-mapper
asp.net-mvc-3-areas
fbml
infopath-2007
glassfish-esb
snackjs
server-variables
tablet-pc
airprint
ognl
3des
pyjamas
suphp
outlook-2007-addin
browser-based
autobench
error-detection

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App