View Full Version : L-SMASH Source
speedyrazor
12th April 2016, 16:10
Hi, I have hit a problem opening a Quicktime Prores in Avisynth, which has 1 audio track with 10 channels of audio in it. It works with 1 track with 2 audio channels, but with this file that has 10 channels I am getting this error:
Code:
LSMASHAudioSource: failed to open resampler.
(C:\Users\me\Desktop\test.avs, line1)
Here is the avs script:
Code:
LSMASHAudioSource(source="10_ch_test.mov", track=2)
I am using 'LSMASHSource-AviSynth-plugin-r859-static-32bit'.
Attached is a small 1 frame sample, which shows the error.
Is there an 8 Channel audio limitation?
Anyone else had this issue?
LigH
12th April 2016, 17:45
I just read a similar explanation last week, but where? ... Such professional MOVs do not contain "one #-channel track", but "# tracks to be interleaved and interpreted like channels".
At least I hope that is a similar case...
speedyrazor
12th April 2016, 20:10
I just read a similar explanation last week, but where? ... Such professional MOVs do not contain "one #-channel track", but "# tracks to be interleaved and interpreted like channels".
At least I hope that is a similar case...
But is there a solution?
LigH
13th April 2016, 07:17
You may have to access all the tracks in parallel, and manually interleave them to a multi-channel track, while knowing their assignments. Possibly even outside AviSynth first.
I only remember having read something. I don't know in detail, sorry...
Lebowsky
20th April 2016, 20:22
hi, this might be a completely stupid question, but I can't have it running on windows 7/Avisynth 2.60. I placed all 32bit dlls from the zip into C:\Program Files (x86)\AviSynth\plugins and installed the C++ 2015 x86 redist as well. When simply loading the plugin and doing version() I get a "cannot open file". What am I missing here?
EDIT: used older version of the plugin and dlls, and now I can load the plugin without issue. Sorry about that!
sneaker_ger
20th April 2016, 20:35
Don't be sorry for reporting problems. Others - including me - have problems with later versions as well. The static build seems to work, though. At least for me.
https://www.dropbox.com/sh/3i81ttxf028m1eh/AABfmloLIoByXYQUZ7bVg_3na/LSMASHSource-AviSynth-plugin-r877-msvc-32bit.7z?dl=1
StainlessS
20th April 2016, 20:38
@Lebowsky, Glad you got it sorted but,
When simply loading the plugin and doing version() I get a "cannot open file".
It sounds like you are using LoadPlugin, plugs in the Plugins (AutoLoad) directory do not need loading, it is done automatically on script startup.
Lebowsky
21st April 2016, 12:50
It sounds like you are using LoadPlugin, plugs in the Plugins (AutoLoad) directory do not need loading, it is done automatically on script startup.
yes I was troubleshooting, making sure I wasn't making a mistake in my call to LWLibavVideoSource.
Anyway, other question :) Can you use LWLibavVideoSource "as is" with Avisynth MT? I need to use QTGMC on my source, and I'd like to use multithreading because at the moment it's encoding at 1fps in 1 CPU only even though I have an i7-4770... :D Using less demanding deinterlacers it's blazing fast though. Anyway, QTGMC can make the most out of multithreading, but if LWLibavVideoSource doesn't support it it's not much use to try. Not sure about the whole large address awareness thing either...
LigH
21st April 2016, 13:44
Can you use LWLibavVideoSource "as is" with Avisynth MT?
Of course. What made you doubt? It doesn't matter whether it's auto-loaded or explicitly loaded.
You just should start with a single-instance MT mode (e.g. 5) for this source filter (possibly following a Preroll command to buffer its output) and switch to the multi-instance MT mode (2) afterwards. As often recommended. For most source filters (it is usually not wise to try to read a source multi-threaded, only the following filters should be parallelized).
For some combinations of content and container (e.g. PAFF interlaced AVC in TS), it may be useful to limit to 'threads=1'.
_
:o 4000 posts...
StainlessS
21st April 2016, 14:38
4000 posts...
http://cosgan.de/images/smilie/musik/n015.gifhttp://cosgan.de/images/smilie/musik/e050.gifhttp://cosgan.de/images/smilie/musik/e050.gifhttp://cosgan.de/images/smilie/musik/e050.gifhttp://cosgan.de/images/smilie/musik/n015.gif
How bout that. http://www.cosgan.de/images/smilie/sportlich/f030.gif
http://www.cosgan.de/images/smilie/set/144.gif http://www.cosgan.de/images/smilie/set/140.gif http://www.cosgan.de/images/smilie/set/140.gif http://www.cosgan.de/images/smilie/set/140.gif
Lebowsky
21st April 2016, 17:12
Of course. What made you doubt? It doesn't matter whether it's auto-loaded or explicitly loaded.
You just should start with a single-instance MT mode (e.g. 5) for this source filter (possibly following a Preroll command to buffer its output) and switch to the multi-instance MT mode (2) afterwards. As often recommended. For most source filters (it is usually not wise to try to read a source multi-threaded, only the following filters should be parallelized).
For some combinations of content and container (e.g. PAFF interlaced AVC in TS), it may be useful to limit to 'threads=1'.
_
:o 4000 posts...
just wasn't sure whether it worked as multi-threaded or not, as you need to install a bunch of modified dlls for the MT version to work properly (granted none of them are source importers). all good then :)
LigH
21st April 2016, 19:54
You have to install modified DLLs because these DLLs need to work with a current programming interface version of AviSynth MT since RC 4, to the final version 2.60.
This is not related to L-SMASH Source. Mainly because you will usually not run L-SMASH Source in multiple instances. The decoders inside L-SMASH Source may run with several threads (except you limit threads to 1); but you won't run several copies of L-SMASH Source at the same time to read the same source file, that would be possibly risky and even inefficient. Read the file once, buffer a range of decoded frames, and then let the filters work in parallel with the buffered decoded frames.
StainlessS
21st April 2016, 22:18
Well, its just a guess but everything seems easier in German,
Spellings and typing are always more simple, dont you think,
LigH, with 41,000 posts, dear me, that's a lot in any bodies book.
(Methinks LigH, is being shy, here).
EDIT: :)
Lebowsky
22nd April 2016, 08:47
yep, got it. thanks!
LigH
22nd April 2016, 14:31
Well, its just a guess but everything seems easier in German,
From the German intro of Sesame Street:
Der, die, das
...
Wieso, weshalb, warum
...
Translated to English: :p
The, the, the
...
Why, why, why
...
LigH
22nd April 2016, 18:00
To avoid a continuing violation of rule 3 (some mods are strict here), I guess we should get rid of answers #574;575;578;579;581;582. And this. Thanks for the celebration, but it's over. :cool:
speedyrazor
28th April 2016, 17:27
Don't be sorry for reporting problems. Others - including me - have problems with later versions as well. The static build seems to work, though. At least for me.
https://www.dropbox.com/sh/3i81ttxf028m1eh/AABfmloLIoByXYQUZ7bVg_3na/LSMASHSource-AviSynth-plugin-r877-msvc-32bit.7z?dl=1
Yeah, I can't seem to get any of the latest versions working, all I get is:
Script error: there is no function named "LSMASHAudioSource"
I have 09/01/2016 version working, but replacing it with 07/03/2016 gives me the error.
Anyone have any suggestions please?
sneaker_ger
28th April 2016, 17:31
Did you try the build I linked? Did you install the c++ redistributable that's linked in the 7z file? Are you on Windows XP?
speedyrazor
28th April 2016, 17:45
Did you try the build I linked? Did you install the c++ redistributable that's linked in the 7z file? Are you on Windows XP?
Sorry, my mistake, I didn't install the c++ redistributable that's linked in the 7z file. Once I installed this, everything worked as expected.
All working fine now.
Sorry for the confusion.
Regards.
asarian
29th April 2016, 19:57
Sigh. LWLibavVideoSource crashes my AviSynth:
Avisynth: access violation at 0x000E539E in C:\Program Files (x86)\AviSynth\plugins\avformat-57.dll,
attempting to read from 0xFFFFFFFF
And LSMASHVideoSource throws this:
[importer: Error]: failed to find the matched importer.
(Both on a .m2ts file).
speedyrazor
29th April 2016, 19:58
You may have to access all the tracks in parallel, and manually interleave them to a multi-channel track, while knowing their assignments. Possibly even outside AviSynth first.
I only remember having read something. I don't know in detail, sorry...
What do you mean "access all the tracks in parallel"?
stax76
29th April 2016, 20:12
@asarian
Where is the file from? Most robust TS filter is DGDecNV.
asarian
29th April 2016, 20:19
@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.
stax76
29th April 2016, 20:39
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.
asarian
29th April 2016, 20:57
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:
Avisynth error:
LSMASHVideoSource [Fatal]: Failed to read an input file
stax76
29th April 2016, 21:00
The tsmuxer output is probably bad, MakeMKV is in my experience the best solution.
asarian
29th April 2016, 21:13
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).
jackoneill
29th April 2016, 22:28
For DVDs d2vsource tends to work just fine, no remuxing needed. For the pulldown there is TFM + TDecimate. Err, I mean, DGDecode, not d2vsource.
LigH
29th April 2016, 23:14
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...
asarian
29th April 2016, 23:26
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.
speedyrazor
30th April 2016, 07:00
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?
LigH
30th April 2016, 08:56
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 (http://forum.doom9.org/showthread.php?p=1763719#post1763719) 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.
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:
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?).
asarian
1st May 2016, 14:12
Sigh. LWLibavVideoSource crashes my AviSynth:
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.
fvisagie
2nd May 2016, 06:14
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.
asarian
2nd May 2016, 08:54
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.
asarian
2nd May 2016, 12:30
^^ Yep, the static dll of LWLibavVideoSource works just fine! Thanks again! :)
asarian
4th May 2016, 07:11
Yikes, does LWLibavSource even support VC1?! Getting tons of these:
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
I just answered the same question in the VideoHelp forum (http://forum.videohelp.com/threads/378381-FFmpeg-and-VC-1-!) (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.
Groucho2004
4th May 2016, 09:24
Googling this warning yields quite a number of hits and it's not just VC1 streams that cause it.
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).
asarian
4th May 2016, 10:09
My bad for the cross-post. I supplied a sample, and further info. here:
wm-sample (http://forum.videohelp.com/threads/378381-FFmpeg-and-VC-1-%21)
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.
sneaker_ger
4th May 2016, 11:20
You're not trying to open a non-ISO base media file format file using LibavSMASHSource instead of LWLibavSource, are you?
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]:
[mpegts @ 0000000000599120] Failed to open codec in av_find_stream_info
asarian
4th May 2016, 12:14
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:
vid = core.lsmas.LWLibavSource ("f:/jobs/wm-sample.m2ts")
asarian
4th May 2016, 18:27
Why, the matter appears to be resolved:
http://forum.videohelp.com/threads/378381-FFmpeg-and-VC-1-%21?p=2443991&viewfull=1#post2443991
With a big thanks to LigH.de for all his testing!!
bilditup1
22nd May 2016, 23:27
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.
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)...
tebasuna51
23rd May 2016, 12:30
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.
Music Fan
23rd May 2016, 20:44
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.