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 30th April 2016, 07:00   #581  |  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, 08:56   #582  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
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 09:05.
LigH is offline   Reply With Quote
Old 1st May 2016, 14:12   #583  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
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, 06:14   #584  |  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, 08:54   #585  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
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, 12:30   #586  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
^^ Yep, the static dll of LWLibavVideoSource works just fine! Thanks again!
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 4th May 2016, 07:11   #587  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
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, 09:13   #588  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
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, 09:24   #589  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
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, 09:44   #590  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
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, 10:09   #591  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
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
Old 4th May 2016, 10:59   #592  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
With VapourSynth x64 R32 and VSLSMASHSource (2016-02-02) from StaxRip x64 v1.3.4.0, I get a crash loading the .vpy in VirtualDub x64 v1.10.4: "Python exception: [Fatal]: Failed to read an input file"; but I am quite sure the filename is correct, and I should have installed all MS VC++ runtimes in x86 and x64.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 4th May 2016, 11:20   #593  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
You're not trying to open a non-ISO base media file format file using LibavSMASHSource instead of LWLibavSource, are you?
sneaker_ger is offline   Reply With Quote
Old 4th May 2016, 11:37   #594  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
Oops, that's indeed the mistake, I c&p from a template opening an MP4 before.
__

VirtualDub x64 shows the video correctly; x264 encoded without any vc1 warnings, there was only one before y4m [info]:

Code:
[mpegts @ 0000000000599120] Failed to open codec in av_find_stream_info
__________________

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

Last edited by LigH; 4th May 2016 at 11:49.
LigH is offline   Reply With Quote
Old 4th May 2016, 12:14   #595  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by sneaker_ger View Post
You're not trying to open a non-ISO base media file format file using LibavSMASHSource instead of LWLibavSource, are you?
Nope. The line I use, in VapourSynth, is:

Code:
vid = core.lsmas.LWLibavSource ("f:/jobs/wm-sample.m2ts")
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 4th May 2016, 18:27   #596  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Why, the matter appears to be resolved:

http://forum.videohelp.com/threads/3...=1#post2443991

With a big thanks to LigH.de for all his testing!!
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 22nd May 2016, 23:27   #597  |  Link
bilditup1
Registered User
 
bilditup1's Avatar
 
Join Date: Feb 2004
Location: NYC
Posts: 124
Does anybody know if LSmash (LWLibavAudioSource) can properly decode 5.1 AC3 streams with 2.0 sections without mucking things up (having the 2.0 sections sound like the chipmunks?). eac3to and nic don't appear to be able to, but I don't actually know anything about how AC3 decoding works.
bilditup1 is offline   Reply With Quote
Old 23rd May 2016, 08:21   #598  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
If your source is an SD TS from DVB with MPEG-2 video, Project-X can help cutting out stereo scenes (e.g. inserted advertizing). Unfortunately, it doesn't support HD TS (e.g. from DVB-S2) with AVC video.

There may be other more universal tools helping you to cut TS based on audio format ranges, which I don't know in detail (e.g. TS Sniper?). They may also be able to exchange scenes of different audio formats with silence of the surrounding format, I believe (if I'm not wrong)...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd May 2016, 12:30   #599  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,914
Quote:
Originally Posted by bilditup1 View Post
Does anybody know if LSmash (LWLibavAudioSource) can properly decode 5.1 AC3 streams with 2.0 sections...
Seems your question is related to http://forum.doom9.org/showthread.php?t=173525

Pure decoders can't manage these kinds of streams.

Maybe you can try a Directshow decoder than add special functions to match your speakers config. If your speaker config is 2.0 the output must be 2.0, if is 5.1 the output must be 5.1

Your source seems HD them Project-X can't help you, I never try TS Sniper like LigH suggest, or you can use the method propossed in the related post.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 23rd May 2016, 20:44   #600  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
TSDoctor lets you choose to keep the 2.0 or the 5.1 part of a video (and thus cuts video where it cuts sound) but it's not free.
Music Fan 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 18:11.


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