Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (20) « First ... 18 19 [20]  ( Go to first unread post )
Directshow Input Driver, 0.1
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
phaeron
Posted: Dec 27 2012, 11:12 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



The assert looks like an async call not getting completed... a problem, but it shouldn't affect audio as that's on an entirely separate engine. Haven't seen that one before... any idea what's tripping it?

The audio situation, however, is a mess. Here's what I'm getting out of the WMA decoder on a test file:
CODE

SampleGrabber[audio grabber]: Raw receiving [24480000, 25120000]
SampleGrabber[audio grabber]: Raw receiving [25120000, 26400000]
SampleGrabber[audio grabber]: Raw receiving [25250000, 26190000]
SampleGrabber[audio grabber]: Raw receiving [26190000, 27470000]
SampleGrabber[audio grabber]: Raw receiving [27440000, 27780000]
SampleGrabber[audio grabber]: Raw receiving [27780000, 29060000]
SampleGrabber[audio grabber]: Raw receiving [29350000, 29990000]
SampleGrabber[audio grabber]: Raw receiving [29990000, 31270000]
SampleGrabber[audio grabber]: Raw receiving [31400000, 32280000]


The timestamps are basically garbage -- gaps between some samples and overlap with others. One of the samples is even entirely inside one of the others.

The reason the audio drops out is that the plugin is returning 0 samples to VirtualDub, which then causes the audio path to stop. That could be fixed by some dummy data, but it won't fix the problem that timestamp-based sync is just unworkable with timestamps this unstable and the audio will be full of glitches anyway. Another strategy would be needed here.
 
    Top
dloneranger
Posted: Dec 28 2012, 12:46 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



no idea about the cause

I've been playing with different workarounds and almost gave up on wmv as a format

Tried using ffmpeg to convert the audio, copy the video and output a new wmv file
The audio still stops when that assert is hit

Tried using fcchandlers wmv plugin to load the original and the converted one
<=v2.6 gives lots of garbage audio, and >2.6 is broken for pcm audio (in the audio view, the display barely moves by the time the video if half way through, oh and it crashes a lot as well access violation in ReadData)
Unfortunately there's a lot of changes between 2.6 and 2.7 - too many for my limited time and c++ knowledge so far

Avisynth works fine though

Soooo....
Ended up with a script that-> ffmpeg copys the wmv to a new wmv with pcm audio, creates an avs script and adds it to the queue to be converted into lagarith, which gives me a workable editing solution
- the convert to pcm is just to stop any sync errors that always seem to creep into avisyth with its directshowsource

It's hacky, but so far it's reliable and glitch free

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
commander_keen
Posted: Sep 10 2013, 10:34 PM


Newbie


Group: Members
Posts: 2
Member No.: 37104
Joined: 10-September 13



When trying to open a MOV-file from a CANON compact camera, the following error occurs:
---------------------------
Unable to set filename on media detector: hr = 80004005
---------------------------


Details on the file:
CODE

Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 53,3 MiB
Duration                                 : 21s 730ms
Overall bit rate                         : 20,6 Mbps

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L4.1
Format settings, CABAC                   : Nein
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=12
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 21s 730ms
Bit rate                                 : 19,0 Mbps
Width                                    : 1 280 Pixel
Height                                   : 720 Pixel
Display aspect ratio                     : 16:9
Frame rate mode                          : konstant
Frame rate                               : 23,976 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : progressiv
Bits/(Pixel*Frame)                       : 0.861
Stream size                              : 49,3 MiB (92%)
Language                                 : Englisch


Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : sowt
Duration                                 : 21s 730ms
Bit rate mode                            : konstant
Bit rate                                 : 1 536 Kbps
Channel(s)                               : 2 Kanäle
Channel positions                        : Front: L R
Sampling rate                            : 48,0 KHz
Bit depth                                : 16 bits
Stream size                              : 3,98 MiB (7%)


Interestingly enough I was able to convert the MOV to AVI with MP4CAM2AVI (using "direct stream copy" for the video encoding, so no change) and VirtualDub would load that avi then.
Just a problem with the mov-container?
 
     Top
dloneranger
Posted: Sep 11 2013, 05:16 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Do you have a splitter installed that can handle them?
LAVFilters splitter or Haali media splitter can
https://code.google.com/p/lavfilters/
http://haali.su/mkv/

On win7 or greater, you may need to change it's preferred decoders with Windows7 Codec Chooser (link in my sig)
Change them from the windows own ones to FFDshows for any that don't want to play nice


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
commander_keen
Posted: Sep 11 2013, 07:33 PM


Newbie


Group: Members
Posts: 2
Member No.: 37104
Joined: 10-September 13



Thanks for your fast and detailed response.
I have Haali media splitter installed. (WinXP)
Uninstalled it. Installed lavfilters. That works.

Thank you for your nice work.
 
     Top
trodas
  Posted: Oct 10 2013, 12:05 AM


Advanced Member


Group: Members
Posts: 88
Member No.: 22291
Joined: 22-October 07



After a fccHandler MKV input plugin failed to detect AC3 5.1 audio in my file:
http://forums.virtualdub.org/index.php?act...ST&f=15&t=21813

And ffMpeg input filter failed to work:
http://forums.virtualdub.org/index.php?act...t=90#entry94243

...I resorted to DirectShow input driver. That did work... for a second. I cuting and exporting from movie a small part of it, with added subtitles and little downsize...
And I get about 1sec of the audio, lol.

Not exactly good, but whatever. So I reporting my fail.

The file is 4.6G in size (The Running Man.mkv) and I can upload it somewhere for testing, but don't know where (okay, the czech ulozto.cz site will work and even for english guy is the downloading just a matter of the captcha and wait, it goes in free mode at about 300k) to put it and where to place the link, as this is basicaly a copyrighted material.
PM perhaps?

So is there even interest to look at this?

(the encoded part if MUCH shorter, yet like I say, the audio is only for second, then it's volume get down to zero... http://www.sendspace.com/file/o6cijz )

--------------------
"It is dangerous to be right in matters on which the established authorities are wrong." - Voltaire
...just keep folding, just keep folding... :) my config - my caps
 
         Top
campdude
Posted: Oct 22 2013, 03:35 AM


Newbie


Group: Members
Posts: 6
Member No.: 36242
Joined: 12-March 13



This plugin is awesome. Did the trick!
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
291 replies since Jan 10 2008, 05:09 AM Track this topic | Email this topic | Print this topic
Pages: (20) « First ... 18 19 [20] 
<< Back to VirtualDub Filters and Filter Development