VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    I want a video cutting tool that can tell me where the midpoint of an MPEG-2 video stream is (in time) based upon the filesizes of the two segments.

    For example, in the case of SVCD VBR encoded movies, the midpoint of the movie in filesize does not necessarily correspond to the midpoint of the movie in time. I want to cut the movie so that I end up with two equal sized MPEG-2 files, but I want to know where that point is in terms of the running time. Is there a tool out there that can work this out for me?
    Quote Quote  
  2. Member
    Join Date
    Apr 2002
    Location
    The State of Frustration
    Search Comp PM
    How long is the movie?
    Hello.
    Quote Quote  
  3. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    The source movie is 145473 frames PAL = 96':58".92

    I have encoded it to MPEG-2 for putting on two SVCD discs. The end result of that encoding has given me a filesize of 1,595.8MB which is very close to the 1,600MB I was aiming for (I can overburn the discs I'm going to put it on, so fitting 800MB per CD is not a problem).

    Obviously I encoded it using a 2-pass VBR method - min = 0, max = 2500, avg = 2050.

    I want to be able to find out where to cut it (using TMPGEnc's MPEG Tools) time-wise to achieve two files of 797.9MB size. Can it be done? What do I use to do this?
    Quote Quote  
  4. DV-Tool 0.24ß
    a swiss army knife for digital video
    by CM of the Muscle Soft Crew

    This is what DVtool does:
    * truncate, clone, split and merge files, DVD aware
    * analyse and backup DVD streams
    * calculate video data rates for ripping & capturing
    - automatic shutdown on long idle time (currently disabled)
    - run user configured (command line) tools (alpha)


    http://www.musclesoft.de/~combatman/
    Quote Quote  
  5. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Thanks for the suggestion. It does a really crap job of the cutting (no audio at all in the second part) but it does work out what I need it to work out, which is the time point at which when cut the video will be broken into two equal sized files.

    I'll continue to do the actual cutting with TMPG MPEG Tools since ultimately it does a much better job and just use DVTool to work out for me where that cut point should be.

    It a bit of a round about and time consuming way to do it, but it'll have to do for the time being until a better way comes along.

    Thanks again.
    Quote Quote  
  6. Member
    Join Date
    Apr 2002
    Location
    The State of Frustration
    Search Comp PM
    The source movie is 145473 frames PAL = 96':58".92
    Half of 96 = 48

    Half of 58 = 29

    Half of 92 = 46

    Answer: 48':29".46

    That kind of stuff you can do in your head.
    Hello.
    Quote Quote  
  7. really crap job of the cutting (no audio at all in the second part)
    Oh.. my copy works fine. Try what I think is
    called womble mpeg-2 editor. It is not free but ppl
    here seem to swear by it

    Here is the link
    https://www.videohelp.com/tools?tool=74#comments
    Quote Quote  
  8. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Originally Posted by Tommyknocker
    The source movie is 145473 frames PAL = 96':58".92
    Half of 96 = 48

    Half of 58 = 29

    Half of 92 = 46

    Answer: 48':29".46

    That kind of stuff you can do in your head.
    You must not have read the bit where I explained how the mid-point of the movie running time does NOT correspond to the mid-point of the movie filesize.
    Quote Quote  
  9. Member
    Join Date
    Apr 2002
    Location
    The State of Frustration
    Search Comp PM
    Remember, headers and padding throw the midpoint off. When you edit at the time midpoint, you edit at the midpoint of the movie. This did not work for you in terms of file size?
    Hello.
    Quote Quote  
  10. De-mux the file with MPEG Tools in TMPG and re-mux it with bbMPEG. That will allow you to set a split file size point and output two perfect files.
    Quote Quote  
  11. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Originally Posted by Tommyknocker
    Remember, headers and padding throw the midpoint off. When you edit at the time midpoint, you edit at the midpoint of the movie. This did not work for you in terms of file size?
    No. As I said the video is VBR encoded. The first half of the movie contains all the usual expanses of colour and movement for it's entire duration, the second half of the movie contains almost 7 minutes of largely black screen while the credits are rolling. Obviously in this case the second half is going to have a significantly lower demand on bits than the first half to maintain the same quality of picture. This is in fact what I experienced when I split it at the running time mid-point. The first half came in at 811.2MB and the second at 784.6MB. Even with my very best overburning efforts on the discs I have, 811.2MB won't fit.
    Quote Quote  
  12. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Originally Posted by offline
    really crap job of the cutting (no audio at all in the second part)
    Oh.. my copy works fine. Try what I think is
    called womble mpeg-2 editor. It is not free but ppl
    here seem to swear by it

    Here is the link
    https://www.videohelp.com/tools?tool=74#comments
    Thanks for the link, I'll give that a go.
    Quote Quote  
  13. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Originally Posted by offline
    really crap job of the cutting (no audio at all in the second part)
    Oh.. my copy works fine. Try what I think is
    called womble mpeg-2 editor. It is not free but ppl
    here seem to swear by it

    Here is the link
    https://www.videohelp.com/tools?tool=74#comments
    Thanks for this recommendation to try Womble. It is proving to be quite useful for my cutting and joining MPEG requirements. I am however still mystified as to how I can use this program to do what I have been describing here in this thread. Do you know how to make it do what I want as described here?
    Quote Quote  
  14. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Does anyone know of a tool or method to do exactly as described above but for cutting a video into thirds instead of halves?

    DV-tool works quite well for finding the midpoint of a video, but falls down somewhat when wanting to find thirds. It is not possible to select exactly the two points where three equal sized streams will be the result. Is there a tool out there which will allow this to be done?
    Quote Quote  
  15. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Originally Posted by energy80s
    De-mux the file with MPEG Tools in TMPG and re-mux it with bbMPEG. That will allow you to set a split file size point and output two perfect files.
    Do that to get 3 files.
    Quote Quote  
  16. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Originally Posted by johns0
    Originally Posted by energy80s
    De-mux the file with MPEG Tools in TMPG and re-mux it with bbMPEG. That will allow you to set a split file size point and output two perfect files.
    Do that to get 3 files.
    Okay, thanks. I'm giving this a try now. I've read the guides on it for cutting but neither of them seems to fit exactly what I want to do. Do I just set the start point at 0 sec and the end point at 999999999 sec and then specify the max MB size I want? Will doing that make bbMPEG cut it at the appropriate locations?
    Quote Quote  
  17. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Tried bbMPEG and program is crap - no better than DVtool in fact. Result is almost the same. Program crashed at the end of the second part and the beginning of the third part.

    The one segment it managed to supposedly successfully create had audio only part of way in meaning that the size/length was wildly inaccurate anyway.

    Looks like I'm back to trial & error testing with TMPGEnc instead to narrow in on the ideal cut points. Funny that there isn't one functional tool out there that can do this reliably.
    Quote Quote  
  18. Odd that, as bbMPEG is the best muxer out there. Are you sure your MPEG file isn't badly encoded / corrupted??
    Quote Quote  
  19. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Ive used bbmeg lots of times with no errors cutting files,only time i get errors is with stream errors and wrong settings.
    Quote Quote  
  20. Member
    Join Date
    May 2003
    Location
    Oz
    Search Comp PM
    Originally Posted by energy80s
    Odd that, as bbMPEG is the best muxer out there. Are you sure your MPEG file isn't badly encoded / corrupted??
    Pretty sure yes. It was made using TMPGEnc from the DVD vobs I ripped myself from the DVD. I did nothing unusual in the MPEG encoding in TMPGEnc, just the same procedure I always use and have had great success with for a long time.
    Quote Quote  
  21. Take a look at Easy Video Splitter. Does the job for me and seems to provide exactly what you want.
    Quote Quote  



Similar Threads

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