.avs shows fine but ffmpeg creates black video >> FORUM
forum

forum



SearchSearch   Users   Registration   Entrance
Today: 18.06.2026 - 19:40:07
Pages:  1  2  

.avs shows fine but ffmpeg creates black video

MessageAuthor

I'm not sure what I'm doing wrong. I have an .avs file: Code:


---------------------------------
2002 E46 M3 SMG II (46 SM, retired) 2005 Lotus Elise (46 SS, pushrod hunting)

Enigma

registered user


Statistics:
Messages: 393
Registration: 02.26.2002
14.02.23 - 04:41:45
Message # 1
RE: .avs shows fine but ffmpeg creates black video

Maybe try variations of below to figure out problem. [1st step is to find out if problem is in your script, or ffmpeg command (or both)] Code:




eVal

registered user


Statistics:
Messages: 327
Registration: 09.04.2003
14.02.23 - 04:46:22
Message # 2
RE: .avs shows fine but ffmpeg creates black video

I kinda suspect that problem might be your ffmpeg.exe, here:- the one I'm using (I think maybe by PatMan), supports avs input, perhaps yours dont properley support it. Maybe not the most recent version, but not so old (maybe about XMas issue). Is static linked, ie no dll files needed.


---------------------------------
Bumble Bee

manny328i

registered user


Statistics:
Messages: 632
Registration: 07.13.2001
14.02.23 - 04:53:53
Message # 3
RE: .avs shows fine but ffmpeg creates black video

I downloaded that ffmpeg and got the message that I'm using a 64 bit Avisynth... Took a look and I was using Avisynth+ on this machine. So I uninstalled that and found I had 2.58, 2.60, and Plus. Not sure what I should be running but installed 2.60 and tried. Playing the .avs by double-clicking still worked but this time using: Code:


---------------------------------
'14 M6 Gran Coupe - San Marino/Silverstone, Exec, Comp. '04 360 Modena - Grigio Titanio/Grigio Scuro

TransHuman

registered user


Statistics:
Messages: 391
Registration: 02.27.2001
14.02.23 - 05:05:22
Message # 4
RE: .avs shows fine but ffmpeg creates black video

Yes, I have 7zip and used its ffmpeg.exe for my test. That's the one that gave the error... but now it's using the Avisynth 6.0 which is 32 bit. Were you able to use the file and avisynth code I referenced with any success?




J4SON

registered user


Statistics:
Messages: 346
Registration: 01.28.2003
14.02.23 - 05:15:22
Message # 5
RE: .avs shows fine but ffmpeg creates black video

With same ffmpeg and same avs+ x64, script [I changed to LSmash, DirectShowSource is infamous for its being not frame accurate,and output was a bit choppy] Code:




AMG

registered user


Statistics:
Messages: 145
Registration: 12.17.2002
14.02.23 - 05:23:19
Message # 6
RE: .avs shows fine but ffmpeg creates black video

And output from DebugView when encoding in ffmpeg Code:




808Cardinal87

registered user


Statistics:
Messages: 2,064
Registration: 01.26.2002
14.02.23 - 05:34:41
Message # 7
RE: .avs shows fine but ffmpeg creates black video

Potplayer OK, VLC OK, MPC-HC (open OK from within MPC-HC via file menu), Windows Explorer right click open in MPC-HC does nothing. Windows Media Player, shows Black Screen, same as your original problem. Avoid RGB with Alpha Channel, ie use YV12 [Return ConvertToYV12() at end of script ] EDIT: Ignore the MPC-HC problem, It dont open other files either, I must have a problem there. EDIT: Damn, about 5->10 mintues after trying to open another mp4 in MPC-HC via Explorer right click, it jumped up and started to play, perhaps Antivirus was scanning entire mp4 file or something. EDIT: From the ffmpeg text output [looks like its any RGB within an Mp4 (and not just alpha) that is the problem for Windows MediaPlayer] Code:




flynn

registered user


Statistics:
Messages: 2
Registration: 12.16.2002
14.02.23 - 05:42:43
Message # 8
RE: .avs shows fine but ffmpeg creates black video

Well... thanks a ton for all that. I'm going to reinstall Avisynth+ and try again. The video player is just Windows Media Player. I'll let you know how it goes.


---------------------------------
Zubin

Estoril Blue

registered user


Statistics:
Messages: 755
Registration: 09.09.2001
14.02.23 - 05:52:52
Message # 9
RE: .avs shows fine but ffmpeg creates black video

Yep, dont use Windows Media Player (that IS the problem), and avoid rgb in mp4, use YV12.


---------------------------------
daihard - 2004 m3 coupe (oxford green / black)

daihard

registered user


Statistics:
Messages: 669
Registration: 10.20.2003
14.02.23 - 06:03:09
Message # 10
RE: .avs shows fine but ffmpeg creates black video
reaper states? : Previous topicNext topic: Problem with subtitles in Gordian Knot
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants