Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: Yuashu on March 22, 2008, 01:06:15 AM

Title: WinFF Conversion Problems
Post by: Yuashu on March 22, 2008, 01:06:15 AM
I got the presets.xml file to work and it seems like everything was going smoothly. When I hit convert, the command window came up and vanished as soon as it appeared. I went into the preferences and enabled the pause after encoding and it threw me this line:

"Error while opening codec for input stream #0.1"

If someone could throw me a bone on the subject, I'd greatly appreciate it. This is getting irksome, considering I've tried other encoders and I can't get my audio and video to sync up at all. I figured the one you guys recommend the most would do the trick, considering its got the recommended presets.

Please Help!
Title: Re: WinFF Conversion Problems
Post by: cool_walking_ on March 22, 2008, 02:23:25 AM
Which operating system, Rockbox target, and preset are you using?
Title: Re: WinFF Conversion Problems
Post by: Yuashu on March 22, 2008, 02:26:49 AM
Windows XP, I have a Sansa e260, and I've tried both the 4:3 and 16:9 presets.
Title: Re: WinFF Conversion Problems
Post by: Llorean on March 22, 2008, 03:11:03 AM
What is the audio format of the input file?
Title: Re: WinFF Conversion Problems
Post by: Yuashu on March 22, 2008, 03:15:00 AM
-acodec mp3 -ab 128 -ar 44100

The Preset for the Sansa e200 series.
Title: Re: WinFF Conversion Problems
Post by: Llorean on March 22, 2008, 03:19:20 AM
Of the INPUT file, not the desired output file. The message "Error while opening codec for input stream #0.1" suggests that the version of ffmpeg you have is being choked by the audio stream of the file you're trying to convert.
Title: Re: WinFF Conversion Problems
Post by: Yuashu on March 22, 2008, 03:28:14 AM
Well I'm dumb... I tried another file and it worked, though its really not the file I wanna convert. I'm unsure about how to check the audio type of the file, outside of the fact that I know its an .avi file.

I apologize for being un-informative. This is my first time doing A/V type work. How would I go about checking the audio format?
Title: Re: WinFF Conversion Problems
Post by: Llorean on March 22, 2008, 03:30:15 AM
Well, ffmpeg should attempt to identify, and tell you what it thinks it is, in part of all the information before the error message.
Title: Re: WinFF Conversion Problems
Post by: Yuashu on March 22, 2008, 03:37:27 AM
I think this is right:

"Stream #0.1: Audio vorbis, 48000 Hz, stereo, 0kb/s."

Is this right?
Title: Re: WinFF Conversion Problems
Post by: Llorean on March 22, 2008, 03:40:25 AM
Yeah, but that suggests there's something strange about the input stream. 0kb/s is untrue (if it were there'd be no audio). I'm really not sure what to suggest for testing the avi file with. As far as I know, though, Vorbis shouldn't be in AVI containers. Does it work in programs (and most specifically, can you seek forward and backward in the file?)
Title: Re: WinFF Conversion Problems
Post by: Yuashu on March 22, 2008, 03:42:38 AM
I use a media player called Media Player Classic that I obtained through the Combined Community Codec Pack. The file I'm trying to view can seek forwards and back and it has sound and decent picture.
Title: Re: WinFF Conversion Problems
Post by: Llorean on March 22, 2008, 03:55:00 AM
See if Media Player Classic has a file properties option.
Title: Re: WinFF Conversion Problems
Post by: Yuashu on March 22, 2008, 04:05:31 AM
I think that file just has an error with it. It'll let me access the file properties of other media, but not of the file in question. I think I'll just have to re-rip it. I'm sorry for the trouble, but I think I've solved it on my own, however, I'll post again if I have any more problems.

Thanks for your help. =)
Title: Re: WinFF Conversion Problems
Post by: SimpleDude on March 23, 2008, 03:29:56 PM
Windows XP, I have a Sansa e260, and I've tried both the 4:3 and 16:9 presets.


Sansa e260 are not good. I had one, and all it could do was freeze. http://www.walmart.com/catalog/product.do?product_id=7789700
^ I'd go with this one.

Title: Re: WinFF Conversion Problems
Post by: AlexP on March 23, 2008, 03:47:43 PM
1)  Rockbox does not run on the Sansa View

2)  I have no problems with videos on the Sansa e200.