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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1761 | Link | |||
|
Registered User
Join Date: Aug 2008
Location: Isle of Man
Posts: 588
|
Thanks for the confirmation.
Quote:
Quote:
.I should also mention that even with the demuxing work-around, only seekmode=0 works completely correctly. According to MediaInfo there are some bitrate-related differences between the original and remuxed files, which I don't have much control over as this was a straight-forward remux. However, the original also has Quote:
The above were all tried with both demuxer="default" and demuxer="lavf". So I'm looking foward to trying LWLibavVideoSource.
Last edited by fvisagie; 16th March 2013 at 18:51. |
|||
|
|
|
|
|
#1762 | Link | |
|
Registered User
Join Date: Dec 2009
Posts: 63
|
Quote:
![]() P.S. I've found where to download it, but not sure that it is allowed to post link here, so everyone who interested - just ask Google for "LSMASHSource.dll" + "blog-page_17". |
|
|
|
|
|
|
#1763 | Link |
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,853
|
Thanks!
I created a new thread for LSMASHSource (https://forum.doom9.org/showthread.php?t=167435), so all LSMASHSource related stuff can be posted there.
|
|
|
|
|
|
#1764 | Link | |
|
Registered User
Join Date: Mar 2008
Posts: 26
|
Quote:
|
|
|
|
|
|
|
#1765 | Link | |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Quote:
http://www.mediafire.com/?rcizx4ur7659djk Contains a slightly newer build of FFmpeg that still exhibits the issue, the build of FFMS2, video file, and script. Both FFmpeg and FFMS2 have debug symbols. The script shows a sampling of fpsnum and fpsden values which spark the issue when used with SSRC, using the same framerates I mentioned in the previous post. It also shows working framerate/SSRC combinations that are still close to the non-working ones (as in, the difference between a denominator of 1000 vs. 1001). My initial reason for thinking it was in the demuxer was because disabling the code that does fps/samples calculations in avisynth_read_packet_audio (here) allows those non-working framerates to work with SSRC (also, the fact that wavi, the old VFW-based AviSynth demuxer, and Windows Media Player 6.4 don't have problems with it in those fps/SSRC combos). But I was told that that is part of the code that keeps video and audio in sync when used together and that it seemed to stem from FFMS2 (and the backtrace I generated did show...something that had FFMS2's audio functions in it). My testing environment: Windows XP SP3, 512MBs PC133 SDRAM, 1GHz Celeron Coppermine Last edited by qyot27; 18th March 2013 at 21:42. |
|
|
|
|
|
|
#1766 | Link | ||
|
.
![]() Join Date: Oct 2001
Location: Germany
Posts: 7,853
|
'Original heigh't vs 'height' -> You cannot use crop to enlarge or 'shift' a clip
I got the following script on clip:
Code:
SetMemoryMax(768)
LoadPlugin("G:\Hybrid\avisynthPlugins\ffms2.dll")
Source = FFVideoSource("H:\TESTCL~1\CANONE~1.MOV",cachefile="H:\Temp\165714630mov_deb1536f480475f7d593219aa1afd74c_41.ffindex",fpsnum=29970,fpsden=1000)
SourceFiltered = Source
Source = Source.Crop(0,0,960,1088)
SourceFiltered = SourceFiltered.Crop(960,0,960,1088)
StackHorizontal(Source, SourceFiltered)
return last
Quote:
Quote:
(so using ',1080)' instead of ',1088)' fixes the imminent problem, but I would prefer it if FFmpegSource would return 1088 lines,..) -> is this behavior intended? Last edited by Selur; 25th March 2013 at 09:11. |
||
|
|
|
|
|
#1767 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
|
Probably yes. There are encoders which encode a height of 1088 lines (MOD 16) and store a cropping area of 1080 lines in the header. I remember that DGDecNV and DGAVCDec report something similar for FullHD AVC videos in their info windows while playing [F6].
|
|
|
|
|
|
#1770 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
FFMS2 C-plugin r753
AviSynth/VapourSynth dual plugin Optimized for Pentium III/SSE fpmath Regarding the issue from before, I'm starting to think it's very dependent on hardware constraints. The same build of r753 exhibits the issue on my computer (running a [2001] Celeron Coppermine w/ 512MBs of RAM), but does not exhibit it on a [2006] Athlon64 Orleans w/ 2GB of RAM. My first impulse, as stated before, is that it may be some sort of memory size issue that mine gets tripped up on only because of how little I have (similar to the long-standing issue with matroskaparser.c when using any active level of optimization in GCC), the other one is that it may lie somewhere in the floating point math (or how the float stuff actually gets compiled) that the Athlon64 can compensate for but mine can't. |
|
|
|
|
|
#1771 | Link |
|
Registered User
Join Date: Jul 2010
Posts: 14
|
r753 can't decode flac audio. No errors indicated, but output is empty data.
Upd. It looks like the BytesPerSample variable don't set if codec return data not in planar format. Last edited by Abs62; 28th March 2013 at 22:28. |
|
|
|
|
|
#1773 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
No new build of FFMS2, but it does indeed seem that the weird framerate/SSRC issue in ffmpeg truly was in the demuxer as I first thought, because it doesn't do it now. There was recently a fix for the fact that the demuxer was off by one frame (causing the first frame to be truncated and the last frame to be duplicated; another issue was that it was inserting a null frame/sample into the video/audio before real decoding started, but that doesn't seem to be what caused the issue - it was also fixed) and this may have been what underlaid the problem, unless it was just a general libavformat problem that got fixed by some other commit.
|
|
|
|
|
|
#1774 | Link |
|
Registered User
Join Date: Apr 2010
Posts: 21
|
Is it possible to read x264's 444 lossless (not 100% on the terms there, hah) with ffms2 or should i be using something else?
Tried using the previously mentioned r753 build in vapoursynth and I get a very green output. |
|
|
|
|
|
#1775 | Link |
|
warpsharpened
Join Date: Feb 2007
Posts: 787
|
ffms2-2.18-rc1.7z
Includes both 32 and 64-bit compiles. Requires SSE2 capable CPU and XP SP3 or newer. Changelog for 2.18:
|
|
|
|
|
|
#1776 | Link |
|
Registered User
Join Date: Jul 2010
Posts: 14
|
ffms2-2.18-rc1 don't decode flac audio like r753 (see my post above).
And it hangs after jump back from current frame. It seems the cache iterator "cachePos" in FFMS_AudioSource::GetAudio() becomes invalid after Cache.erase() in FFMS_AudioSource::CacheBlock(). |
|
|
|
|
|
#1778 | Link |
|
Registered User
Join Date: Sep 2008
Posts: 365
|
Is indexing of larger lossless avi huffyuv been fixed in 2.18-rc1?
Ref former posts: http://forum.doom9.org/showthread.php?p=1594019#post1594019 http://forum.doom9.org/showthread.php?p=1594170#post1594170 http://forum.doom9.org/showthread.php?p=1595022#post1595022 http://forum.doom9.org/showthread.php?p=1595010#post1595010
__________________
(i have a tendency to drunk post) |
|
|
|
|
|
#1779 | Link | |
|
warpsharpened
Join Date: Feb 2007
Posts: 787
|
Quote:
|
|
|
|
|
|
|
#1780 | Link |
|
Registered User
Join Date: Sep 2008
Posts: 365
|
Seems fixed
![]() Same amount of frames as the revision before indexing broke on my files when using ffvideosource. Also backwards seeking seems to have gotten quite a speedup? (at least in avspmod)
__________________
(i have a tendency to drunk post) |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|