VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Nov 2007
    Location
    Jamaica
    Search Comp PM
    Hi all. Not very new to the site, but usually search/read the stuff that I need and move along. Thing is that this time I think I need more than just the browse through and test. I'm usually a bit winded with my posts so please bear with me as I go into back-story and the general gist of what I need. The main question (also below) is "Both FormatFactory and XMediaRecode seem to work fine for the other files (OGM and AVI mostly) but the speed is MUCH slower than "tsmuxergui" - so is there any program that works as fast to convert to M2TS that I can select the video stream only?"

    Most times I edit videos in my spare time and had gotten into AMV's using clips I found online or footage from discs that I own.

    There are various tutorials on retaining quality when ripping your discs but few on conversion when you get your footage online - and this is especially where I need help.

    For ripping I had actually purchased FairUse and was using that, but having purchased AnyDVD as well I may rip then convert from VOB to what I need.

    Recently I purchased "Sony Vegas 10 Movie Studio HD Platinum Production Suite" and everything is working out great when I have MPEG video and a few other formats that are from my camera, but my DVD rips or converting stuff I downloaded (clips from YouTube and convert) it usually takes its own sweet time.

    Ya - so what do I need? I'm lazy and looking for a one-stop solution for converting to HQ/HD MPEG or M2TS which Vegas seems to like. My rips to MKV, OGM or AVI (LONG time ago rips) kinda fail as Vegas will only open AVI, and converting to M2TS I've been using FormatFactory and recently testing XMediaRecode. I found "tsmuxergui" to be EXCELLENT for MKV to M2TS and I can select only the video stream to be muxed which is good. I'm finding XMediaRecode better than FormatFactory with handling some files but the conversion speed is FAR slower than "tsmuxergui" from what I've seen.

    So here's the thing (winding down now I think) - "tsmuxergui" is good but I can't set an output folder and it seems to not handle multiple files - I can work with that but it seems to only work with my MKV files. Both FormatFactory and XMediaRecode seem to work fine for the other files (OGM and AVI mostly) but the speed is MUCH slower than "tsmuxergui" - so is there any program that works as fast to convert to M2TS that I can select the video stream only?

    I don't want to convert any videos to other formats for storage - it's for editing AMV's really so whichever application - would be nice if it can handle MKV, OGM, AVI and VOB files. The more container formats the better, but as long as the output can either be MPEG or M2TS - those are the ones that Vegas seems to like best.

    Thanks in advance for all the replies. I'll check in on the thread periodically.
    Quote Quote  
  2. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    Originally Posted by khat17
    tsmuxergui" is good but I can't set an output folder and it seems to not handle multiple files
    Yes it does - when you set your file name you should be able to have an output destination. For multiple files there is an "append" button. That is for butting the files together. There may be a batch mode for doing seperate files that aren't to be combined but I'm not sure.

    Originally Posted by khat17
    Both FormatFactory and XMediaRecode seem to work fine for the other files (OGM and AVI mostly) but the speed is MUCH slower than "tsmuxergui" - so is there any program that works as fast to convert to M2TS that I can select the video stream only?"
    What exactly are you doing with tsmuxergui? If you are just changing the container it will be very fast as there is not reencoding going. Obviously for actual codec changes and resolution changes the processing will be vastly more time consuming as actual work has to be done on the file itself rather than just spitting it out into a new container.

    (sorry if this obvious to you I just want to make sure it is mentioned upfront).

    Originally Posted by khat17
    The more container formats the better, but as long as the output can either be MPEG or M2TS
    If you just want container changes you could look into winff and use the v-copy a-copy command line in the additonal comments tab to keep the video as it is and just make a new container. Though there is a chance the actual codec in the container may not be something vegas handles natively.

    You should look into Vegas' requirements of what it can actually work with. Use gspot to identify the codecs in the videos you want to work with. If they aren't on Vegas' list than you will have to convert them to a codec vegas will work with.
    Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
    Quote Quote  
  3. Member
    Join Date
    Nov 2007
    Location
    Jamaica
    Search Comp PM
    Thanks for the quick reply. I hadn't thought about it as actually being a container change - but that seems to be what I need right now. If Vegas chokes on the files thereafter then I'll use one of the other apps for a full convert - or maybe just use winff since it can do so as well (may take hours depending on length of footage if I'm lazy and don't trim it). I need a little more info on the v-copy a-copy since I'm a complete n00b at this. Are those CLI arguments for FFMPEG or something that I should put in as a preset command line parameter?
    Quote Quote  
  4. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    Originally Posted by khat17
    I need a little more info on the v-copy a-copy since I'm a complete n00b at this. Are those CLI arguments for FFMPEG or something that I should put in as a preset command line parameter?
    Here is the information I received from member bat999 on my original inquiry into winff - you'll have to modify the output settings for your individual needs of course:

    https://forum.videohelp.com/threads/331244-Can-streamtransport-save-as-an-original-mp4-...=1#post2052565

    Originally Posted by bat999
    It would be equivalent to using ffmpeg like this:-
    Code:

    ffmpeg -i foo.flv -vcodec copy -acodec copy foo.mp4

    So I'd choose the Winff options:-
    Convert To... MPEG-4
    Device Preset... MP4 Fullscreen

    And in the 'Additional Options' section type in the 'Additional Command Line Parameters' box:-
    Code:

    -vcodec copy -acodec copy

    Other converter programs such as MediaCoder have options to 'Copy' video and audio in the codecs section.
    Hope that helps.
    Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
    Quote Quote  
  5. Member
    Join Date
    Nov 2007
    Location
    Jamaica
    Search Comp PM
    Excellent! That works great! Only thing is now I need the command to NOT copy the audio stream or encode it at all. Tried using NOCOPY or NONE and also did some searching -> http://www.ffmpeg.org/ffmpeg-doc.html <- but not finding a way to turn that off. Anyone know how?
    Quote Quote  
  6. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    Originally Posted by khat17
    Excellent! That works great!
    Glad to help.

    Originally Posted by khat17
    I need the command to NOT copy the audio stream or encode it at all.
    Sorry I'm not that versed in it. Perhaps bat999 will drop in and assist.

    I'm sure you could do a search for winff no copy and come and up with something. Good luck.
    Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
    Quote Quote  
  7. Member
    Join Date
    Nov 2007
    Location
    Jamaica
    Search Comp PM
    First I open WinFF and drag in a file. Then I go to the relevant tab and add "-vcodec copy -acodec copy" and hit convert.



    http://img821.imageshack.us/img821/8254/screenshot84b.png

    http://img193.imageshack.us/img193/3821/screenshot85m.png


    C:\Portable Progs\X-WinFF\Bin\Winff>chcp 1252
    Active code page: 1252

    C:\Portable Progs\X-WinFF\Bin\Winff>title Converting TESTFILE.mkv
    (1/1)

    C:\Portable Progs\X-WinFF\Bin\Winff>"C:\Portable Progs\X-WinFF\Bin
    \Winff\ffmpeg.
    exe" -i "C:\Documents and Settings\Carlos\Desktop\TESTFILE.mkv" -crf
    15.0 -vcode
    c libx264 -acodec libfaac -ar 48000 -ab 192k -coder 1 -flags +loop -
    cmp +chroma
    -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -
    me_range 16 -g 2
    50 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -
    threads 0 -vco
    dec copy -acodec copy "C:\Documents and Settings\Carlos\Desktop
    \TESTFILE.mp4"
    FFmpeg version SVN-r18709, Copyright (c) 2000-2009 Fabrice Bellard, et
    al.
    configuration: --enable-memalign-hack --prefix=/mingw --cross-
    prefix=i686-ming
    w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --
    cpu=i686 --e
    nable-avisynth --enable-gpl --enable-zlib --enable-bzlib --enable-
    libgsm --enabl
    e-libfaac --enable-libfaad --enable-pthreads --enable-libvorbis --
    enable-libtheo
    ra --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-
    libxvid -
    -enable-libschroedinger --enable-libx264
    libavutil 50. 3. 0 / 50. 3. 0
    libavcodec 52.27. 0 / 52.27. 0
    libavformat 52.32. 0 / 52.32. 0
    libavdevice 52. 2. 0 / 52. 2. 0
    libswscale 0. 7. 1 / 0. 7. 1
    built on Apr 28 2009 04:04:42, gcc: 4.2.4

    Seems stream 0 codec frame rate differs from container frame rate:
    47.95 (48000/
    1001) -> 23.98 (24000/1001)
    Input #0, matroska, from 'C:\Documents and Settings\Carlos\Desktop
    \TESTFILE.mkv'
    :
    Duration: 00:23:19.85, start: 0.000000, bitrate: N/A
    Stream #0.0(jpn): Video: h264, yuv420p, 848x480, PAR 1:1 DAR
    53:30, 23.98 tb
    r, 1k tbn, 47.95 tbc
    Stream #0.1(jpn): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.2(eng): Subtitle: 0x0000
    Stream #0.3: Attachment: 0x0000
    Output #0, mp4, to 'C:\Documents and Settings\Carlos\Desktop
    \TESTFILE.mp4':
    Stream #0.0(jpn): Video: libx264, yuv420p, 848x480 [PAR 1:1 DAR
    53:30], q=2-
    31, 48k tbn, 23.98 tbc
    Stream #0.1(jpn): Audio: libfaac, 48000 Hz, stereo, s16
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop encoding
    [NULL @ 0x1a16b40]error, non monotone timestamps 6000 >= 3984
    av_interleaved_write_frame(): Error while opening file

    C:\Portable Progs\X-WinFF\Bin\Winff>pause
    Press any key to continue . . .
    From what I'm seeing it's not copying the stream due to the framerate being different. I just want it to copy straight and no audio
    actually. I did it with another test file and it worked fine (guess the framerate was similar/same) but dragging into Vegas after I got
    mostly green - that probably needs to be re-encoded. So ya - if anyone can - please let me know if you need any more info and let me know if there's a way to just change the media container and discard the audio.

    *EDIT*

    Edit an existing preset and give it a new name so that you don't overwrite the existing one. Remove the entire command line and add "-vcodec copy -an" without quotes, or "-vcodec copy -acodec copy"depending on your needs. The first option will give you a copy without audio, the second will give you a copy of both video and audio streams. This works for the most part with different files, but I have an issue with some MKV files where it says that the framerates don't match. Hopefully I'll find a way around this soon.

    For a second application XMedia Recode looks promising. Can anyone say how I would go about doing a stream copy using this app? Failing that I guess it's back to FormatFactory for now.
    Last edited by khat17; 1st Apr 2011 at 12:50. Reason: Added More Info
    Quote Quote  



Similar Threads

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