I try to use fobs & jmf plugin to open a file of mpeg-transport stream (supported by ffmpeg) and it report some exceptions and an error that suddenly finished the program.
See below the report for exception:
***********************************************
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc00000fd) occurred at PC=0x78462115
Function=CsrClientCallServer+0x49
Library=C:\WINNT\system32\ntdll.dll
Current Java thread:at com.omnividea.media.parser.video.Parser.avOpen(Native Method) at com.omnividea.media.parser.video.Parser.setSource(Parser.java:352)
at com.sun.media.BasicSourceModule.createDemultiplexer(BasicSourceModule.java:138)
at com.sun.media.BasicSourceModule.createModule(BasicSourceModule.java:96)
at com.sun.media.PlaybackEngine.setSource(PlaybackEngine.java:124)
at com.sun.media.MediaProcessor.setSource(MediaProcessor.java:32)
at javax.media.Manager.createProcessorForSource(Manager.java:1705)
at javax.media.Manager.createProcessor(Manager.java:666)
at jmapps.export.PanelMediaSource.createProcessor(PanelMediaSource.java:133)
at jmapps.export.ExportWizard.onPageDone(ExportWizard.java:161)
at jmapps.ui.WizardDialog.setNextPage(WizardDialog.java:145)
at jmapps.ui.WizardDialog.actionPerformed(WizardDialog.java:286)
at jmapps.export.ExportWizard.actionPerformed(ExportWizard.java:616)
at java.awt.Button.processActionEvent(Button.java:382)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at JMStudio.transmitMedia(JMStudio.java:1048)
at JMStudio.actionPerformed(JMStudio.java:352)
at java.awt.MenuItem.processActionEvent(MenuItem.java:589)
at java.awt.MenuItem.processEvent(MenuItem.java:548)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:458)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
***********************************************
Can you explain this error? Does FOBS it supports mpeg-ts and if no, which would be the effort size to development it? Could you help to give the first step in this way, please? If possible i would like to join your development team.
Thanks in advance.
Raoni Kulesza.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok.... I've been looking the information you have sent and I'm afraid it is not enough. The avOpen method is in charge of all the ffmpeg initialization of codecs, formats, etc. I've done tests non supported videos and it correctly informs JMF that the format/codec is not supported. Anyway.... it would be interesting if you could send me the video (mpeg-ts) or the ffmpeg command to create another.
To find where the bug is, the best way is to run JMStudio within GDB. I think that the binaries are compiled with debug information, so this should show us the exact point where it breaks.
cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, the previous message is about the my previous message and the video is mpegts-mpeg4. Video Lan open this file with no problem. This file is sent to your ftp server, if you have any file of mpeg-ts, please, put in the ftp server too.
Best regards,
Raoni Kulesza.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it seems that the video file you sent me is corrupted. I've tried to open it with mplayer and quicktime and none of them was able. Anyway, the file seems to be Mpeg4 format, which I think it is more related to quicktime than to mpeg-ts.
So, i'm going to use this file to improve stability in fobs.
bye
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
well... I've downloaded and tried vlc with your video. It's not exactly an mpeg-ts stream but an mp4 file (similar to .mov). This is a log extracted from vlc:
[00000206] mp4 private warning: detected moov hidden in a free box ...
[00000206] mp4 private warning: unknown box type iods (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type meta (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type rtp (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mpod (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type iods (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type meta (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type rtp (uncompletetly loaded)
[00000206] message private warning: message queue overflowed
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mpod (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000207] mp4 demuxer warning: DEMUX_GET_FPS unimplemented !!
[00000214] main private warning: vout synchro warning: pts != current_date (227695)
Anyway, ffmpeg doesn't seem to accept the stream you sent me yesterday. As fobs relies in ffmpeg for dealing with media, there's nothing I can do at this moment. I've transcoded your stream using VLC to a mpeg-ts stream which is available in the same ftp server. Fobs is able to read this new stream (although I can't get JMStudio to show video but only audio).
I'm going to post a new version of fobs very soon, with support for the latest snapshot of ffmpeg and some minor fixes (related to the stack overflow bug you discovered).
best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Project Manager,
I try to use fobs & jmf plugin to open a file of mpeg-transport stream (supported by ffmpeg) and it report some exceptions and an error that suddenly finished the program.
See below the report for exception:
***********************************************
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc00000fd) occurred at PC=0x78462115
Function=CsrClientCallServer+0x49
Library=C:\WINNT\system32\ntdll.dll
Current Java thread:at com.omnividea.media.parser.video.Parser.avOpen(Native Method) at com.omnividea.media.parser.video.Parser.setSource(Parser.java:352)
at com.sun.media.BasicSourceModule.createDemultiplexer(BasicSourceModule.java:138)
at com.sun.media.BasicSourceModule.createModule(BasicSourceModule.java:96)
at com.sun.media.PlaybackEngine.setSource(PlaybackEngine.java:124)
at com.sun.media.MediaProcessor.setSource(MediaProcessor.java:32)
at javax.media.Manager.createProcessorForSource(Manager.java:1705)
at javax.media.Manager.createProcessor(Manager.java:666)
at jmapps.export.PanelMediaSource.createProcessor(PanelMediaSource.java:133)
at jmapps.export.ExportWizard.onPageDone(ExportWizard.java:161)
at jmapps.ui.WizardDialog.setNextPage(WizardDialog.java:145)
at jmapps.ui.WizardDialog.actionPerformed(WizardDialog.java:286)
at jmapps.export.ExportWizard.actionPerformed(ExportWizard.java:616)
at java.awt.Button.processActionEvent(Button.java:382)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at JMStudio.transmitMedia(JMStudio.java:1048)
at JMStudio.actionPerformed(JMStudio.java:352)
at java.awt.MenuItem.processActionEvent(MenuItem.java:589)
at java.awt.MenuItem.processEvent(MenuItem.java:548)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:458)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
***********************************************
Can you explain this error? Does FOBS it supports mpeg-ts and if no, which would be the effort size to development it? Could you help to give the first step in this way, please? If possible i would like to join your development team.
Thanks in advance.
Raoni Kulesza.
Hi,
Ok.... I've been looking the information you have sent and I'm afraid it is not enough. The avOpen method is in charge of all the ffmpeg initialization of codecs, formats, etc. I've done tests non supported videos and it correctly informs JMF that the format/codec is not supported. Anyway.... it would be interesting if you could send me the video (mpeg-ts) or the ffmpeg command to create another.
To find where the bug is, the best way is to run JMStudio within GDB. I think that the binaries are compiled with debug information, so this should show us the exact point where it breaks.
cheers
Hi Jos,
See below more information in the prompt:
Parser Dynlink resolved
[mpeg4 @ 009B62D0]header damage
[mpeg4 @ 009B62D0]header damage
[mpeg4 @ 009B62D0]header damage
[mpeg4 @ 009B62D0]header damage
...
[mpeg4 @ 009B62D0]header damaged
[mpeg4 @ 009B62D0]header damaged
[mpeg4 @ 009B62D0]header damaged
An unrecoverable stack overflow has occurred.
I try to open a ftp server to send the file to you.
Thanks.
Hi again,
try ftp://138.100.76.92 (anonymous).
about the new info you sent... is it related to the previous message??? In this case, is the mpeg-ts file containing Mpeg4 video??
bye
Jos,
Yes, the previous message is about the my previous message and the video is mpegts-mpeg4. Video Lan open this file with no problem. This file is sent to your ftp server, if you have any file of mpeg-ts, please, put in the ftp server too.
Best regards,
Raoni Kulesza.
Ok,
I'll have a look at it tomorrow. My connection at home is not the best, but my ffmpeg version says:
#ffmpeg -i ~/video.mpeg
Input #0, mov,mp4,m4a,3gp, from '/foo/video.mpeg':
Duration: N/A, bitrate: N/A
Why don't you try this (ffmpeg -i)?? What ffmpeg version are you working with?? Anyway, fobs should reject to open the video and not crash.
cheers
Hi again,
it seems that the video file you sent me is corrupted. I've tried to open it with mplayer and quicktime and none of them was able. Anyway, the file seems to be Mpeg4 format, which I think it is more related to quicktime than to mpeg-ts.
So, i'm going to use this file to improve stability in fobs.
bye
Jos,
Could you put a file of mpeg-traport stream (not corrupted) in ftp server?
Jos,
Could you put a file of mpeg - transport stream (not corrupted) in ftp server. My video file is a mpeg-ts, open in the Video Lan Client to test it.
Thanks again.
Hi,
well... I've downloaded and tried vlc with your video. It's not exactly an mpeg-ts stream but an mp4 file (similar to .mov). This is a log extracted from vlc:
[00000206] mp4 private warning: detected moov hidden in a free box ...
[00000206] mp4 private warning: unknown box type iods (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type meta (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type rtp (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mpod (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type iods (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type meta (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type rtp (uncompletetly loaded)
[00000206] message private warning: message queue overflowed
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mpod (uncompletetly loaded)
[00000206] mp4 private warning: unknown box type mp4s (uncompletetly loaded)
[00000207] mp4 demuxer warning: DEMUX_GET_FPS unimplemented !!
[00000214] main private warning: vout synchro warning: pts != current_date (227695)
Anyway, ffmpeg doesn't seem to accept the stream you sent me yesterday. As fobs relies in ffmpeg for dealing with media, there's nothing I can do at this moment. I've transcoded your stream using VLC to a mpeg-ts stream which is available in the same ftp server. Fobs is able to read this new stream (although I can't get JMStudio to show video but only audio).
I'm going to post a new version of fobs very soon, with support for the latest snapshot of ffmpeg and some minor fixes (related to the stack overflow bug you discovered).
best regards