well... I haven't tried it but I find you will be able to do it becasue the JMF part I bypass is the DataSource one. Read the JMF documentation about including filters after the decoders. This should work fine. Please report back any results you get. Thanks!
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well what I'm trying to do basically is create a processor to read mp3 files (among others) with the omnividea codec, and add a post-processing pitch shifting effect. Here's the exception I get:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6b1f4c4f, pid=2988, tid=3992
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing)
# Problematic frame:
# C [fobs4jmf.dll+0x274c4f]
#
--------------- T H R E A D ---------------
Current thread (0x00035920): JavaThread "main" [_thread_in_native, id=3992]
Other Threads:
0x00a66790 VMThread [id=1116]
0x00a6c510 WatcherThread [id=4024]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 371K [0x22a70000, 0x22b10000, 0x22f50000)
eden space 512K, 67% used [0x22a70000, 0x22ac5ff8, 0x22af0000)
from space 64K, 42% used [0x22b00000, 0x22b06db0, 0x22b10000)
to space 64K, 0% used [0x22af0000, 0x22af0000, 0x22b00000)
tenured generation total 1408K, used 715K [0x22f50000, 0x230b0000, 0x26a70000)
the space 1408K, 50% used [0x22f50000, 0x23002cd0, 0x23002e00, 0x230b0000)
compacting perm gen total 8192K, used 936K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 11% used [0x26a70000, 0x26b5a330, 0x26b5a400, 0x27270000)
ro space 8192K, 66% used [0x2aa70000, 0x2afc0a70, 0x2afc0c00, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b803ce0, 0x2b803e00, 0x2be70000)
Hi,
Have you been able to solve the bug? When are you releasing 0.3. I'm working with the linux version right now and I get the same bug. This happens everytime I run the app from netbeans, haven't tried from command line. Has anyone encountered the same problem?
Cheers ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm sorry for any incoveniences this is causing you... I think your problem is realted to the lack of video stream in your files. I begun Fobs project mainly to deal with video.. This means that the decoder controls time stamps using those of the video stream (in case there wasn't audio). Now, with a increasing community of users, I'm beggining to realice that it isn't enough.
I have taken note of your problem. Believe me....I'm doing a huge effort to release Fobs-0.3pre1. There are so many details one have to take into account! I think Fobs-0.3 will need quickly a pre2 version, because I didnt have the time to test it in deep. I hope the community helps to debug it properly. I will consider including audio time stamps for pre2 version.
Thanks for using fobs.
Cheers!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I want to add an Effect at the end of my flow graph. Is it possible with fobs? Also, does it read mp3s?
Thanx
Hi,
well... I haven't tried it but I find you will be able to do it becasue the JMF part I bypass is the DataSource one. Read the JMF documentation about including filters after the decoders. This should work fine. Please report back any results you get. Thanks!
Cheers
Well what I'm trying to do basically is create a processor to read mp3 files (among others) with the omnividea codec, and add a post-processing pitch shifting effect. Here's the exception I get:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6b1f4c4f, pid=2988, tid=3992
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing)
# Problematic frame:
# C [fobs4jmf.dll+0x274c4f]
#
--------------- T H R E A D ---------------
Current thread (0x00035920): JavaThread "main" [_thread_in_native, id=3992]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000002d
Registers:
EAX=0x00000001, EBX=0x26b585b8, ECX=0x00000000, EDX=0x03235008
ESP=0x0007f780, EBP=0x0007f780, ESI=0x26b585b8, EDI=0x00035920
EIP=0x6b1f4c4f, EFLAGS=0x00010212
Top of Stack: (sp=0x0007f780)
0x0007f780: 0007f7f0 6af826ae 0326b008 00000000
0x0007f790: 406b3b64 6d6fa761 00035378 6d6ad828
0x0007f7a0: 027f0c7f 00000001 00000000 00000000
0x0007f7b0: 00000001 0007f7b8 00000000 00000000
0x0007f7c0: 00000000 00000000 00000000 00000000
0x0007f7d0: 00000000 00000000 00000000 00000000
0x0007f7e0: 00000000 00000000 26b585b8 26b585b8
0x0007f7f0: 0007f810 6af81397 0326b008 00035920
Instructions: (pc=0x6b1f4c4f)
0x6b1f4c3f: 8b 45 08 8b 50 50 8b 45 08 8b 40 04 8b 44 82 5c
0x6b1f4c4f: 8b 40 2c 5d c3 55 89 e5 8b 45 0c 5d c3 90 90 90
Stack: [0x00040000,0x00080000), sp=0x0007f780, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [fobs4jmf.dll+0x274c4f]
C [fobs4jmf.dll+0x26ae]
C [fobs4jmf.dll+0x1397]
j com.omnividea.media.parser.video.Parser.avOpen(I)Z+0
j com.omnividea.media.parser.video.Parser.setSource(Ljavax/media/protocol/DataSource;)V+67
j com.sun.media.BasicSourceModule.createDemultiplexer(Ljavax/media/protocol/DataSource;)Ljavax/media/Demultiplexer;+71
j com.sun.media.BasicSourceModule.createModule(Ljavax/media/protocol/DataSource;)Lcom/sun/media/BasicSourceModule;+1
j com.sun.media.PlaybackEngine.setSource(Ljavax/media/protocol/DataSource;)V+2
j com.sun.media.MediaProcessor.setSource(Ljavax/media/protocol/DataSource;)V+5
j javax.media.Manager.createProcessorForSource(Ljavax/media/protocol/DataSource;Ljava/lang/String;[Z)Ljavax/media/Processor;+57
j javax.media.Manager.createProcessorForContent(Ljavax/media/MediaLocator;ZLjava/util/Hashtable;)Ljavax/media/Processor;+105
j javax.media.Manager.createProcessor(Ljavax/media/MediaLocator;)Ljavax/media/Processor;+26
j javax.media.Manager.createProcessor(Ljava/net/URL;)Ljavax/media/Processor;+8
j sqltest.MMPlayer.<init>(Ljava/net/URL;)V+5
j sqltest.MMPlayer.main([Ljava/lang/String;)V+15
v ~StubRoutines::call_stub
V [jvm.dll+0x81663]
V [jvm.dll+0xd3b5d]
V [jvm.dll+0x81534]
V [jvm.dll+0x8841c]
C [java.exe+0x14c0]
C [java.exe+0x64cd]
C [kernel32.dll+0x1eb69]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.omnividea.media.parser.video.Parser.avOpen(I)Z+0
j com.omnividea.media.parser.video.Parser.setSource(Ljavax/media/protocol/DataSource;)V+67
j com.sun.media.BasicSourceModule.createDemultiplexer(Ljavax/media/protocol/DataSource;)Ljavax/media/Demultiplexer;+71
j com.sun.media.BasicSourceModule.createModule(Ljavax/media/protocol/DataSource;)Lcom/sun/media/BasicSourceModule;+1
j com.sun.media.PlaybackEngine.setSource(Ljavax/media/protocol/DataSource;)V+2
j com.sun.media.MediaProcessor.setSource(Ljavax/media/protocol/DataSource;)V+5
j javax.media.Manager.createProcessorForSource(Ljavax/media/protocol/DataSource;Ljava/lang/String;[Z)Ljavax/media/Processor;+57
j javax.media.Manager.createProcessorForContent(Ljavax/media/MediaLocator;ZLjava/util/Hashtable;)Ljavax/media/Processor;+105
j javax.media.Manager.createProcessor(Ljavax/media/MediaLocator;)Ljavax/media/Processor;+26
j javax.media.Manager.createProcessor(Ljava/net/URL;)Ljavax/media/Processor;+8
j sqltest.MMPlayer.<init>(Ljava/net/URL;)V+5
j sqltest.MMPlayer.main([Ljava/lang/String;)V+15
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0321fb48 JavaThread "JMF thread: SendEventQueue: com.sun.media.ProcessEngine" [_thread_blocked, id=2900]
0x031ee8b0 JavaThread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" [_thread_blocked, id=2704]
0x031eecd8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2876]
0x00aa66d8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2844]
0x00a6b308 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1492]
0x00a69ee8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2972]
0x00a69248 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1436]
0x00a46cf8 JavaThread "Finalizer" daemon [_thread_blocked, id=2716]
0x00a46aa0 JavaThread "Reference Handler" daemon [_thread_blocked, id=2400]
=>0x00035920 JavaThread "main" [_thread_in_native, id=3992]
Other Threads:
0x00a66790 VMThread [id=1116]
0x00a6c510 WatcherThread [id=4024]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 371K [0x22a70000, 0x22b10000, 0x22f50000)
eden space 512K, 67% used [0x22a70000, 0x22ac5ff8, 0x22af0000)
from space 64K, 42% used [0x22b00000, 0x22b06db0, 0x22b10000)
to space 64K, 0% used [0x22af0000, 0x22af0000, 0x22b00000)
tenured generation total 1408K, used 715K [0x22f50000, 0x230b0000, 0x26a70000)
the space 1408K, 50% used [0x22f50000, 0x23002cd0, 0x23002e00, 0x230b0000)
compacting perm gen total 8192K, used 936K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 11% used [0x26a70000, 0x26b5a330, 0x26b5a400, 0x27270000)
ro space 8192K, 66% used [0x2aa70000, 0x2afc0a70, 0x2afc0c00, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b803ce0, 0x2b803e00, 0x2be70000)
Dynamic libraries:
0x00400000 - 0x0040c000 C:\Program Files\Java\jdk1.5.0\bin\java.exe
0x77f40000 - 0x77fed000 C:\WINDOWS\System32\ntdll.dll
0x77e40000 - 0x77f35000 C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e3c000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x7806f000 C:\WINDOWS\system32\RPCRT4.dll
0x77be0000 - 0x77c33000 C:\WINDOWS\system32\MSVCRT.dll
0x6d630000 - 0x6d7b4000 C:\Program Files\Java\jdk1.5.0\jre\bin\client\jvm.dll
0x77d10000 - 0x77d96000 C:\WINDOWS\system32\USER32.dll
0x77c40000 - 0x77c7e000 C:\WINDOWS\system32\GDI32.dll
0x76ae0000 - 0x76b0e000 C:\WINDOWS\System32\WINMM.dll
0x76320000 - 0x7633a000 C:\WINDOWS\System32\IMM32.DLL
0x62dc0000 - 0x62dc8000 C:\WINDOWS\System32\LPK.DLL
0x72ef0000 - 0x72f4a000 C:\WINDOWS\System32\USP10.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jdk1.5.0\jre\bin\hpi.dll
0x76ba0000 - 0x76bab000 C:\WINDOWS\System32\PSAPI.DLL
0x6d600000 - 0x6d60c000 C:\Program Files\Java\jdk1.5.0\jre\bin\verify.dll
0x6d2f0000 - 0x6d30d000 C:\Program Files\Java\jdk1.5.0\jre\bin\java.dll
0x6d620000 - 0x6d62f000 C:\Program Files\Java\jdk1.5.0\jre\bin\zip.dll
0x6d000000 - 0x6d166000 C:\Program Files\Java\jdk1.5.0\jre\bin\awt.dll
0x72f50000 - 0x72f73000 C:\WINDOWS\System32\WINSPOOL.DRV
0x77170000 - 0x77283000 C:\WINDOWS\system32\ole32.dll
0x51000000 - 0x51047000 C:\WINDOWS\System32\ddraw.dll
0x73b10000 - 0x73b16000 C:\WINDOWS\System32\DCIMAN32.dll
0x5c000000 - 0x5c0c8000 C:\WINDOWS\System32\D3DIM700.DLL
0x6d240000 - 0x6d27e000 C:\Program Files\Java\jdk1.5.0\jre\bin\fontmanager.dll
0x60000000 - 0x6004c000 C:\WINDOWS\System32\MSCTF.dll
0x10000000 - 0x10028000 F:\Omnipage Pro 12.0\ophook12.dll
0x770e0000 - 0x7716b000 C:\WINDOWS\system32\OLEAUT32.dll
0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\VERSION.dll
0x77390000 - 0x77b8d000 C:\WINDOWS\system32\shell32.dll
0x63180000 - 0x631e4000 C:\WINDOWS\system32\SHLWAPI.dll
0x71950000 - 0x71a34000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a\comctl32.dll
0x77300000 - 0x7738b000 C:\WINDOWS\system32\comctl32.dll
0x03830000 - 0x03845000 C:\WINDOWS\SYSTEM32\jmutil.dll
0x6af80000 - 0x6b688000 C:\Program Files\Java\jdk1.5.0\jre\lib\ext\fobs4jmf.dll
VM Arguments:
java_command: sqltest.MMPlayer
Environment Variables:
CLASSPATH=.;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\WINDOWS\java\classes;.
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS\FONTS;C:\JDK1.3\BIN;C:\PROGRA~1\PERSONAL;C:\WINDOWS\system32\WBEM;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS\FONTS;C:\JDK1.3\BIN;;C:\PROGRA~1\PERSONAL
USERNAME=Sennay
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600
CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse
Memory: 4k page, physical 261684k(44576k free), swap 535396k(99120k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0-beta2-b51) for windows-x86, built on May 13 2004 02:09:25 by "java_re" with MS VC++ 6.0
PS: I'm trying to download the linux .tgz to build fobs using MinGW, I can't seem to open it with winzip 8.0, maybe is it corrupted?
Hi,
Have you been able to solve the bug? When are you releasing 0.3. I'm working with the linux version right now and I get the same bug. This happens everytime I run the app from netbeans, haven't tried from command line. Has anyone encountered the same problem?
Cheers ;-)
Hi there,
I'm sorry for any incoveniences this is causing you... I think your problem is realted to the lack of video stream in your files. I begun Fobs project mainly to deal with video.. This means that the decoder controls time stamps using those of the video stream (in case there wasn't audio). Now, with a increasing community of users, I'm beggining to realice that it isn't enough.
I have taken note of your problem. Believe me....I'm doing a huge effort to release Fobs-0.3pre1. There are so many details one have to take into account! I think Fobs-0.3 will need quickly a pre2 version, because I didnt have the time to test it in deep. I hope the community helps to debug it properly. I will consider including audio time stamps for pre2 version.
Thanks for using fobs.
Cheers!