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 28th June 2011, 18:57   #13741  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Manifests are installed again in 3913. Embedded one doesn't work properly on XP. Will probably also fix the tooltips.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 30th June 2011, 12:19   #13742  |  Link
arestarh
Registered User
 
arestarh's Avatar
 
Join Date: Nov 2008
Location: Ukraine
Posts: 34
Quote:
Originally Posted by clsid View Post
Manifests are installed again in 3913. Embedded one doesn't work properly on XP. Will probably also fix the tooltips.
It helped. Thanks.

clsid
Updated Russian translation:
http://www.mediafire.com/?38zgb35hkur8f4g
arestarh is offline   Reply With Quote
Old 2nd July 2011, 20:05   #13743  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
More Fraps regressions (tested with r3914):

FPS1 -> RGB32 has inverted chroma planes.
FPS1 -> YV12/NV12 has a 16 pixel-wide bright bar on the very right side of the video.
FPS1 -> YUV2/UYVY is fine.


Sample: http://stfcc.org/misc/ffplay_fraps_v...with_audio.avi

Last edited by Snowknight26; 2nd July 2011 at 20:14.
Snowknight26 is offline   Reply With Quote
Old 3rd July 2011, 00:16   #13744  |  Link
Px
>>^^__^^<<
 
Px's Avatar
 
Join Date: Jun 2005
Posts: 222
Quote:
Originally Posted by Px View Post
There was a discussion about postprocessing filter more that year ago:
and now I have small question: why PP disabled for WMV formats? I've got several "blocky" wmv videos, and thinking that PP might help in this case
Em, bump?
Px is offline   Reply With Quote
Old 3rd July 2011, 00:23   #13745  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Quote:
Originally Posted by Snowknight26 View Post
More Fraps regressions (tested with r3914):

FPS1 -> RGB32 has inverted chroma planes.
FPS1 -> YV12/NV12 has a 16 pixel-wide bright bar on the very right side of the video.
FPS1 -> YUV2/UYVY is fine.


Sample: http://stfcc.org/misc/ffplay_fraps_v...with_audio.avi
Should be fixed now. I also fixed a similar issue with ZMVB video.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 3rd July 2011, 07:35   #13746  |  Link
Hypernova
Registered User
 
Join Date: Feb 2006
Posts: 293
Hi,

So, from my skimming the past 10 pages, audio un-sync problem with multithread is still a known problem, correct? In my case it only happen with avi. H264 in mkv works fine for me.
__________________
Spec: Intel Core i5-3570K, 8g ram, Intel HD4000, Samsung U28D590 4k monitor+1080p Projector, Windows 10.
Hypernova is offline   Reply With Quote
Old 3rd July 2011, 12:08   #13747  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
It was not known in case of H.264. But if it also happens, then that sucks. A good reason to avoid H.264 in AVI.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 3rd July 2011, 12:56   #13748  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
In my case it only happen with avi.
Smart people don't use ancient avi container with h.264 stream. See also this http://en.wikipedia.org/wiki/Compari...mats_supported

Last edited by Atak_Snajpera; 3rd July 2011 at 12:59.
Atak_Snajpera is offline   Reply With Quote
Old 3rd July 2011, 13:38   #13749  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Does anyone have a sample where the sync issue is really noticeable?

I can limit the number of threads in case of AVI to a number where the sync issue isn't noticeable anymore.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 3rd July 2011, 19:13   #13750  |  Link
Hypernova
Registered User
 
Join Date: Feb 2006
Posts: 293
Quote:
Originally Posted by clsid View Post
Does anyone have a sample where the sync issue is really noticeable?

I can limit the number of threads in case of AVI to a number where the sync issue isn't noticeable anymore.
I have at least two examples of h264 in AVIs that has noticable lag (~500ms). It's quite old anime fansubs, Cyber Formula Double-one by Ayu and Akazukin ChaCha by the group I don't know the name. If you need help to get a hold of that please let me know. Noted that I do notice the lag even in 2 threads (out of 8) though.

Quote:
Originally Posted by Atak_Snajpera View Post
Smart people don't use ancient avi container with h.264 stream. See also this http://en.wikipedia.org/wiki/Compari...mats_supported
I'm not the one who create the file, so it's not really a choice on my part.
__________________
Spec: Intel Core i5-3570K, 8g ram, Intel HD4000, Samsung U28D590 4k monitor+1080p Projector, Windows 10.

Last edited by Hypernova; 3rd July 2011 at 19:15. Reason: Add about threads
Hypernova is offline   Reply With Quote
Old 3rd July 2011, 19:15   #13751  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
I cant seem to be able to compile the latest x64 build anymore

I get the below message when using MSYS_MinGW_GCC_461_x86-x64_Full.7z,
Code:
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb00f): undefined reference to `_ff_pb_F8'
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb01c): undefined reference to `_ff_pb_3'
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb025): undefined reference to `_ff_pb_4'
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb090): undefined reference to `_ff_pb_1'
collect2: ld returned 1 exit status
C:\MSYS\mingw\bin\x86_64-w64-mingw32-dllwrap.exe: C:\MSYS\mingw\bin\x86_64-w64-m
ingw32-gcc exited with status 1
make: *** [../../bin/ffmpeg.dll] Error 1
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1)
VipZ is offline   Reply With Quote
Old 3rd July 2011, 19:31   #13752  |  Link
Hypernova
Registered User
 
Join Date: Feb 2006
Posts: 293
Not sure if this is useful but I tried using MPC-HC (3283, MSVC 2010SP1, with ffmpeg by MinGW GCC 4.6.1), which as far as I can tell also use mutithread decoding. There is no lag.

Note: By lag I mean the video lag behind audio.
__________________
Spec: Intel Core i5-3570K, 8g ram, Intel HD4000, Samsung U28D590 4k monitor+1080p Projector, Windows 10.

Last edited by Hypernova; 3rd July 2011 at 19:36. Reason: add note
Hypernova is offline   Reply With Quote
Old 3rd July 2011, 19:37   #13753  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Quote:
Originally Posted by Hypernova View Post
I have at least two examples of h264 in AVIs that has noticable lag (~500ms). It's quite old anime fansubs, Cyber Formula Double-one by Ayu and Akazukin ChaCha by the group I don't know the name. If you need help to get a hold of that please let me know. Noted that I do notice the lag even in 2 threads (out of 8) though.
Cut a sample with DGSplit and upload it for me.

Does the sync difference grow with more threads? It should.

Quote:
Not sure if this is useful but I tried using MPC-HC (3283, MSVC 2010SP1, with ffmpeg by MinGW GCC 4.6.1), which as far as I can tell also use mutithread decoding. There is no lag.
MPC does not have multi-threaded decoding.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 3rd July 2011, 19:40   #13754  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Quote:
Originally Posted by VipZ View Post
I cant seem to be able to compile the latest x64 build anymore
There is a working mingw64 package on the SourceForge page.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 3rd July 2011, 20:29   #13755  |  Link
Hypernova
Registered User
 
Join Date: Feb 2006
Posts: 293
I don't know if I did any wrong but only the first part seem to playable after splited by DGSplit. Please use the second half where the karaoke appear to see the lag.

http://www.mediafire.com/?9jf19139i6e0uh2
__________________
Spec: Intel Core i5-3570K, 8g ram, Intel HD4000, Samsung U28D590 4k monitor+1080p Projector, Windows 10.
Hypernova is offline   Reply With Quote
Old 3rd July 2011, 23:54   #13756  |  Link
alexins
MPC-BE DEV
 
alexins's Avatar
 
Join Date: Mar 2008
Location: Slovenija
Posts: 584
Quote:
Originally Posted by VipZ View Post
I cant seem to be able to compile the latest x64 build anymore

I get the below message when using MSYS_MinGW_GCC_461_x86-x64_Full.7z,
Code:
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb00f): undefined reference to `_ff_pb_F8'
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb01c): undefined reference to `_ff_pb_3'
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb025): undefined reference to `_ff_pb_4'
../../obj/MinGW64/ffmpeg/libavcodec/x86/vp8dsp.o:libavcodec/x86/vp8dsp.asm:(.tex
t+0xb090): undefined reference to `_ff_pb_1'
collect2: ld returned 1 exit status
C:\MSYS\mingw\bin\x86_64-w64-mingw32-dllwrap.exe: C:\MSYS\mingw\bin\x86_64-w64-m
ingw32-gcc exited with status 1
make: *** [../../bin/ffmpeg.dll] Error 1
Use this patch:
Code:
Index: src/ffmpeg/config.h
===================================================================
--- src/ffmpeg/config.h	(revision 3919)
+++ src/ffmpeg/config.h	(working copy)
@@ -43,8 +43,8 @@
 #define ASMALIGN(ZEROBITS) ".p2align " #ZEROBITS "\n\t"
 
 #if ARCH_X86_64
-  #define EXTERN_PREFIX "_"
-  #define EXTERN_ASM _
+  #define EXTERN_PREFIX ""
+  #define EXTERN_ASM 
 #else
   #define EXTERN_PREFIX "_"
   #define EXTERN_ASM _
Index: src/makefile_c.inc
===================================================================
--- src/makefile_c.inc	(revision 3919)
+++ src/makefile_c.inc	(working copy)
@@ -12,7 +12,7 @@
   TARGET_OS=x86_64-w64-mingw32
   CFLAGS+=-DWIN64 -D_WIN64 -D__MINGW64__
   OPTFLAGS+=-O2 -m64
-  YASMFLAGS+=-f win64 -m amd64 -DWIN64 -DARCH_X86_64 -DPREFIX
+  YASMFLAGS+=-f win64 -m amd64 -DWIN64 -DARCH_X86_64
 else
   TARGET_OS=i686-w32-mingw32
   CFLAGS+=-DWIN32 -D_WIN32 -D__MINGW32__
@@ -21,7 +21,7 @@
 endif
 
 CFLAGS+=-mdll -mthreads -pipe
-OPTFLAGS+=-fno-common -fno-tree-vectorize
+OPTFLAGS+=-fno-common
 CPPFLAGS+=-fno-rtti
 OUTPUTFLAG=-MMD -o\
 
@@ -30,7 +30,7 @@
   YASMFLAGS+=-g cv8
 else
   CFLAGS+=-DNDEBUG -UDEBUG
-  OPTFLAGS+=-fomit-frame-pointer
+#  OPTFLAGS+=-fomit-frame-pointer (with GCC4.6.x - 4.7.x  it is not used.)
   LDFLAGS+=-s
 endif
And also, in the folder \bin\lib_x64 put the file libpthreadGC2.a (libpthreadGC2 x64 generic cvs.20110403).
__________________
Win11 x64, i7 8700K 5Ghz, ASUS MAXIMUS X HERO, G.Skill (2x8GB) Trident Z F4-3600C16D-16GTZ, RX 5700,TV Philips 43PUS6703/12, Zappiti 4K HDR
Media Player Classic - BE x86/x64. Team of developers.
alexins is offline   Reply With Quote
Old 4th July 2011, 12:33   #13757  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
I'm not the one who create the file, so it's not really a choice on my part.
Wouldn't be easier to just remux from stupid avi to modern mkv/mp4???
Atak_Snajpera is offline   Reply With Quote
Old 4th July 2011, 13:17   #13758  |  Link
roozhou
Registered User
 
Join Date: Apr 2008
Posts: 1,181
Quote:
Originally Posted by Atak_Snajpera View Post
Wouldn't be easier to just remux from stupid avi to modern mkv/mp4???
Some DV also produce AVC in AVI. Actually AVC in AVI is just AnnexB in AVI. If the decoder cannot correctly handle AVC in AVI, it cannot handle AnnexB stream either.
roozhou is offline   Reply With Quote
Old 4th July 2011, 15:10   #13759  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Quote:
Originally Posted by alexins View Post
And also, in the folder \bin\lib_x64 put the file libpthreadGC2.a (libpthreadGC2 x64 generic cvs.20110403).
I will test this to see if this results in a stable x64 build. Can you make a build x86/x64 for latest cvs?

Edit: can you test this file with x64 build:
http://www.zshare.net/video/92250008bfd03cce/
It crashes for me with new pthreads, but not with old. But might also be GCC bug.

Edit2: Build made with GCC 4.5.2 does not crash. So it looks like a bug in newer versions of GCC.
__________________
MPC-HC 2.1.7.2

Last edited by clsid; 4th July 2011 at 15:51.
clsid is offline   Reply With Quote
Old 5th July 2011, 04:48   #13760  |  Link
robpdotcom
Registered User
 
Join Date: Jan 2010
Posts: 297
I'd like to use ffdshow video for W7MC recordings (.wtv files) inside MPC-HC, but it will not connect. Should I open a ticket for this?
__________________
Windows 7 x64
i7 870
16GB RAM
AMD 6870
robpdotcom 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 23:41.


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