maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Converting video on the tablet? (https://talk.maemo.org/showthread.php?t=29266)

grog 2010-03-31 20:08

Re: Converting video on the tablet? ffmpeg2theora
 
Quote:

Originally Posted by zimon (Post 579054)
btw, whether in PC (Linux, Windows, ...) or in tablet (if you get ffmpeg2theora compiled), I've found ffmpeg2theora to be best transcoding software for videos to be watched on N900.
http://v2v.cc/~j/ffmpeg2theora/download.html

Thanks for the tip, but I can't seem to get kmplayer/mplayer or the default media player to play these files. Do I need to install extra codecs from somewhere? TX

zimon 2010-03-31 20:17

Re: Converting video on the tablet? ffmpeg2theora
 
Quote:

Originally Posted by grog (Post 590354)
Thanks for the tip, but I can't seem to get kmplayer/mplayer or the default media player to play these files. Do I need to install extra codecs from somewhere? TX

gstreamer0.10-theora and libtheora0 packages from maemo.org repository.
Code:

# dpkg -L gstreamer0.10-theora
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/gstreamer0.10-theora
/usr/share/doc/gstreamer0.10-theora/NEWS.gz
/usr/share/doc/gstreamer0.10-theora/AUTHORS
/usr/share/doc/gstreamer0.10-theora/README.Debian
/usr/share/doc/gstreamer0.10-theora/copyright
/usr/share/doc/gstreamer0.10-theora/README.gz
/usr/share/doc/gstreamer0.10-theora/changelog.Debian.gz
/usr/lib
/usr/lib/gstreamer-0.10
/usr/lib/gstreamer-0.10/libgsttheora.so

# dpkg -L libtheora0
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libtheora0
/usr/share/doc/libtheora0/AUTHORS
/usr/share/doc/libtheora0/copyright
/usr/share/doc/libtheora0/README.gz
/usr/share/doc/libtheora0/changelog.gz
/usr/lib
/usr/lib/libtheora.so.0.3.8
/usr/lib/libtheoradec.so.1.1.2
/usr/lib/libtheoraenc.so.1.1.2
/usr/lib/libtheora.so.0
/usr/lib/libtheoradec.so.1
/usr/lib/libtheoraenc.so.1


dbs11 2010-03-31 20:28

Re: Converting video on the tablet?
 
((probably not the best thread to mention)) but i used Windows Movie Maker on Windows 7 to compile about 40 JPEG files into a Movie. I wanted to create something similar to a MarvelComics movie at the beginning where you see a comic book flicker. So i managed that with Movie Maker and have this video play when my phone switches on (instead of the nokia handshake).

grog 2010-03-31 21:02

Re: Converting video on the tablet? ffmpeg2theora
 
Quote:

Originally Posted by zimon (Post 590366)
gstreamer0.10-theora and libtheora0 packages from maemo.org repository.

Thanks for that, but it only got me part way - I get just sound. When I run mplayer from the command line, I can see it recognizing the audio tracks but not the video. I can play the file(s) properly on my linux desktop using mplayer, so I know it's not the file.

Code:

$ mplayer movie.ogv
MPlayer SVN-r30099-4.2.1 (C) 2000-2009 MPlayer Team

Playing movie.ogv.
Ogg stream 0 is of an unknown type
Ogg stream 1 is of an unknown type
[Ogg] stream 2: audio (Vorbis), -aid 0
Ogg file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 80.0 kbit/5.21% (ratio: 10000->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[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)
Video: no video
Starting playback...
A:  2.0 (02.0) of 7037.6 ( 1:57:17.5)  3.2%                                                                                                         

MPlayer interrupted by signal 2 in module: play_audio
A:  2.3 (02.3) of 7037.6 ( 1:57:17.5)  3.2%                                                                                                         
Exiting... (Quit)

TX

zimon 2010-03-31 21:13

Re: Converting video on the tablet?
 
Mplayer does not use gstreamer (it is an old monolith design, like Wordperfect). And it seems they have not compiled theora support into Maemo Mplayer.

Try with the standard media player which came with N900 after you have those theora libs installed. It works for me.

grog 2010-03-31 21:37

Re: Converting video on the tablet?
 
Quote:

Originally Posted by zimon (Post 590426)
Mplayer does not use gstreamer (it is an old monolith design, like Wordperfect)

Ah, someone else who remembers the old CHUI WordPerfect, eh? :)

Quote:

Try with the standard media player which came with N900 after you have those theora libs installed. It works for me.
mmm, I had tried that first, I get the error "Video Codec not supported" :(. This is after a reboot too.

I also tried installing ogg-support, which works when I use the file manager to open the video, but plays very choppy. And then the Media Player doesn't pick up anything else automatically (i.e. the file associations are lost, I suppose?). So I ditched that.

I'll just go back to using Tablet-encode. Always worked for my N800 & N810 ;).

Thanks anyway.

zimon 2010-03-31 21:53

Re: Converting video on the tablet?
 
I have also these packages installed which may make the difference:
ogg-support
libogg0
gstreamer0.10-ogg
tracker-extractor-vorbis
libvorbis0a
libvorbisfile3
libtheora0
gstreamer0.10-theora

grog 2010-04-01 01:53

Re: Converting video on the tablet?
 
Quote:

Originally Posted by zimon (Post 590465)
I have also these packages installed which may make the difference:
ogg-support
libogg0
gstreamer0.10-ogg
tracker-extractor-vorbis
libvorbis0a
libvorbisfile3
libtheora0
gstreamer0.10-theora

I installed them all, rebooted, made no difference. Video is choppy & Media Player (or whatever scans the device for multimedia files) doesn't pick up anything anymore. Annoying.

Now what's even more annoying is that even after I removed all the packages & rebooted, Media Player is still not picking up any files. :confused: Great, looks like something got borked. :( I'll have to try to fix that tomorrow.

Again thanks for trying but I'll stick with avi's. haveahappy :)

zimon 2010-04-01 12:24

Re: Converting video on the tablet?
 
Quote:

Originally Posted by grog (Post 590692)
I installed them all, rebooted, made no difference. Video is choppy & Media Player (or whatever scans the device for multimedia files) doesn't pick up anything anymore. Annoying.

The file tracker, the daemon which identifies and categorises files, is not run always. There may be some logic to run it only at nights or when connected to PSU for charging. I noticed one night, when suddenly CPU usage was all the time 100% and at 600 MHz for quite some time, that "tracker" was the culprit. But after it has done it job, the device was idle again.

Shame you didn't get it working. Ogg, Vorbis and Theora would be the "politically" correct targets to transcode media-files to. :)

grog 2010-04-01 15:42

Re: Converting video on the tablet?
 
Quote:

Originally Posted by zimon (Post 591257)
The file tracker, the daemon which identifies and categorises files, is not run always. There may be some logic to run it only at nights or when connected to PSU for charging. I noticed one night, when suddenly CPU usage was all the time 100% and at 600 MHz for quite some time, that "tracker" was the culprit. But after it has done it job, the device was idle again.

Shame you didn't get it working. Ogg, Vorbis and Theora would be the "politically" correct targets to transcode media-files to. :)

I'll probably try it again sometime.

Unfortunately my N900 has been on all night & morning & there's still not any files showing in MP. I rebooted I left it for a while, still nothing.

Hopefully I'll have more time to "play" later. If it turns into a real problem I can't solve or find a post that does I'll post it in another thread. Don't want to get off track here.TX


All times are GMT. The time now is 21:21.

vBulletin® Version 3.8.8