FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
588 stars 104 forks source link

ffms2.dll vdub crash #54

Closed tgoyne closed 9 years ago

tgoyne commented 11 years ago

From tsunagaru on August 25, 2011 13:27:22

What steps will reproduce the problem? 1. A m2ts Blu-ray source. 2.AVS: o = FFMpegSource2("00054.m2ts",atrack=-2) return o

  1. No problem with the indexing.
  2. Encode the file using VirtualDub with ffdshow ffv1 codec, fast recompress mode. What is the expected output? What do you see instead? A long movie with more than 160000 frames. Vdub crash at randomly frame 5800-7300 aprox. This is the error:

Nombre del evento de problema: APPCRASH Nombre de la aplicación: VirtualDub.exe Versión de la aplicación: 1.10.0.0 Marca de tiempo de la aplicación: 4d150c7c Nombre del módulo con errores: ffms2.dll Versión del módulo con errores: 0.0.0.0 Marca de tiempo del módulo con errores: 4e38cecc Código de excepción: c0000005 Desplazamiento de excepción: 00025767 Versión del sistema operativo: 6.1.7601.2.1.0.256.4 Id. de configuración regional: 3082 Información adicional 1: 09c1 Información adicional 2: 09c136bb10f8d1715785a3c075c14dfe Información adicional 3: 187d Información adicional 4: 187ddc3cd35638f180a4febe01981e33 What version of the product are you using? On what operating system? Win 7 x64, vdub 1.10 32, avisynth 2.6MT 32, ffms2 r517 32 Please provide any additional information below. I try to encode with previous versions of vdub, avs and ffms2. Same results.

Original issue: http://code.google.com/p/ffmpegsource/issues/detail?id=54

tgoyne commented 11 years ago

From asmith5152 on August 25, 2011 14:02:47

Well stopped reading at 1. Read: http://forum.doom9.org/showthread.php?p=1507010#post1507010 Upload a sample that fails and I'll take a look at it anyway but it's probably just the same old same old with BD.

tgoyne commented 11 years ago

From kalle.blomster on August 25, 2011 14:51:15

It still shouldn't outright crash. Provide sample.

tgoyne commented 11 years ago

From tsunagaru on August 25, 2011 15:10:10

Mmmm, it's progressive. I'll upload a sample, what is the best program to cut m2ts? it's huge, 500mb would be enough?

tgoyne commented 11 years ago

From kalle.blomster on August 25, 2011 15:17:11

DGSplit will be more than good enough in this case, and you need a sample big enough that it triggers the crash. I leave it up to you to figure out how much that is.

tgoyne commented 11 years ago

From kalle.blomster on August 25, 2011 15:18:11

Also: does it still crash if you use ffindex("00054.m2ts",demuxer="lavf") first? Note that if you do this you should also set seekmode=-1 on the ffvideosource() call.

tgoyne commented 11 years ago

From kalle.blomster on August 25, 2011 15:19:02

DGSplit can be found here: http://neuron2.net/dgsplit/dgsplit12.zip

tgoyne commented 11 years ago

From tsunagaru on August 25, 2011 17:22:15

Seems that it works correctly with demuxer="lavf". Thanks a lot. Sorry for the inconvenience, I'm a noob working with BD and ffms2.

tgoyne commented 11 years ago

From tgoyne on August 25, 2011 19:54:21

Still shouldn't crash with the default demuxer so a sample that reproduces that would be nice.

tgoyne commented 11 years ago

From tsunagaru on August 26, 2011 01:09:07

The sample: http://www.megaupload.com/?d=H9X41F37 http://www.megaupload.com/?d=KB6F9XX8 http://www.megaupload.com/?d=OM0136YB http://www.megaupload.com/?d=FA5ICMV3 It crash while encoding frame 6000-7000.

tgoyne commented 11 years ago

From fredrik.mellbin on August 26, 2011 02:53:08

Status: Started
Owner: fredrik.mellbin

myrsloik commented 9 years ago

Works with lavf demuxer so it can be closed