VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hello. I'd like to change parameters of multiple AVI files at once to make them playable.
    My current workflow on single file:
    1. MPEG4Modifier - packed bitstream unpack
    2. MPEG4Modifier change user data (Writing library from something like DivX503b2682p to XviD0069
    3. Visual AVI FourCC Changer (https://sourceforge.net/projects/vsfccchanger/) - change fourCC - this works for all files

    And I know I can do steps 1 and 3, e.g with FFMPEG with stream copy, but I'm not sure how to automatize step 2

    this command did not change writing library:
    Code:
    ffmpeg -i input.avi -vtag XVID -bsf:v mpeg4_unpack_bframes -c:v copy -c:a copy output.avi
    Quote Quote  
  2. Originally Posted by SmurfRecorder View Post
    Hello. I'd like to change parameters of multiple AVI files at once to make them playable.
    My current workflow on single file:
    1. MPEG4Modifier - packed bitstream unpack
    2. MPEG4Modifier change user data (Writing library from something like DivX503b2682p to XviD0069
    3. Visual AVI FourCC Changer (https://sourceforge.net/projects/vsfccchanger/) - change fourCC - this works for all files

    And I know I can do steps 1 and 3, e.g with FFMPEG with stream copy, but I'm not sure how to automatize step 2

    this command did not change writing library:
    Code:
    ffmpeg -i input.avi -vtag XVID -bsf:v mpeg4_unpack_bframes -c:v copy -c:a copy output.avi
    Try instead this single commandline:
    Code:
    ffmpeg -i source.avi -c copy -bsf:v mpeg4_unpack_bframes -vtag FMP4 source_fixed.avi
    Quote Quote  
  3. But this just change fourCC not "writing library"
    after that command ffmpeg Mediainfo shows:
    Code:
    Codec ID                                 : FMP4
    Writing library                          : DivX 2682
    when editing with MPEG4Modifier I get
    Code:
    Writing library                          : XviD 69
    And this file works correctly for me
    Quote Quote  
  4. Originally Posted by SmurfRecorder View Post
    But this just change fourCC not "writing library"
    after that command ffmpeg Mediainfo shows:
    Code:
    Codec ID                                 : FMP4
    Writing library                          : DivX 2682
    OK, but this file is playable or not?

    when editing with MPEG4Modifier I get
    Code:
    Writing library                          : XviD 69
    And this file works correctly for me
    The “writing library” is just an information tag and should not affect the video's playback
    Quote Quote  
  5. Unfortunately the file is unplayable until I change writing library... This is LG Oled 4k TV bought about 2021.
    Quote Quote  
  6. I worked on this & part of the problem is the .avi container.
    It has limits on what can be written to in it's metadata.
    I was never able to get the metadata to accept "Writing library".
    What I got was "Writing application" in MediaInfo.

    Give this code a try:
    Code:
    ffmpeg -i input.avi -flags +bitexact -fflags +bitexact -map_metadata -1 -metadata:g "ISFT=XviD 69" -metadata:g "encoding_tool=XviD 69" -metadata title="movie name" -c copy output.avi
    Quote Quote  
  7. Sorry, it doesn’t work, but thanks anyway Xvid and Avi is very annoing format

    I also noticed that some files have doubled entries for writing library. Second is invisible for MediaInfo but TV refuses to play...
    I don't know what (and why) LG TV manufacturer did to their software...

    MPEG4Modifier is the only fix that works, but unfortunately CLI version has very limited arguments
    Image
    [Attachment 92676 - Click to enlarge]
    Last edited by SmurfRecorder; 13th Jun 2026 at 13:38.
    Quote Quote  
  8. Another approach:
    Try simply remuxing the AVI video into an MP4.
    Code:
    ffmpeg -i input.avi  -c copy output.mp4
    Does the MP4 video play on your LG TV?
    Quote Quote  
  9. Tried both MP4 and MKV. Both don't play when remuxed with DIVX writing library.
    But if I mod file with MPEG4Modifier then remux, both formats play
    Quote Quote  



Similar Threads

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