Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: AmbiquitY on October 17, 2007, 11:42:36 AM

Title: Movie converting problem
Post by: AmbiquitY on October 17, 2007, 11:42:36 AM
Ok so I've got an Ipod nano 1G 2GB, im trying to convert videos to play on rockbox. I installed WinFF 0.31 cause i couldnt find the 0.29 and i replaced the presets in the Application data so i can see the right presets but when i tried to convert an .avi file it converted the music really good but there was no movie... I tried with MediaCoder too but that gave me the same result.. what can i do to make it work??
Title: Re: Movie converting problem
Post by: LambdaCalculus on October 17, 2007, 11:52:55 AM
Have you tried converting with VideoLAN yet? Download it and give it a whirl.

Info about VLC can be found on the PluginMpegplayer (http://www.rockbox.org/twiki/bin/view/Main/PluginMpegplayer) page.
Title: Re: Movie converting problem
Post by: AmbiquitY on October 17, 2007, 12:25:57 PM
"Open a command line prompt and go to the VLC installation directory (default is C:\Program Files\VideoLAN\VLC\ ). Run the following command line:
vlc < input > --sout=#transcode{vcodec=mp2v,vb=600,width=,height=,acodec=mp3,ab=128,samplerate=44100,audio-sync}:std{access=file,mux=ps,url=.mpg }"

ok i got till the < input > what do i put there?
Title: Re: Movie converting problem
Post by: LambdaCalculus on October 17, 2007, 01:04:42 PM
Here, use this batch file instead.

Rename the extention from .txt to .bat, then you can just drag and drop videos onto it to convert them.
Title: Re: Movie converting problem
Post by: AmbiquitY on October 17, 2007, 01:09:14 PM
I did it the video was perfect except now the sound is gone..
Title: Re: Movie converting problem
Post by: LambdaCalculus on October 17, 2007, 01:15:05 PM
What kind of video file is the source file?
Title: Re: Movie converting problem
Post by: AmbiquitY on October 17, 2007, 01:20:57 PM
.avi if it needs to be something else please also say how to encode or something
Title: Re: Movie converting problem
Post by: LambdaCalculus on October 17, 2007, 01:53:06 PM
AVI is a container format for other video encodings, such as DivX or XviD. I've used that batch file on DivX-encoded AVIs before, and have had good results each time.

Try a different file and see if it works.
Title: Re: Movie converting problem
Post by: AmbiquitY on October 17, 2007, 02:07:14 PM
I tried other files but still no sound...  ???
Title: Re: Movie converting problem
Post by: AmbiquitY on October 17, 2007, 02:21:10 PM
WOW! I just put a converted file on my ipod cause i was tired of trying to get it to work, and on my ipod i could hear the sound, but on my computer i cant but now it doesnt matter im happy now  :D thanks for all your help LambdaCalculus379 :)
Title: Re: Movie converting problem
Post by: AmbiquitY on October 17, 2007, 03:12:55 PM
OK when checking this out better, i noticed that the audio isnt alligned with the video anymore  :-\ what setting should i change?
Title: Re: Movie converting problem
Post by: LambdaCalculus on October 17, 2007, 03:26:28 PM
No double or tripling posting is allowed on the forums. If you have something else to say and no one has responded, just go back and edit your previous post.

Sounds like the videos aren't playing fast enough. Go into the main menu on Mpegplayer (hit MENU), and enable Limit FPS and Skip Frames. That should keep the audio and video in sync.

The manual explains all of this, so it's recommended that you either keep a copy of the manual on hand to answer certain questions, or search the forums as well, because I'm more than certain this was asked once or twice before.
Title: Re: Movie converting problem
Post by: AmbiquitY on October 18, 2007, 11:05:50 AM
sorry about the triple post and i had searched the forum but apparently not enough..  and tnx it worked, do i have to do this everytime or will it save the settings?
Title: Re: Movie converting problem
Post by: Chronon on October 18, 2007, 11:22:44 AM
We require the use of complete words on these forums (e.g. "thanks" instead of "tnx").  Please read the Rockbox Forum Guidelines (http://forums.rockbox.org/index.php?topic=5738.0).  

Usually you edit the batch file then save it before dragging the file you want to convert onto it.  In this case it's clear that the settings will be saved.  In this case it doesn't look like you altered the batch file in any way, so I'm not sure what settings you think will not be saved.
Title: Re: Movie converting problem
Post by: AmbiquitY on October 18, 2007, 11:49:09 AM
sorry about the thanks(habit) i meant the settings on my ipod the skip frames and limit FPS it would be pretty logical if it is saved but like.. i dont know it could be that it wouldnt save the settings.
Title: Re: Movie converting problem
Post by: LambdaCalculus on October 18, 2007, 11:51:58 AM
Settings for Limit FPS and Skip Frames will be saved when you quit Mpegplayer.