LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-18-2008, 11:13 AM   #1
Tommo
Member
 
Registered: May 2006
Posts: 80

Rep: Reputation: 15
Creative Zen 4GB video not searchable


Hi there.

I just bought a 4GB Creative Zen and I am having a little trouble with movies.

I use the following to convert:
Code:
mencoder -ovc xvid -oac mp3lame -vf scale=320:240 -xvidencopts fixed_quant=4 -o output.avi input.avi
And I add the movies by doing:
Code:
mtp-sendfile output.avi output.avi
The video plays fine, but I cannot fast forward or search through the movie. I have been googling for a while now and haven't dug anything up yet.

I run Debian Etch, and I had to install libmtp from source. Gnomad2 didn't seem to work for me, so I would appreciate if you didn't advise that I install it.

I'm assuming it's a conversion problem, but it could have something to do with mtp? The videos that came on the device are able to be rewinded etc. I'm just confused.

I looked at the output of 'mplayer -v {videofile}' and under 'stream header' it had

FCC: xvid (64697678) - for video already on device
FCC: XVID (44495658) - for video I converted

I'm not sure if this has anything to do with it, I may be clutching at straws here.

Any ideas would be much appreciated.

Edit: I just retrieved an original file from the device using mtp-getfile, then I renamed it and sent it back using mtp-sendfile and I had the same problem! So it must be something to do with mtp. Any ideas?
 
Old 09-18-2008, 11:33 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Tommo View Post
Hi there.

The video plays fine, but I cannot fast forward or search through the movie. I have been googling for a while now and haven't dug anything up yet.
Check out the -forceidx flag in mencoder. I've seen this before, when the index doesn't get built/is corrupted. That will put an index back in the file, which will enable FF/RW.
 
Old 09-18-2008, 12:10 PM   #3
Tommo
Member
 
Registered: May 2006
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks for the reply. I can play the file after I've converted it with mplayer and the index is fine. So I don't think -forceidx will do anything.

There were video files on the device which came with it when I bought it and I can fast forward those videos fine. However, I transferred one of those files from the device to my computer and renamed it. I then transferred that file back to the device and it is unable to fast forward etc. Hence, something is going wrong when I transfer these files to the device. I just don't know what.

From what I've read, the device is an MTP device so I tried to look for libmtp in aptitude but it wasn't there, so I had do install the source package from the libmtp website. Once installed, it left a bunch of executables:

mtp-delfile - deletes files from device
mtp-files - lists files on the device
mtp-getfile - gets a file from the device
mtp-sendfile - send a file to the device

There are more, but these are the ones ive used. So when I use 'mtp-sendfile' it does something to the file which won't let me fast forward. I'm clueless.

Last edited by Tommo; 09-18-2008 at 12:11 PM.
 
Old 01-09-2009, 05:17 PM   #4
bug?
LQ Newbie
 
Registered: Jan 2009
Location: Stockholm, Sweden
Distribution: Linpus Linux Lite v1.0.11.E
Posts: 1

Rep: Reputation: 0
Hi,
The problem is mtp-sendfile doesn't send any meta-data describing the file, it seems the Zen needs the track length to handle FF/RW.

Sending with mtp-sendtr instead -

/usr/local/bin/mtp-sendtr u2.avi u2.avi
libmtp version: 0.3.3

PTP: Opening session
u2.avi,u2.avi,(null),(null),(null),(null),(null),(null),00,0,0
Sending track u2.avi to u2.avi
type:avi,8
Title> U2
Album> U2
Album artist> U2
Artist> U2
Writer or Composer> U2
Genre> rock
Track number> 1
Year> 2004
Length> 228
Sending track:
Codec: Audio Video Interleave
Title: U2
Album: U2
Album artist: U2
Artist: U2
Writer or Composer: U2
Genre: rock
Year: 2004
Track no: 1
Length: 228
Storage ID: 0
Sending track...
Progress: 25604828 of 25604828 (100%)
New track ID: 94879
Album doesn't exist: creating...
success!
PTP: Closing session

resolves the problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creative zen vision m the trooper Linux - Newbie 3 08-13-2008 01:55 PM
Creative Zen in Slackware arubin Slackware 5 06-11-2008 12:01 PM
Creative Zen for Video Podcasts on linux? Or What's your PMP? mlitty Linux - General 4 11-28-2007 01:07 AM
Creative Zen v plus Jodie_ns Linux - Hardware 6 08-02-2007 11:18 PM
creative zen popcorn5714 Linux - Hardware 1 12-04-2006 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration