**** BEGIN LOGGING AT Fri Aug 03 03:00:00 2018 Aug 03 17:10:35 Do any of you happen to have some sensible video recoding suggestions for the N900? Aug 03 17:11:16 I imagine that "ffmpeg" is the best tool, but which are the best parameters, if I'm going to play the videos on my N900? Aug 03 17:13:31 (I'm going to live in a tent for four days.) Aug 03 18:06:00 sparre: please elaborate Aug 03 18:06:47 what's wrong with maemo's very own genuine camera and mediaplayer? Aug 03 18:07:43 I have some existing videos in MKV format, which I wish to recode for play-back on an N900. Aug 03 18:08:33 They are a bit large (close to 4 Gb/hour), so I consider recoding in a slightly lower quality. Aug 03 18:09:03 I intend to use the built-in mediaplayer, but it can't handle any format. Aug 03 18:09:29 I haven't tried with my MKV files because they are a bit large. Aug 03 18:11:34 aaah Aug 03 18:23:08 what worked for me in internal player is https://pastebin.com/aLNvAyPm Aug 03 19:04:53 /home/jr/Documents/N900/backup/MyDocs/.videos/Dr__House_10.11.17_00-35_rtl_50_TVOON_DE.mpg.avi: RIFF (little-endian) data, AVI, 640 x 360, 25.00 fps, video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 44100 Hz) Aug 03 19:05:07 sparre: ^^^ HTH Aug 03 19:40:46 Thanks. Aug 03 20:27:06 640x360 seems small though Aug 03 20:56:25 800*480 prolly would be optimum (wild guess) but I dodn't see that option for download Aug 03 20:57:39 then, I wanted the stuff for plaback via CVBS to a TV composite input, and for that 640*400 sounds pretty fine Aug 03 20:58:45 640*360 proly results in a 10% aspect ratio error on TV, which should be OKish stll Aug 03 20:59:37 whatever, rhis is what worked for me, on holidays Aug 03 20:59:56 Note that the video resolution alone does not necessarily tell you the overall aspect ratio. Aug 03 21:00:29 using N900 and video cable for watching movies on arbitrary TVs Aug 03 21:00:38 (all commonly used video encodings today support a non-1:1 pixel aspect ratio) Aug 03 21:02:20 on the subject of videos, i have a video that is aboit 2hours 10 minutes long. but on N900, it always hangs at 71 minutes. however, the same file plays in its entirety on laptop. Aug 03 21:02:21 sure I've seen better quality movie playback before, but hey for holiday when you don't want to bring your VDR or DVD-player Aug 03 21:03:11 if anyone has a hint/suggestion, i'd be happy to try it Aug 03 21:03:19 sicelo: you found a toxic sequence for the H.nnn decoder Aug 03 21:03:50 it's a bug in N900 driver and DSP I guess Aug 03 21:05:50 should i try a different codec maybe? right now, according to OpenMediaPlayer, coded is MPEG-4 video Aug 03 21:06:16 for fame and fun you could try truncate the video material down to that one second or one master and n times i-frames that cause the hang, then publish that as bug ticket Aug 03 21:07:11 for just "fixing" the issue, simply resample/recode/transcode the whole video file Aug 03 21:08:49 If it's DSP, presumably reencoding the audio should suffice. Aug 03 21:09:14 which is relatively quick: ffmpeg -i foo.mkv -vcodec copy -acodec mp3 foo-out.mkv Aug 03 21:10:02 (since the main expensive thing in encoding is the video, and with the command above, it just copies the video stream instead of reencoding it) Aug 03 21:10:04 i'll try that. Aug 03 21:10:52 (`mp3` might have to be `mp3lame` or `libmp3lame` or something .. try looking through `ffmpeg -codecs` if none of those work) Aug 03 21:14:24 if you could spot the segment that contains the toxic sequence we could either try to fix the DSP decoder or even build a simplistic filter like `sed -i media.avi 's/($part1)$part2($part3)/\1$DUMMY\1/g'` Aug 03 21:16:26 how could we fix dsp decoder? Aug 04 01:43:01 What is TV? ;-) **** ENDING LOGGING AT Sat Aug 04 02:59:59 2018