sparre | Do any of you happen to have some sensible video recoding suggestions for the N900? | 19:10 |
---|---|---|
sparre | 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? | 19:11 |
sparre | (I'm going to live in a tent for four days.) | 19:13 |
DocScrutinizer05 | sparre: please elaborate | 20:06 |
DocScrutinizer05 | what's wrong with maemo's very own genuine camera and mediaplayer? | 20:06 |
sparre | I have some existing videos in MKV format, which I wish to recode for play-back on an N900. | 20:07 |
sparre | They are a bit large (close to 4 Gb/hour), so I consider recoding in a slightly lower quality. | 20:08 |
sparre | I intend to use the built-in mediaplayer, but it can't handle any format. | 20:09 |
sparre | I haven't tried with my MKV files because they are a bit large. | 20:09 |
DocScrutinizer05 | aaah | 20:11 |
DocScrutinizer05 | what worked for me in internal player is https://pastebin.com/aLNvAyPm | 20:23 |
DocScrutinizer05 | /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) | 21:04 |
DocScrutinizer05 | sparre: ^^^ HTH | 21:05 |
sparre | Thanks. | 21:40 |
sicelo | 640x360 seems small though | 22:27 |
DocScrutinizer05 | 800*480 prolly would be optimum (wild guess) but I dodn't see that option for download | 22:56 |
DocScrutinizer05 | then, I wanted the stuff for plaback via CVBS to a TV composite input, and for that 640*400 sounds pretty fine | 22:57 |
DocScrutinizer05 | 640*360 proly results in a 10% aspect ratio error on TV, which should be OKish stll | 22:58 |
DocScrutinizer05 | whatever, rhis is what worked for me, on holidays | 22:59 |
Maxdamantus | Note that the video resolution alone does not necessarily tell you the overall aspect ratio. | 22:59 |
DocScrutinizer05 | using N900 and video cable for watching movies on arbitrary TVs | 23:00 |
Maxdamantus | (all commonly used video encodings today support a non-1:1 pixel aspect ratio) | 23:00 |
sicelo | 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. | 23:02 |
DocScrutinizer05 | 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 | 23:02 |
sicelo | if anyone has a hint/suggestion, i'd be happy to try it | 23:03 |
DocScrutinizer05 | sicelo: you found a toxic sequence for the H.nnn decoder | 23:03 |
DocScrutinizer05 | it's a bug in N900 driver and DSP I guess | 23:03 |
sicelo | should i try a different codec maybe? right now, according to OpenMediaPlayer, coded is MPEG-4 video | 23:05 |
DocScrutinizer05 | 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 | 23:06 |
DocScrutinizer05 | for just "fixing" the issue, simply resample/recode/transcode the whole video file | 23:07 |
Maxdamantus | If it's DSP, presumably reencoding the audio should suffice. | 23:08 |
Maxdamantus | which is relatively quick: ffmpeg -i foo.mkv -vcodec copy -acodec mp3 foo-out.mkv | 23:09 |
Maxdamantus | (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) | 23:10 |
sicelo | i'll try that. | 23:10 |
Maxdamantus | (`mp3` might have to be `mp3lame` or `libmp3lame` or something .. try looking through `ffmpeg -codecs` if none of those work) | 23:10 |
DocScrutinizer05 | 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'` | 23:14 |
sicelo | how could we fix dsp decoder? | 23:16 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!