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 April 2016, 21:19   #581  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by stax76 View Post
@asarian

Where is the file from? Most robust TS filter is DGDecNV.
The file is just a Taylor Swift DVD I demuxed with tsMuxer (to remove the 3/2 pulldown) to an m2ts.

And yes, I normally use DGDecNV, but that seems incompatible somehow with KNLMeansCL, so I figured I try a different frame input filter.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 29th April 2016, 21:39   #582  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: 36 Chambers
Posts: 5,911
Quote:
Originally Posted by asarian View Post
The file is just a Taylor Swift DVD I demuxed with tsMuxer (to remove the 3/2 pulldown) to an m2ts.

And yes, I normally use DGDecNV, but that seems incompatible somehow with KNLMeansCL, so I figured I try a different frame input filter.
I have horrible experience with TS and avoid it at any cost, two alternatives are PS and MKV.
stax76 is offline   Reply With Quote
Old 29th April 2016, 21:57   #583  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by stax76 View Post
I have horrible experience with TS and avoid it at any cost, two alternatives are PS and MKV.
I'm getting the same error for the input file muxed to mkv:

Code:
Avisynth error:
LSMASHVideoSource [Fatal]: Failed to read an input file
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 29th April 2016, 22:00   #584  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: 36 Chambers
Posts: 5,911
The tsmuxer output is probably bad, MakeMKV is in my experience the best solution.
stax76 is offline   Reply With Quote
Old 29th April 2016, 22:13   #585  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Keep in mind that DGSource reads the m2ts/mkv just fine. It's just that I can't use it now, as it clashes with KNLMeansCL usage further down the line (in QTGMC).
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 29th April 2016, 23:28   #586  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 728
For DVDs d2vsource tends to work just fine, no remuxing needed. For the pulldown there is TFM + TDecimate. Err, I mean, DGDecode, not d2vsource.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 30th April 2016, 00:14   #587  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,983
Quote:
Originally Posted by speedyrazor View Post
What do you mean "access all the tracks in parallel"?
You may need a tool which can extract all 10 tracks to single mono WAVs before you could try to interleave them to a 10-channel audio track in whichever format (would you even know which track would have to be mapped to which channel?); I doubt that eac3to or BeSweet can handle MOVs, I don't know any specific tool related to QuickTime which could help you here, and I wonder how complex an ffmpeg command line could become...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 30th April 2016, 00:26   #588  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by jackoneill View Post
For DVDs d2vsource tends to work just fine, no remuxing needed. For the pulldown there is TFM + TDecimate. Err, I mean, DGDecode, not d2vsource.
Thx. I still have an (optimized) DGDecode 1.5.8 version lying around somewhere.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 30th April 2016, 08:00   #589  |  Link
speedyrazor
Registered User
 
Join Date: Mar 2003
Posts: 194
Quote:
Originally Posted by LigH View Post
You may need a tool which can extract all 10 tracks to single mono WAVs before you could try to interleave them to a 10-channel audio track in whichever format (would you even know which track would have to be mapped to which channel?); I doubt that eac3to or BeSweet can handle MOVs, I don't know any specific tool related to QuickTime which could help you here, and I wonder how complex an ffmpeg command line could become...
I really need an avisynth audio filter that can work with more than 8 channels of audio in a Prores file which DOES NOT need to index the file (as indexing takes far too long in an HD movie).
Any suggestions please?
speedyrazor is offline   Reply With Quote
Old 30th April 2016, 09:56   #590  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,983
Then try to use not LwLibav*Source() but LSMASH*Source() filters of L-SMASH Works (LSMASHSource.dll). They use not libavformats with indexing, but the L-SMASH demultiplexer of ISO Base Media containers (like MP4, MOV, 3GPP) which relies on contained chunks only.

(P.S.: ^ Oh, you already did.)

Or try the older QTSource (which will probably require QuickTime installed).

BTW: I found the post in the LAV Filters thread where one had 8 mono tracks instead of one 8-channel track. But if MediaInfo is correct, you have one 10-channel track, with included assignment information (which confuses me, though).

10 channels of 24 bit each, little endian LPCM, makes 11.5 Mbps audio. A heavy weight.

Code:
General
Count                                    : 309
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : ProRes
Video_Format_WithHint_List               : ProRes
Codecs Video                             : apch
Video_Language_List                      : English
Audio_Format_List                        : PCM
Audio_Format_WithHint_List               : PCM
Audio codecs                             : PCM
Complete name                            : 10_ch_test_1_frame1.mov
File name                                : 10_ch_test_1_frame1
File extension                           : mov
Format                                   : MPEG-4
Format                                   : MPEG-4
Format/Extensions usually used           : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
Commercial name                          : MPEG-4
Format profile                           : QuickTime
Internet media type                      : video/mp4
Codec ID                                 : qt  
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : MPEG-4
Codec                                    : MPEG-4
Codec/Extensions usually used            : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
File size                                : 65293
File size                                : 63.8 KiB
File size                                : 64 KiB
File size                                : 64 KiB
File size                                : 63.8 KiB
File size                                : 63.76 KiB
Duration                                 : 82
Duration                                 : 82ms
Duration                                 : 82ms
Duration                                 : 82ms
Duration                                 : 00:00:00.082
Duration                                 : 00:00:00:02
Duration                                 : 00:00:00.082 (00:00:00:02)
Overall bit rate mode                    : CBR
Overall bit rate mode                    : Constant
Overall bit rate                         : 6370049
Overall bit rate                         : 6 370 Kbps
Frame rate                               : 24.000
Frame rate                               : 24.000 fps
Frame count                              : 2
Stream size                              : 3135
Stream size                              : 3.06 KiB (5%)
Stream size                              : 3 KiB
Stream size                              : 3.1 KiB
Stream size                              : 3.06 KiB
Stream size                              : 3.062 KiB
Stream size                              : 3.06 KiB (5%)
Proportion of this stream                : 0.04801
HeaderSize                               : 3111
DataSize                                 : 62182
FooterSize                               : 0
IsStreamable                             : Yes
Encoded date                             : UTC 2016-02-18 06:29:23
Tagged date                              : UTC 2016-02-18 06:29:23
File creation date                       : UTC 2016-04-30 07:49:27.846
File creation date (local)               : 2016-04-30 09:49:27.846
File last modification date              : UTC 2016-02-18 04:29:24.000
File last modification date (local)      : 2016-02-18 06:29:24.000
Writing library                          : Apple QuickTime 7.7.3
Writing library                          : Apple QuickTime 7.7.3
Encoded_Library_Name                     : Apple QuickTime
Encoded_Library_Version                  : 7.7.3
com.apple.quicktime.player.movie.audio.m : (Binary)

Video
Count                                    : 311
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 5
ID                                       : 5
Format                                   : ProRes
Commercial name                          : ProRes
Format version                           : Version 0
Format profile                           : 422 HQ
Codec ID                                 : apch
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Codec                                    : apch
Codec                                    : apch
Codec/CC                                 : apch
Duration                                 : 82
Duration                                 : 82ms
Duration                                 : 82ms
Duration                                 : 82ms
Duration                                 : 00:00:00.082
Duration                                 : 00:00:00:02
Duration                                 : 00:00:00.082 (00:00:00:02)
Source duration                          : 83
Source duration                          : 83ms
Source duration                          : 83ms
Source duration                          : 83ms
Source duration                          : 00:00:00.083
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 201408
Bit rate                                 : 201 Kbps
Width                                    : 320
Width                                    : 320 pixels
Height                                   : 240
Height                                   : 240 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.333
Display aspect ratio                     : 4:3
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 24.000
Frame rate                               : 24.000 fps
Frame count                              : 2
Source frame count                       : 2
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.109
Stream size                              : 2098
Stream size                              : 2.05 KiB (3%)
Stream size                              : 2 KiB
Stream size                              : 2.0 KiB
Stream size                              : 2.05 KiB
Stream size                              : 2.049 KiB
Stream size                              : 2.05 KiB (3%)
Proportion of this stream                : 0.03213
Source stream size                       : 2098
Source stream size                       : 2.05 KiB (3%)
Source stream size                       : 2 KiB
Source stream size                       : 2.0 KiB
Source stream size                       : 2.05 KiB
Source stream size                       : 2.049 KiB
Source stream size                       : 2.05 KiB (3%)
Source_StreamSize_Proportion             : 0.03213
Writing library                          : fmpg
Writing library                          : fmpg
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Encoded date                             : UTC 2016-02-18 06:28:50
Tagged date                              : UTC 2016-02-18 06:29:23
colour_description_present               : Yes
colour_description_present_Original      : Yes
matrix_coefficients_Original             : BT.601

Audio
Count                                    : 254
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 2
ID                                       : 2
Format                                   : PCM
Commercial name                          : PCM
Format settings                          : Little / Signed
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : lpcm
Codec                                    : PCM
Codec                                    : PCM
Codec/Family                             : PCM
Codec/CC                                 : lpcm
Codec settings                           : Little / Signed
Codec settings, Endianness               : Little
Codec settings, Sign                     : Signed
Duration                                 : 42
Duration                                 : 42ms
Duration                                 : 42ms
Duration                                 : 42ms
Duration                                 : 00:00:00.042
Duration                                 : 00:00:00.042
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 11520000
Bit rate                                 : 11.5 Mbps
Channel(s)                               : 10
Channel(s)                               : 10 channels
Channel positions                        : Front: L C R, Side: L, Back: L C R, LFE
ChannelLayout                            : L R C LFE Ls Rs Lc Rc Cs Lsd
Sampling rate                            : 48000
Sampling rate                            : 48.0 KHz
Samples count                            : 2016
Resolution                               : 24
Resolution                               : 24 bits
Bit depth                                : 24
Bit depth                                : 24 bits
Stream size                              : 60060
Stream size                              : 58.7 KiB (92%)
Stream size                              : 59 KiB
Stream size                              : 59 KiB
Stream size                              : 58.7 KiB
Stream size                              : 58.65 KiB
Stream size                              : 58.7 KiB (92%)
Proportion of this stream                : 0.91985
Encoded date                             : UTC 2016-01-30 00:32:09
Tagged date                              : UTC 2016-02-18 06:29:23
P.S.: Your error message was:

Quote:
LSMASHAudioSource: failed to open resampler.
I wonder if the sample format (24b LE) is the reason – or indeed the channel count (but it doesn't mix down?).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 30th April 2016 at 10:05.
LigH is offline   Reply With Quote
Old 1st May 2016, 15:12   #591  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by asarian View Post
Sigh. LWLibavVideoSource crashes my AviSynth:

Code:
Avisynth: access violation at 0x000E539E in C:\Program Files (x86)\AviSynth\plugins\avformat-57.dll,
attempting to read from 0xFFFFFFFF
Still surprised LWLibavVideoSource crashes like this. I have it installed in VapourSynth as well, at it works flawlessly there. I tried it with an .mkv version (of the same file I use LWLibavVideoSource for in VS), but still no go.

N.B. On a slightly funny note, don't call your software L-SMASH-Works-r877-20160307-32bit, when it doesn't work at all. Or at least not always.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 2nd May 2016, 07:14   #592  |  Link
fvisagie
Registered User
 
Join Date: Aug 2008
Location: Isle of Man
Posts: 588
Quote:
Originally Posted by asarian View Post
Still surprised LWLibavVideoSource crashes like this. I have it installed in VapourSynth as well, at it works flawlessly there.
Running out of memory could also crash Avisynth, at least. You can only directly compare the two LWLibavVideoSource() instances when they run on the same machine with the same host processes, inputs and Avisynth scripts.
fvisagie is offline   Reply With Quote
Old 2nd May 2016, 07:25   #593  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 680
Quote:
Originally Posted by asarian View Post
Still surprised LWLibavVideoSource crashes like this. I have it installed in VapourSynth as well, at it works flawlessly there. I tried it with an .mkv version (of the same file I use LWLibavVideoSource for in VS), but still no go.

N.B. On a slightly funny note, don't call your software L-SMASH-Works-r877-20160307-32bit, when it doesn't work at all. Or at least not always.
Try using the static build (LSMASHSource-AviSynth-plugin-r877-msvc-32bit) and see if it still crashes.
HolyWu is offline   Reply With Quote
Old 2nd May 2016, 09:54   #594  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by HolyWu View Post
Try using the static build (LSMASHSource-AviSynth-plugin-r877-msvc-32bit) and see if it still crashes.
That's a good idea, thx! I will try it as soon as the current job finishes.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 2nd May 2016, 13:30   #595  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
^^ Yep, the static dll of LWLibavVideoSource works just fine! Thanks again!
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 4th May 2016, 08:11   #596  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Yikes, does LWLibavSource even support VC1?! Getting tons of these:

Code:
x264 [info]: OpenCL acceleration enabled with NVIDIA Corporation GeForce GTX 980
x264 [info]: Compiling OpenCL kernels...
x264 [info]: profile High, level 4.1
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
[vc1 @ 00000236bd0cbe80] warning: first frame is no keyframe
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 4th May 2016, 10:13   #597  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,983
I just answered the same question in the VideoHelp forum (please don't cross-post...):

If it couldn't decode VC-1 at all, it would fail, and you would get not the expected video output. These warnings are probably to be ignored. I wonder how their display was enabled at all.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 4th May 2016, 10:24   #598  |  Link
Groucho2004
Fossil
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,505
Googling this warning yields quite a number of hits and it's not just VC1 streams that cause it.
Groucho2004 is offline   Reply With Quote
Old 4th May 2016, 10:44   #599  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,983
If also the video output is wrong, I wonder if it may be "interlaced VC-1" which was usually not completely supported by libavcodec. A brief sample could help, and a verbose MediaInfo analysis (extended mode).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 4th May 2016, 11:09   #600  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
My bad for the cross-post. I supplied a sample, and further info. here:

wm-sample
__________________
Gorgeous, delicious, deculture!
asarian 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 03:09.


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