Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (14) 1 [2] 3 4 ... Last » ( Go to first unread post )
How to use the external encoder feature, a brief overview
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
stephanV
Posted: Jan 14 2011, 11:29 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (totya @ Jan 14 2011, 11:22 AM)
Hi, this version works much better than before version. (I see x86 version) Resulted flac file length is now correct, seekable, and wav compare test is OK. OGG encoder is too works with this version (in wav mode). Thank you.

Thanks for your report. smile.gif

I've confirmed it and simplified the Vorbis commandline example.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
DarrellS
Posted: Feb 6 2011, 03:21 AM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



MKVmerge from version 4.1 til now with header stripping breaks MKV playback in media players like WDTV and Popcorn hour. I would recommend using version 4.0.0 or older. I remuxed an unworking MKV with version 4.0 and it now plays on my WDTV. It would not play with version 4.4. All of the files that I have created the last few months will have to be remuxed.
 
     Top
ale5000
Posted: Feb 6 2011, 08:30 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



@DarrellS: Downgrading is almost never a good suggestion, the problem here are the media players that doesn't support the specs correctly, there are two solutions:
1) Update the firmware of the media player
2) Set the option "Disable header removal compression for audio and video track by default" in mkvmerge GUI (you really don't need to use an older version)

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
DarrellS
Posted: Feb 6 2011, 10:53 AM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



Upgrading isn't always a good idea either. If it ain't broke, don't fix it.

WD offers no more firmware updates for the first generation and second generation Players. The last update I got was a year ago which supposedly gave better support for MKV files. I had no problem playing any of my MKV files on the WDTV before installing version 4.4 when I reinstalled Windows.

I've been reading that you can't change the default setting in MKVmerge. That you have to manually set it for each file and that it is set to header compression by default. If header compression has been part of the Matroska specs for six years then why has it not been used until now. Why wait until everyone starts using MKV to implement header compression and why make it default with no way to change the setting to off by default?

I have converted hundreds of files to 264/MKV since reinstalling Windows and all of them will have to be remuxed since they all have header compression. If header compression is the problem and it needs to be turned off but can't by default then how is using a version without header compression a bad thing?

I read where there were three options for dealing with Mosu forcing header compression by default...

* Use mkvtoolnix v4.1.0 or greater but press the developers of any hardware/software players having issues to add support for this (ain't gonna happen with WDTV)

* Revert back to an older version of mkvtoolnix pre v4.1.0 (which I have done)

* Set compression to “none” each and every time you use mkvtoolnix v4.1.0 or greater (not gonna do it)

There is a fourth option. Use a different container. mp4, m2ts and ts all support 264/aac or 264/ac3 and the WDTV will play all these files.

 
     Top
stephanV
Posted: Feb 6 2011, 11:56 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



In MKVToolnix 4.4.0 header compression can be turned off by by default in the options menu of mmg if you want to use the GUI and you can always disable it in the commandline. I'll add a working example in the guide.

I see no reason to use 4.0.0 if the problem is header compression.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
ale5000
Posted: Feb 6 2011, 12:21 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



QUOTE (DarrellS @ Feb 6 2011, 10:53 AM)
Upgrading isn't always a good idea either. If it ain't broke, don't fix it.

It is a bad way of thinking, maybe you won't get regressions but you also won't get bug fixes / new features.
My way of thinking is fix bugs before they even hit you.

QUOTE (DarrellS @ Feb 6 2011, 10:53 AM)
I've been reading that you can't change the default setting in MKVmerge. That you have to manually set it for each file and that it is set to header compression by default. If header compression has been part of the Matroska specs for six years then why has it not been used until now. Why wait until everyone starts using MKV to implement header compression and why make it default with no way to change the setting to off by default?

Maybe it hasn't been used until now because it isn't a priority, a programmer is a human after all biggrin.gif and need some time to do things.

Make it default is a good thing because otherwise it wouldn't be used by most people (i.e. people that just click without know what it really does).
As also stephanV said you can turn it off by default.
Try update to 4.5.0 and look for the option "Disable header removal compression for audio and video track by default".

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
DarrellS
Posted: Feb 6 2011, 12:45 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



QUOTE (stephanV @ Feb 6 2011, 04:56 AM)
In MKVToolnix 4.4.0 header compression can be turned off by by default in the options menu of mmg if you want to use the GUI and you can always disable it in the commandline. I'll add a working example in the guide.

I see no reason to use 4.0.0 if the problem is header compression.

Thanks for fixing the argument. I assume that for no audio, it would be...

-o "%(outputname)" --compression 0:none --default-duration 0:%(fpsnum)/%(fpsden)fps "%(tempvideofile)"
 
     Top
DarrellS
Posted: Feb 6 2011, 01:30 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



QUOTE (ale5000 @ Feb 6 2011, 05:21 AM)
QUOTE (DarrellS @ Feb 6 2011, 10:53 AM)
Upgrading isn't always a good idea either. If it ain't broke, don't fix it.

It is a bad way of thinking, maybe you won't get regressions but you also won't get bug fixes / new features.
My way of thinking is fix bugs before they even hit you.

QUOTE (DarrellS @ Feb 6 2011, 10:53 AM)
I've been reading that you can't change the default setting in MKVmerge. That you have to manually set it for each file and that it is set to header compression by default. If header compression has been part of the Matroska specs for six years then why has it not been used until now. Why wait until everyone starts using MKV to implement header compression and why make it default with no way to change the setting to off by default?

Maybe it hasn't been used until now because it isn't a priority, a programmer is a human after all biggrin.gif and need some time to do things.

Make it default is a good thing because otherwise it wouldn't be used by most people (i.e. people that just click without know what it really does).
As also stephanV said you can turn it off by default.
Try update to 4.5.0 and look for the option "Disable header removal compression for audio and video track by default".

Yeah, I just installed 4.5.0 and it does have an option to turn it off.

The problem with it being on by default is that most open source software (and even some pay software) that encode H264 use MKVmerge to create MKV files. That means that every software that creates MKV is creating broken files that a huge number of the public are unable to use and most people aren't even aware that their software is creating unusable files.

The only reason that I can think off for header compression is to stick it to Western Digital who is making tons of money off of his work but the people he's really sticking it to are all the people who bought the WDTV. Either they fix all their MKVs or they give in to Western Digital and buy the new $200 player. Maybe that is the plan and WD is paying Mosu a ton of money. There are a whole lot of WDTV users who are pissed off at both of them. Pissed off at Mosu for changing MKVmerge and pissed off at WD for not supporting their products with firmware updates.

I'm just glad that StevenV knows how to fix the problem with the external encoder and there is a way to turn off compression. I'm not too worried about what everyone else is doing since I don't download MKVs from torrents but I do want to be able to create files that I can play. I had no idea that all the files that I was creating were unplayable in my WDTV until this week when I went to play one.
 
     Top
ale5000
Posted: Feb 6 2011, 01:42 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



These files are NOT broken.
It depends from the point of view.

Many users prefer .mp4 over .mkv just because many hardware players doesn't support them.
Many users prefer Xvid over H.264 just because many hardware players doesn't support them.
Many users prefer Windows 98 just because they have an old PC.

Almost all pc software players support header removal compressed files and also some hardware players support them.
But the medium user often get worst thing just because he/she can't use better things.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
ale5000
Posted: Feb 6 2011, 01:50 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



The best way is send a lot of e-mail to WD asking for support, just think that someone else may have already done it isn't good.
If they start receiveng over 10000 e-mails (from different people) then things may change.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
stephanV
Posted: Feb 6 2011, 03:02 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (DarrellS @ Feb 6 2011, 01:45 PM)
QUOTE (stephanV @ Feb 6 2011, 04:56 AM)
In MKVToolnix 4.4.0 header compression can be turned off by by default in the options menu of mmg if you want to use the GUI and you can always disable it in the commandline. I'll add a working example in the guide.

I see no reason to use 4.0.0 if the problem is header compression.

Thanks for fixing the argument. I assume that for no audio, it would be...

-o "%(outputname)" --compression 0:none --default-duration 0:%(fpsnum)/%(fpsden)fps "%(tempvideofile)"

Correct.

For the rest I consider the conspiracy theories about developers motives for doing certain things off-topic for this thread and I will move any further off-topic posts to the off-topic forum.

Thanks.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
DarrellS
Posted: Feb 6 2011, 11:25 PM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



Virtualdub says the multiplexing failed but a finished file was created..
 
     Top
stephanV
Posted: Feb 7 2011, 07:52 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



More details please.. there are logs, you have a specific encoder, etc.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
DarrellS
Posted: Feb 8 2011, 02:15 AM


Advanced Member


Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02



  • Beginning preview operation.

    [i] Dub: Recompressing using format: XRGB1555.

  • Ending operation.

  • Beginning preview operation.

    [i] Dub: Recompressing using format: XRGB1555.

  • Ending operation.

  • Beginning dub operation.

    [i] Dub: Input (decompression) format is: YUV420.

    [i] Dub: Output (compression) format is: YUV420.

    [i] VideoEnc: raw [info]: 720x576p 0:0 @ 25/1 fps (cfr)

    [i] VideoEnc: x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64

    [i] VideoEnc: x264 [info]: profile High, level 3.0

    [i] VideoEnc: 10 frames: 19.42 fps, 2658.32 kb/s

    [i] VideoEnc: 20 frames: 27.86 fps, 3727.70 kb/s

    [i] VideoEnc: 30 frames: 31.48 fps, 3596.06 kb/s

    [i] VideoEnc: 40 frames: 34.13 fps, 4191.35 kb/s

    [i] VideoEnc: 50 frames: 40.52 fps, 3626.93 kb/s

    [i] VideoEnc: 60 frames: 46.26 fps, 3035.55 kb/s

    [i] VideoEnc: 70 frames: 52.71 fps, 2610.69 kb/s

    [i] VideoEnc: 80 frames: 58.18 fps, 2295.45 kb/s

    [i] VideoEnc: 90 frames: 61.94 fps, 2083.53 kb/s

    [i] VideoEnc: 100 frames: 66.67 fps, 1888.98 kb/s

    [i] VideoEnc: 110 frames: 71.11 fps, 1722.61 kb/s

    [i] VideoEnc: 120 frames: 75.33 fps, 1585.84 kb/s

    [i] VideoEnc: 130 frames: 79.27 fps, 1468.38 kb/s

    [i] VideoEnc: 140 frames: 80.74 fps, 1394.70 kb/s

    [i] VideoEnc: 150 frames: 84.22 fps, 1315.71 kb/s

    [i] VideoEnc: 160 frames: 86.81 fps, 1240.73 kb/s

    [i] VideoEnc: 170 frames: 89.95 fps, 1174.43 kb/s

    [i] VideoEnc: 180 frames: 92.93 fps, 1116.01 kb/s

    [i] VideoEnc: 190 frames: 95.00 fps, 1094.42 kb/s

    [i] VideoEnc: 200 frames: 96.99 fps, 1079.20 kb/s

    [i] VideoEnc: 210 frames: 98.82 fps, 1041.58 kb/s

    [i] VideoEnc: 220 frames: 100.59 fps, 1014.13 kb/s

    [i] VideoEnc: 230 frames: 102.22 fps, 984.30 kb/s

    [i] VideoEnc: 240 frames: 101.74 fps, 984.92 kb/s

    [i] VideoEnc: 250 frames: 103.91 fps, 953.08 kb/s

    [i] VideoEnc: 260 frames: 105.99 fps, 930.30 kb/s

    [i] VideoEnc: 270 frames: 108.00 fps, 904.99 kb/s

    [i] VideoEnc: 280 frames: 109.29 fps, 884.00 kb/s

    [i] VideoEnc: 290 frames: 110.48 fps, 867.02 kb/s

    [i] VideoEnc: 300 frames: 112.28 fps, 844.81 kb/s

    [i] VideoEnc: 310 frames: 113.39 fps, 823.36 kb/s

    [i] VideoEnc: 320 frames: 114.41 fps, 803.35 kb/s

    [i] VideoEnc: 330 frames: 115.42 fps, 784.26 kb/s

    [i] VideoEnc: 340 frames: 115.76 fps, 784.02 kb/s

    [i] VideoEnc: 350 frames: 114.87 fps, 809.31 kb/s

    [i] AudioEnc: *************************************************************

    [i] AudioEnc: * *

    [i] AudioEnc: * Nero AAC Encoder *

    [i] AudioEnc: * Copyright 2008 Nero AG *

    [i] AudioEnc: * All Rights Reserved Worldwide *

    [i] AudioEnc: * *

    [i] AudioEnc: * Package build date: Sep 17 2008 *

    [i] AudioEnc: * Package version: 1.3.3.0 *

    [i] AudioEnc: * *

    [i] AudioEnc: * See -help for a complete list of available parameters. *

    [i] AudioEnc: * *

    [i] AudioEnc: *************************************************************

    [i] AudioEnc: Processed 0 seconds...

    [i] AudioEnc: Processed 1 seconds...

    [i] AudioEnc: Processed 2 seconds...

    [i] AudioEnc: Processed 3 seconds...

    [i] AudioEnc: Processed 4 seconds...

    [i] AudioEnc: Processed 5 seconds...

    [i] AudioEnc: Processed 6 seconds...

    [i] AudioEnc: Processed 7 seconds...

    [i] AudioEnc: Processed 8 seconds...

    [i] AudioEnc: Processed 9 seconds...

    [i] AudioEnc: Processed 10 seconds...

    [i] AudioEnc: Processed 11 seconds...

    [i] AudioEnc: Processed 12 seconds...

    [i] AudioEnc: Processed 13 seconds...

    [i] AudioEnc: Processed 14 seconds...

    [i] AudioEnc: Processed 15 seconds...

    [i] VideoEnc: 360 frames: 112.39 fps, 844.90 kb/s

    [i] VideoEnc: 370 frames: 114.98 fps, 822.20 kb/s

    [i] VideoEnc: 380 frames: 118.09 fps, 800.69 kb/s

    [i] VideoEnc: 390 frames: 120.59 fps, 780.29 kb/s

    [i] VideoEnc: 400 frames: 123.08 fps, 760.90 kb/s

    [i] VideoEnc:

    [i] VideoEnc: x264 [info]: frame I:6 Avg QP:17.16 size: 19463

    [i] VideoEnc: x264 [info]: frame P:150 Avg QP:23.82 size: 7755

    [i] VideoEnc: x264 [info]: frame B:244 Avg QP:26.24 size: 991

    [i] VideoEnc: x264 [info]: consecutive B-frames: 14.5% 8.6% 0.8% 76.1%

    [i] VideoEnc: x264 [info]: mb I I16..4: 77.8% 8.0% 14.2%

    [i] VideoEnc: x264 [info]: mb P I16..4: 4.4% 2.9% 3.0% P16..4: 6.6%
    5.4% 3.7% 0.0% 0.0% skip:73.9%

    [i] VideoEnc: x264 [info]: mb B I16..4: 0.4% 0.2% 0.1% B16..8: 6.0%
    1.2% 0.4% direct: 0.7% skip:91.1% L0:41.4% L1:35.2% BI:23.3%

    [i] VideoEnc: x264 [info]: 8x8 transform intra:23.3% inter:53.7%

    [i] VideoEnc: x264 [info]: coded y,uvDC,uvAC intra: 32.4% 28.0% 23.5% inter:
    4.6% 3.7% 2.3%

    [i] VideoEnc: x264 [info]: i16 v,h,dc,p: 68% 28% 4% 0%

    [i] VideoEnc: x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 19% 48% 3% 3%
    2% 3% 3% 7%

    [i] VideoEnc: x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 66% 14% 2% 2%
    1% 2% 2% 2%

    [i] VideoEnc: x264 [info]: i8c dc,h,v,p: 72% 22% 4% 2%

    [i] VideoEnc: x264 [info]: Weighted P-Frames: Y:5.3%

    [i] VideoEnc: x264 [info]: ref P L0: 65.7% 13.5% 15.5% 5.1% 0.2%

    [i] VideoEnc: x264 [info]: ref B L0: 74.7% 23.0% 2.3%

    [i] VideoEnc: x264 [info]: ref B L1: 94.6% 5.4%

    [i] VideoEnc: x264 [info]: kb/s:760.90

    [i] VideoEnc: encoded 400 frames, 123.08 fps, 760.90 kb/s

    [i] Mux: mkvmerge v4.5.0 ('Speed of Light') built on Feb 1 2011 02:10:32

    [i] Mux: 'E:\Music Videos\001.mkv.264': Using the AVC/h.264 ES demultiplexer.

    [i] Mux: 'E:\Music Videos\001.mkv.aac': Using the Quicktime/MP4 demultiplexer.

    [i] Mux: 'E:\Music Videos\001.mkv.264' track 0: Using the MPEG-4 part 10 ES
    video output module.

    [i] Mux: 'E:\Music Videos\001.mkv.aac' track 1: Using the AAC output module.

    [i] Mux: Warning: 'E:\Music Videos\001.mkv.aac': A track with the ID 0 was
    requested but not found in the file. The corresponding option will be
    ignored.

    [i] Mux: The file '001.mkv' has been opened for writing.

    [i] Mux: Progress: 68%

    [i] Mux: Progress: 100%

    [i] Mux: Progress: 100%

    [i] Mux: The cue entries (the index) are being written...

    [i] Mux: Muxing took 0 seconds.

    [E] Error: CLI: The multiplexing process failed with error code 1 (00000001).
    Check the log for possible error messages.

  • Ending operation.



    The only change I made was that I installed MKVtoolnix 4.5.0 and used your argument to get rid of header compression in MKVmerge. Maybe I need to upgrade X264. Seems like every time I upgrade one thing, it breaks another.

    Like I said, it does create a working file. It just gives a false error message. It has done this before but I'm not sure what changes were made to fix the problem.
  •  
         Top
    dloneranger
    Posted: Feb 8 2011, 02:40 AM


    Moderator


    Group: Moderators
    Posts: 2366
    Member No.: 22158
    Joined: 26-September 07



    Error 1 from mkvmerge is a warning error
    QUOTE

    1 -- In this case mkvmerge(1) has output at least one warning, but muxing did continue. A warning is prefixed with the text 'Warning:'. Depending on the issues involved the resulting file might be ok or not. The user is urged to check both the warning and the resulting file.


    The warning's here in your log
    QUOTE

    [i] Mux: Warning: 'E:\Music Videos\001.mkv.aac': A track with the ID 0 was
    requested but not found in the file. The corresponding option will be
    ignored.


    --------------------
    MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
    Windows7/8 Codec Chooser
    All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
     
        Top
    1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
    0 Members:
    201 replies since Jun 4 2010, 01:28 PM Track this topic | Email this topic | Print this topic
    Pages: (14) 1 [2] 3 4 ... Last »
    << Back to Codec Discussion