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 22nd August 2011, 20:16   #5001  |  Link
Superb
Registered User
 
Join Date: Feb 2010
Posts: 364
Quote:
Originally Posted by msoltyspl View Post
In context of ogm files I had to use full name - e.g. 'Japanese' (case sensitive as well) did the thing, usual 'jpn' was not enough.

Perhaps it would be good to add extra sentence or so, that certain containers require full name instead of just the code.
Maybe it would be a better idea to make an internal (hashed?)table of all the languages and their shorter names. Automatically infer the longer name...
Superb is offline   Reply With Quote
Old 22nd August 2011, 20:21   #5002  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
Quote:
Originally Posted by ForceX View Post
Funny, only happens with madVR 0.74. :/ However, FFDshow works ok with madVR 0.74.
Indeed.
Its really madVRs fault, it seems to keep a reference on the video decoder, so it doesn't get properly destructed. That happesn with ffdshow as well, its just that ffdshow frees the memory earlier.

I changed it now to free the memory earlier as well, so it doesn't result in catastrophic failure when this happens. In any case, you should report this to madshi.

Edit: I reported it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 22nd August 2011 at 20:25.
nevcairiel is offline   Reply With Quote
Old 22nd August 2011, 20:26   #5003  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
Quote:
Originally Posted by msoltyspl View Post
In context of ogm files I had to use full name - e.g. 'Japanese' (case sensitive as well) did the thing, usual 'jpn' was not enough.

Perhaps it would be good to add extra sentence or so, that certain containers require full name instead of just the code.
Can you provide a small sample file with this problem?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd August 2011, 20:32   #5004  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nevcairiel View Post
Its really madVRs fault, it seems to keep a reference on the video decoder, so it doesn't get properly destructed.
Oooopsi.
madshi is offline   Reply With Quote
Old 22nd August 2011, 20:32   #5005  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
Quote:
Originally Posted by nevcairiel View Post
I found the reason it didn't work, and i fixed it (it wasn't the media type). I'll commit the change when i get home.

PS:
AR is also fixed again.

PPS:
I also fixed the problem with WMV1/2 not showing any image with the WMVideo decoder, hooray.
Awesome, thanks
__________________
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 22nd August 2011, 20:40   #5006  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
LAV Filters 0.33
Code:
LAV Splitter
- Improved compatibility with the MS WMVideo decoder
- Fixed the mediatype for raw PCM streams

LAV Audio
- Added support for Vorbis streams demuxed by Haali and MPC-HC Splitters

LAV Video
- VC-1 decoding is now disabled by default
- Fixed behaviour of the Stream AR option
- The maximum number of decoding threads is now 16
- Free decoding buffers when the input pin disconnects to avoid big memory leaks
Download: Installer (both x86/x64) -- Zips: 32-bit & 64-bit

Its mostly just $random bug fixes, but enough to warrant a new version, including some crash fixes.
VC-1 is now disabled by default because the decoder doesn't really offer any notable advantages over the default Windows decoder (WMVideo Decoder DMO). You can of course just re-enable it, if you want.

This does not yet include any of the performance enhancements for LAV Video, i branched those off and still working on them.

Take care.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd August 2011, 20:48   #5007  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,198
thanks, the WMVideo Decoder works now (also for interlaced stuff, though still limping on 1 CPU )
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 22nd August 2011, 21:13   #5008  |  Link
ForceX
Registered User
 
Join Date: Oct 2006
Posts: 150
Thanks for the quick fix and the new build.
ForceX is offline   Reply With Quote
Old 22nd August 2011, 21:27   #5009  |  Link
msoltyspl
Registered User
 
Join Date: Apr 2007
Posts: 7
Quote:
Originally Posted by nevcairiel View Post
Can you provide a small sample file with this problem?
Sure:

http://soltys.ziu.info/temp/a.ogm
http://soltys.ziu.info/temp/b.ogm

The first file has plain 'Japanese' and 'English' as language tags on audio track.
The second one uses 'Japanese[jpn]' and 'English[eng]' (seems more proper ?)

Of course, ogm is relatively ancient and obsoleted these days, though lots of stuff with it still around. Simple workaround is to just list the exact language tag value in the list, works as well.
msoltyspl is offline   Reply With Quote
Old 22nd August 2011, 21:36   #5010  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
Just "English" is better then "English[eng]". I can match full language names, i guess, but matching some construct like "English[eng]" is really alot harder.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd August 2011, 21:40   #5011  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
Nev, I bet you gona want to add me to the ignore list with EVO

With the latest changes, VC1 within EVO doesn't work with the MS WM Decoder any more, in both Win 7 and XP. The chain all connects but playback doesn't start and is stuck at 0:00. LAV Video works as normal. There are no issues with M2TS in both Win7 or XP.
__________________
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 22nd August 2011, 21:47   #5012  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
And i know why, but it'll take a few day to fix it, because it needs ffmpeg changes, not feeling like ugly hacks today.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd August 2011, 21:50   #5013  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
Cool, we all know you don't like ugly hacks
__________________
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 22nd August 2011, 22:06   #5014  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
<OT>

Please define what would be a "beautiful" hack

</OT>
Midzuki is offline   Reply With Quote
Old 22nd August 2011, 22:08   #5015  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
There are ugly hacks, and there are just hacks. Ugly hacks are those that you just put in, knowing that its just wrong and will be replaced in a few days.

Anyway, i actually fixed it in ffmpeg already. Its still a hack, but it does what i want it to.
The problem in this case was that apparently the EVO container does not contain key-frame infos, and ffmpeg relys on its parser to extract them from the frames. The parser is however off for EVOs, because it mangles the timestamps, so i had to introduce a new parsing mode in ffmpeg which still parses everything, but doesn't mangle the timestamps anymore -- and the WMV decoder relys on me indicating keyframes, otherwise it fails to work properly...
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 22nd August 2011 at 22:12.
nevcairiel is offline   Reply With Quote
Old 22nd August 2011, 22:36   #5016  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
Thanks Nev, working perfectly
__________________
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 22nd August 2011, 23:00   #5017  |  Link
Plutotype
Registered User
 
Join Date: Apr 2010
Posts: 235
Quote:
Originally Posted by nevcairiel View Post
VC-1 is now disabled by default because the decoder doesn't really offer any notable advantages over the default Windows decoder (WMVideo Decoder DMO). You can of course just re-enable it, if you want.
Hi Nev,
I would like to vote for enabling your VC-1 decoder as default.
Im not sure if also by the others, but in my setup, the WMVideo Decoder DMO causes A/V sync issues, when seeking/jumping in the timeline ( lipsync issues ). With VC-1 videos I mean.
Pluto
__________________
__________________
System: Intel Core i5-6500, 16GB RAM, GTX1060, 75" Sony ZD9, Focal speakers, OS Win10 Pro, Playback: madvr/JRiver
Plutotype is offline   Reply With Quote
Old 22nd August 2011, 23:01   #5018  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
Quote:
Originally Posted by Plutotype View Post
Hi Nev,
I would like to vote for enabling your VC-1 decoder as default.
Im not sure if also by the others, but in my setup, the WMVideo Decoder DMO causes A/V sync issues, when seeking/jumping in the timeline ( lipsync issues ). With VC-1 videos I mean.
Pluto
So enable it again.
I had some sync issues before as well, but try again with 0.33, it might as well just have vanished.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 22nd August 2011 at 23:23.
nevcairiel is offline   Reply With Quote
Old 22nd August 2011, 23:40   #5019  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,198
Quote:
Originally Posted by Thunderbolt8 View Post
thanks, the WMVideo Decoder works now (also for interlaced stuff, though still limping on 1 CPU )
actually for some strange reason it doesnt work for a VC-1 1080p 23.976 BD here -.- (BBC source)
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 23rd August 2011, 02:48   #5020  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
To:nevcairiel,can you make lavaudio change decoder format write to Registry like it to lavvideo and lav splitters?
[HKEY_CURRENT_USER\Software\LAV\Splitter\Formats]
"4xm"=dword:00000000
"aac"=dword:00000000
or
[HKEY_CURRENT_USER\Software\LAV\Video\Formats]
"h264"=dword:00000000
"vc1"=dword:00000000
For example made ​​of this
[HKEY_CURRENT_USER\Software\LAV\Audio\Formats]
"aac"=dword:00000000

Last edited by betaking; 23rd August 2011 at 02:56.
betaking is offline   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 22:42.


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