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 > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th March 2015, 06:01   #1981  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by qyot27 View Post
My builds of the C plugin are simply updated more often. 'Preferred' is purely subjective.

Thanks qyot27. Two questions:

1. Can this deal with interlaced content?
2. And what about interlaced content that's been encoded as progressive (as reported by mediainfo) in a ts container? Or is there a way to flag these as interlaced without re-encoding?

Many thanks and best regards.
mariner is offline   Reply With Quote
Old 29th March 2015, 07:28   #1982  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
I don't know, as I've never had to handle interlaced H.264 with FFMS2. Since the latest builds have the Haali splitters removed, its performance should map fairly equally to how it's handled in FFmpeg itself.
qyot27 is offline   Reply With Quote
Old 29th March 2015, 07:56   #1983  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
Or is there a way to flag these as interlaced without re-encoding?
iirc there's a modified ffmpeg version floating around which can remux and change the interlaced flag,..
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 29th March 2015, 10:55   #1984  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by Selur View Post
iirc there's a modified ffmpeg version floating around which can remux and change the interlaced flag,..
Dont know about that, but there is one to hack Aspect Ratio:-
"New tool to change SAR in H264 bitstream "
http://forum.doom9.org/showthread.php?t=152419
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 29th March 2015, 11:30   #1985  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
damn, thought that one could also change the interlaced flags,...
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th March 2015, 08:39   #1986  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
There is quite a difference between PAFF and MBAFF interlacing. It's more than a matter of setting flags. You would confuse a decoder substantially if you patched them wrong.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 9th April 2015, 06:49   #1987  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by qyot27 View Post
I don't know, as I've never had to handle interlaced H.264 with FFMS2. Since the latest builds have the Haali splitters removed, its performance should map fairly equally to how it's handled in FFmpeg itself.
Thanks for the reply.

MultiAVCHD was not able to display the menu and video when the r944 files was placed in the Avisynth plugin folder. No issue with the official 2.2 build. What may have caused this?

Many thanks and best regards.
mariner is offline   Reply With Quote
Old 9th April 2015, 12:07   #1988  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 452
Quote:
Originally Posted by mariner View Post
Thanks for the reply.

MultiAVCHD was not able to display the menu and video when the r944 files was placed in the Avisynth plugin folder. No issue with the official 2.2 build. What may have caused this?

Many thanks and best regards.
Did you also put the file FFMS2.avsi in the plugin directory ?
You need to do so, because this is a C-plugin and it will not autoload without the FFMS2.avsi file being present in the same directory.

Last edited by Pat357; 9th April 2015 at 12:09.
Pat357 is offline   Reply With Quote
Old 9th April 2015, 12:12   #1989  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
AviSynth+ (note the plus) is able to autoload AviSynth C plugins; the original AviSynth 2.x is not, therefore the import script (with additional declared convenience functions).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 10th April 2015, 01:49   #1990  |  Link
mariner
Registered User
 
Join Date: Nov 2005
Posts: 583
Quote:
Originally Posted by Pat357 View Post
Did you also put the file FFMS2.avsi in the plugin directory ?
You need to do so, because this is a C-plugin and it will not autoload without the FFMS2.avsi file being present in the same directory.
Thanks for the reply, Pat.

All the three files are placed in the plugin directory.

Here's the situation:

1. No files in plugin directory: multiAVCHD OK.
2. Build 2.2 files in plugin directory: OK.
3. Build 944: NOT OK

Any idea?
mariner is offline   Reply With Quote
Old 10th April 2015, 02:42   #1991  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Some programs require AviSynth's plugins folder to be on the %PATH% in order to handle the .avsi. In those cases it's the program's issue, not FFMS2's.
qyot27 is offline   Reply With Quote
Old 26th April 2015, 11:31   #1992  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Here is a problem a StaxRip user reported:

Code:
------------------------------------------------------------
                   Source file MediaInfo
------------------------------------------------------------

D:\Spiele\BorderlandsPreSequel 2015-02-05 20-34-18-52_merged.mkv

General
Unique ID                    : 242162529886412073948372795964824009988 (0xB62ECE8896C135ED9BB8CA6516F8BD04)
Complete name                : D:\Spiele\BorderlandsPreSequel 2015-02-05 20-34-18-52_merged.mkv
Format                       : Matroska
Format version               : Version 4 / Version 2
File size                    : 6.21 GiB
Duration                     : 1mn 16s
Overall bit rate             : 701 Mbps
Encoded date                 : UTC 2015-04-26 10:03:44
Writing application          : mkvmerge v7.7.0 ('Six Voices') 32bit built on Feb 28 2015 23:23:00
Writing library              : libebml v1.3.1 + libmatroska v1.4.2
DURATION                     : 00:01:16.133000000
NUMBER_OF_FRAMES             : 2438
NUMBER_OF_BYTES              : 14617600
_STATISTICS_WRITING_APP      : mkvmerge v7.7.0 ('Six Voices') 32bit built on Feb 28 2015 23:23:00
_STATISTICS_WRITING_DATE_UTC : 2015-04-26 10:03:44
_STATISTICS_TAGS             : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID                           : 1
Format                       : Fraps
Codec ID                     : V_MS/VFW/FOURCC / FPS1
Duration                     : 1mn 16s
Width                        : 2 560 pixels
Height                       : 1 600 pixels
Display aspect ratio         : 16:10
Frame rate mode              : Constant
Frame rate                   : 30.000 fps
Default                      : Yes
Forced                       : No

Audio
ID                           : 2
Format                       : PCM
Codec ID                     : A_PCM/INT/LIT
Duration                     : 1mn 16s
Bit rate mode                : Constant
Channel(s)                   : 2 channels
Sampling rate                : 48.0 KHz
Bit depth                    : 16 bits
Default                      : Yes
Forced                       : No
Quote:
------------------------------------------------------------
Index with ffmsindex
------------------------------------------------------------

"E:\Video\StaxRip_1.2.2.0\Applications\AviSynth plugins\ffms2\ffmsindex.exe" "D:\Spiele\BorderlandsPreSequel 2015-02-05 20-34-18-52_merged.mkv" "D:\Spiele\BorderlandsPreSequel 2015-02-05 20-34-18-52_merged temp files\BorderlandsPreSequel 2015-02-05 20-34-18-52_merged.ffindex"


------------------------------------------------------------
Error Index with ffmsindex
------------------------------------------------------------

Index with ffmsindex failed with exit code -1073741819
stax76 is offline   Reply With Quote
Old 26th April 2015, 15:48   #1993  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
There is a ffmsindex memory leak with 2.20 64-Bit

Code:
General

Audio_Codec_List          : DTS
Audio_Language_List       : English
Codec/String              : Matroska
FileSize/String4          : 9.837 GiB
Duration/String1          : 2h 8mn 15s 691ms
OverallBitRate/String     : 11.0 Mbps
FrameRate/String          : 23.976 fps
FrameCount                : 184512
StreamSize/String         : 200 MiB (2%)
Encoded_Date              : UTC 2015-04-23 21:59:03
File_Created_Date_Local   : 2015-04-24 21:24:08.430
File_Modified_Date_Local  : 2015-04-24 08:34:08.485
Encoded_Application       : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01
Encoded_Library           : libebml v1.3.0 + libmatroska v1.4.0

Video

ID                        : 1
Format_Profile            : High@L4.1
Codec/String              : AVC
Duration/String1          : 2h 8mn 15s 696ms
BitRate/String            : 9 469 Kbps
Width/String              : 1 920 pixels
Height/String             : 800 pixels
PixelAspectRatio          : 1.000
DisplayAspectRatio/String : 2.40:1
FrameRate/String          : 23.976 fps
FrameCount                : 184512
Resolution/String         : 8 bits
ScanType                  : Progressive
StreamSize/String         : 8.29 GiB (84%)
Encoded_Library           : x264 - core 144 r2525 40bb568
Language/String           : English
Default                   : Yes
Forced                    : No

Audio

ID                        : 2
Codec/String              : DTS
Duration/String1          : 2h 8mn 15s 691ms
BitRate_Mode              : CBR
BitRate/String            : 1 509 Kbps
Channel(s)/String         : 6 channels
SamplingRate/String       : 48.0 KHz
Resolution/String         : 24 bits
Compression_Mode          : Lossy
Video_Delay               : 0
StreamSize/String         : 1.35 GiB (14%)
Language/String           : English
Default                   : Yes
Forced                    : No
stax76 is offline   Reply With Quote
Old 26th April 2015, 19:08   #1994  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
I'm posting about it here as well since not everyone reads the VapourSynth thread...

Here's a ffms2 32bit test build from my own development branch. Compiled with latest libav.

I need help to test it to see so I didn't break anything for Avisynth users. If you don't test it now you'll be getting buggy Avisynth builds later.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 26th April 2015, 19:19   #1995  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Thanks for build although I could only test x64.
stax76 is offline   Reply With Quote
Old 27th April 2015, 03:43   #1996  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
The ffmsindex memory leak is critical since a 8 GB movie causes ffmsindex to grow 8 GB memory, it's only happening with the x64 version.
stax76 is offline   Reply With Quote
Old 27th April 2015, 10:07   #1997  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
64 bit test build. Basically the same code as the 32 bit one.

Report your results.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 27th April 2015, 10:18   #1998  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
First thanks for your work and support.

I confirm the ffmsindex leak is fixed but there is another problem, the filter reports 'No video track found' trying to open avc mkv.
stax76 is offline   Reply With Quote
Old 27th April 2015, 10:34   #1999  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
Quote:
Originally Posted by stax76 View Post
First thanks for your work and support.

I confirm the ffmsindex leak is fixed but there is another problem, the filter reports 'No video track found' trying to open avc mkv.
When you do what exactly?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 27th April 2015, 10:47   #2000  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Code:
------------------------------------------------------------
                        Environment
------------------------------------------------------------

StaxRip version : 1.3.0.3
OS              : Windows 7 Home Premium
Language        : German (Germany)
CPU             : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
GPU             : NVIDIA GeForce GTX 960
LAV Filters     : LAV Filters 0.65.0-2

------------------------------------------------------------
                   Source file MediaInfo
------------------------------------------------------------

C:\Daten\Temp\test\test.mkv

General
Unique ID                    : 179239962812818211157003190095008528769
Complete name                : C:\Daten\Temp\test\test.mkv
Format                       : Matroska
Format version               : Version 4 / Version 2
File size                    : 65.4 MiB
Duration                     : 2mn 5s
Overall bit rate             : 4 385 Kbps
Encoded date                 : UTC 2015-04-27 05:46:06
Writing application          : mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02
Writing library              : libebml v1.3.1 + libmatroska v1.4.2
DURATION                     : 00:02:05.185000000
NUMBER_OF_FRAMES             : 6260
NUMBER_OF_BYTES              : 1272797
_STATISTICS_WRITING_APP      : mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02
_STATISTICS_WRITING_DATE_UTC : 2015-04-27 05:46:06
_STATISTICS_TAGS             : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID                           : 1
Format                       : AVC
Format/Info                  : Advanced Video Codec
Format profile               : High@L4
Format settings, CABAC       : Yes
Format settings, ReFrames    : 4 frames
Codec ID                     : V_MPEG4/ISO/AVC
Duration                     : 2mn 5s
Width                        : 1 920 pixels
Height                       : 1 080 pixels
Display aspect ratio         : 16:9
Frame rate mode              : Constant
Frame rate                   : 25.000 fps
Color space                  : YUV
Chroma subsampling           : 4:2:0
Bit depth                    : 8 bits
Scan type                    : Progressive
Writing library              : x264 core 146 r2538 121396c
Encoding settings            : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex /
	subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 /
	8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 /
	lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 /
	bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 /
	direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 /
	intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 /
	qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                      : Yes
Forced                       : No

Audio
ID                           : 2
Format                       : Opus
Codec ID                     : A_OPUS
Duration                     : 2mn 5s
Channel(s)                   : 2 channels
Channel positions            : Front: L R
Sampling rate                : 48.0 KHz
Compression mode             : Lossy
Default                      : Yes
Forced                       : No

------------------------------------------------------------
                    Index with ffmsindex
------------------------------------------------------------

"C:\Daten\Projekte\GitHub\staxrip\bin\Tools\Plugins\ffms2\ffmsindex.exe" "C:\Daten\Temp\test\test.mkv"
	"C:\Daten\Temp\test\test temp files\test.ffindex"

Writing index... done.

Start:    11:44:34
End:      11:44:34
Duration: 00:00:00


------------------------------------------------------------
                    Error opening source
------------------------------------------------------------

FFVideoSource: No video track found
(C:\Daten\Temp\test\test temp files\test_new_Source.avs, line 2)

FFVideoSource("C:\Daten\Temp\test\test.mkv", cachefile = "C:\Daten\Temp\test\test temp files\test.ffindex")
AssumeFPS(25.000000)
stax76 is offline   Reply With Quote
Reply

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 22:19.


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