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 18th August 2010, 22:47   #81  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by Underground78 View Post
By the way, with this sample I can't get the E-AC3 audio to play (whereas it works with internal splitter), is this expected ?
should be fine with this...
Kurtnoise is offline   Reply With Quote
Old 18th August 2010, 22:48   #82  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by Ger View Post
Edit: To reproduce the crash, try clicking on different parts of the seek bar in quick succession with MPEG-2 TS samples with ffdshow for video. CTRL-LEFT and CTRL-RIGHT (I think those are the original shortcuts in MPC-HC for jumping a few seconds back/forward) also causes the crash, especially when done in quick succession. I've changed mine to just left/right arrow like in other players so I'm not 100 % sure what the default shortcut is anymore.
Sounds a lot like this decoder bug: http://sourceforge.net/apps/trac/mpc-hc/ticket/135
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 18th August 2010, 22:53   #83  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Quote:
Originally Posted by Kurtnoise View Post
I don't know much but it would make sens. I think you have made a little typo, correct patch is probably : http://pastebin.ca/1919690 ...
Underground78 is offline   Reply With Quote
Old 18th August 2010, 22:55   #84  |  Link
naomatrix
Registered User
 
Join Date: Feb 2010
Location: Ukraine, Lviv
Posts: 12
OK, now soundtracks and subtitles switches quickly, but the screen at this point flashes black.
And there are new challenges - in PotPlayer(madVR) LAVFSplitter for .avi files does not connect to XVID decoder (also DivX,3viX) only built-in codecs, and on .TS interlaced 1080i MPEG2 (4:2:2) did not see Elecard Mpeg2 HD codec (also DScaler Mpeg2 Video Decoder).
The same problem in the MPC-HC(EVR), only sees the built-in decoders, possibly errors in the players or splitter ?
Another small question, is it possible to make an icon in the tray, as an indicator of spliter's work.
And yet another side issue, there is a problem with Cyrillic fonts in splitter's message.

Thanks.

Last edited by naomatrix; 18th August 2010 at 23:39.
naomatrix is offline   Reply With Quote
Old 19th August 2010, 07:06   #85  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by naomatrix View Post
OK, now soundtracks and subtitles switches quickly, but the screen at this point flashes black.
Like i said before, this is a side effect of the graph rebuild and cannot be avoided. I tested with Haali, and it does the same, i also get a short interruption of playback. I realize that the switch seems a bit slower then on Haali, but sadly there are no other open-source splitters that do this, so i'm building this from scratch, and seeing how this goes.

I can do one change, and on audio switch try to connect to the old filter. If it accepts the connection, just go with that one. This does however have one drawback. If you, for example, use ffdshow, it can handle most, if not all, audio formats, so once its in use, it would not switch to another decoder, even if it has a higher merit. Is this a real problem? To fix it, you would have to turn the formats you don't want ffdshow to handle off in its configuration, but not every filter supports this kind of configuration.
For me it would be fine, as i use ffdshow for most formats, and ffdshow supports turning off the formats i don't want, but i realize not everyone uses a simple setup like this.
I might make this behaviour configurable once i have a property page.

I'll look into the issue with mpeg2 decoder connections, its probably a simple thing thats wrong in the format header.

Btw. MPEG-TS is such a screwed up format, no wonder there is no good reference splitter for it.

Last edited by nevcairiel; 19th August 2010 at 08:29.
nevcairiel is offline   Reply With Quote
Old 19th August 2010, 09:00   #86  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by nevcairiel View Post
I can do one change, and on audio switch try to connect to the old filter. If it accepts the connection, just go with that one.
That actually sounds like a good idea for all the streams? do you think that is possible?

Also, the slower seeking might be partially caused by time based seeking vs keyframe based, maybe that should be ruled out first?
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 19th August 2010, 09:04   #87  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by tetsuo55 View Post
That actually sounds like a good idea for all the streams? do you think that is possible?
Video and Subtitles already do this, as replacing the video decoder causes some issues, and the subtitle decoder is usually linked to the video decoder/renderer in some way.
Quote:
Originally Posted by tetsuo55 View Post
Also, the slower seeking might be partially caused by time based seeking vs keyframe based, maybe that should be ruled out first?
MPEG-TS doesn't offer an easy way to get the keyframes like MKV does, this will need some custom magic to figure out where the GOP borders are.
nevcairiel is offline   Reply With Quote
Old 19th August 2010, 09:04   #88  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
God MPEG-TS sucks
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 20th August 2010, 01:00   #89  |  Link
naomatrix
Registered User
 
Join Date: Feb 2010
Location: Ukraine, Lviv
Posts: 12
I tested the LAVFSplitter on this set of files http://thepiratebay.org/torrent/5155...les_%28v1.7%29 in PotPlayer/LAVF/MadVr/(XP SP3;Athlon64X25600+/Nvidia9800GT/LCD1400x900)
Overall not bad but there are exceptions:
in file 00019.m2ts (Interlace) splitter can not connect the LPCM audio track to any decoder, indicates error, while Haali quietly connects ffdshow audio decoder;
in VC-1_Sub.mkv does not connect to WMVideoDecoderDMO for "WVC1" FOURCC, like any other except the Pot's built-in(FFmpeg);

That's all, thank you
naomatrix is offline   Reply With Quote
Old 20th August 2010, 01:37   #90  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
Quote:
Originally Posted by nevcairiel View Post
MPEG-TS doesn't offer an easy way to get the keyframes like MKV does, this will need some custom magic to figure out where the GOP borders are.
MPEG-TS has a keyframe flag in the header.
kieranrk is offline   Reply With Quote
Old 20th August 2010, 13:33   #91  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Okay, a little status update on MPEG-TS support.

The remaining duration problems are bugs in libavformat. You can easily verify this yourself when running the files through ffplay or ffprobe (i can provide binaries later). TS isn't the best supported format in avformat, sorry.
I have some plans in mind that might improve this situation, but i don't want to go into specifics just yet. It probably will be some time before you hear of this again, so much stuff to do first!

I'm working on a fix for the MPEG-2 headers to properly connect to other filters, and i'll try to fix VC-1 to work with the MS DMO decoder. About the MPEG2 crash .. i'll try to reproduce this first.

Also, i haven't forgotten about all the non-TS bugs, and i'm looking at them too.
nevcairiel is offline   Reply With Quote
Old 20th August 2010, 13:37   #92  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
I updated my post - tested on 0.5 now.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 20th August 2010, 13:56   #93  |  Link
Virtual_ManPL
Virtual_ManPL
 
Virtual_ManPL's Avatar
 
Join Date: Sep 2009
Posts: 170
Finally someone make splitter from scratch to replace buggy Haali and not developed Gabest splitter

Feature request:
1. Tray icon to easily manage streams and chapters (like in Haali)
2. Support for indexless, metadateless or other broken or unfinished files
3. Ogg splitter


Bugs:

1.
Unicode support is missing



2.
Audio isn't recognized in this file
DOWNLOAD

Error in MPC-HC
Code:
C:\Documents and Settings\Virtual_ManPL\Pulpit\Lovers End [H264].mkv::Audio

Media Type 0:
--------------------------
Audio: Vorbis (deprecated) 48000Hz stereo

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {CDDCA2D5-6D75-4F98-840E-737BEDD5C63B}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 256000
cbFormat: 3779

WAVEFORMATEX:
wFormatTag: 0x6771
nChannels: 2
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 3761 (extra bytes)

pbFormat:
0000: SOME_TOO_LONG_CODE_TO_PASTE_IT_HERE
File info
Code:
General
Complete name                    : C:\Documents and Settings\Virtual_ManPL\Pulpit\Lovers End [H264].mkv
Format                           : Matroska
File size                        : 36.6 MiB
Duration                         : 4mn 14s
Overall bit rate                 : 1 208 Kbps
Encoded date                     : UTC 2006-06-09 22:24:38
Writing application              : mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:20:19
Writing library                  : libebml v0.7.7 + libmatroska v0.8.0

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L5.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames
Muxing mode                      : Container profile=Unknown@5.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 4mn 14s
Bit rate                         : 1 000 Kbps
Width                            : 848 pixels
Height                           : 480 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.102
Stream size                      : 29.1 MiB (79%)
Writing library                  : x264 core 47 svn-527
Encoding settings                : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=hex / subme=7 / brdo=1 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / chroma_qp_offset=0 / slices=1 / nr=0 / decimate=1 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=1000 / ratetol=4.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Language                         : English

Audio
ID                               : 2
Format                           : Vorbis
Format settings, Floor           : 1
Codec ID                         : A_VORBIS
Duration                         : 4mn 14s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Stream size                      : 6.79 MiB (19%)
Writing library                  : libVorbis 1.1.1/1.1.2 (UTC 2005-03-04)

3.
This file didn't want to play in EVR Custom and in other renderers like VMR7/9 or overlay I hear only audio, video seems missing, but decoder are loaded
DOWNLOAD

File info
Code:
General
Complete name                    : C:\Documents and Settings\Virtual_ManPL\Pulpit\Time.mov
Format                           : MPEG-4
Format profile                   : Base Media / Version 2
Codec ID                         : mp42
File size                        : 5.57 MiB
Duration                         : 1mn 31s
Overall bit rate                 : 510 Kbps
Encoded date                     : UTC 2008-06-03 01:46:57
Tagged date                      : UTC 2008-06-03 01:46:57

Video
ID                               : 2
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L2.1
Format settings, CABAC           : No
Format settings, ReFrames        : 1 frame
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1mn 30s
Bit rate mode                    : Variable
Bit rate                         : 388 Kbps
Maximum bit rate                 : 1 794 Kbps
Width                            : 480 pixels
Height                           : 320 pixels
Display aspect ratio             : 3:2
Frame rate mode                  : Constant
Frame rate                       : 29.970 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.084
Stream size                      : 4.21 MiB (76%)
Title                            : (C) 2007 Google Inc. v06.24.2007.
Encoded date                     : UTC 2008-06-03 01:46:57
Tagged date                      : UTC 2008-06-03 01:46:57

Audio
ID                               : 1
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 1mn 31s
Bit rate mode                    : Variable
Bit rate                         : 122 Kbps
Maximum bit rate                 : 209 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 44.1 KHz
Stream size                      : 1.33 MiB (24%)
Title                            : (C) 2007 Google Inc. v06.24.2007.
Encoded date                     : UTC 2008-06-03 01:46:57
Tagged date                      : UTC 2008-06-03 01:46:57

Last edited by Virtual_ManPL; 20th August 2010 at 14:06.
Virtual_ManPL is offline   Reply With Quote
Old 20th August 2010, 14:24   #94  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Quote:
Originally Posted by nevcairiel View Post
Okay, a little status update on MPEG-TS support.

The remaining duration problems are bugs in libavformat. You can easily verify this yourself when running the files through ffplay or ffprobe (i can provide binaries later). TS isn't the best supported format in avformat, sorry.
I have some plans in mind that might improve this situation, but i don't want to go into specifics just yet. It probably will be some time before you hear of this again, so much stuff to do first!

I'm working on a fix for the MPEG-2 headers to properly connect to other filters, and i'll try to fix VC-1 to work with the MS DMO decoder. About the MPEG2 crash .. i'll try to reproduce this first.

Also, i haven't forgotten about all the non-TS bugs, and i'm looking at them too.
Ok, thanks a lot for your work.

As there will be probably a lot of bug reports that you won't have time to look at rapidly, don't you think it could be great to have some sort of bug tracker to keep trace of them better than a thread where it will gradually become very difficult to find them ?
Underground78 is offline   Reply With Quote
Old 20th August 2010, 14:27   #95  |  Link
MatMaul
Registered User
 
Join Date: Apr 2004
Posts: 402
Quote:
Originally Posted by nevcairiel View Post
The remaining duration problems are bugs in libavformat. You can easily verify this yourself when running the files through ffplay or ffprobe (i can provide binaries later). TS isn't the best supported format in avformat, sorry.
vlc demuxer seems to be a lot better in that regard.
MatMaul is offline   Reply With Quote
Old 20th August 2010, 14:32   #96  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Quote:
Originally Posted by MatMaul View Post
vlc demuxer seems to be a lot better in that regard.
Well, VLC demuxer is quite strange too. It does not seem to correctly detect the duration since it displays 00:00 but seeking works, I don't understand how it can be possible so maybe it is just a display problem ...
Underground78 is offline   Reply With Quote
Old 20th August 2010, 14:33   #97  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Underground78 View Post
As there will be probably a lot of bug reports that you won't have time to look at rapidly, don't you think it could be great to have some sort of bug tracker to keep trace of them better than a thread where it will gradually become very difficult to find them ?
I was storing important links in some text file so far. but i've been thinking about a proper project page before, and i'll just set it up on googlecode or so.
nevcairiel is offline   Reply With Quote
Old 20th August 2010, 15:17   #98  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
The readme mentions that it is needed to uninstall Haali. That is actually not needed at all. Simply use this registry key to enable use of LAVFSplitter:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Media Type\Extensions\.mkv]
"Source Filter"="{B98D13E7-55DB-4385-A33D-09FD1BA26338}"
May I suggest to enable runtime CPU detect and not force compilation for a specific CPU type. The filter currently does not work on older CPUs.

Can you give a list of which entries in the following key correspond to which file formats? That will allow the testers here to tweak the filter registration until a configuration dialog is implemented.
HKEY_CLASSES_ROOT\Media Type\{e436eb83-524f-11ce-9f53-0020af0ba770}\{9C53931C-7D5A-4A75-B26F-4E51654DB2C0}

An INI file could be useful to specify for which formats the filter should register itself during installation/regsvr32.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 20th August 2010, 15:29   #99  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Figured out the list myself:
Quote:
HKEY_CLASSES_ROOT\Media Type\{e436eb83-524f-11ce-9f53-0020af0ba770}\{9C53931C-7D5A-4A75-B26F-4E51654DB2C0}
0 - Matroska - 0,4,,1A45DFA3
1 - MPEG - 0,16,FFFFFFFFF100010001800001FFFFFFFF,000001BA2100010001800001000001BB
2 - MPEG - 0,5,FFFFFFFFC0,000001BA40
3 - MPEG - 0,8,fffffc00ffe00000,4156000055000000
4 - MPEG - 0,1,,47,188,1,,47,376,1,,47
5 - MPEG - 4,1,,47,196,1,,47,388,1,,47
6 - MPEG - 0,4,,54467263,1660,1,,47
7 - AVI - 0,4,,52494646,8,4,,41564920
8 - AVI - 0,4,,52494646,8,4,,41564958
9 - MP4 - (ftyp) - 4,4,,66747970
10 - MP4 (moov) - 4,4,,6d6f6f76
11 - MP4 (mdat) - 4,4,,6d646174
12 - MP4 (skip) - 4,4,,736b6970
13 - MP4 (wide mdat) - 4,12,ffffffff00000000ffffffff,77696465027fe3706d646174
14 - MP4 (raw) - 3,3,,000001
15 - FLV - 0,4,,464C5601
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 20th August 2010, 15:49   #100  |  Link
XhmikosR
Registered User
 
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
Does anybody know why the splitter cannot be registered with Inno Setup? Using a simple script like this fails with a RegSvr32 failed with exit code 0x3 message.
__________________
My Specs
XhmikosR 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 00:48.


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