Active Topics

 



Notices


Reply
Thread Tools
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#11
Bump.

The problem hasn't automagically gone away. My setup is still the same as in the first post, and the outcome is still the same:

Mplayer starts to drop both frames and audio (likely to stay in sync with video) after between 10:30 and 11:49 minutes of playback. Halting mplayer and resuming makes the problem go away -- until another ten to eleven and a half minutes have passed. I am now in the -- for me -- surreal situation that the built-in Media Player is actually better than mplayer, and I don't like it one bit. With the crawler disabled, the userfriendliness of Media Player is below that of mplayer with its GUI-ish frontend.

I've tried different transcoders, but as they all use mencoder as the backend, they unsurprisingly made no difference at all. I'm going to try a clip with PocketDivxEncoder, but I've had rather disappointing results with that transcoder and mplayer/Maemo in the past.

PS: Oh. Forgot: I tried a different card (2GB, no speed mention) and it plays in exactly the same way, i.e.: not very well.
__________________
Watch out Nokia, Pandora's box has opened (sorta)...
I do love explaining cryptic sigs, but for the impatient: http://www.openpandora.org/
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#12
Okay, in spite of the obvious lack of interest in this thread, I'll just muddle on, shall I?

I tried transcoding a file with PocketDivXEncoder (incidentally, my transcoder of choice for everything not Nokia) and, provided I set "Xvid" in the advanced options, these files play back in mplayer without any of the stuttering I experienced before.

Now, while at first this may seem like a result, it gets me seriously wondering. PocketDivxEncoder also uses mencoder, but obviously it does something that all of the regular N8X0 transcoders don't -- at least on my N800.

So, while the problem hasn't been identified, it has at least been solved for my predicament. I'll continue with PocketDivXEncoder (which sadly is slower and, for the N800 at least, not as "automatic" as n800conv) and leave it at that.
__________________
Watch out Nokia, Pandora's box has opened (sorta)...
I do love explaining cryptic sigs, but for the impatient: http://www.openpandora.org/
 
speculatrix's Avatar
Posts: 880 | Thanked: 264 times | Joined on Feb 2007 @ Cambridge, UK
#13
Originally Posted by Karel Jansens View Post
I tried transcoding a file with PocketDivXEncode... uses mencoder, but obviously it does something that all of the regular N8X0 transcoders don't
I seem to remember that p-divx-e will allow you to see the arguments supplied to mencoder. When I wrote a script to transcode movies for various things I used pde to provide a friendly interface whilst I did all my initial hacking... I find I get pretty good results using this script:

http://www.zaurus.org.uk/download/sc...ecode-2pass.sh

--edit--
I have re-encoded a tv program specifically to watch in (k)mplayer using the above program and I will see whether it loses sync after 10-11 mins.

Last edited by speculatrix; 2008-07-30 at 12:14.
 
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#14
Originally Posted by Karel Jansens View Post
Okay, in spite of the obvious lack of interest in this thread, I'll just muddle on, shall I?
There is interest actually. I'm just trying to find some reproducible testcase to provide more usable feedback. A sample of encoded video could help.
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#15
Originally Posted by Serge View Post
There is interest actually. I'm just trying to find some reproducible testcase to provide more usable feedback. A sample of encoded video could help.
It seems that, save for the difference in video codecs, there's another difference between the files, at least when examined by VirtualDub:

The files transcoded by n800videoconv or Konttori's Media Converter all receive a VirtualDub complaint about having variable audio bitrates. Unfortunately I have no idea how to turn that off in those transcoders or even if it's a bad or a good thing.

I'll try to put up a few samples.
__________________
Watch out Nokia, Pandora's box has opened (sorta)...
I do love explaining cryptic sigs, but for the impatient: http://www.openpandora.org/
 
briand's Avatar
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#16
...also might be interesting to see the various parameters being used to create the video file to be used on the N800 during all your trials and tribulations. I have a script on my MythTV box that will transcode (using mencoder) shows that it has recorded from television, and I've never had any problem at all viewing any of the transcoded video on my N800.

Karel -- take a look at the mythtv wiki page: http://www.mythtv.org/wiki/index.php...800_Tablet_PDA ...an earlier version of that page is where I started when I built the script on my system. There's quite a bit more information there explaining the process....
__________________
N800 / OS2008
Now running Canola-free (by invitation) since 2215 UTC 21 May 2008.
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#17
Originally Posted by briand View Post
...also might be interesting to see the various parameters being used to create the video file to be used on the N800 during all your trials and tribulations. I have a script on my MythTV box that will transcode (using mencoder) shows that it has recorded from television, and I've never had any problem at all viewing any of the transcoded video on my N800.

Karel -- take a look at the mythtv wiki page: http://www.mythtv.org/wiki/index.php...800_Tablet_PDA ...an earlier version of that page is where I started when I built the script on my system. There's quite a bit more information there explaining the process....
PDE uses MAD for audio encoding (128 kbps) and I've selected Xvid as the video encoder (and keep the bitrate to about 500), other than that those settings seem quite similar to what I have PDE do. I'm reasonably certain that the variable audio bitrate is the main culprit, but I can't read "mencoders" well enough to figure out if you have variable audio or not.

MythTV, eh? Is it as good as bittorrent?

Only kidding. I don't have Myth set up, but I do use a "sneaker" version: a DVD recorder, DVD-RW disks and VirtualDub. More work, but it's also more fun.
__________________
Watch out Nokia, Pandora's box has opened (sorta)...
I do love explaining cryptic sigs, but for the impatient: http://www.openpandora.org/
 
briand's Avatar
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#18
Originally Posted by Karel Jansens View Post
PDE uses MAD for audio encoding (128 kbps) and I've selected Xvid as the video encoder (and keep the bitrate to about 500), other than that those settings seem quite similar to what I have PDE do. I'm reasonably certain that the variable audio bitrate is the main culprit, but I can't read "mencoders" well enough to figure out if you have variable audio or not.
> -oac mp3lame -lameopts mode=0:cbr:br=96

"use these audio compression options: mp3lame encoder, with the following parameters - mode 0, constant bitrate, bitrate=96"

Originally Posted by Karel Jansens View Post
MythTV, eh? Is it as good as bittorrent?
...better; it's legal.
__________________
N800 / OS2008
Now running Canola-free (by invitation) since 2215 UTC 21 May 2008.
 
Posts: 51 | Thanked: 9 times | Joined on Jul 2008 @ Hawaii
#19
well, it looks like that the OP's problem has to do with the fact that the other encoders are using the 3ivx codec in an AVI container that's causing the problem or the variable bit mp3 file. I would bet that it's the VBR mp3 that's the culprit and it would be easy to test if you are using virtualDubMod.

for the following, you'll need to have:
VirtualDubMod
a way to make a CBR MP3
the AVI codec of your choice (3ivx, xvid, dvix, etc etc)

Load your file into VDM and go to the streams menu and pull down to Stream List. It will show you the audio stream and you save as WAV, but sometimes it doesn't work at times. Check the file it outputs as if it's the size of an MP3, chances are it is (might have the WAV extension, but it's an MP3). If it doesn't work, use the demux option and then convert the MP3 file to a WAV file... then convert it back to a Constant Bit Rate (CBR) mp3.

Back in VDM and still in the Streams list you were in before, select the audio file and then hit the 'disable' button. Then hit the 'Add' button and go to the CBR mp3 you saved, and it will add it to the streams list. Hit 'Okay' then and it will return you to the main VDM window.

Next, go to the 'file' menu, pull down to 'save as' and it will bring up menu showing the save as options. At the bottom of the window, there are two pull-downs: video mode, and compression. You can change the first one to 'direct stream copy' and it will attempt to just add the new MP3 file to your existing video file (if you have the proper codec involved, that is... I think). If you don't, you can reconvert it into another video codec you do have (I'd suggest xvid, but use what you have). Change 'Video Mode' to 'fast recompress' and 'compression' to your codec of choice. Add a name to your file and hit 'save' and VDM will output your new video file to test out.

or, you can upload it and I could give it a try for ya
 

The Following User Says Thank You to buma For This Useful Post:
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#20
Originally Posted by buma View Post
well, it looks like that the OP's problem has to do with the fact that the other encoders are using the 3ivx codec in an AVI container that's causing the problem or the variable bit mp3 file. I would bet that it's the VBR mp3 that's the culprit and it would be easy to test if you are using virtualDubMod.

for the following, you'll need to have:
VirtualDubMod
a way to make a CBR MP3
the AVI codec of your choice (3ivx, xvid, dvix, etc etc)

Load your file into VDM and go to the streams menu and pull down to Stream List. It will show you the audio stream and you save as WAV, but sometimes it doesn't work at times. Check the file it outputs as if it's the size of an MP3, chances are it is (might have the WAV extension, but it's an MP3). If it doesn't work, use the demux option and then convert the MP3 file to a WAV file... then convert it back to a Constant Bit Rate (CBR) mp3.

Back in VDM and still in the Streams list you were in before, select the audio file and then hit the 'disable' button. Then hit the 'Add' button and go to the CBR mp3 you saved, and it will add it to the streams list. Hit 'Okay' then and it will return you to the main VDM window.

Next, go to the 'file' menu, pull down to 'save as' and it will bring up menu showing the save as options. At the bottom of the window, there are two pull-downs: video mode, and compression. You can change the first one to 'direct stream copy' and it will attempt to just add the new MP3 file to your existing video file (if you have the proper codec involved, that is... I think). If you don't, you can reconvert it into another video codec you do have (I'd suggest xvid, but use what you have). Change 'Video Mode' to 'fast recompress' and 'compression' to your codec of choice. Add a name to your file and hit 'save' and VDM will output your new video file to test out.

or, you can upload it and I could give it a try for ya
I think I've found another way of testing it: Konttori's Media Converter has the option of using Xvid as the video codec, but I've discovered that it still produces VBR sound tracks. I've encoded a file and I'll be testing it on mplayer in a few minutes. If mplayer hickups on it, I'm pretty much sure the VBR is the culprit.

As to your suggestion of using VirtualDub to remedy the audio: I found out that PocketDivXEncoder produces "nice" audio files, so I'm going to use that from now on. It would be nice if it had the Nokia tablets as a preselection, but the hassle is minor (I've sent a request to the developers of PDE to include a Nokia Tablet template).

But thanks nevertheless for the VDM tutorial...
__________________
Watch out Nokia, Pandora's box has opened (sorta)...
I do love explaining cryptic sigs, but for the impatient: http://www.openpandora.org/
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:49.