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 5 ... 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: Feb 8 2011, 07:33 AM


Spam killer ;)


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



Most files start with track number 0, but nero produces files that start with track number 1. Adjust mkvmerge to
CODE

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


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


Advanced Member


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



I don't know what the problem is. It worked fine before installing version 4.5.0 of MKVtoolnix and the new argument for not using header compression. I tried an older version of MKVmerge and the error still happens so the problem must be with the argument for no header compression. If I use ac3 passthrough then everything is ok (which is weird because I couldn't get passthrough to work before).

To not have to deal with the error message then I may have to revert back to version 4.0 of MKVmerge and loose the new argument.


EDIT:

QUOTE
Most files start with track number 0, but nero produces files that start with track number 1. Adjust mkvmerge to
CODE

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


That fixed it. Thanks!
 
     Top
DarrellS
Posted: Feb 15 2011, 07:41 AM


Advanced Member


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



The problems popped back up for MP3 Passthrough. Audio shows Header Spripping in MediaInfo and I get the mux error again with MKVmerge even though the file is muxed. sad.gif

EDIT: I changed the argument to...

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

for mp3passthrough (mmg-mp3-pass) and it got rid of Header Stripping but the mux error remains.



[i] Mux: Progress: 73%

[i] Mux: Progress: 87%

[i] Mux: Progress: 100%

[i] Mux: Progress: 100%

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

[i] Mux: Muxing took 4 seconds.

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

  • Ending operation.

  •  
         Top
    stephanV
    Posted: Feb 15 2011, 07:46 AM


    Spam killer ;)


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



    You didn't copy the warning from the log. Errorcode 1 is usually a warning from MKVMerge.

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


    Advanced Member


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



    This is from a 27 second sample file.


    [i] VideoEnc:

    [i] VideoEnc: x264 [info]: frame I:4 Avg QP:22.54 size: 20004

    [i] VideoEnc: x264 [info]: frame P:559 Avg QP:26.06 size: 6111

    [i] VideoEnc: x264 [info]: frame B:254 Avg QP:30.40 size: 1534

    [i] VideoEnc: x264 [info]: consecutive B-frames: 38.1% 60.0% 1.8% 0.0%

    [i] VideoEnc: x264 [info]: mb I I16..4: 26.2% 61.4% 12.4%

    [i] VideoEnc: x264 [info]: mb P I16..4: 1.1% 4.5% 1.1% P16..4: 47.8%
    19.5% 11.5% 0.0% 0.0% skip:14.4%

    [i] VideoEnc: x264 [info]: mb B I16..4: 0.7% 2.0% 0.2% B16..8: 34.6%
    6.1% 0.6% direct:13.1% skip:42.9% L0:38.2% L1:45.4% BI:16.5%

    [i] VideoEnc: x264 [info]: 8x8 transform intra:66.8% inter:71.1%

    [i] VideoEnc: x264 [info]: coded y,uvDC,uvAC intra: 62.0% 64.1% 13.0% inter:
    30.0% 21.1% 0.2%

    [i] VideoEnc: x264 [info]: i16 v,h,dc,p: 42% 28% 16% 13%

    [i] VideoEnc: x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 22% 24% 5% 5%
    5% 6% 5% 6%

    [i] VideoEnc: x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 51% 13% 12% 4% 5%
    5% 4% 4% 3%

    [i] VideoEnc: x264 [info]: i8c dc,h,v,p: 51% 26% 19% 4%

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

    [i] VideoEnc: x264 [info]: ref P L0: 74.4% 21.4% 4.1% 0.1%

    [i] VideoEnc: x264 [info]: ref B L0: 96.0% 4.0%

    [i] VideoEnc: x264 [info]: ref B L1: 99.9% 0.1%

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

    [i] VideoEnc: encoded 817 frames, 63.76 fps, 1141.38 kb/s

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

    [i] Mux: 'F:\My Recordings\01\New Folder\2\Scene
    3.mkv.264': Using the AVC/h.264 ES demultiplexer.

    [i] Mux: 'F:\My Recordings\01\New Folder\2\Scene
    3.mkv.mp3': Using the MP2/MP3 demultiplexer.

    [i] Mux: Warning: 'F:\My Recordings\01\New Folder\2\Scene 3.mkv.mp3': Skipping 33 bytes at the beginning (no valid MP3
    header found).

    [i] Mux: 'F:\My Recordings\01\New Folder\2\Scene
    3.mkv.264' track 0: Using the MPEG-4 part 10 ES video output module.

    [i] Mux: 'F:\My Recordings\01\New Folder\2\Scene
    3.mkv.mp3' track 0: Using the MPEG audio output module.

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

    [i] Mux: Progress: 53%

    [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.



    These are VP6/MP3.flv files.
  •  
         Top
    stephanV
    Posted: Feb 15 2011, 08:21 AM


    Spam killer ;)


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



    CODE
    Mux: Warning: 'F:\My Recordings\01\New Folder\2\Scene 3.mkv.mp3': Skipping 33 bytes at the beginning (no valid MP3
    header found).


    Just ignore it.


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


    Advanced Member


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



    Yeah, that's what I was doing until I noticed that the header stripping was there. I figured if I used your first argument that it would fix the header stripping problem and I was hoping that I might get lucky and you'd have a fix for it like you did before. Oh well. smile.gif
     
         Top
    stephanV
    Posted: Feb 15 2011, 08:39 AM


    Spam killer ;)


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



    There is just junk at the beginning of the mp3. The header stripping should be turned off with the last commandline you posted.

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


    Advanced Member


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



    Yeah. The command fixed the header stripping. I created a special encoder for muxing with mp3 passthrough using that argument. I may have to use the same encoder with AC3 passthrough also.
     
         Top
    DarrellS
    Posted: Feb 22 2011, 09:36 PM


    Advanced Member


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



    Now that there is an aacacm codec, will it be possible to do an aac passthrough?
     
         Top
    stephanV
    Posted: Feb 22 2011, 10:07 PM


    Spam killer ;)


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



    Don't know. You'll have to find out yourself. smile.gif

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


    Advanced Member


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



    I can't get it to work.
     
         Top
    mederi
      Posted: Feb 27 2011, 09:38 PM


    Newbie


    Group: Members
    Posts: 4
    Member No.: 30047
    Joined: 27-February 11



    Hi,
    I would like to use VirtualDub as a cutting tool for my MPEG-1 videos from my camera. Is it possible to save cutted files with direct stream copy setting for audio and video (quickly without reencoding) while keeping the same MPG container format?
    Thanks in advance for a clue
     
         Top
    stephanV
    Posted: Feb 28 2011, 08:09 AM


    Spam killer ;)


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



    No, video can't be used with DSC this way.

    --------------------
    useful links:
    VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
     
        Top
    mederi
      Posted: Feb 28 2011, 05:35 PM


    Newbie


    Group: Members
    Posts: 4
    Member No.: 30047
    Joined: 27-February 11



    And what about to store MPEG-1 streams in AVI container as it is so far the only supported output format in VirtualDub? Now I get a following error message: "The source video stream uses a compression algorithm which is not compatible with AVI files. Direct stream copy cannot be used with this video stream."
    But I think that it could be possible. "MPEG in AVI" phenomenon exists at least according to ffdshow video decoder (Codecs > Format: MPEG in AVI / Decoder: limpeg2 / Supported FOURCCs/remarks: MPEG, MPG1, MPG2, 1001, 1002). Then probably I would be able to repack MPEG-1 audio/video streams from AVI into MPG in some external application.
    Or is it possible to add support in the future for other direct output containers and DSC besides AVI in VirtualDub? It could become simple and universal cutting tool.

    If this is not the right topic for this post please redirect me to the right one.
    Thanks in advance.
     
         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 5 ... Last »
    << Back to Codec Discussion