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 8th May 2012, 13:15   #10861  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,990
Quote:
Originally Posted by THX-UltraII View Post
thanks. And HDMI?
Please stop spamming 3 different forums with your questions.
This is not a question related directly to LAV.

Quote:
Originally Posted by mastan View Post
Maybe use static code chekers sometimes?
Static code analyzers are 99% useless, they usually produce more false positives then useful info, so filtering through those is more annoying then useful.
Especially cppcheck is really bad.

Especially the constructor things, not everything needs to be initialized in the constructor if you're conscious when you use it, and such things are just not caught by static analyzers.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th May 2012 at 13:21.
nevcairiel is online now   Reply With Quote
Old 8th May 2012, 14:49   #10862  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 411
Nev,

This is what the MPC-HC AVI-splitter gives on a file with speex-audio :

Code:

MPC AVI Source::Audio 1

Media Type 0:
--------------------------
Audio: 0xa109 32000Hz stereo 44kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {0000A109-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 4207
cbFormat: 132

WAVEFORMATEX:
wFormatTag: 0xa109
nChannels: 2
nSamplesPerSec: 32000
nAvgBytesPerSec: 5610
nBlockAlign: 561
wBitsPerSample: 10
cbSize: 114 (extra bytes)

pbFormat:
0000: 09 a1 02 00 00 7d 00 00 ea 15 00 00 31 02 0a 00 ....}.....1...
0010: 72 00|01 00 53 70 65 65 78 20 20 20 73 70 65 65 r...Speex   spee
0020: 78 2d 31 2e 30 00 00 00 00 00 00 00 00 00 00 00 x-1.0...........
0030: 01 00 00 00 50 00 00 00 00 7d 00 00 02 00 00 00 ....P....}......
0040: 04 00 00 00 02 00 00 00 ff ff ff ff 80 02 00 00 ...........
0050: 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 ................
0060: 00 00 00 00 09 43 6f 64 65 63 20 68 6f 6d 65 70 .....Codec homep
0070: 61 67 65 20 77 77 77 2e 6f 70 65 6e 61 63 6d 2e age www.openacm.
0080: 6f 72 67 20 


Here's another file (speex in MKV) with the Haali splitter :

Code:
Haali Media Source::Audio

Media Type 0:
--------------------------
Audio: 0xa109 32000Hz stereo 30kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {0000A109-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 98

WAVEFORMATEX:
wFormatTag: 0xa109
nChannels: 2
nSamplesPerSec: 32000
nAvgBytesPerSec: 3800
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 80 (extra bytes)

pbFormat:
0000: 09 a1 02 00 00 7d 00 00 d8 0e 00 00 04 00 10 00 ....}.........
0010: 50 00|53 70 65 65 78 20 20 20 31 2e 32 72 63 31 P.Speex   1.2rc1
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 ................
0030: 00 00 50 00 00 00 00 7d 00 00 02 00 00 00 04 00 ..P....}........
0040: 00 00 02 00 00 00 a0 73 00 00 80 02 00 00 00 00 ......*s.......
0050: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060: 00 00

If you need more info, just let me know.

Last edited by Pat357; 8th May 2012 at 17:05. Reason: adding Haali
Pat357 is offline   Reply With Quote
Old 8th May 2012, 15:06   #10863  |  Link
egur
QuickSync Decoder author
 
Join Date: Apr 2011
Location: Atlit, Israel
Posts: 916
Quote:
Originally Posted by nevcairiel View Post
Static code analyzers are 99% useless, they usually produce more false positives then useful info, so filtering through those is more annoying then useful.
I can't agree with that, a properly set static analysis tool can do a lot of good and give very little false positives.
CppCheck is a simple tool but there are others which are better.

A good practice is to raise compiler warnings to level 4 on a regular basis and prior to release set it to 'EnableAllWarning' and use static analysis (whatever you can afford).
In gcc, raise warning level to -Wall. which is similar to level 4 in VS.

This way new issues are quickly found as the code is always clean.
__________________
Eric Gur,
Processor Application Engineer for Overclocking and CPU technologies
Intel QuickSync Decoder author
Intel Corp.
egur is offline   Reply With Quote
Old 8th May 2012, 15:41   #10864  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,990
Compiler Warnings are one thing, but static analysis can't keep up with some more advanced constructs.
Its a tool that can be used occasionally, but its nearly useless if you run it on code that you don't know and take the messages at face value.

Although i would never use CppCheck for it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th May 2012 at 15:45.
nevcairiel is online now   Reply With Quote
Old 8th May 2012, 15:45   #10865  |  Link
JEEB
もこたんインしたお!
 
JEEB's Avatar
 
Join Date: Jan 2008
Location: Finland / Japan
Posts: 510
Quote:
Originally Posted by nevcairiel View Post
Compiler Warnings are one thing, but static analysis can't keep up with some more advanced constructs.
I like MSVC's and Clang's static analyzers that go through compiled output together with the source, even if there would be some false positives.

Purely source-based analyzers such as cppcheck can of course only go as far...
__________________
[I'm human, no debug | Unofficial x264 Builds]
JEEB is offline   Reply With Quote
Old 8th May 2012, 16:12   #10866  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,647
Quote:
Originally Posted by THX-UltraII View Post
thanks. And HDMI?

1. HDMI Input
I can select a. Standard (16-235), b. Enhanced (0-255) or c. Super White (16-255) in the JVC RS45 projector menu.
What is the setting that should be used when using a HTPC with:
- Blu-Ray content to play
- Media Player Classic Home Cinema
- madVR as output renderer (set to PC levels 0-255 as RGB output levels)
- LAV video filter (RGB set to 'untouched' in LAV video filter)
- NVIDIA GTX460 with default 1080p23 profile BUT with n vidia fix during installation (for further information about this fix check http://forums.nvidia.com/index.php?s...post&p=1328716)
You've modified your display driver inf to use full range, so 0-255 should be right.
I don't have any HDMI experience, but simply using what works/looks right would have answered your questions too, I guess.

Let us stop trying out nev's bright mood.
aufkrawall is offline   Reply With Quote
Old 8th May 2012, 16:34   #10867  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,990
Note for everyone doing their own LAV builds!

Yesterday i added libspeex to my build, which required me to add a new binary dependency on libspeex itself.
At first it was included in the repository, but that was not a good idea, so i removed it again.

To build LAVs ffmpeg now, at least with my build scripts, you'll need to install libspeex into your local MSYS/MinGW build environment.

You can get the pre-compiled libraries here:
http://files.1f0.de/mingw/

I'll most likely add 1-2 more libraries in the future, which i'll all place there.
I may even produce my own build-env setup, as i'm not too happy with the current one anymore.

Edit:
I reverted those changes until i can provide a proper complete build env, too much trouble otherwise.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th May 2012 at 20:12.
nevcairiel is online now   Reply With Quote
Old 8th May 2012, 16:38   #10868  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 3,789
A build env setup would ROCK. I like to maintain my own custom installer to update J River's private copy of LAV so having the build env auto setup would be nice. Do we just drop these in and we're good? Thanks!
__________________
HTPC1:W10 Creator Edition, I7 3770k, GTX 1060, Pioneer Elite SC-65, Panasonic 65" 1080p Plasma
Laptop: MSI GT70 Dominator
SamuriHL is offline   Reply With Quote
Old 8th May 2012, 16:49   #10869  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,990
Just unpack them in the folders as outlined on the downloads page, and it should work.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 8th May 2012, 16:50   #10870  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 3,789
Ok, thanks!
__________________
HTPC1:W10 Creator Edition, I7 3770k, GTX 1060, Pioneer Elite SC-65, Panasonic 65" 1080p Plasma
Laptop: MSI GT70 Dominator
SamuriHL is offline   Reply With Quote
Old 8th May 2012, 17:08   #10871  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 3,789
You changed the install script on me? Cause I can't get the files to register now. I guess you must be including something new that I don't have in my install script modification.
__________________
HTPC1:W10 Creator Edition, I7 3770k, GTX 1060, Pioneer Elite SC-65, Panasonic 65" 1080p Plasma
Laptop: MSI GT70 Dominator
SamuriHL is offline   Reply With Quote
Old 8th May 2012, 17:12   #10872  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,990
Actually that was my fault, the libspeex package i uploaded was for dynamic linking, not static linking.
You need to remove the libspeex.dll.a from the "lib" dir where you just unpacked it to (just the ones with dll in them, not libspeex.a), otherwise you'll also need to put the libspeex-1.dll into the LAV folder.

I posted corrected library zips, just when you already unpacked it, it won't remove the old files
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 8th May 2012, 17:36   #10873  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 3,789
Oh, kuel, thanks! I'll try that out now.
__________________
HTPC1:W10 Creator Edition, I7 3770k, GTX 1060, Pioneer Elite SC-65, Panasonic 65" 1080p Plasma
Laptop: MSI GT70 Dominator
SamuriHL is offline   Reply With Quote
Old 8th May 2012, 17:48   #10874  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 3,789
That fixed it. Thanks, Nev!
__________________
HTPC1:W10 Creator Edition, I7 3770k, GTX 1060, Pioneer Elite SC-65, Panasonic 65" 1080p Plasma
Laptop: MSI GT70 Dominator
SamuriHL is offline   Reply With Quote
Old 8th May 2012, 18:29   #10875  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 411
Nev,

The few samples I have with speex-audio played all fine with lav-splitter + lav-audio.

I hope the info from MPC-AVI splitter and Haali splitter I posted contain some usefull info for you to make speex-audio work with other splitters too.
If you need more info or samples, just ask.
Pat357 is offline   Reply With Quote
Old 8th May 2012, 18:31   #10876  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,990
I added support for other AVI Splitters, but for some reason the first few seconds of audio are corrupted with other AVI splitters.
Maybe the file i tried is weird, but it works with LAV, so i dunno. Not that i care much, use LAV or go away.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 8th May 2012, 19:46   #10877  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 411
I took the binary package from http://henry.fushizen.eu/builds/LAV%...ang=en/sort=na (latest 589c957bf655) to test the speex-decoder, but LAV-audio doesn't want to connect to the splitter anymore ..?

see http://www.mediafire.com/conv/34bd1f...917395056g.jpg

There must be something wrong with his compilation...

Last edited by Pat357; 8th May 2012 at 19:59.
Pat357 is offline   Reply With Quote
Old 8th May 2012, 20:09   #10878  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 8,990
If you want to test the decoder in combination with LAV Splitter, i posted a build yesterday for that, which i know is working.
The change to also support other splitters was not available in the public Git until right now.

Recent versions require an additional library to make compilation work again, so its possible some people that do "automated" builds have it messed up right now.
Maybe i should change my mind and move the speex library back into the Git repository.

Edit:
And i did. I'll try to go back to keeping the libs out of my sources once i have a better plan for a build env.
To keep everything clean i purged two commits from history, so sorry about breaking some checkouts. :P
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th May 2012 at 20:14.
nevcairiel is online now   Reply With Quote
Old 9th May 2012, 03:43   #10879  |  Link
karl_lillevold
Moderator
 
karl_lillevold's Avatar
 
Join Date: Oct 2002
Location: Seattle
Posts: 1,584
Intel QuickSync (Lucid Virtu) + madVR = no video

I am trying to get madVR to work along with the LAV video decoder using Intel QuickSync decoding, running in MPC-HC with Lucid Virtu. It works great with EVR Custom Pres, but with madVR there is no video. Graphstudio exhibits the same behavior - opens a video window, plays audio, but no video.

I have a SandyBridge 2500K, and I am using a discrete ATI Radeon 6450 because I cannot get the integrated Intel HD Graphics to display colors well on my HDTV.

If I remove the ATI card (so Lucid Virtu is not being used), playback works as expected (but poor color saturation).

if I use DXVA Copy-back on the ATI card, (and disable Lucid Virtu), playback also works.

I know this is perhaps an odd combination, but I would prefer QuickSync decoding, due to its better efficiency. (It can play Crowd.Run without skipping frames, the ATI card cannot. The fanless ATI card also runs hot while decoding Blu-ray resolutions).
__________________
This information is provided "AS IS" with no warranties, grants no rights, and reflects my personal opinion.
karl_lillevold is offline   Reply With Quote
Old 9th May 2012, 04:31   #10880  |  Link
wanezhiling
Registered User
 
Join Date: Apr 2011
Posts: 1,144


I checked "Force Deinterlacing" and used LAV CUVID(50/60p output) to play back a 30p progressive video, but fps was still 30.

nev, this area has no effect on CUDA deinterlacing?
wanezhiling 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 12:49.


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