Re: [maemo-users] Video encoding script
On Fri, 2006-04-14 at 14:41 -0400, Hilary Miller wrote: I've tracked back my problem. Ubuntu is vague on whether or not a usb transfer has finished or not. I've also noticed this problem. With unclean unmount the MMC may get corrupted and becomes read-only and there may be lost free space. I usually run 'sync' command after unmounting 770 in Ubuntu. If the MMC gets corrupted it has to be reformatted to get back lost space and write capability. I think this is a bug somewhere, but i'm not sure where it should be filed (Gnome, Ubuntu, or some other bugzilla). -- -- Ville Ranki oh3gbq [EMAIL PROTECTED] 040-757 2533 http://www.iki.fi/~cos/ ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
On 4/15/06, Ville Ranki [EMAIL PROTECTED] wrote: I've also noticed this problem. With unclean unmount the MMC may getcorrupted and becomes read-only and there may be lost free space. Iusually run 'sync' command after unmounting 770 in Ubuntu. If the MMCgets corrupted it has to be reformatted to get back lost space and write capability. Thats exactly what happened to me. I didn't mention it, but my mmc card went mysteriously read-only and I had to reformat it sometime during my playback troubleshooting.-- Hil ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
Hilary Miller wrote: Thats exactly what happened to me. I didn't mention it, but my mmc card went mysteriously read-only and I had to reformat it sometime during my playback troubleshooting. It seems to me that the system needs to be notified if the file system fails consistency check (e.g. the kernel throws an error accessing the files) and in such a case the user should be informed and an automatic fsck should be done to fix the problem. That's also why I'd really love to see the option of formatting the card as ext3 rather than FAT - I'd much rather have a journaling file system, and I don't care about compatibility with Windows. ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
On 4/13/06, inode0 [EMAIL PROTECTED] wrote: On 4/13/06, Hilary Miller [EMAIL PROTECTED] wrote: but whenever the resulting video file is large, like 100megs, the nokia refuses to play it with a generic video playback error. Does anyone watch large video files on their nokia? Am I the only one having this problem? I have an episode of a TV show I created to test the video with and it plays fine. It is about 140M in size. I'll check my notes at home later to see exactly what mencoder voodoo I used to create it. For fun I encoded a 2 hour movie last night using lxdvdrip, mencoder, and ffmpeg. It came out a little over 400MB in size and downloaded via a browser fine. Seems to have good audio sync. I didn't do anything fancy really. After running lxdvdrip I needed to fix the audio to something ffmpeg could handle with mencoder foo.vob -o foo.avi -ovc copy -oac mp3lame and then ran a two pass ffmpeg conversion with ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -s 352:208 -b 400 -pass 1 outfile.avi ffmpeg -i infile -vcodec mpeg4 -acodec mp3 -s 352:208 -b 400 -pass 2 outfile.avi I think someone else suggested the manner of ffmpeg conversion I used elsewhere. John ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
I've tracked back my problem. Ubuntu is vague on whether or not a usb transfer has finished or not. I was copying the files to the disk, waiting for the progress dialog to finish, then unmounting the nokia using the gui. The disk icon would then disappear and I would unplug the device. However, they had not fully transferred. The hard part was that I could play the currupt video files with mplayer on the desktop so I assumed nothing was wrong with the integrity of the files, I suppose mplayer is more robust in its playback.When I transfer the files and unmount the nokia on the commandline, the unmount command doesn't exit till it is truely finished and this way is working for me now. Thanks,HilOn 4/13/06, Hilary Miller [EMAIL PROTECTED] wrote: but whenever the resulting video file is large, like 100megs, the nokia refuses to play it with a generic video playback error. Does anyone watch large video files on their nokia? Am I the only one having this problem? -- Hil ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
Ville Here's a simple video encoding script to encode videos easily to 770 format. Maybe it'll be useful for someone: http://www.cs.tut.fi/~ranki/projects/encode770/ fwiw, I tried a couple of these with video that had no audio sync problems and it always played on the 770 with sync problems. argh. Brad ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
I've used mencoder in the following waymencoder %anymovie% -oac mp3lame -lameopts abr:br=64 -ovc lavc -lavcopts vcodec=mpeg4:mbd=1:vbitrate=300 -vf scale=240:144 -ffourcc DIVX -ofps 25000/1001 -o %anymovie_now_nokia770_sized%.avibut whenever the resulting video file is large, like 100megs, the nokia refuses to play it with a generic video playback error. Does anyone watch large video files on their nokia? Am I the only one having this problem? Speaking of large files, I'm dissapointed that the browser application refuses to download large 100megabyte files by simply greying out the save and open buttons while leaving only cancel. If anyone has had any luck with this I'd love to hear about it. -Hil ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hilary Miller escreveu: I've used mencoder in the following way mencoder %anymovie% -oac mp3lame -lameopts abr:br=64 -ovc lavc -lavcopts vcodec=mpeg4:mbd=1:vbitrate=300 -vf scale=240:144 -ffourcc DIVX -ofps 25000/1001 -o %anymovie_now_nokia770_sized%.avi but whenever the resulting video file is large, like 100megs, the nokia refuses to play it with a generic video playback error. Does anyone watch large video files on their nokia? Am I the only one having this problem? Speaking of large files, I'm dissapointed that the browser application refuses to download large 100megabyte files by simply greying out the save and open buttons while leaving only cancel. If anyone has had any luck with this I'd love to hear about it. Hi. I don't think that the size of the files is the issue. I have 2 movies with more than 200Mb that play nicelly. It took a few seconds to lad but the player works fine. I'm using a 2 pass process like this: mencoder $FILE -o $OUT -sub $SUB -subfont-text-scale 4 -subcp latin1 -oac lavc -lavcopts acodec=mp3:abitrate=$ABR -ovc lavc -lavcopts vcodec=mpeg4:autoaspect:vbitrate=$VBR:vpass=1:turbo -vf scale=$RES - -ffourcc DIVX -idx mencoder $FILE -o $OUT -sub $SUB -subfont-text-scale 4 -subcp latin1 -oac lavc -lavcopts acodec=mp3:abitrate=$ABR -ovc lavc -lavcopts vcodec=mpeg4:autoaspect:vbitrate=$VBR:vpass=2 -vf scale=$RES -ffourcc DIVX -idx []s Adilson. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEPq/GOaiOIwPtZ0YRAtTqAKC6NJ2j3s4q82SUjlONFg7ehO4QagCeN2+o sPklUBZvA3Up0L2RDvpJM2Y= =3OyO -END PGP SIGNATURE- ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users
Re: [maemo-users] Video encoding script
Here's a simple video encoding script to encode videos easily to 770 format. Maybe it'll be useful for someone: http://www.cs.tut.fi/~ranki/projects/encode770/ fwiw, I tried a couple of these with video that had no audio sync problems and it always played on the 770 with sync problems. argh. I've found that some, but not all, videos have audio sync problems when played on the 770. The same files play fine in other media players on a variety of desktop workstations. The bad files are encoded using the same settings as other good files. I've tried encoding with Kontori's MediaConverter, and with mencoder directly using a variety of settings. I think there may be a bug in video player, but haven't been able to reproduce the problem with a redistributable file yet, so haven't been able to file a reproducible bug. Have you tested the files elsewhere to confirm that the audio sync is actually encoded wrong, and not simply being played back incorrectly on the 770? Also, I've heard unsubstantiated rumors that simply nudging the player timeline can sometimes (often? always?) fix the problem. Mike ___ maemo-users mailing list maemo-users@maemo.org https://maemo.org/mailman/listinfo/maemo-users