Pixelation/Video Lag .mp4 (ffmpegsource)

Kevmaster
Eisenbahnmörser
Joined: Sun May 28, 2006 12:20 pm
Org Profile

Pixelation/Video Lag .mp4 (ffmpegsource)

Post by Kevmaster » Sun Jun 10, 2012 5:32 pm

First off, visualisation of the error:

Pictures:
Image
Image
Image
Video:
http://www.sendspace.com/file/bqvze0

What I'm trying to do:

Turning a .mp4 file into .avi to swap the audio with a higher quality version and re-encode as mp4.

What didn't work:

- (Avisynth) ffmpegsource in Virtualdub => caused the error you see in the samples
- Same script to encode .mp4 file directly to .mp4 with swapped audio in zarxgui


=>

Image
Image



Any idea for a fix/alternative?

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by LantisEscudo » Sun Jun 10, 2012 9:48 pm

Update your ffmpegsource. That looks like a 10-bit encode run through an 8-bit-only decoder.

http://code.google.com/p/ffmpegsource/

Kevmaster
Eisenbahnmörser
Joined: Sun May 28, 2006 12:20 pm
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by Kevmaster » Mon Jun 11, 2012 3:00 pm

LantisEscudo wrote:Update your ffmpegsource. That looks like a 10-bit encode run through an 8-bit-only decoder.

http://code.google.com/p/ffmpegsource/
I just recently downloaded and installed it (it hasn't even been 2 weeks).

I'm having some trouble on understanding which of the listed downloads is the newest (except for the beta) and/or which I should use though.

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by mirkosp » Mon Jun 11, 2012 3:05 pm

Do use the beta.
By the way, if all you need to do is just have a higher quality audio, you could just remux in mkv and swap the audio like that. Avoiding a useless re-encode would be a better thing when possible. Or I guess you can remux to mp4 again with yamb if you so desire, but I personally prefer mkv over mp4.
Image

Kevmaster
Eisenbahnmörser
Joined: Sun May 28, 2006 12:20 pm
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by Kevmaster » Mon Jun 11, 2012 4:40 pm

mirkosp wrote:Do use the beta.
Well, that didn't work. The error didn't disappear.
mirkosp wrote:By the way, if all you need to do is just have a higher quality audio, you could just remux in mkv and swap the audio like that. Avoiding a useless re-encode would be a better thing when possible. Or I guess you can remux to mp4 again with yamb if you so desire, but I personally prefer mkv over mp4.
This on the other hand did the job! A very simple and easy method to swap the audio. Thanks! :up:


P.S. I'm still curious if anyone knows how to fix the ffmpegsource-error and why it occurs!

User avatar
Cannonaire
Joined: Wed May 05, 2010 5:59 pm
Status: OVERLOAD
Location: Oregon
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by Cannonaire » Mon Jun 11, 2012 4:45 pm

Just making sure we cover all of the bases...
Does your source line look something like this?

Code: Select all

ffvideosource("c:\yoursourceblahblah.mp4")
You must make sure you are loading up the video with the correct command/plugin, otherwise you can update it all you want and it will never change.
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.

Kevmaster
Eisenbahnmörser
Joined: Sun May 28, 2006 12:20 pm
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by Kevmaster » Mon Jun 11, 2012 5:37 pm

Code: Select all

ffmpegsource("D:\[Kevmaster] Ninja Nature (H.264).mp4")
Nothing else in the script.


I've just tried out some other .mp4 files. It seems that the error appears only with newer .mp4 encodes (regardless wether it's my encode or a video I downloaded). Encodes that were made longer time ago work just fine.

User avatar
Cannonaire
Joined: Wed May 05, 2010 5:59 pm
Status: OVERLOAD
Location: Oregon
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by Cannonaire » Mon Jun 11, 2012 6:09 pm

You are using ffmpegsource() for your source line.
You need to use ffvideosource().
Image Think millionaire, but with cannons. || Resident Maaya Sakamoto fan.

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by LantisEscudo » Mon Jun 11, 2012 7:46 pm

Cannonaire wrote:You are using ffmpegsource() for your source line.
You need to use ffvideosource().
Indeed. ffmpegsource is the old v1 ffms, which hasn't been updated in ages. I'd recommend removing the old one (ffmpegsource.dll) from your plugins directory so you don't accidentally use it any more (the current one is ffms2.dll).

Kevmaster
Eisenbahnmörser
Joined: Sun May 28, 2006 12:20 pm
Org Profile

Re: Pixelation/Video Lag .mp4 (ffmpegsource)

Post by Kevmaster » Tue Jun 12, 2012 1:35 am

Image

Added both .ddl and .avsi to the plugin-directory and each without the other.

Locked

Return to “Video & Audio Help”