Log in

View Full Version : FFmpegSource


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [43] 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

Groucho2004
5th August 2015, 09:10
Any idea what can cause absolutely insane frameskipping and thus desync with FFMS (both "live" and in final render)? AviSource works fine, but if I use FFMS to open recorded AVI it behaves weirdly slow and inconsistent (after the index build).
Post your (complete) script. Have you tried setting "threads" to 1?

LigH
5th August 2015, 09:18
Furthermore, it might be useful to have a MediaInfo analysis, to know which VfW codec was used to create the video stream inside the AVI.

Kein
5th August 2015, 10:28
Post your (complete) script. Have you tried setting "threads" to 1?


a=FFAudioSource("record.avi")
b=FFVideoSource("record.avi")
AudioDub(b, a).Trim(0,11367)


Furthermore, it might be useful to have a MediaInfo analysis, to know which VfW codec was used to create the video stream inside the AVI.

Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 22.1 GiB
Duration : 7mn 53s
Overall bit rate : 400 Mbps
Original source form/Distributed by : Video:YUV420|CompressV3 Audio:Speakers (VIA High Definition Audio)
Writing application : DxtoryCore ver2.0.0.127

Video
ID : 0
Format : xtor
Codec ID : xtor
Duration : 7mn 53s
Bit rate : 399 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Bits/(Pixel*Frame) : 6.411
Stream size : 22.0 GiB (100%)

Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 7mn 53s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 86.7 MiB (0%)
Alignment : Aligned on interleaves
Interleave, duration : 100 ms (3.00 video frames)



AviSynth 2.6 release 32bit/ST, FFMS 2.21

Groucho2004
5th August 2015, 10:55
Any idea what can cause absolutely insane frameskipping and thus desync with FFMS (both "live" and in final render)? AviSource works fine, but if I use FFMS to open recorded AVI it behaves weirdly slow and inconsistent (after the index build).
I see you had trouble with this format before, have you tried a recent ffms2 build from qyot27?

Kein
5th August 2015, 10:57
Was there anything relevant to my issue?

Groucho2004
5th August 2015, 11:26
Was there anything relevant to my issue?
I don't know. It's almost always trial and error.
- Try a newer build
- Try "threads = 1"
- Try without the audio
- Upload a sample with which this can be reproduced

real.finder
6th August 2015, 03:29
Here's yet another test build (https://www.dropbox.com/s/eneprw5kfw7s5wk/ffms2-delaytest1.7z?dl=1). Let's call it kinda 2.22 rc2.

It should fix the weird video repeat at the start with delayed video. And some other issues related to it that were a lot less obvious.

with .dv NTSC yv411 (4:1:1) say

http://i.imgur.com/wBSoJQ8.png

with c ver. by qyot27 work ok and output yv411

LigH
6th August 2015, 08:10
Does AviSynth offer a YUV 4:1:1 mode at all? I would expect it to have been upsampled to an available format (e.g. YUY2 or YV16 in YUV 4:2:2) when color space conversions are supported.

jpsdr
6th August 2015, 14:57
Yes, 2.6 support it.

Myrsloik
6th August 2015, 20:37
with .dv NTSC yv411 (4:1:1) say

http://i.imgur.com/wBSoJQ8.png

with c ver. by qyot27 work ok and output yv411

I want a small sample of that. Maybe it's some trivial bug or typo in the code.

real.finder
6th August 2015, 22:50
I want a small sample of that. Maybe it's some trivial bug or typo in the code.

this is avi section muxed from original .dv with avidemux http://samaup.com/a7o3lluxx2m6

Kein
15th August 2015, 09:25
- Try a newer build
- Try "threads = 1"
- Upload a sample with which this can be reproduced

1. It is the latest
2. non-MT version
3. Sure, examples:
RAW: https://yadi.sk/i/mLBfyGEMiTgBQ
AviSource: https://yadi.sk/i/p62ujJMFiTf5b
FFMPEG Source: https://yadi.sk/i/-6AGB76viTgBS

fvisagie
15th August 2015, 09:50
with .dv NTSC yv411 (4:1:1) say

http://i.imgur.com/wBSoJQ8.png

with c ver. by qyot27 work ok and output yv411

Bit of a medium shot, but it may be related to this (http://forum.doom9.org/showthread.php?p=1603682#post1603682).

Groucho2004
15th August 2015, 10:14
1. It is the latest
2. non-MT version
3. Sure, examples:
RAW: https://yadi.sk/i/mLBfyGEMiTgBQ
AviSource: https://yadi.sk/i/p62ujJMFiTf5b
FFMPEG Source: https://yadi.sk/i/-6AGB76viTgBS
The RAW sample is to big to download.
The "AviSource" is AVC wrapped in a .mp4 file
I can't guess what "FFMPEG Source" means.
So, I have no idea what any of these samples represent.

In order to reproduce something you have to provide the a sample of the source (ideally much smaller than 3GB) and the exact steps to reproduce the problem.

LigH
15th August 2015, 10:24
2. non-MT version

It doesn't matter if AviSynth is an MT version; some plugins fork threads on their own. For FFMS2, it can be necessary to limit this plugin specifically to only 1 decoder thread: If FFMS2 can handle an input file well, multiple decoder threads can speed up the decoding remarkably; but if FFMS2 may have issues with a format, multiple decoder threads make it even worse, and it gets completely confused.

Myrsloik
15th August 2015, 20:00
this is avi section muxed from original .dv with avidemux http://samaup.com/a7o3lluxx2m6

All unable to find suitable output format errors should now be fixed in git (at least the ones for formats new to avisynth 2.6). I simply forgot to add the last few lines of code needed.

Kein
17th August 2015, 05:01
The RAW sample is to big to download.
The "AviSource" is AVC wrapped in a .mp4 file
I can't guess what "FFMPEG Source" means.
So, I have no idea what any of these samples represent.
I'm not sure what so hard to understand:
AviSource is the sample encoded through AVS AviSource into AVC/MP4
FFMPEG Source is the sample encoded through AVS FFVideoSource/AudioSource/Dub into AVC/MP4 with the same (1:1) settings.

In order to reproduce something you have to provide the a sample of the source (ideally much smaller than 3GB) and the exact steps to reproduce the problem.
So, I did provide you a sample of the source, 2.4Gb (which is less than your suggested 3Gb) and you complained how big it is?
Are you replying to me for the sake of replying? I mean, I have a feeling you just keep up hollow discussion, why just not ignore my question then.

It doesn't matter if AviSynth is an MT version; some plugins fork threads on their own. For FFMS2, it can be necessary to limit this plugin specifically to only 1 decoder thread: If FFMS2 can handle an input file well, multiple decoder threads can speed up the decoding remarkably; but if FFMS2 may have issues with a format, multiple decoder threads make it even worse, and it gets completely confused.

i will try but doubt it will change much.

LigH
17th August 2015, 07:40
So, I did provide you a sample of the source, 2.4Gb (which is less than your suggested 3Gb) and you complained how big it is?

Not everyone has VDSL (and on top, many free file hosters throttle downloads to annoying speeds). Often it is still a pain and possibly a waste to download Gigabytes, especially if the effect may possibly appear with much smaller samples as well.

The FourCC "xtor" points at the DirectX capturing software DXtory; recording high resolutions without compression can be quite demanding for the harddisk, so I guess the reason might be dropped frames not being handled as well by FFMS2 as by AviSource.

Groucho2004
17th August 2015, 08:52
So, I did provide you a sample of the source, 2.4Gb (which is less than your suggested 3Gb) and you complained how big it is?
You're expecting me to download 2.4 G because you don't know how to cut a sample?

Are you replying to me for the sake of replying? I mean, I have a feeling you just keep up hollow discussion, why just not ignore my question then.
I have much better things to do than wasting time on discussions with a low signal to noise ratio and I just have lost interest in this one.

AMED
18th August 2015, 09:18
Hi,

I have a found a couple of samples that will encode correctly with FFMS2 v2.21 (also tested with v2.20 and v2.19) but fails with FFMS2 v2.22RC2. I'm using MeGUI and the samples do go through the indexing step but fail when it starts to encode. It seems to be related to them being MPEG2 (bluray rip via makemkv).

http://s24.postimg.org/ibjkaudat/Me_GUI_FFMS2.png

This is the error that MeGUI is showing when I try and encode with v2.22RC2
[Error] [18/08/2015 7:57:51 PM] Standard error stream
-[Information] [18/08/2015 7:57:52 PM] avs [info]: 1280x542p 0:0 @ 24000/1001 fps (cfr)
-[Information] [18/08/2015 7:57:52 PM] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
-[Information] [18/08/2015 7:57:52 PM] x264 [info]: profile High, level 4.1
-[Error] [18/08/2015 7:57:52 PM] avs [error]: FFVideoSource: Frame accurate seeking is not possible in this file occurred while reading frame 0
-[Error] [18/08/2015 7:57:52 PM] avs [error]: FFVideoSource: Frame accurate seeking is not possible in this file occurred while reading frame 1

SAMPLE (http://www.mediafire.com/download/pxdww2kf137zuiz/SAMPLE.zip) (20MB)
SAMPLE2 (http://www.mediafire.com/download/djg6i2p8bk6lhuz/SAMPLE2.zip) (20MB)

Kein
18th August 2015, 13:51
You're expecting me to download 2.4 G because you don't know how to cut a sample?
It IS a 01:00 sample.


recording high resolutions without compression can be quite demanding for the harddisk, so I guess the reason might be dropped frames not being handled as well by FFMS2 as by AviSource.

Hmm, didn't think of that, altho, my HDD goes for 66-72MB/s so it should suffice in linear read for conversion.

LigH
18th August 2015, 19:03
Linear reading is not the problem; but what about writing during the recording, when Windows just even decides it must access the swap file urgently because the game being recorded allocates more RAM?

Kein
18th August 2015, 19:20
Linear reading is not the problem; but what about writing during the recording, when Windows just even decides it must access the swap file urgently because the game being recorded allocates more RAM?

Writing being done on another physical HDD. Swap is there too and it just 64Mb - I have 16Gb RAM and never hit limit during encoding.

Myrsloik
18th August 2015, 23:15
Here's 2.22 RC3 (https://dl.dropboxusercontent.com/u/73468194/ffms2-rc3.7z) or whatever.

Should fix the error when outputting to one of the new avisynth 2.6 formats.

Plorkyeran has also fixed some audio stuff.

Zzzzzzzzzzz...

AMED
19th August 2015, 00:05
I've just tested out v2.22RC3 with my sample and this is the error produced when trying to encode.

-[Error] [19/08/2015 10:51:36 a.m.] avs [error]: FFVideoSource: Frame accurate seeking is not possible in this file occurred while reading frame 2

It's seems that SMDegrain (http://forum.videohelp.com/threads/369142-Simple-MDegrain-Mod-v3-1-2d-A-Quality-Denoising-Solution) makes this error happen with FFMS v2.22+ and MPEG2 source.
LoadPlugin("D:\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("C:\Users\xxxxxx\Downloads\SAMPLE\SAMPLE.mkv", cachefile="C:\Users\xxxxxx\Downloads\SAMPLE\eecvorbg.ioq\SAMPLE.mkv.ffindex", fpsnum=24000, fpsden=1001, threads=1)
smdegrain()

real.finder
19th August 2015, 02:15
Here's 2.22 RC3 (https://dl.dropboxusercontent.com/u/73468194/ffms2-rc3.7z) or whatever.

Should fix the error when outputting to one of the new avisynth 2.6 formats.

Plorkyeran has also fixed some audio stuff.

Zzzzzzzzzzz...

now work with yv411 but with upside down green image

Kein
20th August 2015, 04:08
LigH
Yep, just confirmed - same issue with the videos recorded by ShadowPlay (NVENC)/OBS (x264).

TsUNaMy WaVe
22nd August 2015, 14:19
I've got a mkv video. Somehow (with the ffinputdriver probably) VirtualDub opens it. But when I try to do it with AvsP it's just says "FFVideoSouce: Can't Open: "Sample.mkv"

Script:
LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\ffms2.dll")
FFVideoSource("F:\Sample\Sample.mkv")

Video info:
General
Unique ID : 199069539360921106638242983202429760462 (0x95C366105ADFC63CAB333B7DFDAE73CE)
Complete name : F:\Sample\Sample.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.22 GiB
Duration : 23mn 43s
Overall bit rate mode : Variable
Overall bit rate : 7 364 Kbps
Encoded date : UTC 2014-02-10 16:09:47
Writing application : mkvmerge v6.5.0 ('Isn't she lovely') built on Oct 20 2013 12:50:05
Writing library : libebml v1.3.0 + libmatroska v1.4.1

Video
ID : 3
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 14 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 43s
Nominal bit rate : 4 000 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.080
Writing library : x264 core 132 r2323+704+51 d571b1c tMod [10-bit@4:2:0 X86]
Encoding settings : cabac=1 / ref=14 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=0.60:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=500 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=4000 / ratetol=1.0 / qcomp=0.60 / qpmin=8 / qpmax=32 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=4:0.80 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 23mn 43s
Bit rate mode : Variable
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)
Language : Japanese
Default : Yes
Forced : No

Text
ID : 1
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Default : Yes
Forced : No

Menu
00:00:00.000 : en:00:00:00.000
00:01:14.408 : en:00:01:14.408
00:02:45.040 : en:00:02:45.040
00:13:24.012 : en:00:13:24.012
00:21:32.208 : en:00:21:32.208
00:23:36.999 : en:00:23:36.999


Help?

dipje
24th August 2015, 10:52
-RC3 still has issues loading Prores files which worked before in 2.21 (stopped working from 'rc2', -delaytest). Kinda hoped the color-formats would have fixed it.

Boulder
25th August 2015, 19:09
Here's 2.22 RC3 (https://dl.dropboxusercontent.com/u/73468194/ffms2-rc3.7z) or whatever.

Should fix the error when outputting to one of the new avisynth 2.6 formats.

Plorkyeran has also fixed some audio stuff.

Zzzzzzzzzzz...This one doesn't work for me with my FFV1 files. It causes an access violation in Avisynth.dll when opening the video with FFVideoSource. Version 2.21 doesn't have this issue.

Here's a sample file: https://drive.google.com/file/d/0BzeF_1syecQwX0w0UDZ1S2JkQ0U/view?usp=sharing

I'm confused - which is the recommended version to use that doesn't have the "off by one frame issue"?

qyot27
28th August 2015, 00:31
Even though I initially doubted it, it would appear the FFV1 issue (and it's not only FFV1; ffvhuff is also affected, at least) occurs due to colorspace issues.

I generated a test sequence with FFV1 using FFmpeg:
ffmpeg -f lavfi -i testsrc -vcodec ffv1 -t 10 test.avi
This video file caused the crash with FFMS2 (I'm testing the C plugin here, so chances are pretty high it's not in the plugin wrapper). By default, the testsrc outputs RGB.

However, if I force FFmpeg to write the file as 4:4:4,
ffmpeg -f lavfi -i testsrc -vcodec ffv1 -pix_fmt yuv444p -t 10 test.avi
It no longer crashes.

The results:
YV12/yuv420p = crash
YUY2/yuyv422 = [FFV1 doesn't support YUY2, it gets converted to standard 4:2:2, see below]
RGB24/bgr0 = crash
RGB32/bgra = works
YV16/yuv422p = works
YV24/yuv444p = works

Obviously this is a problem, since 4:2:0 and RGB24 are arguably the two most commonly-used pixfmts.

Furthermore, AvxSynth doesn't exhibit this behavior, even if avxffms2 is built with the updated sources. It lacks support for the 2.6 pixfmts, though. That's part of what made me start thinking it was pixfmt-related. The weird thing is that the last public build of the C-plugin (from June 25th) didn't exhibit this problem, and there haven't been any specific pixel format commits since.

Myrsloik
28th August 2015, 20:23
Even though I initially doubted it, it would appear the FFV1 issue (and it's not only FFV1; ffvhuff is also affected, at least) occurs due to colorspace issues.

I generated a test sequence with FFV1 using FFmpeg:
ffmpeg -f lavfi -i testsrc -vcodec ffv1 -t 10 test.avi
This video file caused the crash with FFMS2 (I'm testing the C plugin here, so chances are pretty high it's not in the plugin wrapper). By default, the testsrc outputs RGB.

However, if I force FFmpeg to write the file as 4:4:4,
ffmpeg -f lavfi -i testsrc -vcodec ffv1 -pix_fmt yuv444p -t 10 test.avi
It no longer crashes.

The results:
YV12/yuv420p = crash
YUY2/yuyv422 = [FFV1 doesn't support YUY2, it gets converted to standard 4:2:2, see below]
RGB24/bgr0 = crash
RGB32/bgra = works
YV16/yuv422p = works
YV24/yuv444p = works

Obviously this is a problem, since 4:2:0 and RGB24 are arguably the two most commonly-used pixfmts.

Furthermore, AvxSynth doesn't exhibit this behavior, even if avxffms2 is built with the updated sources. It lacks support for the 2.6 pixfmts, though. That's part of what made me start thinking it was pixfmt-related. The weird thing is that the last public build of the C-plugin (from June 25th) didn't exhibit this problem, and there haven't been any specific pixel format commits since.

Stack trace or it didn't happen.

qyot27
29th August 2015, 02:03
FFmpeg and FFMS2 built with debugging symbols,

RGB24:
D:\dap\vid\Incoming Files>ffmpeg
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

D:\dap\vid\Incoming Files>ffmpeg -f lavfi -i testsrc -vcodec ffv1 -t 10 test.avi
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'test.avi':
Metadata:
ISFT : Lavf56.40.101
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), bgr0, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25
tbc
Metadata:
encoder : Lavc56.59.100 ffv1
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Press [q] to stop, [?] for help
frame= 250 fps= 15 q=-0.0 Lsize= 1029kB time=00:00:10.00 bitrate= 842.7kbits/s
video:1017kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.142499%

D:\dap\vid\Incoming Files>ffmsindex test.avi
Writing index... done... 100%

D:\dap\vid\Incoming Files>echo FFVideoSource("test.avi")>test.avs

D:\dap\vid\Incoming Files>mpv test.avs
Playing: test.avs
[ffmpeg/demuxer] avisynth: System exception - Access Violation
[ffmpeg/demuxer] (test.avs, line 1)
[lavf] avformat_open_input() failed
Failed to recognize file format.


Exiting... (Errors when loading file)

D:\dap\vid\Incoming Files>ffmpeg -i test.avs
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[avisynth @ 059e4190] System exception - Access Violation
(test.avs, line 1)
test.avs: Unknown error occurred

D:\dap\vid\Incoming Files>gdb ffmpeg
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-msys".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Traceback (most recent call last):
File "<string>", line 3, in <module>
ImportError: No module named libstdcxx.v6.printers
/etc/gdbinit:6: Error in sourced command file:
Error while executing Python code.
Reading symbols from ffmpeg...done.
(gdb) r -i test.avs
Starting program: /d/dap/vid/Incoming Files/ffmpeg -i test.avs
[New Thread 1192.0x518]
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[New Thread 1192.0x490]
[New Thread 1192.0x350]
[New Thread 1192.0x50c]
[New Thread 1192.0x51c]
[New Thread 1192.0x4e0]
warning: FFMS2 avs plugin: Initializing...
warning: FFMS2 - avs 2.6 mode
warning: Creation of mvCore at adresse : 217106452

Program received signal SIGSEGV, Segmentation fault.
0x0823c480 in ?? ()
(gdb) bt
#0 0x0823c480 in ?? ()
#1 0x08251c7f in ?? ()
#2 0x0814253e in ?? ()
#3 0x0770efb3 in ?? ()
#4 0x0770f925 in ?? ()
#5 0x0770452f in ?? ()
#6 0x07715398 in ?? ()
#7 0x077158c2 in ?? ()
#8 0x07712e3c in ?? ()
#9 0x1001d737 in ?? () from /c/WINDOWS/system32/avisynth.dll
#10 0x0cfceda0 in ?? ()
#11 0x10099050 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#12 0x1009bc40 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#13 0x1009c100 in avs_clip_get_error () from /c/WINDOWS/system32/avisynth.dll
#14 0x1009c530 in avs_clip_get_error () from /c/WINDOWS/system32/avisynth.dll
#15 0x1009c470 in avs_clip_get_error () from /c/WINDOWS/system32/avisynth.dll
#16 0x10098470 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#17 0x10098f90 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#18 0x1009a490 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#19 0x10099730 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#20 0x1009c0a0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#21 0x1009beb0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#22 0x1009b9e0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#23 0x1009b970 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#24 0x1009b4d0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#25 0x1009ad00 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#26 0x10098780 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#27 0x100986e0 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#28 0x100987e0 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#29 0x1009c120 in avs_clip_get_error () from /c/WINDOWS/system32/avisynth.dll
#30 0x1009bee0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#31 0x1009c0d0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#32 0x1009af00 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#33 0x1009b940 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#34 0x1009c3b0 in avs_clip_get_error () from /c/WINDOWS/system32/avisynth.dll
#35 0x100988c0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#36 0x100986b0 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#37 0x10099040 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#38 0x100996a0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
---Type <return> to continue, or q <return> to quit---
#39 0x10099930 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#40 0x100998a0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#41 0x10099800 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#42 0x10099a00 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#43 0x100999d0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#44 0x1009aba0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#45 0x10098380 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#46 0x10098800 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#47 0x10098770 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#48 0x10098440 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#49 0x1009a430 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#50 0x1009bd40 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#51 0x1009b210 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#52 0x1009b920 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#53 0x1009a530 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#54 0x100984f0 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#55 0x10098f70 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#56 0x10099aa0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#57 0x100988b0 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#58 0x100984a0 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#59 0x10099060 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#60 0x1009c020 in CreateScriptEnvironment () from /c/WINDOWS/system32/avisynth.dll
#61 0x4e5f544d in ?? ()
#62 0x5f454349 in ?? ()
#63 0x544c4946 in ?? ()
#64 0x00005245 in ?? ()
#65 0x4d5f544d in ?? ()
#66 0x49544c55 in ?? ()
#67 0x534e495f in ?? ()
#68 0x434e4154 in ?? ()
#69 0x00000045 in ?? ()
#70 0x535f544d in ?? ()
#71 0x41495245 in ?? ()
#72 0x455a494c in ?? ()
#73 0x00000044 in ?? ()
#74 0x53697641 in ?? ()
#75 0x68746e79 in ?? ()
#76 0x4956415f in ?? ()
#77 0x72756f53 in ?? ()
---Type <return> to continue, or q <return> to quit---
#78 0x00006563 in ?? ()
#79 0x53697641 in ?? ()
#80 0x68746e79 in ?? ()
#81 0x4956415f in ?? ()
#82 0x656c6946 in ?? ()
#83 0x72756f53 in ?? ()
#84 0x00006563 in ?? ()
#85 0x53697641 in ?? ()
#86 0x68746e79 in ?? ()
#87 0x5641575f in ?? ()
#88 0x72756f53 in ?? ()
#89 0x00006563 in ?? ()
#90 0x53697641 in ?? ()
#91 0x68746e79 in ?? ()
#92 0x65704f5f in ?? ()
#93 0x4c4d446e in ?? ()
#94 0x72756f53 in ?? ()
#95 0x00006563 in ?? ()
#96 0x53697641 in ?? ()
#97 0x68746e79 in ?? ()
#98 0x6168435f in ?? ()
#99 0x4665676e in ?? ()
#100 0x00005350 in ?? ()
#101 0x53697641 in ?? ()
#102 0x68746e79 in ?? ()
#103 0x6e6f435f in ?? ()
#104 0x74726576 in ?? ()
#105 0x00535046 in dither_color (shift=16, scale=608486912, eb=1955137116, eg=1153837092, er=-1960289244,
px=1403185358) at libavfilter/vf_paletteuse.c:152
#106 set_frame (search_method=<optimized out>, dither=4294905892, h=1157038079, w=-956229596, y_start=194427911,
x_start=1460237328, in=0x5bb9e8 <ff_bufqueue_add+131>, out=0x4c48300, s=0x8244c8b)
at libavfilter/vf_paletteuse.c:423
#107 set_frame_bruteforce_bayer (s=0x82444f6, out=0x56097401, in=0x5b85e8 <filter_frame+327>, x_start=79987456,
y_start=-1033976181, w=-859045884, h=409534314) at libavfilter/vf_paletteuse.c:975
#108 0xfffff768 in ?? ()
#109 0x082444f6 in ?? ()
Backtrace stopped: Cannot access memory at address 0xe8f18b5a
(gdb)

qyot27
29th August 2015, 02:03
YV12:
D:\dap\vid\Incoming Files>ffmpeg -f lavfi -i testsrc -vcodec ffv1 -pix_fmt yuv420p -t 10 test420.avi
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'test420.avi':
Metadata:
ISFT : Lavf56.40.101
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn,
25 tbc
Metadata:
encoder : Lavc56.59.100 ffv1
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Press [q] to stop, [?] for help
frame= 250 fps= 15 q=-0.0 Lsize= 955kB time=00:00:10.00 bitrate= 782.5kbits/s
video:944kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.230569%

D:\dap\vid\Incoming Files>ffmsindex test420.avi
Writing index... done... 100%

D:\dap\vid\Incoming Files>echo FFVideoSource("test420.avi")>test420.avs

D:\dap\vid\Incoming Files>ffmpeg -i test420.avi
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, avi, from 'test420.avi':
Metadata:
encoder : Lavf56.40.101
Duration: 00:00:10.00, start: 0.000000, bitrate: 782 kb/s
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 320x240, 776 kb/s, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 25 tbn, 2
5 tbc
At least one output file must be specified

D:\dap\vid\Incoming Files>ffmpeg -i test420.avs
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

D:\dap\vid\Incoming Files>gdb ffmpeg
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-msys".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Traceback (most recent call last):
File "<string>", line 3, in <module>
ImportError: No module named libstdcxx.v6.printers
/etc/gdbinit:6: Error in sourced command file:
Error while executing Python code.
Reading symbols from ffmpeg...done.
(gdb) r -i test420.avs
Starting program: /d/dap/vid/Incoming Files/ffmpeg -i test420.avs
[New Thread 3480.0xd94]
ffmpeg version r74701 git-628a73f Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)
configuration: --prefix=/home/qyot27/ffmpeg_build --cross-prefix=i686-w64-mingw32- --enable-gpl --enable-version3 --di
sable-w32threads --disable-doc --enable-debug --disable-stripping --enable-avisynth --disable-asm --disable-optimization
s --extra-cflags=-O0 --target-os=mingw32 --arch=x86
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 59.100 / 56. 59.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 39.100 / 5. 39.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[New Thread 3480.0xf28]
[New Thread 3480.0xf2c]
[New Thread 3480.0xc44]
[New Thread 3480.0xc84]
[New Thread 3480.0xf30]
warning: FFMS2 avs plugin: Initializing...
warning: FFMS2 - avs 2.6 mode
warning: Creation of mvCore at adresse : 217106452

Program received signal SIGSEGV, Segmentation fault.
0x100266c5 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
(gdb) bt
#0 0x100266c5 in DllGetClassObject () from /c/WINDOWS/system32/avisynth.dll
#1 0x00004b00 in ?? ()
#2 0x00000078 in ?? ()
#3 0x05b06b90 in ?? ()
#4 0x1001ed20 in avs_vsprintf () from /c/WINDOWS/system32/avisynth.dll
#5 0x0d002820 in ?? ()
#6 0x07714cc2 in ?? ()
#7 0x07715182 in ?? ()
#8 0x1001d56e in ?? () from /c/WINDOWS/system32/avisynth.dll
#9 0x1001dde4 in avs_get_frame () from /c/WINDOWS/system32/avisynth.dll
#10 0x005e1288 in avisynth_read_packet_video (s=0x59e4720, pkt=0x22f638, discard=0) at libavformat/avisynth.c:501
#11 0x005e17c1 in avisynth_read_packet (s=0x59e4720, pkt=0x22f638) at libavformat/avisynth.c:640
#12 0x007105f7 in ff_read_packet (s=0x59e4720, pkt=0x22f638) at libavformat/utils.c:672
#13 0x00713115 in read_frame_internal (s=0x59e4720, pkt=0x22f938) at libavformat/utils.c:1328
#14 0x0071a1a5 in avformat_find_stream_info (ic=0x59e4720, options=0x59e4d30) at libavformat/utils.c:3262
#15 0x0040a59c in open_input_file (o=0x22fb80, filename=0x59e4484 "test420.avs") at ffmpeg_opt.c:945
#16 0x00412104 in open_files (l=0x59e44cc, inout=0x1183a37 <groups+215> "input", open_file=0x409d9d <open_input_file>)
at ffmpeg_opt.c:2910
#17 0x0041225d in ffmpeg_parse_options (argc=3, argv=0x59e4310) at ffmpeg_opt.c:2947
#18 0x004248e1 in main (argc=3, argv=0x59e4310) at ffmpeg.c:4143
(gdb)


Ut Video also exhibited the issue with RGB, and in that case, opening it with AVISource worked, while FFMS2 threw the same Access Violation shown above. It's not possible to test AVISource with FFV1 and ffvhuff because of ffdshow being horrifically outdated.

Selur
17th September 2015, 07:53
btw. what is the latest FFMS2 c-plugin version?

qyot27
17th September 2015, 20:00
FFMS2 C-plugin r1072+90

Optimized for Pentium III and SSE.

ffmpeg version r74638 git-4cd1d23 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.1.0 (GCC)

libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 58.100 / 56. 58.100
libavformat 56. 40.101 / 56. 40.101
libavfilter 5. 37.100 / 5. 37.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

configuration:
--prefix=/home/qyot27/win32_build
--cross-prefix=i686-w64-mingw32-
--enable-gpl
--enable-version3
--disable-w32threads
--enable-avresample
--disable-encoders
--disable-decoder=utvideo
--enable-libutvideo
--disable-decoder=dca
--enable-libdcadec
--disable-muxers
--disable-doc
--disable-debug
--disable-devices
--disable-avdevice
--cpu=pentium3
--extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3'
--target-os=mingw32
--arch=x86

This isn't the newest build, as it's from August 25th or thereabouts, but it's the most recent one that works. My latest test builds are crashing (not related to the stuff above, since it's doing it on every file) and I need to figure out why.

This build does not support AviSynth 2.5.

EDIT 2016-02-25: Newer build available here. (http://forum.doom9.org/showthread.php?p=1758567#post1758567)

Selur
17th September 2015, 20:15
Thanks for clearing that up and sharing that build. :)

Cu Selur

filler56789
18th September 2015, 01:35
@qyot27: Many thanks :thanks:

Specially for this ;)



configuration:

--disable-decoder=utvideo
--enable-libutvideo
--disable-decoder=dca
--enable-libdcadec


:sly:

Kein
22nd September 2015, 03:19
Small update on the issue I reported before:
http://forum.doom9.org/showpost.php?p=1733006&postcount=2112
http://forum.doom9.org/showpost.php?p=1733014&postcount=2115

This is interesting, if i use FFMS to open and join two files through Dissolve:
a=FFAudioSource("1.avi")
b=FFVideoSource("1.avi")
c=AudioDub(b, a)

d=FFAudioSource("2.avi")
e=FFVideoSource("2.avi")
f=AudioDub(e, d)
Dissolve(a,f,60)

the final result will have desynced audio right when second clip start (firs one is fine). Same happens if I use AlignedSpace().

However, if I use UnalignedSpace() there is no audio-to-video sync issues. Odd. Exactly vice versa with AviSource (i.e. it works as intended).


Hmm, is there a Dissolve() analogue with UnalignedSpace() method?

Also, is there any other plugin a-la FFMS that allows you to load clips in its native colorspace without forcefully converting it like AviSource into RGB?

LigH
22nd September 2015, 07:43
*Splice instead of *Space

AviSource does not "forcefully convert to RGB". Usually it asks the VfW codec which decoded formats it offers and which will match best a list of supported formats (e.g. DivX will usually be loaded as YV12). You may tell AviSource to request a target 'pixel_format', but when the VfW codec can't output this, AviSource would fail instead of accepting the next similar. — Maybe your DXTory VfW decoder was set up to "always output RGB", or simply returns RGB because it had recorded and saved RGB? I don't know if it is at all able to save YUV.

UnalignedSplice will match the video streams and the audio streams of both clips independently. If the video stream (a) and the audio stream (b) of the first clip (c) had a different length, this will usually introduce a skew from the joint on. But if the second clip contains audio with the same amount of skew (may happen when they were one continuous movie before and cut into segments), then the skewed audio will match again, like a "tongue and groove" joint. AlignedSplice (and Dissolve) instead will make video and audio streams match and fill up gaps; furthermore, loading d and e separately and dubbing them without checking for a possible audio skew and using DelayAudio(ms) will probably already have created an asynchronous clip f in this case.

Kein
22nd September 2015, 11:34
*Splice instead of *Space
My bad it is late here.

AviSource does not "forcefully convert to RGB". Usually it asks the VfW codec which decoded formats it offers and which will match best a list of supported formats (e.g. DivX will usually be loaded as YV12). You may tell AviSource to request a target 'pixel_format', but when the VfW codec can't output this, AviSource would fail instead of accepting the next similar. — Maybe your DXTory VfW decoder was set up to "always output RGB", or simply returns RGB because it had recorded and saved RGB? I don't know if it is at all able to save YUV.

pixel_format NEVER worked for me regardless of source material and codec used.

As for DXTory format - this time I used FRAPS, not DXtory.


loading d and e separately and dubbing them without checking for a possible audio skew and using DelayAudio(ms) will probably already have created an asynchronous clip f in this case.
Hmm, not related to the subj but how can I check for skew?

LigH
22nd September 2015, 16:50
VirtualDub (File Information); MediaInfo; GSpot ... at least one of them should probably be able to display a skew (delay) for the audio stream relative to the video stream.

Kein
23rd September 2015, 14:38
VirtualDub (File Information); MediaInfo; GSpot ... at least one of them should probably be able to display a skew (delay) for the audio stream relative to the video stream.

No "skew" there, video and audio streams have the same exact length.

http://www.everfall.com/paste/id.php?syduozchnkmr

http://www.everfall.com/paste/id.php?jprv7cz45vsy

jpsdr
24th September 2015, 11:47
Is avresample (or swresample) now mandatory to build ffms2 ? I've tried to build without any of them, and build failed. It wasn't the case before, so i'm wondering if there is any change ?

Jamaika
28th September 2015, 08:32
I would like to ask how to properly give a title and language tracks in muxer ffmpeg(20150927) for container MOV. I can't cope.
ffmpeg.exe -i input_pol.srt ... -f mov -map 2:0 -metadata:s:2 language=pol -metadata:s:2 title/{changed to "handler"}="Subtitle (pol)" -sub_charenc UTF-8 -c:s mov_text ...
The result in MediaInfo 0.7.7:
Tekst
ID : 3
Format : Timed Text
Codec ID : text
Duration : 2 min.
Bit rate mode : Zmienna
Bit rate : 10 b/s
Stream size : 149 bajtów (0%)
Language : 25
Title{lack} : {lack}

Edit: OK, I found even a partial answer.
http://forum.doom9.org/showthread.php?t=165213
http://forum.doom9.org/showthread.php?t=171921

Sparktank
28th September 2015, 18:54
Although, already solved, that's an entirely different "ffmpeg". A binary encoder unrelated to Avisynth (directly unrelated; indirectly it can be useful).

real.finder
19th October 2015, 21:54
now work with yv411 but with upside down green image

still in 2.22 too

sample http://samaup.com/a7o3lluxx2m6

real.finder
21st October 2015, 01:12
is this ok? https://www.virustotal.com/en/file/678f0a3003f26f7daf7dac33d8af10241e53fefdb446cb8cae1e36c739cb757d/analysis/ from this https://github.com/FFMS/ffms2/releases/tag/2.22

jpsdr
21st October 2015, 12:47
Maybe there is a minor cosmetic display issue in the configure file, because my output is :

checking for AVRESAMPLE... no
checking for AVRESAMPLE... yes

Isn't the second not AVRESAMPLE but SWRESAMPLE ? Because i've not enabled AVRESAMPLE, but SWRESAMPLE wasn't disabled when i've build ffmpeg.

szabi
25th October 2015, 18:35
Hi

I downloaded ffms2-2.22-msvc (https://github.com/FFMS/ffms2/releases).
But I can not use it because:
http://abload.de/img/ffms2222-msvcxtp5b.png

Previous version does not have this issue.
Is there a solution?

bye
szabi