LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2009, 07:51 AM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Mencoder options for encoding to recent DivX compliant LG DVD players?


Hi guys

I use the following mencoder commandline to encode to a satisfactory .avi. It plays well in MPlayer itself and in Windows Media Player:

Code:
mencoder dvd://1 -alang en -o dvdrip.avi -oac mp3lame -lameopts vol=8 -ovc lavc -ffourcc DX50 -lavcopts vcodec=mpeg4:aspect=1.78/1:vbitrate=1800:vrc_eq=tex:naq:ilme:trell:cbp:preme=2:subq=8:keyint=132:mbd=1:qns=3:vme=4:dia=3 -noskip
However, on LG DVD players made in the '07 / '08 model year, that have a "DivX" compatible logo on the case, the resulting clip does play, but is heavily artifacted. Audio is 100%, but video is very badly munged up.

I've tried different bit-rates and keyints, but nothing seems to be able to reduce the level of artifacts viewing the clip produces.

Anybody got a commandline for mencoder / codec suggestions that produces a container format that DOES play with little / no artifacts on recent DivX compatible LG DVD players?

Thanks!
 
Old 04-09-2009, 08:25 AM   #2
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Rep: Reputation: 18
maybe a stupid question, but you say you have the DVD and you want to encode it to an avi format that will play on your dvd player.. why not just play the DVD?

Anyway, DivX players usually comply to a certain defined profile (ASP level 5 is popular), so look into the xvidencopts profile=asp5 option of mencoder and see if that works for you. Generally, limiting the max bitrate and not using things like qpel and gmc may work but it very much depends on the player because they use hardware chips for the decoding.

Find out what chip the player uses and search based on that rather than the DVD player model.

I have a cheap DivX-playing DVD player but after much gnashing of teeth I never found a reliable way to encode avis so that they would always play -it was always hit-amd-miss.

Good luck.
 
Old 04-09-2009, 10:43 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, I've found these options for ffmpeg that always work on my LG player, they don't always work well tho, there may be some stuttering, you may need to use 2 pass encoding or maybe quantizer based rather than bitrate based.

Code:
ffmpeg -i TWILIGHT_ZONE_VOL265-1.vob -b 900k -vcodec libxvid -s 640x480 -r 23.976 -aspect 4:3 -ab 128k -ar 44100 -async 44100 -ac 2 -acodec libmp3lame -threads 3 -f avi -g 300 -bf 2 PIANO.avi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MP3 / divx players zchoyt Linux - Newbie 6 10-01-2008 04:59 AM
DivX 6 Encoding nhouseman85 Linux - Software 1 02-20-2007 01:48 AM
mencoder mpegopts "not an option" format=dvd (converting avi to dvdauthor compliant) Emmanuel_uk Linux - Newbie 1 09-16-2005 01:52 PM
Problem encoding Divx with Dvd::Rip mitchmiller Linux - Software 1 03-07-2004 10:35 PM
drip (dvd rip) divx encoding problem demitasse Linux - Software 2 12-15-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration