Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4919  / 1 Year ago, fri, april 7, 2023, 6:57:40

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)



More From » avconv

 Answers
1

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)

[#32420] Sunday, April 9, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inciplyies

Total Points: 10
Total Questions: 114
Total Answers: 93

Location: French Polynesia
Member since Sun, Dec 20, 2020
3 Years ago
;