Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know the video format for the sansa e260 flash mp3 player. By video format I mean the bit rate etc. If you do can you please put it in this format: ffmpeg -i diddy2.avi -title pcd -f psp -r 14.985 -s 320x240 -b 512 -ar 24000 -ab 64 M4V00002.MP4
I know the files have to be mp4 files. Whoever replies to this message your answer will be greatly appreciated!
if you have access to a windows box, I would suggest running the software Sandisk "requires" you to use to transfer(and presumably convert) video files to the device. Cut 10 seconds or something out of an AVI(again, or something), and then transfer/convert it onto the device with the Sandisk software. Then take the converted video off the device and use that file to determine what resolution/format/etc is actually supported by the device. Or get Sandisk to publish what resolution/formats/etc are actually supported on their website. The best info I could find basically amounts to "you must use the supplied (WIndows) software to use video on the Sansa series of players" - that's all they say in the manual, zero mention of actual compatible file specs.
I'm just saying, if the software converts(and shrinks) the video, it'll take a while to do an entire, large/lengthy video. the length of the thing is irrelevant in this context, so while doing a test conversion, just to see the result, cut a sample out and then it won't take forever. the resolution, bitrate and codec will still be the same.
I would just launch the file in mplayer from a terminal personally, it will spit out numerous details about the file.
~$ mplayer Sansa\ e200\ demo.mov
MPlayer 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 2600+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing Sansa e200 demo.mov.
Quicktime/MOV file format detected.
VIDEO: [mjpa] 176x220 24bpp 12.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
open: No such file or directory
Couldn't open: /dev/mga_vid
open: No such file or directory
Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
alsa-init: using device default
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 176 x 220 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is 0.80:1 - prescaling to correct movie aspect.
The ffmpeg string in the OP would seem to be a good starting point. the mjpeg codec might be a sticking point, but basically put the format details above in that ffmpeg command. Mencoder might be an alternative application to use (though I believe Mencoder just uses ffmpeg anyway).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.