VideoHelp Forum




+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 30 of 67
  1. Member
    Join Date
    Mar 2007
    Location
    Iran, Islamic Republic of
    Search Comp PM
    hi
    i've a DM7000. it records in TS format. i need the best way to keep size (resolution) as well as quality to convert the splitted .ts files into xvid format avi's. i may join the together manually. this is not the problem. i need xvid output files with the same width and height, small in size as possible without losing important quality. i prefer an automated way, less options, fast encoding and least tools. a straightforward way not to do anything other than converting. this enables me to backup the videos i record by using the receiver.
    then the other thing i need is to be able to pick some parts of the video's out of the whole output, or specify them b4 conversion.
    what's the best way for me?
    thx
    Quote Quote  
  2. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    i've also the same question
    Quote Quote  
  3. What kind of transport stream are they (i.e. what audio & video codecs are being used)? use mediainfo (view=>text)

    Can you trim a sample using tsmuxer (use the split & cut tab), and upload a small clip to a free hosting site (such as megaupload, mediafire, sendspace, rapidshare..etc..)
    Quote Quote  
  4. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    hi
    the link is also as follows:
    http://www.megaupload.com/?d=LS1SIJBT
    i didn't change the original recorded video by any tools.
    thanx for ur attention.
    the output of mediainfo is also as follows:

    General
    ID : 1A2C
    Complete name : C:\dreambox\08-08-08 - Eurosport - Olympic games stars [1].ts
    Format : MPEG-TS
    File size : 9.12 MiB
    Duration : 20s 356ms
    Overall bit rate : 3 759 Kbps

    Video
    ID : 161 (0xA1)
    Menu ID : 11504 (0x2CF0)
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@Main
    Format settings, Matrix : Standard
    Duration : 20s 356ms
    Bit rate mode : Constant
    Bit rate : 3 226 Kbps
    Nominal bit rate : 3 500 Kbps
    Width : 544 pixels
    Height : 576 pixels
    Display aspect ratio : 4/3
    Frame rate : 25.000 fps
    Colorimetry : 4:2:0
    Scan type : Interlaced
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 0.447

    Audio #1
    ID : 404 (0x194)
    Menu ID : 11504 (0x2CF0)
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 2
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Resolution : 16 bits
    Video delay : -277ms
    Language : Italian

    Audio #2
    ID : 405 (0x195)
    Menu ID : 11504 (0x2CF0)
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 2
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Resolution : 16 bits
    Video delay : -253ms
    Language : English
    Quote Quote  
  5. Try DGIndex and AVISynth. Use this avs script and load it into virtualdub and you should be able to encode with xvid.
    LoadPlugin("C:\path to dgindex folder\DGDecode.dll")
    video=MPEG2Source("myvob.d2v")
    audio=NicAC3Source("myvob.ac3")
    AudioDub(video,audio)
    Quote Quote  
  6. AviDemux can read them directly and produce xvid avi.
    Quote Quote  
  7. http://www.sendspace.com/file/ru6m1n
    What I did was demux the files with DGIndex and loaded this script into virtualdub and did dual pass encoding with xvid at 1200kbps bitrate.
    LoadPlugin("C:\dgmpgdec152\DGDecode.dll")
    MPEG2Source("08-08-08 - Eurosport - Olympic games stars [1].d2v")
    FieldDeinterlace()
    Crop(10, 8, -10, -0)
    Lanczos4Resize(512,560)
    After that, I converted the mp2 file produced by DGIndex to mp3 at 128kbps using audacity and muxed it with megui producing the final file. I don't like using avidemux because it doesn't support AVISynth and the filters in there ruin the quality of videos.

    Programs Used
    DGIndex
    AVISynth
    VirtualDub
    Audacity
    Megui
    Quote Quote  
  8. Avidemux supports avisynth - use avsproxygui (included in the full install of avidemux)

    Many of it's internal filters are actually ported from avisynth (e.g. yadif, bicubic resize, lanczos resize,etc...) and other sources

    In this case, avidemux would be the easiest choice to use in terms of editing (e.g visually cutting out commercials), encoding, all in one - since it can open the .ts natively
    Quote Quote  
  9. Avidemux screws up when cutting out commercials and the filters always ruin the color for the video for me. The best choice would be to avoid avidemux.
    Quote Quote  
  10. I've never seen AviDemux ruin colors. Not sure what you mean by "screws up when cutting out commercials".
    Quote Quote  
  11. When I cut commercials or anything out, it mixes up parts of the images and it replaces the original images. The audio is ok but the image gets destroyed.
    Quote Quote  
  12. Perhaps it's a Vista issue? or system is a problem? I seem to recall Red Hat having multiple issues in the HD-PVR thread as well..

    I've never experienced those problems with avidemux on XP, and I use avidemux frequently. Both the posters requesting assistance are on XP. I tested, trim, crop, filtered and can confirm it works on that .ts without problems.
    Quote Quote  
  13. No, it's not a Vista issue. It was on XP about a year and a half ago on an older computer. Also, I just tested that .ts file with avidemux and it works fine. They probably fixed that bug since I last used avidemux and my system is fine.
    Quote Quote  
  14. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    thx
    i will examine avidemux.
    Quote Quote  
  15. if it fails, you can always fall to my method
    Quote Quote  
  16. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    i tried avidemux. it's all in one, supports most of formats, multiple audio tracks from the source file, etc.
    but it seems not to be a professional tools. as the 1st disadvantage, it can't sync video with audio. that is a file is played in vlc with no problem, but if i go to play it in avidemux its audio is played after the video is shown. i thought this might be only with playback, but the effect is reflected in the output file too. until now, avidemux would be great if it would not have such a huge problem.
    the method given by Red Hat is also too complicated for me as a newbie who's looking for an automatic and a straightforward method. i think i even couldn't figure it out completely! :P
    regards
    Quote Quote  
  17. Originally Posted by hamidi2
    i tried avidemux... audio is played after the video is shown.
    Audio -> Filters -> Time Shift
    Quote Quote  
  18. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    it's a workaround for the bug, right?
    maybe sth is wrong with the source video file and it can't resolve it, so we've to manullay time shift. right?
    thx
    Quote Quote  
  19. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    i like to know why a/v gets out of sync and whether it remains a constant shift during the whole of the movie?
    after finding the exact value of time shift by trial and error from the first times of the movie, may i be sure that it won't get out of sync again during the movie to the end?
    Quote Quote  
  20. Originally Posted by hamidi2
    after finding the exact value of time shift by trial and error from the first times of the movie, may i be sure that it won't get out of sync again during the movie to the end?
    No.
    Quote Quote  
  21. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM

    so what's the reason of getting out of sync to try to avoid it and don't have to struggle with this problem?
    may i give the source .ts file to some tools for fixing the problems if it is erroneous?
    Quote Quote  
  22. Many programs don't deal well with transport streams. TS streams can have variable frame rates, duplicate frames, null frames, etc.

    As was pointed out earlier, the most reliable method is to use DgIndex to create an index file (.D2V) then use AviSynth's MPEG2Source() to read the video.
    Quote Quote  
  23. Another common cause of desync is when have errors in your .ts (e.g. feed cuts off when recording, glitches in segments) - if there is a lot, often you have to process the video in segments - very difficult.

    If you have errors in your .ts, often you can repair them by putting them in a new .ts by using tsmuxer

    ProjectX handles mpeg2 .ts well, and can also repair streams
    Quote Quote  
  24. Note also that TS streams are designed for lossy transmission. They contain a lot of redundancy and timing information that help TVs resync when part of the stream is lost or corrupt. Unfortunately, many programs are not able to use this information.
    Quote Quote  
  25. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    i tried ProjectX. i gave the original .ts file as input and selected the output to be also a .ts file. then i gave the result an input to avidemux. it's still out of sync.
    Quote Quote  
  26. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    i tried ProjectX. i gave the original .ts file as input and selected the output to be also a .ts file. then i gave the result an input to avidemux. it's still out of sync.
    i tried also the other format, m2p. didn't differ. when i play the original .ts file or the resulting files with vlc, they're synced.
    Quote Quote  
  27. Are you editing at well or doing a straight conversion?

    It's possible that you have errors in your stream. Try TsMuxeR and remux into a new .ts

    You can try the frameserving method suggested above DGMPGdec, but if it has errors, your final output will likely be out of sync as well.

    The suggested methods generally only work on clean error free streams

    One tedious way to do this is process the stream in sections (cut it into parts, or delete the bad frames) - but often this is the only way that works

    If you can't get it to work, post a small sample that replicates the problem that you are having to a free hosting site
    Quote Quote  
  28. Member
    Join Date
    Apr 2008
    Location
    Iran, Islamic Republic of
    Search Comp PM
    alright
    i used tsmuxer to provide an error free output, then avidemux did the remainder. now i have the output i was looking for, thx a lot, it worked
    but still another problem exists. i don't know what deinterlace method i've to use. which one in filters provides the best output and what sould i set the parameters?
    thx
    Quote Quote  
  29. Yadif works well in my opinion. The sample posted above was top field first, so in yadif it would be mode 0, order 1 - and this worked fine for the sample posted

    The default setting for yadif in avidemux is 0,1 (i.e. the same). You can preview your output before encoding to see if it is acceptable for you
    Quote Quote  
  30. There's one deinterlacer that works better than Yadif -- TempGaussMC_beta1(). But it's horrendously slow. Something like 1 frame per second on full D1 video.

    https://forum.videohelp.com/topic354397-30.html#1877202
    Quote Quote  



Similar Threads

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