android
  #1  
Old 02-10-2008, 04:12 PM
averylinden averylinden is offline
Junior Member
 
Join Date: Feb 2008
Posts: 8
Default Converting with Mencoder

I've had my Zen a few days and I've started to re-encode some video for it. I'm a linux user and pretty handy with mencoder. After reading some of the posts about settings, I used this command line for 2-pass mencoder encoding:

Quote:
mencoder -quiet myfile.avi -ovc xvid -xvidencopts pass=1:profile=dxnportntsc:bitrate=-253303:me_quality=6:chroma_opt:autoaspect:trellis: vhq=4:quant_type=h263 -oac copy -vf crop=572:352:52:0,scale=320:240,harddup -o myzenfile.avi
These files play on the Zen and look great, but in the display, they show up as total time: --:--:-- and I can't fast forward or rewind properly. I tried rebuilding the avi index with -idx and -forceidx and that still doesn't seem to work.

Is there an mencoder option I am missing to allow the Zen to seek through my mencoder video file? Thanks in advance.
Reply With Quote

 
  #2  
Old 02-20-2008, 08:27 AM
gukin gukin is offline
Junior Member
 
Join Date: Feb 2008
Posts: 5
Default

AVI files do not allow seeking forwards or backwards IF they're incomplete. Did your encoding get interrupted? Have you tried playing the file using mplayer? Does it seek correctly?
Reply With Quote
  #3  
Old 02-20-2008, 09:51 AM
averylinden averylinden is offline
Junior Member
 
Join Date: Feb 2008
Posts: 8
Default

Yes they work fine through the stock ubuntu mplayer and also with XBMC. I can ffd/rew and also see the total video length using those players.
Reply With Quote
  #4  
Old 02-22-2008, 05:15 PM
gukin gukin is offline
Junior Member
 
Join Date: Feb 2008
Posts: 5
Default

Okay, I've got my Zen so I'm not talking out my backside anymore. Here's what I've found.

I bought the cheapie 2GB player but added a 4G SD card.

The video WON'T seek from the player memory but WILL seek on the SD card. I'm not sure why but it might have something to do with gnomad not getting the full file across.

In any case, I can seek when the videos are on the SD card.

Here's the mencoder magic I used:

mencoder $1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=512:vhq:keyint=250:threads=2 -oac mp3lame -lameopts cbr:br=64 -ffourcc XVID -vf scale=320:-2,crop=320:240,expand=320:240 -af resample=44100:0:0 -o $2

If you don't have an SD card, Sears has 4G PNY cards on sale until 2/23/08
Reply With Quote
  #5  
Old 02-22-2008, 06:00 PM
averylinden averylinden is offline
Junior Member
 
Join Date: Feb 2008
Posts: 8
Default

I think it's gnomad. When I transfer the videos over on Windows, they behave correctly on the player. Time to see if there are any open bugs in gnomad! Thanks for the tip...
Reply With Quote
  #6  
Old 09-07-2008, 02:44 PM
RogerTango's Avatar
RogerTango RogerTango is offline
Junior Member
 
Join Date: Sep 2008
Posts: 33
Default

Try Any Video Converter... Mencoder is the engine, but they figured it out somehow, and at this point, my Xvid/MP3 AVIs have been working fine!

I have not had a chance to check yet, but all my videos are on SD card. There was a problem I found with videos that were stored directly in the Zen's memory. Ill have a chance to check that later and post a follow up!

Andrew
Reply With Quote
  #7  
Old 09-21-2008, 09:38 PM
kevo777 kevo777 is offline
Member
 
Join Date: Mar 2008
Location: Dallas, Texas
Posts: 114
Default

Since he mentioned being a Linux user, I don't think Any Video Converter is an option. AVC is a Windows-based GUI for Mencoder.
__________________

Reply With Quote
  #8  
Old 09-22-2008, 02:41 PM
mc.p2 mc.p2 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 67
Default

I had the exact same problem with videos not seeking. It is not the encoding, it is the transferring, Gnomad doesn't seem to transfer videos properly. I use Banshee for videos (make sure it is a newer version, the older versions don't support video) and it works with the same videos that didn't work when transferred with Gnomad.
Reply With Quote
  #9  
Old 09-23-2008, 08:12 PM
RogerTango's Avatar
RogerTango RogerTango is offline
Junior Member
 
Join Date: Sep 2008
Posts: 33
Default

I have to update my reply, I have had very limited success with AVI files on the Zen. Once in a while I can make one that plays, seeks and syncs (A/V) properly. Much better success is had with WMV, but even at that... the encoder is key.

See other post here for more details on properly encoding WMV for the Zen.

HTH,
Andrew
Reply With Quote
  #10  
Old 11-12-2008, 06:08 PM
kevinm kevinm is offline
Junior Member
 
Join Date: Nov 2008
Posts: 1
Default

The seeking problems I've seen have all been related to using mtp from the desktop. Banshee seems to not strip away the video length information that maybe needed for proper seeking. Videos copied with Banshee seek fine.

I AM having painful problems getting any video's the stay in sync. Anything over about 15-20 minutes will start to have sync problems which get worse the longer the video.

I've tried mencoder with the -audio-delay switch but this setting gets ignored by the Zen. This probably wouldn't be a solution anyways since the audio sync gets worse over the duration so a fixed offset wouldn't help.

I could not get anything good from ffmpeg. I have only been converting files from Mythtv using nuvexport. transcode and mencoder options work but not ffmpeg.

Maybe I should return the Zen and get something else.
Reply With Quote
  #11  
Old 11-17-2008, 03:15 PM
BobbyRS's Avatar
BobbyRS BobbyRS is offline
Ultra Senior Member
 
Join Date: Oct 2007
Location: USA
Posts: 6,575
Default

Quote:
Originally Posted by kevinm View Post
I've tried mencoder with the -audio-delay switch but this setting gets ignored by the Zen. This probably wouldn't be a solution anyways since the audio sync gets worse over the duration so a fixed offset wouldn't help.
I saw this post today regarding Mencoder.... maybe it can help.
__________________
.
~Light travels faster than sound, which is why some people appear to be bright until they speak~

Zen FAQ
Reply With Quote
  #12  
Old 02-20-2009, 10:32 AM
anthony.phipps anthony.phipps is offline
Junior Member
 
Join Date: Feb 2009
Posts: 2
Default gnomad2

its 100% a gnomad2 problem.

if you use an SD card, you are bypassing gnomad2 and therefore the video index is copied over. Supposedly they fixed this issue in a recent version but mine still does this on 64bit Fedora 10
Reply With Quote
  #13  
Old 02-21-2009, 07:22 PM
BobbyRS's Avatar
BobbyRS BobbyRS is offline
Ultra Senior Member
 
Join Date: Oct 2007
Location: USA
Posts: 6,575
Default

Quote:
Originally Posted by anthony.phipps View Post
its 100% a gnomad2 problem.

if you use an SD card, you are bypassing gnomad2 and therefore the video index is copied over. Supposedly they fixed this issue in a recent version but mine still does this on 64bit Fedora 10
Good to know. Thanks for posting!
__________________
.
~Light travels faster than sound, which is why some people appear to be bright until they speak~

Zen FAQ
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:20 AM.