Converting XviD to DivX

Discussion in 'DivX / XviD' started by m_klasson, Oct 31, 2006.

  1. m_klasson

    m_klasson Member

    Joined:
    Oct 31, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Hey people.

    I just bought a Samsung DVD-HR738, that supports the playback of DivX-files.

    But it is easier and more often that I am having XviD videos.

    I tried to play an XviD on my samsung.The sound was okey, but the
    movie was very choppy.

    Is there any way to convert XviD movies to DivX in a simple way?

    Or are there any other tips, since my samsung *almost* plays the XviD.

    Thanks
    Martin
     
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Change the FourCC from XviD to DX50. Doesn't mean that it will play though. Could be using an using features that your player can't handle like say qpel or the bitrate could be too high. If so then re-encoding (XviD or DivX) should fix it.
     
  3. m_klasson

    m_klasson Member

    Joined:
    Oct 31, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Okey, thanks.

    I will try that with the fourcc,
    but whata do you mean with the bitrate, what would be too high, and what bitrate would be valid?

    I have set up a few small samples with some differences. One with the fourcc changed, one in which I used a trial-application from Alive where I re-encoded it from XviD to DivX, the fourcc after that conversion was FMP4, but I hope that will work as well.

    Thanks for the help, I will get back with results.
     
  4. m_klasson

    m_klasson Member

    Joined:
    Oct 31, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    This is how it turned out.

    My samsung knows how to play XviD-movies.
    But the first movie I tested gave me a bad feeling.

    4/5 tested XviD-movies has worked, the first I tested DOES ALSO work
    now, but it needed to be re-encoded and a change of the fourcc after that.

    Now I will try to use subtitles to these XviD-movies, but it should
    work just as well as the DivX I assume.

    Thanks for your ears and advices about the fourcc and re-encoding, I still have to do that on SOME XviD's.

    Martin
     
  5. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    FMP4 is the default fourCC for libavcodec's (ffmpeg) MPEG-4 encoder. If you got that then that is what it was encoded by, not DivX.

    ffmpeg/libavcodec are free, although they are licensed as LGPL so there is nothing to prevent people selling them or apps based on them. Still it shouldn't be advertised as DivX, because it isn't. Most apps that encode via libavcodec (Pocket DivXEncoder, etc.) will use a DivX fourCC though. Still doesn't make it DivX.

    For full compatibility I would suggest either encoding via XviD or DivX with a Home Theatre profile.
     
  6. arturs7

    arturs7 Member

    Joined:
    Dec 27, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    I'm aware i'll ask the same question here again and again, but i really can't get it done. I apologize at the beggining already. I've friends wedding video, that is in XviD Mpeg-4.. I want to play it on my standalone DVD player, but it supports only DivX 3,4,5. So when i burned this video on CD, my DVD player shows "Data Error (DivX)" and won't play the file. I was reading over this forum and found out that MPEG4 Modifier could solve my problem. I opened this file with MPEG-4 Modifier, and it shows that Bitstream is not packed, and i do not have QPEL and GMC. (it was mentioned these are critical parameters). But the file still don't work on my standalone dvd player. And wanted to add, that FourCC (i've not idea what's that but heard about it) is XviD in that file. I've another XviD data file that has FourCC DX50 and it works on my standalone player. Maybe that's the key? However i've no clue how to change that setting. So, i would have just 2 questions

    1) What are the options (except converting, because it takes much time and i'd probably loose quality of file) to make this XviD Mpeg-4 file to be played on my DivX certified player?

    2) What to do if the video is encoded with MPEG-4 and have audio stream coded with AC3. How to make such a video to be played on DivX? because my dvd player does not have ac3 codec.

    thanks in advance for any answer
     
    Last edited: Dec 27, 2006
  7. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    If your player also plays DVD's, then it has an AC3 decoder (for an AC3 codec it would also need to be a recorder since codec = encoder/decoder).

    Koepi's Xvid comes with a fourCC changer util (if you are using another build, such as mine it can be downloaded seperatly). Just load the avi, change the fourCC and save. If the file is really important, make a copy first.

    Think there were only ever a couple of Sony players that couldn't handle the fourCC XVID and at least one of them got a firmware update to fix it.
     
  8. arturs7

    arturs7 Member

    Joined:
    Dec 27, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    11
    thanks for help celtic_d! it really helped, i changed XviD mpeg-4 video FourCC to DX50, and now it shows that it is DivX 5, and it works on my sony dvd player.

    maybe you've information about sony dvd players? i've sony dvp-LS785V and as you said, it must be the one without XviD FourCC support? i surfed the net and there was no firmware for my player. so it means i'd have to change fourCC everytime i get XviD encoded file?
     
  9. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Yeah looks like that is one of the players that Sony never released a firmware update. I assuming that they are MTK based though, so someone could dump and modify the firmware themselves.

    I would imagine that 90%+ of the files played on DivX players are infact encoded with Xvid. Also points out one of the floors in using avi as a container. If the players supported mp4 then it wouldn't be an issue since there are no fourCC's. An MPEG-4 video stream is an MPEG-4 video stream whether it is encoded with Xvid, DivX, libavcodec or whatever. Then I guess everyone would need receivers that could handle aac over S/PDIF though for 5.1 audio, or built in dolby live/DTS connect support.
     

Share This Page