Permalink
Browse files

hopefully fix, 0.3.6 release

  • Loading branch information...
1 parent 5c605ec commit 6d27c6188011857af60c8815e1a4a45832e4660a @rdp committed Aug 20, 2012
View
@@ -1,3 +1,12 @@
+0.3.6
+
+hopefully fix ffmpeg complaining like:
+
+[libmp3lame @ 00670aa0] Que input is backward in time
+Audio timestamp 329016 < 329026 invalid, cliping00:05:29.05 bitrate= 738.6kbits/s
+[libmp3lame @ 00670aa0] Que input is backward in time
+
+
0.3.5
bug fixes in recording
@@ -1,4 +1,4 @@
-#define AppVer "0.3.5"
+#define AppVer "0.3.6"
#define AppName "Virtual Audio Capture Grabber"
Binary file not shown.
@@ -1,10 +1,13 @@
-open in visual studio
-
TODO:
-msvad is the only way
-
+msvad is the only way for WME probably...
// TODO tell them here: http://social.msdn.microsoft.com/forums/en-us/windowsdirectshowdevelopment/thread/F9F656CC-FBD5-4F78-B2D5-EF3214274795
// http://msdn.microsoft.com/en-us/library/dd317587%28VS.85%29.aspx lists some more filter interfaces...
-http://blogs.msdn.com/b/matthew_van_eerde/archive/2011/09/09/how-to-validate-and-log-a-waveformatex.aspx maybe to output what other things give us?
+http://blogs.msdn.com/b/matthew_van_eerde/archive/2011/09/09/how-to-validate-and-log-a-waveformatex.aspx maybe to output what other things give us?
+
+maybe a straight verbatim copy instead of my 16-bit hack? Except did things like VLC need that to work?
+WAVE_FORMAT_EXTENSIBLE
+
+maybe try these, see if they work:
+http://betterlogic.com/roger/2010/07/directsound-audio-input-filter-exampledemo/
@@ -46,7 +46,7 @@ HRESULT CVCamStream::FillBuffer(IMediaSample *pms)
CRefTime sampleTimeUsed = (REFERENCE_TIME)(UNITS * pms->GetActualDataLength()) /
(REFERENCE_TIME)pwfexCurrent->nAvgBytesPerSec;
CRefTime rtStart;
- if(true) { // bFirstPacket or true here...true seemed to help that one guy...
+ if(bFirstPacket) { // bFirstPacket or true here...true seemed to help that one guy...
m_pParent->StreamTime(rtStart); // gets current graph ref time [now] as its "start", as normal "capture" devices would, just in case that's better...
if(bFirstPacket)
ShowOutput("retrieving a first packet");
@@ -62,6 +62,10 @@ HRESULT CVCamStream::FillBuffer(IMediaSample *pms)
// CRefTime cur_time;
// m_pParent->StreamTime(cur_time);
// rtStart = max(rtStart, cur_time);
+ // hopefully this avoids this message/error:
+ // [libmp3lame @ 00670aa0] Que input is backward in time
+ // Audio timestamp 329016 < 329026 invalid, cliping00:05:29.05 bitrate= 738.6kbits/s
+ // [libmp3lame @ 00670aa0] Que input is backward in time
}
// I once tried to change it to always have monotonicity of timestamps at this point, but it didn't fix any problems, and seems to do all right without it so maybe ok [?]
Binary file not shown.

0 comments on commit 6d27c61

Please sign in to comment.