Notices


Reply
Thread Tools
Posts: 24 | Thanked: 8 times | Joined on Nov 2009 @ Moscow, Russia
#1
Guys, I want to cry already
Please help, Linux users.


We have
1.avi
1.***
2.avi
2.***

The task is to batch convert videos to n900 format(maybe with hardsub? Is mplayer can display subtitles correctly on n900?
Using testing-extras.


Yes, im anime fan Sorry also for my English, this is my first post.
If I've chosen wrong forum, please move it to correct

upd.

*** is a subtitle format, A S S ))

Last edited by nshelekhov; 2009-12-01 at 23:04.
 
Posts: 24 | Thanked: 8 times | Joined on Nov 2009 @ Moscow, Russia
#2
Also it will be good to know the best format N900 can handle.
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#3
There is no "N900 format". There are some standard formats that the N900 supports, though. :-)

From http://maemo.nokia.com/n900/specifications/ :
Video playback file formats: .mp4, .avi, .wmv, .3gp;
codecs: H.264, MPEG-4, Xvid, WMV, H.263
__________________
maemo.org Bugmaster
 

The Following User Says Thank You to Andre Klapper For This Useful Post:
Johnx's Avatar
Posts: 643 | Thanked: 628 times | Joined on Mar 2007 @ Seattle (or thereabouts)
#4
@nshelekhov: Pretty sure mplayer on the N900 can handle A.S.S. subtitle format. Have you used mplayer on the command line before? If not, then you might want to re-encode on the desktop to use "hard subs."

-John
 
Posts: 24 | Thanked: 8 times | Joined on Nov 2009 @ Moscow, Russia
#5
@Johnx yeah, thank you for your reply, I'll try that. Can you recommend soft for hardsubbing files via command line?

@Andre Klapper but what parameters must I set while encoding video for N900?
 
Posts: 24 | Thanked: 8 times | Joined on Nov 2009 @ Moscow, Russia
#6
UP
I have found some hardsubbed files, but N900 is completely slow at them(starting normally but it gets really stuck after a few seconds), although the size of the video is less then N900 screen size.
Can it be because of high bitrate? That video was converted for PSP.
 
Posts: 24 | Thanked: 8 times | Joined on Nov 2009 @ Moscow, Russia
#7
UP
This is what mplayer exactly outputs:
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
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 Full metal alchemist - 01.mp4.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 480x272 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
[pulse] working around probably broken pause functionality,
see http://www.pulseaudio.org/ticket/440
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.76:1 - prescaling to correct movie aspect.
VO: [xv] 480x272 => 480x272 Planar YV12
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#8
MPlayer really needs to be compiled with NEON to have a chance at h264/avc1, but neon is proving to be somewhat difficult atm. I suspect someone needs to get a recent gcc and crosscompile it outside scratchbox.

The N900 specs mention h.264, but in tests I was unable to produce any playable h264 except h264 baseline. Most files on the internet are not baseline.
 

The Following User Says Thank You to shadowjk For This Useful Post:
Posts: 24 | Thanked: 8 times | Joined on Nov 2009 @ Moscow, Russia
#9
Mplayer output on n900:
MPlayer UNKNOWN-4.2.1 (C) 2000-2009 MPlayer Team

Playing Full metal alchemist - 01.mp4.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 480x272 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
================================================== ========================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.76:1 - prescaling to correct movie aspect.
VO: [xv] 480x272 => 480x272 Planar YV12
[AO_ALSA] Write error: Broken pipe 0.000 0/ 0 ??% ??% ??,?% 0 0
[AO_ALSA] Trying to reset soundcard.
A: 3.0 V: 2.3 A-V: 0.696 ct: -0.017 0/ 0 106% 13% 13.6% 50 0

************************************************
**** Your system is too SLOW to play this! ****
************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
 
Posts: 24 | Thanked: 8 times | Joined on Nov 2009 @ Moscow, Russia
#10
After -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all
and framedrop parameters it seems to be a bit more faster, but sometimes framedrop is very high.

If I play this file with -nosound - and it goes perfect, maybe it is problem with sound?

...

It seems that I should reencode my videofiles to xvid because standart movie player is using hardware acceleration..

Last edited by nshelekhov; 2009-12-02 at 01:23. Reason: :( problem still persist
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:36.