Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th October 2013, 11:22   #1  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,434
L-SMASH Source: Strange results reading 1080i AVC

I got a few AVC clips to cut and edit. They are originally in MTS format, probably from an AVCHD camera.

Paste: MediaInfo full analysis of MTS

I converted them to MKV using mkvmerge 6.5.0-1.

Paste: MediaInfo full analysis of MKV

Then I imported them into AviSynth ...

Code:
LoadPlugin("E:\Programme\AviSynth 2.5\plugins\LSMASHSource\LSMASHSource.dll")
v = LWLibavVideoSource("00054.mkv")
a = LWLibavAudioSource("00054.mkv")
AudioDub(v,a)
... and wondered about a strange behaviour: All frames are doubled, double framerate, and TFF/BFF indication toggles for each of the frames in the pair.





So, using SelectEven(), I would probably get what I expected. But I wonder if my preparation was wrong, or if L-SMASH Source has a bug in handling (PAFF?) interlaced AVC, or if I just misunderstood some meaningful default behaviour...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 28th October 2013, 11:31   #2  |  Link
olcifaraga
Registered User
 
Join Date: Sep 2012
Posts: 4
From readme;
Code:
repeat (default : false)
                    Reconstruct frames by the flags specified in video stream and then treat all frames as interlaced if set to true and usable.
                    If set to false, video frames consisting of two separated field coded pictures are displayed twice consecutively.
Just try to add "repeat=true".
olcifaraga is offline   Reply With Quote
Old 28th October 2013, 11:39   #3  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,434
This is indeed a solution, thank you!

__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 1st November 2013, 09:57   #4  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,647
Something else to know about TS to MKV with interlaced AVC : demuxing TS (with TSMuxer for example) then loading streams in MKVMerge instead of loading directly the TS is better, otherwise the resulting MKV could have a problem : MediaInfo detects VFR while it is CFR.
Music Fan is offline   Reply With Quote
Old 2nd November 2013, 14:15   #5  |  Link
VFR maniac
Spinner of yarns
 
VFR maniac's Avatar
 
Join Date: May 2009
Posts: 164
Now, you need not specify repeat=true to construct video frame consisting of top and bottom field coded pictures.
The process is done automatically since rev690.
repeat=true affects pulldown patterns only.
__________________
僕と契約して、L-SMASH developerになってよ!
L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software
VFR maniac is offline   Reply With Quote
Old 2nd November 2013, 14:35   #6  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,434
Great!

Usual download location for the binary: Google Drive
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 2nd November 2013 at 14:38.
LigH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.