VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. I have finally got to grips with Avisynth scripts (well nearly) and have just fired up HC, after encoding my avi with it I am left with an MPEG2 (is this the m2v?) file that I cant seem to open in real player and a DBS file that is shown with a windows media logo but again I cant open it

    Neither of the above files will open/render in G-spot either?

    What am I doing wrong? lol

    I must say the HC encoder was very quick and I would love to sucessfully get to grips with it what with finally figuring out the avisynth stuff too

    cheers in advance
    Quote Quote  
  2. DBS is only information file that is created during the first pass of the encoder. m2v is mpeg2 video only, you must have mpeg2 codec installed to play it. Media player classic has built-in mpeg2 playback filter. As for GSpot you can open mpeg files with the latest version (2.52 beta 1).
    Quote Quote  
  3. Originally Posted by Abond
    DBS is only information file that is created during the first pass of the encoder. m2v is mpeg2 video only, you must have mpeg2 codec installed to play it. Media player classic has built-in mpeg2 playback filter. As for GSpot you can open mpeg files with the latest version (2.52 beta 1).
    I can play MPEG2 files no problem normally hence my posting this thread lol

    I am just having trouble opening the file than HC has generated, if it is MPEG2 why cant I open it (I have encoded many MPEG2 files with Tmpgenc with no problems so the codec issue is not it, I think lol)
    Quote Quote  
  4. Well, I don't know why you can't open it. Something went wrong probably. I have used HC several times, the new version also, no playback problems so far. How big is the m2v?
    Oh, you can try the restart function with the same avisynth script - it will make only the second pass based on the information from DBS
    Quote Quote  
  5. Originally Posted by Abond
    Well, I don't know why you can't open it. Something went wrong probably. I have used HC several times, the new version also, no playback problems so far. How big is the m2v?
    Oh, you can try the restart function with the same avisynth script - it will make only the second pass based on the information from DBS
    The original AVI was 10MB and the MPEG2 from HC was 81MB, the DBS was 29MB

    I have tried twice now and have the same result where the file wont open

    I hope I can crack this because HC seemed quick and easy to use
    Quote Quote  
  6. OK, so I just tried playing with the bitrate (originally I didnt notice it was set at a few thousand) and have set it at 1000, I then tied HC again and this resulted in a smaller MPEG2 files of 24.7MB

    Here is the log, can anyone help?


    ---------------------------------------
    | HC - MPEG2 encoder - rel. 0.12 beta |
    ---------------------------------------

    input: D:\yo\desireeavisynth.avs
    output: D:\yo\desireeavisynth.m2v
    log file: D:\yo\desireeavisynth.log

    --------------------
    | encoder settings |
    --------------------

    profile: BEST
    frames: 1 3154
    framerate: 14.99
    aspect ratio: 16:9
    bitrate Kb/s: 1000
    max. bitrate Kb/s: 1100
    restart: no
    closed gops: no
    VBV check: yes
    scene change det.: yes
    interlaced: yes
    goplen,B-pic: AUTO
    dc_precision: 9
    scan method: ALTERNATE
    time code: 0 0 0 0
    CPU: AUTO
    matrix: MPEG

    --------------------
    | source stats |
    --------------------

    nr. of frames in source: 3154
    width*height: 320*240
    fps: 14.99
    nr. of frames to encode: 3154
    frames to encode: 1 - 3154
    movie length to encode: 0:03:30 (210.48 s)
    est. outfile length: 25693 kB

    ---------------------
    | encoding - pass 1 |
    ---------------------

    pass 1 encoding time: 0:03:11 (191 s)
    average fps: 16.5

    --------------------------------
    | encoding - intermediate pass |
    --------------------------------

    bitrate set to: 1000000 b/s
    est. outfile length: 25693 kB
    intermediate encoding time: 0.0 s

    ---------------------
    | encoding - pass 2 |
    ---------------------

    pass 2 encoding time: 0:00:36 (36 s)
    average fps: 88.6

    total encoding time: 0:03:48 (228 s)

    ------------------
    | encoding stats |
    ------------------

    intra matrix used
    8 16 19 22 26 27 29 34
    16 16 22 24 27 29 34 37
    19 22 26 27 29 34 34 38
    22 22 26 27 29 34 37 40
    22 26 27 29 32 35 40 48
    26 27 29 32 35 40 48 58
    26 27 29 34 38 46 56 69
    27 29 35 38 46 56 69 83

    non-intra matrix used
    16 17 18 19 20 21 22 23
    17 18 19 20 21 22 23 24
    18 19 20 21 22 23 24 25
    19 20 21 22 23 24 26 27
    20 21 22 23 25 26 27 28
    21 22 23 24 26 27 28 30
    22 23 24 26 27 28 30 31
    23 24 25 27 28 30 31 33

    nr. of gops: 236
    nr. of frames: 3154
    nr. of I-frames: 236
    nr. of P-frames: 1360
    nr. of B-frames: 1558
    average quant (non linear): 6.522
    VBV underflows detected: 0
    VBV underflows fixed: 0
    minimum bitrate: 696
    maximum bitrate: 1098
    average bitrate: 984
    Quote Quote  
  7. Hmm, I would suggest to try to open the avs in VirtualDubMod and look for some errors. Who knows...?
    Ah, if your source is ***x240 you don't need to encode interlaced and you can use zigzag scan order. Anyway it should work also as it is .
    Quote Quote  
  8. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    HC absolutely works. I suspect you're almost there. Does your copy of XP know what application to associate with .M2V files ? Just for a test, rename the extension from .M2V to .MPG. And, as mentioned above, install MediaPlayerClassic and try to open the file with it. Or, try to open the .M2V file with VirtualDubMod or VirtualDubMpeg2.

    HC complains and refuses to run unless your AVS script is correct. Don't give up, I was pretty amazed at the encoding quality.

    Post your .AVS file. I noticed your FPS rate was non standard.
    Quote Quote  
  9. Originally Posted by Soopafresh
    HC absolutely works. I suspect you're almost there. Does your copy of XP know what application to associate with .M2V files ? Just for a test, rename the extension from .M2V to .MPG. And, as mentioned above, install MediaPlayerClassic and try to open the file with it. Or, try to open the .M2V file with VirtualDubMod or VirtualDubMpeg2.

    HC complains and refuses to run unless your AVS script is correct. Don't give up, I was pretty amazed at the encoding quality.

    Post your .AVS file. I noticed your FPS rate was non standard.
    Hi, I have just installed virtaldubmod and tried to oppen the mpeg2/m2v file and received the message:

    MPEG File Parser: couldnt determine MPEG type

    OK, so know I think I have ballsed something up lol

    Here is my avisynth script

    DirectShowSource("D:\MISCELENEOUS PORN\arnoldclassicvideo.avi")

    Converttoyv12()

    As far as I have ascertained it is correct and as it should be, so what am I doing wrong? lol


    I agree I am nearly there and I am not giving up lol

    I agree with you about HC, it was very quick etc
    Quote Quote  
  10. Can you open the source avi in VDubMod? If you can then I would suggest the folowing script:
    AviSource("_PATH\arnoldclassicvideo.avi", false)
    BlindPP(cpu=4)
    Separatefields()
    LanczosResize(352,240)

    Before to open the script in HC, open it in VDubMod to look for some errors and if you like the pictures. Also you may examine the properties of the video in File->File information.
    Quote Quote  
  11. Originally Posted by Abond
    Can you open the source avi in VDubMod? If you can then I would suggest the folowing script:
    AviSource("_PATH\arnoldclassicvideo.avi", false)
    BlindPP(cpu=4)
    Separatefields()
    LanczosResize(352,240)

    Before to open the script in HC, open it in VDubMod to look for some errors and if you like the pictures. Also you may examine the properties of the video in File->File information.
    Right, I have just opened the original AVI in VirtualDubMod with no problems

    I then tried to open my original avisynth with VitualDubMod and was met with this error message (it appeared in a 'vitualdub warning box with a little yellow dot next to it on the top left) it read:

    [!] Couldn't locate decompressor for format 'YV12' (unknown).
    VirtualDub requires a Video for Windows (VFW) compatible codec to
    decompress video. DirectShow codecs, such as those used by Windows Media
    Player, are not suitable. Only 'Direct stream copy' is available for this
    video.


    I then tried to open your script into avisynth and it met with an error message BUT NOT accompanied by the same warning box, this time it merely had a simple 'pop up' warning box that read:

    Avisynth open faliure
    Script error: there is no function named "blindPP"
    (D:\yo\TEST.avs,line 2)

    Help lol
    Quote Quote  
  12. Good, that means you have not a codec for this avi (the playback doesn't require codec, DirectShow filter is enough). Open the avi in GSpot - it will say to you which codec you need. My suggestion is to install latest XviD codec as I suspect your avi is XviD, DivX type. XviD can decode both.
    BlindPP is a function of DGDecode plugin in DGIndex package. It is used for deblocking the source. You can place DGDecode.dll in Avisynth plugin folder and it will be loaded automatically.
    All this is because DirectShowSource routine in Avisynth is not recomended if the source file can be opened another way. DirectShowSource is the last resource - if nothing else works. For example there is no way to open properly mpeg1 file in avisynth, only DirectShowSource.
    Quote Quote  
  13. Originally Posted by Abond
    Good, that means you have not a codec for this avi (the playback doesn't require codec, DirectShow filter is enough). Open the avi in GSpot - it will say to you which codec you need. My suggestion is to install latest XviD codec as I suspect your avi is XviD, DivX type. XviD can decode both.
    BlindPP is a function of DGDecode plugin in DGIndex package. It is used for deblocking the source. You can place DGDecode.dll in Avisynth plugin folder and it will be loaded automatically.
    All this is because DirectShowSource routine in Avisynth is not recomended if the source file can be opened another way. DirectShowSource is the last resource - if nothing else works. For example there is no way to open properly mpeg1 file in avisynth, only DirectShowSource.
    I opened the AVI in gspot and it says the video is cc: MP42

    I already have an xvid codec installed and have lots of xvid that play with no problem

    I am confused a little by your last post, do you mean the original AVI wont play if I dont have an xvid codec?, the thing is I CAN play the original AVI, I am confused now lol

    Do I need that DGIndex thing? ---EDIT---I just downloaded this, placed the file in the avisynth plugin folder, reencoded the avi with HC and stilll bugger all lol---EDIT---

    I think the file I produced with HC is buggered somehow, how I dont know
    Quote Quote  
  14. MP42, argh. AFAIK this is crappy Microsoft mpeg4v2 codec (or something like that). Pff, I am out of options. Try another encoder maybe, simply to see if something can be produced at all. Or try to play the avs in a player.
    Quote Quote  
  15. Originally Posted by Abond
    MP42, argh. AFAIK this is crappy Microsoft mpeg4v2 codec (or something like that). Pff, I am out of options. Try another encoder maybe, simply to see if something can be produced at all. Or try to play the avs in a player.
    Hey abond I just ran a different file through HC and this time it worked lol

    I dont know if this is correct but here is what I did

    I took an MPEG 1 that I want to put on an svcd with some other clips fed it into HC and HC gave me a working MPEG2/m2v, am I correct in thinking I have actually figured out HC and that my first try must have used a crappy AVI?

    Or am I no further down the road? lol

    Either way HC is bloody fast, I took an 11 min MEPG and HC coughed it out in 3 mins, nice

    Do you know of any freeware multiplexing utilities I can use to mplex the audio with the m2v at all? (maybe with AC3 capability?)

    Cheers for helping so far
    Quote Quote  
  16. bbMPEG or mplex for svcd.
    Well, SVCD with ac3 is quite unusual. bbMPEG will multiplex it, but you should rename the ac3 as mp2. For DVD - ImagoMPEGMuxer.
    Quote Quote  
  17. Originally Posted by Abond
    bbMPEG or mplex for svcd.
    Well, SVCD with ac3 is quite unusual. bbMPEG will multiplex it, but you should rename the ac3 as mp2. For DVD - ImagoMPEGMuxer.
    Yeah I normally go with mp2 via ffmeg, I was just curious because it has its great AV3 encoder too

    Is flask mpeg bbmeg? or is that something different?

    Oh and does bbmpeg have a GUI I have not the first clue with the com promt box (yeah no shit sherlock lol)

    Do you have a link for bbmpeg?

    ---EDIT---^^^that will be the link then lol---EDIT---
    Quote Quote  
  18. I have downloaded bbmpeg and I am looking at the encoder GUI but where do I find the multiplex facility?

    Im betting this is a SERIOUSLY newbie question lol

    I would love the answer because this is the last hurdle lol
    Quote Quote  
  19. Erm, bbMPEG is a bit dificult to start to use, but once you get it how it is easy. Maybe http://www.brckomania.net/AUTOQ/files/mplex.rar is better choice as it is a bit easier. Both progies share the same muxing engine.
    Quote Quote  
  20. Originally Posted by Abond
    Erm, bbMPEG is a bit dificult to start to use, but once you get it how it is easy. Maybe http://www.brckomania.net/AUTOQ/files/mplex.rar is better choice as it is a bit easier. Both progies share the same muxing engine.
    Right, for some reason the bbmpeg I have just downloaded doesnt seem to have this part (the part that would be so easy to use too):



    Where the hell do I find it?, this is the link to the bbmpeg I just downloaded

    http://www.videotools.net/index.php?rub=pub&PHPSESSID=9b7f4e250d07b7706284674b349f8bbb

    HELP lol
    Quote Quote  
  21. YEHAAA, DONE IT!!!

    Right, for anyone interested here is a guide to using bbmpeg with windows XP (the multiplexer is a bit hidden, not good for newbs like me lol)

    https://www.videohelp.com/bbmpegedit.htm


    Christ I LOVE this site lol (thanks abond, thanks hank)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!