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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th March 2015, 21:19   #361  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Only the LWLibavVideoSource builds with libav should be able to handle 10bit x264 content, right?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th March 2015, 03:54   #362  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by Selur View Post
Only the LWLibavVideoSource builds with libav should be able to handle 10bit x264 content, right?
No. Both builds with FFmpeg and Libav should be able to do that.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo is offline   Reply With Quote
Old 18th March 2015, 06:38   #363  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Strange, for me both don't.
L-SMASH-Works-r729-20141117-32bit-Libav
L-SMASH-Works-r784-20150301-32bit
both only produce garbled output and my script looks like this:
Code:
LoadPlugin("G:\MkvCutter\LSMASHSource.dll")
LWLibavVideoSource("H:\Output\HIGH10~1.MKV", cache=false)

Here's also the mediainfo data of the source:
Code:
General
Count                                    : 303
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 173785410236381370390882345944681015379
Unique ID                                : 173785410236381370390882345944681015379 (0x82BDDA40884D25E1AF571D15FC4FE853)
Count of video streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : English
Complete name                            : h:\Output\high10_10bit.mkv
Folder name                              : h:\Output
File name                                : high10_10bit
File extension                           : mkv
Format                                   : Matroska
Format                                   : Matroska
Format/Url                               : http://packs.matroska.org/
Format/Extensions usually used           : mkv mk3d mka mks
Commercial name                          : Matroska
Format version                           : Version 4 / Version 2
Codec                                    : Matroska
Codec                                    : Matroska
Codec/Url                                : http://packs.matroska.org/
Codec/Extensions usually used            : mkv mk3d mka mks
File size                                : 7234313
File size                                : 6.90 MiB
File size                                : 7 MiB
File size                                : 6.9 MiB
File size                                : 6.90 MiB
File size                                : 6.899 MiB
Duration                                 : 17160
Duration                                 : 17s 160ms
Duration                                 : 17s 160ms
Duration                                 : 17s 160ms
Duration                                 : 00:00:17.160
Duration                                 : 00:00:17:04
Duration                                 : 00:00:17.160 (00:00:17:04)
Overall bit rate                         : 3372640
Overall bit rate                         : 3 373 Kbps
Frame rate                               : 25.000
Frame rate                               : 25.000 fps
Frame count                              : 429
Stream size                              : 143963
Stream size                              : 141 KiB (2%)
Stream size                              : 141 KiB
Stream size                              : 141 KiB
Stream size                              : 141 KiB
Stream size                              : 140.6 KiB
Stream size                              : 141 KiB (2%)
Proportion of this stream                : 0.01990
Encoded date                             : UTC 2015-03-17 20:03:51
File creation date                       : UTC 2015-03-17 20:03:44.514
File creation date (local)               : 2015-03-17 21:03:44.514
File last modification date              : UTC 2015-03-17 20:03:51.913
File last modification date (local)      : 2015-03-17 21:03:51.913
Writing application                      : mkvmerge v7.5.0 ('Glass Culture') 64bit built on Jan 26 2015 13:43:13
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2
Encoding Gui                             : Hybrid 2015.03.16.1

Video
Count                                    : 297
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 6920789142181302940
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.h
tml
Commercial name                          : AVC
Format profile                           : High 10@L3.0
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4
Format settings, ReFrames                : 4 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net
/
Codec                                    : V_MPEG4/ISO/AVC
Codec                                    : AVC
Codec/Family                             : AVC
Codec/Info                               : Advanced Video Codec
Codec/Url                                : http://ffdshow-tryout.sourceforge.net
/
Codec profile                            : High 10@L3.0
Codec settings                           : CABAC / 4 Ref Frames
Codec settings, CABAC                    : Yes
Codec_Settings_RefFrames                 : 4
Duration                                 : 17160
Duration                                 : 17s 160ms
Duration                                 : 17s 160ms
Duration                                 : 17s 160ms
Duration                                 : 00:00:17.160
Duration                                 : 00:00:17:04
Duration                                 : 00:00:17.160 (00:00:17:04)
Bit rate                                 : 3305524
Bit rate                                 : 3 306 Kbps
Width                                    : 640
Width                                    : 640 pixels
Height                                   : 352
Height                                   : 352 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.818
Display aspect ratio                     : 16:9
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 25.000
Frame rate                               : 25.000 fps
Frame count                              : 429
Resolution                               : 10
Resolution                               : 10 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10
Bit depth                                : 10 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Bits/(Pixel*Frame)                       : 0.587
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 7090350
Stream size                              : 6.76 MiB (98%)
Stream size                              : 7 MiB
Stream size                              : 6.8 MiB
Stream size                              : 6.76 MiB
Stream size                              : 6.762 MiB
Stream size                              : 6.76 MiB (98%)
Proportion of this stream                : 0.98010
Writing library                          : x264 - core 146 r2538 121396c
Writing library                          : x264 core 146 r2538 121396c
Writing library/Name                     : x264
Writing library/Version                  : core 146 r2538 121396c
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x111 / me=hex / subme=5 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=18 / ip_ratio=1.40 / pb_ratio=1.30 / aq=0
Default                                  : Yes
Default                                  : Yes
Forced                                   : Yes
Forced                                   : Yes
colour_description_present               : Yes
Matrix coefficients                      : BT.601
Color range                              : Limited
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th March 2015, 08:14   #364  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Unless something has changed, it's LSMASHSource itself that doesn't support >8 bit in AviSynth. It's probably just doing a straight input->output treatment of the pixfmt, and since AviSynth doesn't have >8 bit pixfmts, that's what you get. In VapourSynth you'd get the proper image.
qyot27 is offline   Reply With Quote
Old 18th March 2015, 11:16   #365  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Yes, you have to force a compatible output format:
format="YUV420P8" or format="YUV420P16" (stacked)
sneaker_ger is offline   Reply With Quote
Old 18th March 2015, 11:51   #366  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
Quote:
Originally Posted by Selur View Post
both only produce garbled output and my script looks like this:
This is exactly the correct output of a high bit depth video.

You'll need a tool that can display high bit depth preview, or, you'll have to force a 8 bit output, which is YUV420P8 as said above.
MeteorRain is offline   Reply With Quote
Old 28th March 2015, 14:35   #367  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
What is the runtime situation currently? Doesn't it work without installing a runtime? A few StaxRip users have problems running the plugin, for me it runs but I have installed Visual Studio 2013 Community Edition of course.
stax76 is offline   Reply With Quote
Old 28th March 2015, 14:37   #368  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
If this is still true they need VC++2013: http://avisynth.nl/index.php/LSMASHSource
sneaker_ger is offline   Reply With Quote
Old 28th March 2015, 14:47   #369  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
How much bigger would the file size be if it was statically linked and provided as 7z download? Could anybody help with a building and uploading this?
stax76 is offline   Reply With Quote
Old 26th April 2015, 15:36   #370  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
So, is L-SMASH broken for decoding interlaced content out of MKV? I get jumps no mater which field order I use when using QTGMC.
kuchikirukia is offline   Reply With Quote
Old 26th April 2015, 16:22   #371  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
A broken interlacing is more probable; or Telecine instead of Interlacing. Did you provide a sample of your material?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 26th April 2015, 16:52   #372  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
It deinterlaces with DGDecode. It deinterlaces with L-SMASH out of .h264 (though it sets as 119/2 fps).
Out of MKV with QTGMC it thinks it's 120fps and it jerks back and forth if you set L-SMASH to 30000/1001 (though not quite as bad as if the field order is wrong).

[s]Out of MP4 with LSMASHVideoSource and no filters I got several instances of "failed to make a frame."
And that ain't right:[/s] E: never mind, that's in the mp4. First time I used this drive was for this MP4, so there might be an issue with it.
http://s14.postimg.org/t0wxc5cvh/untitled.jpg

Last edited by kuchikirukia; 26th April 2015 at 17:34.
kuchikirukia is offline   Reply With Quote
Old 26th April 2015, 17:16   #373  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
The problem can come from your mkv : if the original container of your video was ts, and if you opened it directly in MKVmerge, the framerate can be wrong, even if you specified the correct framerate in MKVmerge.
I noticed this problem with several interlaced H264 videos. After remux in MKV, MediaInfo detects VFR while it's CFR.
To avoid this, the ts has to be demuxed in elementary streams before remux in mkv.
But it's not too late, you can still demux mkv in elementary streams and remux it.

Last edited by Music Fan; 26th April 2015 at 17:18.
Music Fan is offline   Reply With Quote
Old 26th April 2015, 17:40   #374  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
It was extracted with HD streams extractor, and it played at 30fps interlaced / 60fps LAV filter YADIF bobbed.

E: Ok, now it's not doing it. We're getting 60000/1001 and no jumping.

Last edited by kuchikirukia; 26th April 2015 at 18:38.
kuchikirukia is offline   Reply With Quote
Old 26th April 2015, 19:47   #375  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Quote:
Originally Posted by kuchikirukia View Post
E: Ok, now it's not doing it. We're getting 60000/1001 and no jumping.
What did you do to make it work now ? What I explained ?
Music Fan is offline   Reply With Quote
Old 16th May 2015, 13:10   #376  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Can not LSmash indexing avi files encoded with magicyuv???

http://forum.doom9.org/showthread.ph...04#post1722304
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 is offline   Reply With Quote
Old 16th May 2015, 13:35   #377  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by Overdrive80 View Post
Can not LSmash indexing avi files encoded with magicyuv???

http://forum.doom9.org/showthread.ph...04#post1722304
FFmpeg/Libav does not include MagicYUV. I just use AviSource.
Reel.Deel is offline   Reply With Quote
Old 16th May 2015, 13:41   #378  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
As long as libavcodec doesn't contain a decoder for MagicYUV, L-SMASH Source may not support this video format. Even though I believe it would be possible to index an AVI regardless of the used codec; but why index a clip if the video codec is not supported in libavcodec, thus neither in ffmpeg nor in related projects like FFMS2 or L-SMASH Source.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 16th May 2015, 15:04   #379  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Ok, thanks for both. I´ll use avisource.
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 is offline   Reply With Quote
Old 20th May 2015, 00:31   #380  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
I asked DG how he sends progress from DGIndex and DGIndexNV, his answer:

Code:
void OutputProgress(int progr)
{
	static int lastprogress = -1;

	if (progr != lastprogress)
	{
		char percent[20];
		DWORD written;

		sprintf(percent, "%d\r", progr);
		WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), percent, (DWORD) strlen(percent), &written, NULL);
		lastprogress = progr;
	}
}
It would be very useful for GUI users to see progress.

Last edited by stax76; 20th May 2015 at 00:37.
stax76 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 11:38.


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