VideoHelp Forum




+ Reply to Thread
Results 1 to 20 of 20
  1. Hello,
    I have 23.976 fps 1920*1080 24.5 mbps high@L4.1.
    I want to convert it into highly compatible divx (explained in photo)
    http://www.flickr.com/photos/37256447@N03/3570131227/sizes/z/

    I have muxed original m2ts into avi, mpg, mkv. Everything is being played well. Except avi (also, 7 gB are lost).
    I tried to convert m2ts with xilisoft video converter ultimate. Result : everything well, except that frames are seizing.
    With virtualdub (used avi) the same, except that frames are seizing. Looks like I am watching in slow motion but time is the same.
    Quote Quote  
  2. Member
    Join Date
    Jul 2001
    Location
    United States
    Search Comp PM
    If all you're doing is remuxing into another container, then you should see little significant size difference. What is your original container? I'm sorry but the gspot printscreen isn't very readable.
    Have a good one,

    neomaine

    NEW! VideoHelp.com F@H team 166011!
    http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&teamnum=166011

    Folding@Home FAQ and download: http://folding.stanford.edu/
    Quote Quote  
  3. Well, I have mentioned that m2ts is original container (from Blu-Ray disc).

    When playing, there is only a problem with avi. When converting, everything is almost good, except slow motion.

    About high compatibility : there is only pvop and bvop (no nvop, packed bitstream, gmc, qpel and etc.) in the final result (fourcc : divx 5/6, xvid or something like it).
    Quote Quote  
  4. By the way, if nobody can answer, I can use other converting program and add m2ts into other container. What program do you suggest for converting?
    Quote Quote  
  5. Is the "slow motion" video in sync with the audio? If the audio is normal and only the video is slow try changing the AVI files frame rate with AviFrate.
    Quote Quote  
  6. Audio is working well, but is not muxed with result-video. I already have result-mp3 (converted separately). Only m2ts is with audio. Not converted mkv, mpg, avi are without audio.

    AviFrate :

    It is useful. But in one situation there is too fast motion. In other, good. However, this is about 31 fps (not acceptable). No matter what changes are in the process, the last result must be with 23.976 or 23.980 fps.
    AviFrate info :
    1. Not Converted Avi
    Flags 0x910 ; Init. frames 0 ; Frames 21900 ; handler H264 scale : 1001 ; rate 24000 ; length : 172245 ; 23.976 fps

    2.Result-video-Virtualdub (converted only part)
    Flags 0x10 ; Init. frames 0 ; Frames 4999 ; handler xvid scale : 10000 ; rate 239760 ; length : 4999 ; 23.976 fps

    3. Result-video-Xilisoft
    Flags 0x910 ; Init. frames 0 ; Frames 127127; handler DX50 scale : 50 ; rate 1199 ; length : 172774 ; 23.980 fps

    Result-virtualdub is better in motion.
    What particular changes do you recommend to do in not converted and result avi (must be 23.976 or 23.980 fps) ?
    Quote Quote  
  7. The actual fps in an AVI file is saved as two integers, the scale and rate: At playback the is calculated from those two integers: fps = rate / scale. The exact scale and rate for a "23.976" fps video should be 24000 and 1001 (23.9760239760239760...).

    It's tricky getting AviFrate to use exactly those values because it always calculates fps, rounds it to three decimal places, then recalculates rate based on the rounded fps value. Here's what I do: Open the video. Type 1001 in the scale field. Tab to the rate field and enter 24001 -- yes, that's right 24001, not 24000. Right away (do not tab to or select another field, do not switch to another Window and then back to AviFrate, etc.) click the Apply button.

    But the small differences in the numbers you list would not be noticeably faster or slower. The difference between 1199/50 and 24000/1001 would be less than half a second over an hour of video. It sounds like something else going wrong.
    Last edited by jagabo; 5th Aug 2010 at 07:47.
    Quote Quote  
  8. It could be that there is something else wrong. I've downloaded Xvid4PSP. The result-xvid4psp (converted from mkv only small part) is being played well . Scale 104271 ; rate 2500000. I applied it onto xilisoft-result(converted fully). Now, Xilisoft-result is being played almost well, however I still need to understand what exact numbers I should apply for Xilisoft-result that it would be played well not just almost well.

    By the way, Xvid4PSP needs NET Framework 3.0. I would like to use other program, specified for blu-ray ripping into xvid or xvid and other codecs.
    Quote Quote  
  9. What do you mean by "played well"? Minor changes in the frame rate should only effect the running time, not smoothness of playback etc. A half second A/V sync error at the end of an hour long video would be noticeable but you would see no difference in the playback otherwise. If your audio sync is off by a constant amount over the entire video all you have to do is adjust the audio skew. VirtualDub has this feature in Audio -> Interleave...
    Quote Quote  
  10. I have mentioned that video and audio are separated. I have muxed audio-result and video-result. Time is the same for audio and video. Time is good. Video is still not being played smoothly with audio.

    This is only the problem with video. Video is not flowing but seizing.
    Quote Quote  
  11. You might have multiplexing problems. I would try opening an AVI file in VirtualDub, selecting:

    1) Video -> Direct Stream Copy
    2) Audio -> Interleaving, make sure Enable Audio/Video Interleaving is enabled, set Interleave Audio ever 1 frame, and set Audio Skew as necessary (in case the audio is early or late)
    3) If you need to change the frame rate select Video -> Frame Rate. In the top part of the dialog enable Change Frame Rate To, and set the rate (this is the same thing as AviFrate's frame rate adjustment).
    4) File -> Save As AVI.

    Also, many programs can't read m2ts files properly when converting. You may end up with jerky video because of that. You can verify this by viewing one of your jerky AVI files with VirtualDub. Find a section which plays jerky in a media player and step through the frames one by one in VirtualDub by pressing the right arrow key. Watch for duplicate frames (ie two frame in a row that are exactly alike when there should be motion) or missing frames (a missing frame shows up as a sudden larger step during motion).
    Quote Quote  
  12. The video muxed with audio will not fix video motion (timecode is the same for audio and video). I have checked and I see that 3 frames are the same.
    Quote Quote  
  13. Originally Posted by Urban20 View Post
    I have checked and I see that 3 frames are the same.
    Then your problem is in the decoding of the m2ts file, not the compression, frame rate, or multiplexing of the AVI file. I would try using DgAvcIndex, AviSynth, and VirtualDub. That should be more reliable.
    Quote Quote  
  14. Thanks, I will give a try.
    Quote Quote  
  15. How do you exactly recommend to create well working avs script ?
    Quote Quote  
  16. First make your index file with DgAvcIndex. Then use notepad (or any plain text editor) to make a file that reads:

    AvcSource("X:\path\to\filename.dga")
    Name the file with the extension .AVS instead of .TXT. Then open that AVS file with VirtualDub.
    Quote Quote  
  17. Error : There is no such function as AvcSource. Ok, it doesn't matter. I've got avs from xvid4psp. It is working well with virtualdub.
    You can give some links, documentation and other info from internet (AviSynth)
    .Thanks.
    Quote Quote  
  18. Did Xvid4psp use DirectShowSource()? DirectShow isn't always frame accurate, and is dependent on what filters are installed on your system. That can lead to problems like those you're seeing.

    To get AvcSource() working you need to copy DgAvcDecode.dll into AviSynth's plugins folder.
    Quote Quote  
  19. I have converted fully Xvid4PSP *.avs with virtualdub. Everything is being played well. Yes, in xvid4psp is directshowsource function.
    I have copied dll into avisynth plugins folder. *.AVS with AvcSource is working and being converted well with virtualdub.
    In the future, I will use DgAvcIndex and AviSynth. Not Xvid4psp *.avs
    Quote Quote  
  20. AviSynth is a great tool for all kinds of filtering. It's worth learning about if you plan on doing much work with video. A good place to start:

    http://avisynth.org/mediawiki/Main_Page
    http://avisynth.org/mediawiki/Main_Page#New_to_AviSynth_-_start_here
    Quote Quote  



Similar Threads

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