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 > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd September 2011, 19:24   #5201  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
I currently have no concrete plans to support raw video input, but maybe one day..
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 3rd September 2011, 19:37   #5202  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by Snowknight26 View Post
On a side note, LAV Splitter doesn't parse the 'test_audacity.wav' file in this zip.
Q.: Should LAV Splitter start supporting b0rked .WAV files?

A.: Of course it shouldn't
Midzuki is offline   Reply With Quote
Old 3rd September 2011, 19:38   #5203  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
That .wav file actually worked for me. Its only missing some information in the media type, so it requires LAV Audio and doesn't connect directly to the renderer.

Of course, i'm using a development version, maybe something changed in ffmpeg that wasnt in the last release.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 01:50   #5204  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
nev, MPEG-4 ASP (DivX 5 and Xvid at least) in matroska causes video corruption when seeking. The problem is in the splitter, MPC's and Haali are fine. Is this a known issue or do you need a sample?

Also seeking is quite a bit slower than both of them with matroska in general, if the video has long GOPs. As if LAVS was waiting till the next keyframe or something.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 4th September 2011, 06:59   #5205  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
Somehow those two symptoms don't match. If its waiting for the next key-frame, how can there be corruption?

I know that Matroska seeking is a bit slow on oddly muxed files, right now it'll always seek to the nearest Cue point and take it from there, which can take quite some time. Luckily most people mux their MKVs sanely with enough Cue points for smoother seeking.
I do have plans and ideas how to improve that. To avoid corruption, it does have to find a key-frame to start with, though.

Anyhow, i can't seem to find a Xvid in MKV, all i have are in .avi, so a sample which directly shows the corruption would be good.
I'll then look at it when i work on the seeking issues, which should be relatively soon. (After the next release)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 4th September 2011 at 07:11.
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 07:15   #5206  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by nevcairiel View Post
Somehow those two symptoms don't match. If its waiting for the next key-frame, how can there be corruption?

I know that Matroska seeking is a bit slow on oddly muxed files, right now it'll always seek to the nearest Cue point and take it from there, which can take quite some time. Luckily most people mux their MKVs sanely with enough Cue points for smoother seeking.
I do have plans and ideas how to improve that. To avoid corruption, it does have to find a key-frame to start with, though.

Anyhow, i can't seem to find a Xvid in MKV, all i have are in .avi, so a sample which directly shows the corruption would be good.
I'll then look at it when i work on the seeking issues, which should be relatively soon. (After the next release)
I have one files about Xvid in MKV!but is very big!
and lavfilters can not use lavvideo to decoder this mpeg file!
Format : MPEG-PS
File size : 63.1 MiB
Duration : 4mn 13s
Overall bit rate : 2 086 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 1
Format settings, BVOP : Yes
Format settings, Matrix : Default
Duration : 4mn 13s
Bit rate : 1 789 Kbps
Maximum bit rate : 1 800 Kbps
Width : 352 pixels
Height : 240 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.706
Stream size : 54.1 MiB (86%)

Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 4mn 13s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -67ms
Stream size : 7.74 MiB (12%)

Last edited by betaking; 4th September 2011 at 07:22.
betaking is offline   Reply With Quote
Old 4th September 2011, 07:39   #5207  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
Media Info is really not helpful. Either post the media type (maybe its as simple as that), or a sample of the file.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 07:55   #5208  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by nevcairiel View Post
Media Info is really not helpful. Either post the media type (maybe its as simple as that), or a sample of the file.
OK! sample download here!
http://hotfile.com/dl/128806918/a301...ME_PK.mpg.html
betaking is offline   Reply With Quote
Old 4th September 2011, 08:15   #5209  |  Link
Carpo
Registered User
 
Carpo's Avatar
 
Join Date: Dec 2002
Location: /dev/null
Posts: 1,368
Quote:
Originally Posted by nevcairiel View Post
I know that Matroska seeking is a bit slow on oddly muxed files, right now it'll always seek to the nearest Cue point and take it from there, which can take quite some time. Luckily most people mux their MKVs sanely with enough Cue points for smoother seeking.
In mkvmerge you have the options for cue points as, default, only for I frames, for all frames, and none - which would you suggest people use? Normally I just leave it on default
__________________
The Internet: where men are men, women are men, and children are FBI Agents
Carpo is offline   Reply With Quote
Old 4th September 2011, 09:19   #5210  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
I dunno what default does, but i guess it might be fine. Its mostly pretty old files or files not muxed with mkvmerge that have those issues.
It also depends on your encode how big GOPs are / how often a key frame is inserted.

Less key-frames may give you slightly smaller files, but of course without key-frames you cannot seek.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 4th September 2011 at 09:54.
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 09:21   #5211  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
Quote:
Originally Posted by betaking View Post
That file plays just fine with LAV Video, with both LAV Splitter and the MPC-HC MPEG Splitter.

Maybe something that was fixed in the latest version, try again with the next release.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 10:51   #5212  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
Nev, do you have any plans to do a status page for LAV Video showing input format and colour conversions etc in use?
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1)
VipZ is offline   Reply With Quote
Old 4th September 2011, 11:19   #5213  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by nevcairiel View Post
That file plays just fine with LAV Video, with both LAV Splitter and the MPC-HC MPEG Splitter.

Maybe something that was fixed in the latest version, try again with the next release.
i Enabled mpeg1 decoder on lavvideo,but mpc-hc still use MPEG VIDEO DECODER by System embedded!
betaking is offline   Reply With Quote
Old 4th September 2011, 13:15   #5214  |  Link
BloodySword
Registered User
 
BloodySword's Avatar
 
Join Date: Jun 2005
Posts: 70
Only I-Frames is good because some dumb splitters or decoders may cause the named "corruption".
I try to not use mkv at all, because I don't like its design.
BloodySword is offline   Reply With Quote
Old 4th September 2011, 13:19   #5215  |  Link
kerimcem
Registered User
 
Join Date: Aug 2011
Posts: 85
mkv and flv thumbnails not open show added lav codec ?
great codec thanks..
kerimcem is offline   Reply With Quote
Old 4th September 2011, 14:37   #5216  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by nevcairiel View Post
Somehow those two symptoms don't match. If its waiting for the next key-frame, how can there be corruption?

I know that Matroska seeking is a bit slow on oddly muxed files, right now it'll always seek to the nearest Cue point and take it from there, which can take quite some time. Luckily most people mux their MKVs sanely with enough Cue points for smoother seeking.
I do have plans and ideas how to improve that. To avoid corruption, it does have to find a key-frame to start with, though.

Anyhow, i can't seem to find a Xvid in MKV, all i have are in .avi, so a sample which directly shows the corruption would be good.
I'll then look at it when i work on the seeking issues, which should be relatively soon. (After the next release)
With ASP, you have corruption and fast seeking.
With everything else (that's why I said in general, but it's H.264 mainly), you have no corruption and slow seeking if the GOPs are long. Maybe it's always slow, but only noticeable with long GOPs, I can't know that. x264 with most presets will produce files with up to 250 frames between keyframes. That's more than 10 seconds of 23.976 video, so go figure.

It should be possible to do it better, since other splitters provide both faster seeking and no corruption.

ASP in MKV sample here: http://www.mediafire.com/?2rwv3ua3138sz78
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 4th September 2011, 14:41   #5217  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
With a fast software decoder (and a fast CPU), 250 frames shouldn't be a big issue. On my system, decoding 250 frames takes about 1 second, and thats the worst case, but i do see longer seeking delays on some files, so i know that something else is going wrong, and i already have some ideas what, and i do plan to look into that soon.
With a hardware decoder, those 250 frames can take a few seconds to decode though (they typically top out around 70-80 fps on 1080p), so a higher delay is certainly possible.

Thanks for the sample, the problem is easily reproducible, that should make fixing much easier.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 4th September 2011 at 14:48.
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 16:03   #5218  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
nevcairiel: Is there a reason LAV Video won't connect to DVDs? It doesn't seem to be related to CSS, as I can't get it to load for decrypted discs either.
Stephen R. Savage is offline   Reply With Quote
Old 4th September 2011, 16:11   #5219  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,361
Quote:
Originally Posted by Stephen R. Savage View Post
nevcairiel: Is there a reason LAV Video won't connect to DVDs? It doesn't seem to be related to CSS, as I can't get it to load for decrypted discs either.
Supporting DVDs requires some special magic in the video decoder, which i just didn't put any priority on.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 16:24   #5220  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,374
Quote:
Originally Posted by nevcairiel View Post
Supporting DVDs requires some special magic in the video decoder, which i just didn't put any priority on.
If it was supported does that mean we could render it with madVR?
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is online now   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter

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 04:03.


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