LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   sansa e260 (http://www.linuxquestions.org/questions/linux-software-2/sansa-e260-509544/)

Polanski 12-11-2006 07:48 PM

sansa e260
 
To whom it may concern,

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!

bodymind 03-11-2007 12:40 PM

Image Files: jpeg, tiff, png, bmp, gif;
Video Files: avi, mpeg-1 & mpeg-2, dat, asf, mov, wmv

lurko 03-11-2007 03:59 PM

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.

bodymind 03-12-2007 05:13 AM

and how can i see from a sample what type of video it reads? :s

lurko 03-12-2007 10:37 PM

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.

bodymind 03-17-2007 09:31 AM

I got a sample now, the mplayer output is this:

~$ 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.

SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX2
VO: [xv] 176x220 => 176x220 Planar YV12
alsa-uninit: pcm closed 0.005 ct: 0.000 19/ 19 5% 2% 0.3% 0 0


how can i encode a video ?

lurko 03-17-2007 08:17 PM

well, this is the relevant info:
Quote:

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)
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).

bodymind 03-18-2007 08:00 AM

hi, after lots of searching i've end up on this website:

http://www.visi.com/~grante/sansa/

it seems that this codec isn't able to encode in linux...

so i installed rockbox :D yeah, rockbox r0x, now my mp3 reads, jpeg, mpg, and it even has lot of games:

http://www.rockbox.org

Alivallo 01-04-2011 09:13 PM

Sansa E260 Video Format
 
Use GSpot Codec finder to find all your specific info.
There is a demo movie provided on the player that you can use.

codec: mjpa Apple motion jpeg A
recommended size: 176x220
Mime type: video quicktime
file type: .MOV
Audio Codec: sowt: 16-bit signed little-endian 44100hz


All times are GMT -5. The time now is 11:32 AM.