Rockbox General > Rockbox General Discussion
Can't get the command right to encode video; need help! [SOLVED]
Strife89:
I must seem like a total idiot, but I'm still at a loss. I cannot get the script to run properly.
--- Code: ---root@CarrDesktop:/home/michael# '/home/michael/sansampeg.sh.txt'
bash: /home/michael/sansampeg.sh.txt: Permission denied
root@CarrDesktop:/home/michael# sudo chmod 755 /home/michael/Videos/Test/encode.sh.txt
chmod: cannot access `/home/michael/Videos/Test/encode.sh.txt': No such file or directory
root@CarrDesktop:/home/michael# sudo chmod 755 /home/michael/encode.sh.txt
chmod: cannot access `/home/michael/encode.sh.txt': No such file or directory
root@CarrDesktop:/home/michael# 'home/michael/sansampeg.sh.txt'
bash: home/michael/sansampeg.sh.txt: No such file or directory
root@CarrDesktop:/home/michael# sansampeg.sh.txt
bash: sansampeg.sh.txt: command not found
root@CarrDesktop:/home/michael# sansampeg.sh.txt *
bash: sansampeg.sh.txt: command not found
root@CarrDesktop:/home/michael# sansampeg.sh *
bash: sansampeg.sh: command not found
root@CarrDesktop:/home/michael# '/home/michael/sansampeg.sh'
bash: /home/michael/sansampeg.sh: Permission denied
root@CarrDesktop:/home/michael# chmod u+x /home/michael/Videos/Test/encode.sh
chmod: cannot access `/home/michael/Videos/Test/encode.sh': No such file or directory
root@CarrDesktop:/home/michael# chmod u+x encode.sh
root@CarrDesktop:/home/michael# chmod u+x /home/michael/encode.sh
root@CarrDesktop:/home/michael#
--- End code ---
Now, I do have WinFF; what I don't seem to have is an mp3 encoder. Is there another audio codec that will work? I can create a new profile and use that instead.
Llorean:
mp2 audio works as well.
Strife89:
Except that it doesn't seem to work when I use the sampling rate override to put it at 44000MHz; my file has 22050MHz audio. (No bit rate override was entered.)
Using the included "MPEG 2" preset, and a 150kbps (video bitrate) override, I get a video that plays well in Totem. In Rockbox, however, the whole thing is playing at double speed (I even turned off the "Skip Frames" option!).
EDIT: Wait a second!!! I forgot it should be 44100 MHz; NOT the 44000 MHz I was trying!
Llorean:
Are you trying to set it to 44000 and not 44100 (which is the proper number)?
22050 audio will obviously cause it to play at double speed, because Rockbox only works with 44100 and uses the audio for timing purposes...
Strife89:
As seen in my last edit, indeed I am. I'll try it and report back.
(MAN, I feel like a doofus....)
EDIT: That did the trick!
I appreciate all the help you two have offered. Kudos to you all! :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version