[mythtv-users] Transcoding for a Nokia N95 (or Symbian)

Xavier Hervy xavier.hervy at bluebottle.com
Mon Apr 6 15:05:40 UTC 2009


Xavier Hervy wrote:
> Ian Barton wrote:
>>> I use Video center to download them to my phone using a rss feed per 
>>> serie as well a a vcfg file to create a "channel" in video center. 
>>> It does work very well. I can provide more infos if you need.
>>
>> Yes please!
>>
>> Ian.
>>
>
> I wrote a php file which generate the vcfg, this script  allow to add 
> a channel in Video center, a channel is basicaly just a rss feed.
> just copy the attached php file on your webserver (the same as mythweb 
> so we can get the thumbnail from it) and open its address with your 
> phone.
> You will see more instructions in the php file itself.
>
> I can not manage to produce valid transcoded video for my phone 
> anymore ,when I try to play them I get "Unable to play either sound or 
> video clip, Trying to play partially" message. The video is working 
> but I get now sound.
> my ffmegg command is:
> ffmpeg -y -i /home/mythtv/recordings/5011_20090103033000.mpg -s 
> 320x240 -r 15 -f mp4 -ac 2 -ar 24000 -ab 64000 -b 250000 
> /var/www/n95/output/5011_20090103033000.mpg.mp4
> FFmpeg version SVN-r15259, Copyright (c) 2000-2008 Fabrice Bellard, et 
> al.
>  configuration: --enable-gpl --enable-pthreads --enable-libvorbis 
> --enable-liba52 --enable-libgsm --enable-libdc1394 --disable-debug 
> --enable-libmp3lame --enable-libfaadbin --enable-libfaad 
> --enable-libfaac --enable-libxvid --enable-libx264 --enable-libamr_nb 
> --enable-libamr_wb --enable-shared --enable-nonfree
>  libavutil     49.10. 0 / 49.10. 0
>  libavcodec    51.71. 0 / 51.71. 0
>  libavformat   52.22. 1 / 52.22. 1
>  libavdevice   52. 1. 0 / 52. 1. 0
>  built on Sep  8 2008 11:40:01, gcc: 4.1.3 20070929 (prerelease) 
> (Ubuntu 4.1.2-16ubuntu2)
> Input #0, mpegts, from '/home/mythtv/recordings/5011_20090103033000.mpg':
>  Duration: 00:34:55.48, start: 7435.765722, bitrate: 4120 kb/s
>  Program 1
>    Stream #0.0[0x12d]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 
> DAR 16:9], 15000 kb/s, 25.00 tb(r)
>    Stream #0.1[0x12e](eng): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
>    Stream #0.2[0x12f](eng): Subtitle: dvbsub
>    Stream #0.3[0x130](eng): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
> Output #0, mp4, to '/var/www/n95/output/5011_20090103033000.mpg.mp4':
>    Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 4:3 DAR 16:9], 
> q=2-31, 250 kb/s, 15.00 tb(c)
>    Stream #0.1(eng): Audio: libfaac, 24000 Hz, stereo, s16, 64 kb/s
> Stream mapping:
>  Stream #0.0 -> #0.0
>  Stream #0.1 -> #0.1
> Press [q] to stop encoding
> [mpeg2video @ 0x80737f0]ac-tex damaged at 17 5=2092.63 bitrate= 
> 314.8kbits/s    [mpeg2video @ 0x80737f0]Warning MVs not available
> [mpeg2video @ 0x80737f0]concealing 1395 DC, 1395 AC, 1395 MV errors
> frame=31433 fps=127 q=6.9 Lsize=   81132kB time=2094.63 bitrate= 
> 317.3kbits/s   video:64131kB audio:16360kB global headers:0kB muxing 
> overhead 0.795891%
>
> I use to be able to transcode them fine for my previous N95. Does 
> anybody have a short transcoded file I could try as well as the exact 
> transcoding  parameter use for ffmpeg ?
> In the meantime it would be nice if some could try one of my 
> transcoding as well.
>
> Regards,
> Xavier
I rebuild my ffmpeg, and it does work fine now, I probably update 
something ...
Xavier


More information about the mythtv-users mailing list