Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th April 2012, 05:55   #1  |  Link
maxxon
Registered User
 
maxxon's Avatar
 
Join Date: Jan 2012
Location: On the net
Posts: 76
Reencoding problems

I'm trying to reencode a .mp4 file to a .avi file that will be read by my dvd player

The manual says it can play "USB Flash Drive that contains audio titles, DivX, MP3, WMA, and/or JPEG files." I'm trying to use ffmpeg to reencode it but the quality of the resulting file sucks.

Here is my command line:
Code:
ffmpeg -i file.mp4 -vcodec msmpeg4v2 -acodec aac -strict experimental -ab 325k  file.avi
I've also tried this:
Code:
ffmpeg -i file.mp4 -s 320x240 -vcodec msmpeg4v2 file.avi
But I got this error message:
Code:
Application provided invalid, non monotonically increasing dts to muxer in stream 1: 106851 >= 106851
av_interleaved_write_frame(): Invalid argument
If anyone has any suggestions as to what command line I should use, it would be greatly appreciated.

Thanx,


|\/|x

I'm running Ubuntu 11.10 x64bit with ffmpeg that I built using these commands.

Last edited by maxxon; 12th April 2012 at 01:19. Reason: Added corrections
maxxon is offline   Reply With Quote
Old 11th April 2012, 09:29   #2  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 306
ffmpeg -i "file.mp4" -vcodec msmpeg4v2 -acodec libfaac -ac 2 -ar 44100 -ab 128k "Test.avi"
__________________
Henrikx
Henrikx is offline   Reply With Quote
Old 11th April 2012, 17:41   #3  |  Link
maxxon
Registered User
 
maxxon's Avatar
 
Join Date: Jan 2012
Location: On the net
Posts: 76
Well, that didn't work, all it did was kill my audio on vlc (though I've not tried it out on the dvd player which is at my parent's house). So the video is still crap.
maxxon is offline   Reply With Quote
Old 11th April 2012, 20:54   #4  |  Link
maxxon
Registered User
 
maxxon's Avatar
 
Join Date: Jan 2012
Location: On the net
Posts: 76
My bad, turns out that the audio never worked. When I was testing I had the audio off as I wasn't focusing on that. Still I've figured out the video quality issue. The required switch I was looking for is -qscale 5.

I think I've got it now. It has sound and hq vid. Just need to try it on DVD player.
Code:
ffmpeg -i file.mp4 -vcodec msmpeg4v2 -sameq -ab 128k file.avi
Thanks,


|\/|x
maxxon is offline   Reply With Quote
Old 12th April 2012, 02:55   #5  |  Link
maxxon
Registered User
 
maxxon's Avatar
 
Join Date: Jan 2012
Location: On the net
Posts: 76
Looks like I was wrong. The file size is crazy big. I'm seeing some pages that try and set the parameters to make it a particular size, but they are using presets, however, there are no presets for msmpeg4v2. What sort of parameters need to be in these files?

Thanx

|\/|x
maxxon is offline   Reply With Quote
Old 12th April 2012, 03:44   #6  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
Using msmpeg4v2 I would expect either a large file or bad quality. I suggest using mpeg4 (Divx/Xvid) as it looks like your DVD player could play that too and it should offer better quality per size.
Asmodian is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:30.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.