Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to convert some videos to play on my Kogan TV using a portable hard-drive, but I am having trouble getting it to work. Most of my avi files, encoded using as xvid, all come up as 'unsupported file' on the TV.

The only file that I've found that works is reported as being the following by file:

test.avi:  RIFF (little-endian) data, AVI, 640 x 464, 23.98 fps, video: DivX 4, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

But I can't seem to work out a suitable avconv command line to convert anything else to that format.

The TV claims to support (from here):

AVI (MPEG - 1/2 and MPEG-4 divx 4 coded) and MP4 (MPEG - 1/2 and MPEG-4 divx 4 coded)

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

It turns out that I just needed to trick the TV into thinking it was the DivX codec when it is really the xvid codec, by changing the video tag (or FourCC to DIVX) using -tag:v DIVX:

avconv -i input.mp4 -c:v libxvid -c:a libmp3lame -b 700k -tag:v DIVX output.avi

Which seems to be acceptable to the TV, and file now outputs similar to my good video:

output.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: DivX 4, audio: MPEG-1 Layer 3 (stereo, 44100 Hz)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.