Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th February 2012, 14:56   #14681  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
to h_yamagata: can not compile last ffdshow svn
1>C:\ffdshow\src\ffmpeg/libswscale/swscale.h(157): error C2371: “SwsVector”: 重定义;不同的基类型
c:\ffdshow\src\ffmpeg\Tlibavcodec.h(18) : 参见“SwsVector”的声明
1>C:\ffdshow\src\ffmpeg/libswscale/swscale.h(165): error C2371: “SwsFilter”: 重定义;不同的基类型
c:\ffdshow\src\ffmpeg\Tlibavcodec.h(17) : 参见“SwsFilter”的声明
TDXVADecoderH264.cpp
TDXVADecoderVC1.cpp
ffdshow_converters.cpp
ffImgfmt.cpp
image.cpp
Tconvert.cpp
1>C:\ffdshow\src\ffmpeg\libswscale/swscale.h(157): error C2371: “SwsVector”: 重定义;不同的基类型
C:\ffdshow\src\ffmpeg\Tlibavcodec.h(18) : 参见“SwsVector”的声明
1>C:\ffdshow\src\ffmpeg\libswscale/swscale.h(165): error C2371: “SwsFilter”: 重定义;不同的基类型
C:\ffdshow\src\ffmpeg\Tlibavcodec.h(17) : 参见“SwsFilter”的声明
1>c:\ffdshow\src\ffmpeg\libavutil\bswap.h(75): warning C4244: “参数”: 从“uint64_t”转换到“uint32_t”,可能丢失数据
TrgbPrimaries.cpp
Tswscale.cpp
1>C:\ffdshow\src\ffmpeg\libswscale/swscale.h(157): error C2371: “SwsVector”: 重定义;不同的基类型
C:\ffdshow\src\ffmpeg\Tlibavcodec.h(18) : 参见“SwsVector”的声明
1>C:\ffdshow\src\ffmpeg\libswscale/swscale.h(165): error C2371: “SwsFilter”: 重定义;不同的基类型
C:\ffdshow\src\ffmpeg\Tlibavcodec.h(17) : 参见“SwsFilter”的声明
dither.cpp
fftsg.cpp
firfilter.cpp
mixer.cpp
TaudioFilter.cpp
TaudioFilterChannelSwap.cpp
TaudioFilterConvolver.cpp
TaudioFilterCrystality.cpp
TaudioFilterDelay.cpp
TaudioFilterDenoise.cpp
TaudioFilterDolbyDecoder.cpp
TaudioFilterEQ.cpp
TaudioFilterEQsuper.cpp
1>c:\ffdshow\src\audiofilters\supereq.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
TaudioFilterFIR.cpp
TaudioFilterFreeverb.cpp
TaudioFilterHeadphone.cpp
TaudioFilterLFEcrossover.cpp
1>src\audioFilters\TaudioFilterLFEcrossover.cpp(98): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
1>src\audioFilters\TaudioFilterLFEcrossover.cpp(100): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
1>src\audioFilters\TaudioFilterLFEcrossover.cpp(147): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
1>src\audioFilters\TaudioFilterLFEcrossover.cpp(149): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
1>src\audioFilters\TaudioFilterLFEcrossover.cpp(155): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
TaudioFilterMixer.cpp
TaudioFilterOSD.cpp
TaudioFilterOutput.cpp
TaudioFilterResample.cpp
TaudioFilters.cpp
TaudioFilterVolume.cpp
TaudioFilterWinamp2.cpp
TsampleFormat.cpp
Twinamp2.cpp
revmodel.cpp
resample2.cpp
TffProcAudio.cpp
TencStats.cpp
TffdshowEnc.cpp
Tffvfw.cpp
Tmuxer.cpp
TmuxerFile.cpp
Tacm.cpp
CSSauth.cpp
CSSscramble.cpp
DeCSSInputPin.cpp
Tfilter.cpp
Tfilters.cpp
TOSDprovider.cpp
amfilter.cpp
combase.cpp
dllentry.cpp
dllsetup.cpp
mtype.cpp
outputq.cpp
pstream.cpp
strmiids.cpp
transfrm.cpp
wxdebug.cpp
wxlist.cpp
wxutil.cpp
1>已完成生成项目“C:\ffdshow\ffdshow_2010.vcxproj”(build 个目标)的操作 - 失败。
betaking is offline   Reply With Quote
Old 9th February 2012, 15:13   #14682  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Compilation fixed.
I found x64 version's color is broken for 10-bit video. Please wait.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 9th February 2012, 15:22   #14683  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by haruhiko_yamagata View Post
Compilation fixed.
I found x64 version's color is broken for 10-bit video. Please wait.
i wait now!
betaking is offline   Reply With Quote
Old 9th February 2012, 15:44   #14684  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
I have fixed my working copy. I'll commit tomorrow.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 9th February 2012, 15:47   #14685  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by haruhiko_yamagata View Post
I have fixed my working copy. I'll commit tomorrow.
OK! thanks again!
betaking is offline   Reply With Quote
Old 10th February 2012, 00:01   #14686  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
I have committed as rev 4314. Hope there are not too many regressions...
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 10th February 2012, 14:29   #14687  |  Link
kc7bfi
Registered User
 
Join Date: Nov 2010
Location: Chesapeake, VA USA
Posts: 38
Quote:
Originally Posted by haruhiko_yamagata View Post
How can I analyze it? I won't read bit-stream using binary editor. I'm not a computer.

The debug log indicates the stream is broken. Or it may be indicating the bug of the source/splitter filter or ffdshow.

Rev 4176 changes the way of calculation of NAL unit size. As the mkv file shown, the upper stream filter must not use start code "00 00 01" if the container is mkv or mp4. It must use NAL unit size instead. Microsoft's guideline. Does simply changing the FOURCC work? If your source is RTSP, I don't know how NAL unit size is handled in DirectShow. I think the guideline still should be followed. If I'm wrong, please correct me.

That would help a lot. I'll wait for it.
Thanks for looking into this. I understand moving video via RTSP but when it comes to the bits and bytes of video my knowledge drops off exponentially. The following link has a program that will replay a wireshark capture indicating the problem. Just unpack it and run the run.bat program. Let me know if you have trouble. Thanks, David
http://dl.dropbox.com/u/37804952/H264replay.zip
kc7bfi is offline   Reply With Quote
Old 10th February 2012, 15:29   #14688  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by kc7bfi View Post
Thanks for looking into this. I understand moving video via RTSP but when it comes to the bits and bytes of video my knowledge drops off exponentially. The following link has a program that will replay a wireshark capture indicating the problem. Just unpack it and run the run.bat program. Let me know if you have trouble. Thanks, David
http://dl.dropbox.com/u/37804952/H264replay.zip
Thanks, but the playback does not start.
"Source IP" (192.168.111.12) doesn't look like a valid address.
I inserted "C:\Program Files (x86)\Java\jre6\bin\" before "java" in run.bat. Was it OK? Otherwise, which "java" should I use?
It looks like it is trying to load x64 dll.

__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 10th February 2012, 15:34   #14689  |  Link
kc7bfi
Registered User
 
Join Date: Nov 2010
Location: Chesapeake, VA USA
Posts: 38
Quote:
Originally Posted by haruhiko_yamagata View Post
Thanks, but the playback does not start.
"Source IP" (192.168.111.12) doesn't look like a valid address.
I inserted "C:\Program Files (x86)\Java\jre6\bin\" before "java" in run.bat. Was it OK? Otherwise, which "java" should I use?
It looks like it is trying to load x64 dll.

Yes this is a 64 bit program. It is a Java program that includes an interface to the DirectShow system. If you want to use a 32 bit Java, try using this dsj.dll instead of the one I previously sent.
http://dl.dropbox.com/u/37804952/dsj.dll

David
kc7bfi is offline   Reply With Quote
Old 10th February 2012, 16:09   #14690  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
A progress, it tries to connect, but fails.
Code:
C:\ff\rtsp>"C:\Program Files (x86)\Java\jre6\bin\java" -Xmx512m -cp .;dsj.jar;Vicads-DsjPlayer-4.0.jar;orci-commons-logging-1.0.jar;orci-commons-lang-1.0.jar;log4j-1.2.16.jar;packer-2.0.jar;javahelp-2.0.02.jar com.orci.vicads.PCAPReplay.MainApp 
log4j:WARN No appenders could be found for logger (com.orci.vicads.PCAPReplay.MainApp).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Source: Connect
Closing
Closed
de.humatic.dsj.DSJException: RTPSource could not resolve streams, no data received
	at de.humatic.dsj.src.RTPSource.createGraph(SourceFile:594)
	at com.orci.vicads.PCAPReplay.MainFrame.startReplay(MainFrame.java:219)
	at com.orci.vicads.PCAPReplay.MainFrame.access$300(MainFrame.java:49)
	at com.orci.vicads.PCAPReplay.MainFrame$5.actionPerformed(MainFrame.java:179)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 10th February 2012, 17:41   #14691  |  Link
kc7bfi
Registered User
 
Join Date: Nov 2010
Location: Chesapeake, VA USA
Posts: 38
Quote:
Originally Posted by haruhiko_yamagata View Post
A progress, it tries to connect, but fails.
Code:
C:\ff\rtsp>"C:\Program Files (x86)\Java\jre6\bin\java" -Xmx512m -cp .;dsj.jar;Vicads-DsjPlayer-4.0.jar;orci-commons-logging-1.0.jar;orci-commons-lang-1.0.jar;log4j-1.2.16.jar;packer-2.0.jar;javahelp-2.0.02.jar com.orci.vicads.PCAPReplay.MainApp 
log4j:WARN No appenders could be found for logger (com.orci.vicads.PCAPReplay.MainApp).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Source: Connect
Closing
Closed
de.humatic.dsj.DSJException: RTPSource could not resolve streams, no data received
	at de.humatic.dsj.src.RTPSource.createGraph(SourceFile:594)
	at com.orci.vicads.PCAPReplay.MainFrame.startReplay(MainFrame.java:219)
	at com.orci.vicads.PCAPReplay.MainFrame.access$300(MainFrame.java:49)
	at com.orci.vicads.PCAPReplay.MainFrame$5.actionPerformed(MainFrame.java:179)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Hmmm. works here. Try this new zip. It adds some logging. The log will be in your user directory named PCAPReplay.log. Make sure not to change any of the parameters on the form. They should be set correctly. David

http://dl.dropbox.com/u/37804952/H264replay2.zip
kc7bfi is offline   Reply With Quote
Old 10th February 2012, 21:38   #14692  |  Link
CoRoNe
Registered User
 
CoRoNe's Avatar
 
Join Date: Nov 2005
Posts: 645
Do you people really have to fully quote every successive post?!
__________________
My hobby website
CoRoNe is offline   Reply With Quote
Old 10th February 2012, 23:54   #14693  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Still not working on x64 Java.
Code:
C:\ff\rtsp>"C:\Program Files\Java\jre6\bin\java" -Xmx512m -cp .;dsj.jar;Vicads-DsjPlayer-4.0.jar;orci-commons-logging-1.0.jar;orci-commons-lang-1.0.jar;log4j-1.2.16.jar;packer-2.0.jar;javahelp-2.0.02.jar com.orci.vicads.PCAPReplay.MainApp 
0    [main] INFO  com.orci.vicads.PCAPReplay.MainApp  - Create main frame...
90   [main] WARN  com.orci.vicads.PCAPReplay.MainFrame  - ViewerFrame: Unable to load logo image file /images/vicads_app_icon.gif: java.lang.NullPointerException
183  [main] WARN  com.orci.vicads.PCAPReplay.MainFrame  - Could not load helpset: javax.help.HelpSetException: Could not parse
Got an IOException (null)
Parsing failed for null
2919 [AWT-EventQueue-0] INFO  com.orci.vicads.PCAPReplay.MainFrame  - pcap=Optelecom.pcap
2919 [AWT-EventQueue-0] INFO  com.orci.vicads.PCAPReplay.MainFrame  - srcIp=192.168.111.12
2919 [AWT-EventQueue-0] INFO  com.orci.vicads.PCAPReplay.MainFrame  - destIp=224.0.111.12:50000
2919 [AWT-EventQueue-0] INFO  com.orci.vicads.PCAPReplay.MainFrame  - sdp=Optelecom.sdp
2978 [AWT-EventQueue-0] INFO  stdout  - Source: Connect
3028 [AWT-EventQueue-0] INFO  stdout  - Graph error: Cannot add filter
17942 [Timer-0] INFO  stdout  - Closing
17996 [Timer-0] INFO  stdout  - Closed
23129 [AWT-EventQueue-0] ERROR stderr  - de.humatic.dsj.DSJException: RTPSource could not resolve streams, no data received
23129 [AWT-EventQueue-0] ERROR stderr  - 	at de.humatic.dsj.src.RTPSource.createGraph(SourceFile:594)
23130 [AWT-EventQueue-0] ERROR stderr  - 	at com.orci.vicads.PCAPReplay.MainFrame.startReplay(MainFrame.java:223)
23130 [AWT-EventQueue-0] ERROR stderr  - 	at com.orci.vicads.PCAPReplay.MainFrame.access$300(MainFrame.java:49)
23130 [AWT-EventQueue-0] ERROR stderr  - 	at com.orci.vicads.PCAPReplay.MainFrame$5.actionPerformed(MainFrame.java:179)
23130 [AWT-EventQueue-0] ERROR stderr  - 	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
23130 [AWT-EventQueue-0] ERROR stderr  - 	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
23131 [AWT-EventQueue-0] ERROR stderr  - 	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
23131 [AWT-EventQueue-0] ERROR stderr  - 	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
23131 [AWT-EventQueue-0] ERROR stderr  - 	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
23131 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Component.processMouseEvent(Unknown Source)
23131 [AWT-EventQueue-0] ERROR stderr  - 	at javax.swing.JComponent.processMouseEvent(Unknown Source)
23132 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Component.processEvent(Unknown Source)
23132 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Container.processEvent(Unknown Source)
23132 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Component.dispatchEventImpl(Unknown Source)
23132 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Container.dispatchEventImpl(Unknown Source)
23132 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Component.dispatchEvent(Unknown Source)
23133 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
23133 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
23133 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
23133 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Container.dispatchEventImpl(Unknown Source)
23133 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Window.dispatchEventImpl(Unknown Source)
23134 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.Component.dispatchEvent(Unknown Source)
23134 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
23134 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventQueue.access$000(Unknown Source)
23134 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventQueue$1.run(Unknown Source)
23134 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventQueue$1.run(Unknown Source)
23135 [AWT-EventQueue-0] ERROR stderr  - 	at java.security.AccessController.doPrivileged(Native Method)
23135 [AWT-EventQueue-0] ERROR stderr  - 	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
23135 [AWT-EventQueue-0] ERROR stderr  - 	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
23135 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventQueue$2.run(Unknown Source)
23135 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventQueue$2.run(Unknown Source)
23136 [AWT-EventQueue-0] ERROR stderr  - 	at java.security.AccessController.doPrivileged(Native Method)
23136 [AWT-EventQueue-0] ERROR stderr  - 	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
23136 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventQueue.dispatchEvent(Unknown Source)
23136 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
23136 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
23137 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
23137 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
23137 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
23137 [AWT-EventQueue-0] ERROR stderr  - 	at java.awt.EventDispatchThread.run(Unknown Source)
EDIT
I tried regsvr32 dsj.dll, which resulted error. I think I need the source/splitter filter.ax.
__________________
[ Download ffdshow | Wiki ]

Last edited by haruhiko_yamagata; 11th February 2012 at 01:54.
haruhiko_yamagata is offline   Reply With Quote
Old 11th February 2012, 00:11   #14694  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,390
FPS1 -> NV12 conversion results in wrong colors. Example.
FPS1 -> * is fine. Example.

Sample.

Last edited by Snowknight26; 11th February 2012 at 00:15.
Snowknight26 is offline   Reply With Quote
Old 11th February 2012, 00:59   #14695  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by Snowknight26 View Post
FPS1 -> NV12 conversion results in wrong colors. Example.
FPS1 -> * is fine. Example.

Sample.
Thanks, I can reproduce.
Perhaps RGB->YCbCr conversion is currently broken.
(This issue is not related to the migration of libswscale.)
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 11th February 2012, 03:32   #14696  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 2,816
Dunno if you would care Haruhiko but I'd like to mention Pastebin as being a great place to store debug outputs and such which you could link to thus helping keep the thread tidy this would help fix up the reply issue Corone mentioned.
ryrynz is offline   Reply With Quote
Old 11th February 2012, 16:34   #14697  |  Link
kc7bfi
Registered User
 
Join Date: Nov 2010
Location: Chesapeake, VA USA
Posts: 38
Quote:
Originally Posted by haruhiko_yamagata View Post
I tried regsvr32 dsj.dll, which resulted error. I think I need the source/splitter filter.ax.
Not sure why its not working there. It works fine here, although I'm using 64bit. You should not need anything other filters. The key message is "RTPSource could not resolve streams, no data received" which seems to indicate that it could not read/process the video information from the PCAP file (a wireshark capture). Maybe you need wireshark installed. I'll ask the guy who wrote our wireshark replay service. Thanks. David
kc7bfi is offline   Reply With Quote
Old 12th February 2012, 00:30   #14698  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Please note my last commit:

Code:
Modified/fixed TtelecineManager class (in TvideoCodec.cpp + .h). Changed behavior to produce exactly 23.976 fps when entering film mode. Previous behavior was not producing smooth playback. In film mode time stamps are calculated from the first frame of the film sequence.
Playback wasn't smooth on many clips. averaging time stamps is not a good concept... Now it's much better with less code

Code:
Re-added an initialization from SPS header (H264) of the pictIn variable used for codec initialization. Need to check if this is actually used since no one complained.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 12th February 2012, 01:15   #14699  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Currently ffdshow use libswscale to convert RGB24 to YV12.
Neither Libav nor FFmpeg supports color matrix configuration. BT.601-TV is simply hard coded. That's why FPS1 -> NV12 conversion is failing.
Everyone, please give me an advice, from which project to import. A converter that has good scaler and supports configuration of matrix and range is wanted.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Old 12th February 2012, 01:39   #14700  |  Link
haruhiko_yamagata
Registered User
 
Join Date: Feb 2006
Location: Japan
Posts: 1,560
Quote:
Originally Posted by egur View Post
Please note my last commit:

Code:
Modified/fixed TtelecineManager class (in TvideoCodec.cpp + .h). Changed behavior to produce exactly 23.976 fps when entering film mode. Previous behavior was not producing smooth playback. In film mode time stamps are calculated from the first frame of the film sequence.
Playback wasn't smooth on many clips. averaging time stamps is not a good concept... Now it's much better with less code
Thanks for fix.
I've broken something when I changed the code to check only one repeat first field flag to enter film mode.
Formerly, it checked 4 frames (10 fields) and buffered them to calculate the average.
Is it safe enough to assume 23.976 fps just by detecting only one repeat first field flag?
Quote:
Code:
Re-added an initialization from SPS header (H264) of the pictIn variable used for codec initialization. Need to check if this is actually used since no one complained.
In my working copy for the next commit, it needs to get frame rate from SPS.
That function is now very robust and won't crash anymore. Please keep it.
__________________
[ Download ffdshow | Wiki ]
haruhiko_yamagata is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.