Welcome to the Rockbox Technical Forums!
Sansa c200: screen size: 132x80; 4:3 resolution: 106x80 16:9 resolution: 132x74TERMINAL EXAMPLE:mencoder -of mpeg -oac lavc -lavcopts acodec=mp2:abitrate=96:vmax_b_frames=16:vb_strategy=2 -af resample=44100:0:0 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate= -vf scale=:,harddup -ofps 25 -o .mpgVIDEO OPTIONS:-ovc lavc [output video module]-lavcoptc vcodec=mpeg2video [output video codec]...vmax_b_frames=16:vb_strategy=2 [the player needs as many b-frames as possible, to ease decoding and frame skipping](note: specify the video bitrate with: mpeg2video:vbitrate=)-vf scale,harddup [scale the video, remove duplicate frames]-ofps [output frames per second, depending on the target, adjust as needed]-zoom [when scaling, zoom rather than crop]AUDIO OPTIONS: (remember, I'm trying to just copy the audio; no reencoding at all)-oac lavc [output audio module]-lavcopts acodec=mp3:abitrate=192 [output audio codec and bitrate, mp1/mp2/mp3 can be used](note: if your video already has a compatible audio track simply use '-oac copy' to copy it to the output file without transcoding)-af resample=44100:0:0 [resample to 44.1 kHz, otherwise it won't play at proper speed]
TERMINAL:root@CarrDesktop:/home/michael# '/home/michael/Videos/Test/encode.sh' bash: /home/michael/Videos/Test/encode.sh: Permission denied
Error messages will come in detail later, but on my last attempt, it basically told me it was skipping every frame in the file -- s-l-o-w-l-y, and I had to hit the key to halt the process.
I have no idea how to execute your script! (Double clicking it launches a text editor. Dragging it into the terminal window produces this:)QuoteTERMINAL:root@CarrDesktop:/home/michael# '/home/michael/Videos/Test/encode.sh' bash: /home/michael/Videos/Test/encode.sh: Permission denied
sudo chmod 755 /home/michael/Videos/Test/encode.sh
chmod u+x /home/michael/Videos/Test/encode.sh
/home/michael/Videos/Test/encode.sh
encode.sh
encode.sh *
root@CarrDesktop:/home/michael# '/home/michael/sansampeg.sh.txt' bash: /home/michael/sansampeg.sh.txt: Permission deniedroot@CarrDesktop:/home/michael# sudo chmod 755 /home/michael/Videos/Test/encode.sh.txtchmod: cannot access `/home/michael/Videos/Test/encode.sh.txt': No such file or directoryroot@CarrDesktop:/home/michael# sudo chmod 755 /home/michael/encode.sh.txtchmod: cannot access `/home/michael/encode.sh.txt': No such file or directoryroot@CarrDesktop:/home/michael# 'home/michael/sansampeg.sh.txt'bash: home/michael/sansampeg.sh.txt: No such file or directoryroot@CarrDesktop:/home/michael# sansampeg.sh.txtbash: sansampeg.sh.txt: command not foundroot@CarrDesktop:/home/michael# sansampeg.sh.txt *bash: sansampeg.sh.txt: command not foundroot@CarrDesktop:/home/michael# sansampeg.sh *bash: sansampeg.sh: command not foundroot@CarrDesktop:/home/michael# '/home/michael/sansampeg.sh' bash: /home/michael/sansampeg.sh: Permission deniedroot@CarrDesktop:/home/michael# chmod u+x /home/michael/Videos/Test/encode.shchmod: cannot access `/home/michael/Videos/Test/encode.sh': No such file or directoryroot@CarrDesktop:/home/michael# chmod u+x encode.shroot@CarrDesktop:/home/michael# chmod u+x /home/michael/encode.shroot@CarrDesktop:/home/michael#
Page created in 0.077 seconds with 14 queries.