Kodi Community Forum
[LINUX] HOW-TO remux an AVI video file using Linux to make them play smoothly in XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO remux an AVI video file using Linux to make them play smoothly in XBMC (/showthread.php?tid=47011)



[LINUX] HOW-TO remux an AVI video file using Linux to make them play smoothly in XBMC - icheyne - 2009-03-15

I had an .avi video that refused to play smoothly with my Xbox XBMC, but worked fine on my computer.

This FAQ diagnosed the problem - I had to re-mux the AVI. Unfortunately it only had instructions for Windows.

To fix this in Ubuntu Linux I ran the following two commands:
Code:
sudo aptitude install mencoder
Code:
mencoder -ovc copy -oac copy -of avi -o "remuxed.avi" "original.avi"

The file processed for a few minutes and then it ran smoothly on XBMC.

via


- DDM123 - 2009-08-26

I wrote this little script to quick fix some avi files.
Code:
#!/bin/bash

for i in "$1" ;
do
    mencoder -ovc copy -oac copy -of avi -o "$i.temp" "$i"
    mv "$i.temp" "$i"
done

I don't know bash too well, so I couldn't figure out how to detect avi or mkv file types without processing an entire directory with *.avi.


- schneidz - 2009-11-04

DDM123 Wrote:...
I don't know bash too well, so I couldn't figure out how to detect avi or mkv file types without processing an entire directory with *.avi.

man file


- dr_dred5 - 2009-11-12

I've been using mencoder for years, but i just discovered Divfix ++. It has a GUI and is just as fast.

You can get RPMs or source code from http://divfixpp.sourceforge.net/download.php

And Ubuntu Debs from http://linux.softpedia.com/get/Multimedia/Video/DivFixplusplus-19989.shtml

I've tested it in both Jaunty and Karmic and it works great.

Cheers.


- ghajejha - 2009-11-30

dr_dred5 Wrote:I've been using mencoder for years, but i just discovered Divfix ++. It has a GUI and is just as fast.

You can get RPMs or source code from http://divfixpp.sourceforge.net/download.php

And Ubuntu Debs from http://linux.softpedia.com/get/Multimedia/Video/DivFixplusplus-19989.shtml

I've tested it in both Jaunty and Karmic and it works great.

Cheers.



whoa... a simple post and so many responses and links. My apologies for not doing the search first, that was stupid of me. Thanks for all the pointers, though!
Thanks for shairng.

__________________
Simulation rachat credit personnel reduit | Demande rachat credit personnel en ligne | Comparatif meilleur taux rachat credit pret personnel