[Logo] Air Video Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
Messages posted by: dreamkp
Forum Index » Profile for dreamkp » Messages posted by dreamkp
Author Message
have you read this post http://forum.qnap.com/viewtopic.php?f=177&t=32731&start=0
it lists the steps needed for installation on a qnap, may be adopted for your system

my movies are all mkv 1025x576 h264/ac3/aac and the qnap transcodes them fine
for future recordings i switched to m4v with h264/ac3/aac to be able to do native streaming with full quality

kind regards,
dreamkp


nice one. implemented the hack on my nas and now i can watch the whole mkv library without cpu consuming live conversion.
tried 10 movies so far and all played fine.

one nasty side effect. i can't jump to a specific position. video must be started from beginning. pause/play does work fine.


would be nice to have this feature as an experimental function build into avs.
many things started with an idea which sounds difficult. avs linux support was unpopular at first, but now it's the post with the most views and replies and people like me switched from win to lin
btw, the linux version should be listed in the main announcements http://www.inmethod.com/forum/forums/show/3.page
it has deserved it!

kind regards,
dreamkp
here's some more info http://www.inmethod.com/forum/posts/list/450/34.page#12890

i gave it a try and i'm really happy i did

kind regards,
dreamkp
unknown_inc wrote:
AirVideoServer Alpha versions:
AirVideoServerLinux Alpha 1 - http://inmethod.com/air-video/download/linux/alpha1/AirVideoServerLinux.jar

AirVideoServerLinux Alpha 2 - http://inmethod.com/air-video/download/linux/alpha2/AirVideoServerLinux.jar (Currently recommended for WAN Live Streaming)

AirVideoServerLinux Alpha 3 - http://inmethod.com/air-video/download/linux/alpha3/AirVideoServerLinux.jar

AirVideoServerLinux Alpha 4 - http://inmethod.com/air-video/download/linux/alpha4/AirVideoServerLinux.jar

This post will be updated with new information now and then, so check back for updates




is AirVideoServerLinux Alpha 4 comparable to 2.4.0 of the windows version?
should i upgrade my ipad/ipod client to the latest version (available today) or should i wait cause it may stop working correctly?

thx and kind regards,
dreamkp
i have a similar situation. the video format is m4v containing video as x264 / 1st audio track ac3(ger) / 2nd audio track aac(ger)
- video playback (native) is working on ipad and itouch3g
- audio playback works only on the ipad (after starting the video i have a little speech bubble on the left side of the video controls which lets me choose the audio track during playback)
- this audio control is missing on the ipt3g and the ac3 track is played which sounds a bit funny, meaning unuseable *g*

is there an explanation for this behaviour? does the iphone 4g have this audio control or is it an ipad only gimmick?

kind regards,
dreamkp

i simply want to say thank you for this nice piece of software.
i used it for quite some time with an ipod and ipad client, served by a windows machine.
recently i bought a linux nas (qnap) and started investigations on how to run avs on it. with the help of this and the qnap forums i was able to achieve that goal. qnap-howto -> http://forum.qnap.com/viewtopic.php?f=177&t=32731&start=0
having read that live conversion on a nas is unlikely to work, i thought i would have to remux my whole library from mkv(x264/ac3) to mp4(x264/ac3/aac) and started making tests. remuxing of some testmovies went fine and fast and native streaming from the nas via avs is working excellent.
cause i'm a natural lazy but curious guy i started to playing around with the live conversion, hoping to avoid library remuxing. the results were surprisingly positive.
ipod is doing fine in every resolution and max. bandwith. the ipad will work without interruption up to a horizontal resolution of around 640-720px. one have to play a bit with the conversion settings because the results are a bit different from movie to movie. even if they have the same video size and codec. finding the lower limit that works fine with many movies is a quick task and if your sources are of good quality the results will still look good on the ipad. sharp and without visible artifacts.

below are some test results. maybe it is useful for someone comparing them with there own system.
at the end of the post is a whole debug output of a conversion start. could be helpful for comparing ffmpeg build options, etc.

kind regards,
dreamkp

===================================================================================================
some tests and comparisons with ipod/ipad and different resolutions doing live conversion
as long as the framerate stays at 25fps or above i had no buffer interruptions (test play length between 4 and 10 minutes)

---------------------------------------------------------------------------------------------------------------------
QNAP TS-459 Pro Turbo NAS
Intel® Atom™ 1.66 GHz (Dual-Core)
1GB DDR2 RAM

Video Source: mkv with x264/AC3 / 1024x576px / 16:9 / 25fps
DEBUG: MkvSubtitles: Loaded MKV file; Listing tracks:
DEBUG: MkvSubtitles: Track 1 null; type: 1; codec: V_MPEG4/ISO/AVC; lang: null
DEBUG: MkvSubtitles: Track 2 null; type: 2; codec: A_AC3; lang: deu
DEBUG: LiveConversion: Encoder Process Done, closing segmenter.
---------------------------------------------------------------------------------------------------------------------
iPad: Live Conversion fine with max. Width: 576px / max. Height: 320px / Bandwith: 2048 kbit/s
(CPU Idle drops from 100% to 45-50%, 27% User, 28% Nice)
DEBUG: LiveConversion: Getting segment 24
DEBUG: Encoder: frame= 6190 fps= 28 q=14.0 size= 55974kB time=246.20 bitrate=1862.5kbits/s dup=5 drop=0
DEBUG: Encoder: frame= 6337 fps= 28 q=14.0 size= 57368kB time=252.08 bitrate=1864.3kbits/s dup=5 drop=0
DEBUG: LiveConversion: Getting segment 25
DEBUG: Encoder: frame= 6487 fps= 28 q=15.0 size= 58827kB time=258.08 bitrate=1867.3kbits/s dup=5 drop=0
DEBUG: Segmenter: Wrote segment 25
---

iPad: Live Conversion ok with max. Width: 720px / max. Height: 416px / Bandwith: 2048 kbit/s
every 4-5 minutes a short buffer (2-3sec), really watchable and my favorite (depending on the movie the conv size has to be adjusted a little bit, to stay near or better at/above 25fps)
(CPU Idle drops from 100% to 22%, 27% User, 51% Nice)
DEBUG: LiveConversion: Getting segment 62
DEBUG: Encoder: frame=15604 fps= 23 q=17.0 size= 144493kB time=622.76 bitrate=1900.7kbits/s dup=5 drop=0
DEBUG: Encoder: frame=15749 fps= 23 q=15.0 size= 145886kB time=628.56 bitrate=1901.3kbits/s dup=5 drop=0
---

iPad: Live Conversion with max. Width: 880px / max. Height: 496px / Bandwith: 2048 kbit/s
twice a minute a short buffer (1-5sec), gets better the longer the video plays, but the quality gain is not really visible, fps is starting to drop noticeable
(CPU Idle drops from 100% to 18-20%, 25% User, 57% Nice)
DEBUG: LiveConversion: Getting segment 62
DEBUG: Encoder: frame=15676 fps= 19 q=20.0 size= 145035kB time=625.64 bitrate=1899.1kbits/s dup=5 drop=0
DEBUG: Encoder: frame=15788 fps= 19 q=19.0 size= 146093kB time=630.12 bitrate=1899.3kbits/s dup=5 drop=0
---

iPad: Live Conversion with max. Width: 1024px / max. Height: 576px / Bandwith: 2048 kbit/s
twice (sometimes only once) a minute a long buffer (8-10sec), no real fun
(CPU Idle drops from 100% to 14-18%, 21% User, 65% Nice)
DEBUG: LiveConversion: Getting segment 62
DEBUG: Encoder: frame=15689 fps= 18 q=20.0 size= 144333kB time=626.16 bitrate=1888.3kbits/s dup=5 drop=0
DEBUG: Encoder: frame=15797 fps= 18 q=22.0 size= 145319kB time=630.48 bitrate=1888.2kbits/s dup=5 drop=0



-----------

iPod: Live Conversion fine with max. Width: 320px / max. Height: 176px / Bandwith: 2048 kbit/s
(CPU Idle drops from 100% to 68-65%, 25% User, 10% Nice)
DEBUG: LiveConversion: Getting segment 25
DEBUG: Encoder: frame= 6352 fps= 29 q=7.0 size= 57171kB time=252.68 bitrate=1853.5kbits/s dup=5 drop=0
DEBUG: Encoder: frame= 6503 fps= 29 q=7.0 size= 58609kB time=258.72 bitrate=1855.8kbits/s dup=5 drop=0
DEBUG: Segmenter: Wrote segment 25
---

iPod: Live Conversion fine with max. Width: 512px / max. Height: 288px / Bandwith: 2048 kbit/s
(CPU Idle drops from 100% to 48-55%, 27% User, 25% Nice)
DEBUG: LiveConversion: Getting segment 62
DEBUG: Encoder: frame=16862 fps= 29 q=20.0 size= 157472kB time=673.08 bitrate=1916.6kbits/s dup=5 drop=0
DEBUG: Encoder: frame=16992 fps= 29 q=17.0 size= 158727kB time=678.28 bitrate=1917.0kbits/s dup=5 drop=0
---

iPod: Live Conversion fine with max. Width: 640px / max. Height: 368px / Bandwith: 2048 kbit/s
(CPU Idle drops from 100% to 25-35%, 28% User, 47% Nice)
DEBUG: LiveConversion: Getting segment 62
DEBUG: Encoder: frame=15612 fps= 26 q=16.0 size= 145022kB time=623.08 bitrate=1906.7kbits/s dup=5 drop=0
DEBUG: Encoder: frame=15760 fps= 27 q=15.0 size= 146453kB time=629.00 bitrate=1907.4kbits/s dup=5 drop=0
---



===================================================================================================
live conversion debug output on qnap nas:


DEBUG: MkvSubtitles: Loaded MKV file; Listing tracks:
DEBUG: MkvSubtitles: Track 1 null; type: 1; codec: V_MPEG4/ISO/AVC; lang: null
DEBUG: MkvSubtitles: Track 2 null; type: 2; codec: A_AC3; lang: deu
/share/MD0_DATA/.qpkg/Optware/bin/ffmpeg --conversion-id bdc865eb-2501-427d-802d-532d2a5017fb --port-number 46631 -threads 4 -flags2 +fast -flags +loop -g 30 -keyint_min 1 -bf 0 b_strategy 0 -flags2 -wpred-dct8x8 -cmp +chroma -deblockalpha 0 -deblockbeta 0 -refs 1 -coder 0 -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -trellis 0 -sc_threshld 40 -i_qfactor 0.71 -qcomp 0.6 -map 0.0:0.0 -map 0.1:0.1 -ss 0.0 -i /share/Filme/Film.mkv -cropleft 0 -cropright 0 -croptop 0 -cropbottom 0 -s 640x288 -aspect 2.222223 -y -f mpegts -vcodec libx264 -bufsize 512k -b 1700k -bt 1800k -qmax 48 -qmin 2 -r 25.0 -acodec libmp3lame -ab 192k -ar 48000 -vol 472 -ac 2 -
DEBUG: LiveConversion: >>
3468737A697E34565F2B445F5A4F5A34356A6B707C34546B6F6C7A697E34797275347D7D766B7E7C3B36367874756D7E696872747536727F3B797F78
232D2E7E7936292E2B2A362F292C7F36232B297F362E28297F297A2E2B2A2C7D793B36366B74696F36756E76797E693B2F2D2D282A3B366F73697E7A
7F683B2F3B367D777A7C68293B307D7A686F3B367D777A7C683B307774746B3B367C3B282B3B36707E6272756F447672753B2A3B36797D3B2B3B3679
44686F697A6F7E7C623B2B3B367D777A7C68293B366C6B697E7F367F786F2363233B3678766B3B3078736974767A3B367F7E79777478707A776B737A
3B2B3B367F7E7977747870797E6F7A3B2B3B36697E7D683B2A3B3678747F7E693B2B3B36767E44697A757C7E3B2A2D3B36686E796A3B2E3B366B7A69
6F726F727475683B306B7A696F722F632F306B7A696F72236323306B7A696F6B2363233B366F697E777772683B2B3B366878446F73697E687374777F
3B2F2B3B3672446A7D7A786F74693B2B352C2A3B366A7874766B3B2B352D3B36767A6B3B2B352B212B352B3B36767A6B3B2B352A212B352A3B366868
3B2B352B3B36723B3468737A697E345F746C7577747A7F345D7277767E345A757A6F7476727E3576706D3B367869746B777E7D6F3B2B3B367869746B
69727C736F3B2B3B367869746B6F746B3B2B3B367869746B79746F6F74763B2B3B36683B2D2F2B632923233B367A686B7E786F3B2935292929292929
283B36623B367D3B766B7E7C6F683B366D78747F7E783B77727963292D2F3B36796E7D6872617E3B2E2A29703B36793B2A2C2B2B703B36796F3B2A23
2B2B703B366A767A633B2F233B366A7672753B293B36693B292E352B3B367A78747F7E783B777279766B28777A767E3B367A793B2A2229703B367A69
3B2F232B2B2B3B366D74773B2F2C293B367A783B293B36
<<
DEBUG: Encoder: FFmpeg version UNKNOWN, Copyright (c) 2000-2010 Fabrice Bellard, et al.
DEBUG: Encoder: built on Sep 4 2010 19:53:44 with gcc 4.2.1
DEBUG: Encoder: configuration: --prefix=/opt --enable-gpl --enable-libfaad --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libvorbis --enable-libtheora --enable threads --disable-shared --enable-static --disable-decoder=aac
DEBUG: Encoder: libavutil 50. 8. 0 / 50. 8. 0
DEBUG: Encoder: libavcodec 52.52. 0 / 52.52. 0
DEBUG: Encoder: libavformat 52.50. 0 / 52.50. 0
DEBUG: Encoder: libavdevice 52. 2. 0 / 52. 2. 0
DEBUG: Encoder: libswscale 0.10. 0 / 0.10. 0
DEBUG: Encoder: [matroska @ 0x8bef540]Unknown entry 0x80
DEBUG: Encoder: [matroska @ 0x8bef540]Estimating duration from bitrate, this may be inaccurate
DEBUG: Encoder:
DEBUG: Encoder: Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 25.00 (25/1)
DEBUG: Encoder: Input #0, matroska, from '/share/Filme/Film.mkv':
DEBUG: Encoder: Duration: 01:30:21.36, start: 0.000000, bitrate: N/A
DEBUG: Encoder: Stream #0.0(eng): Video: h264, yuv420p, 1024x464 [PAR 519:512 DAR 519:232], PAR 74:73 DAR 4736:2117, 25 fps, 25 tbr, 1k tbn, 180k tbc
DEBUG: Encoder: Stream #0.1(deu): Audio: ac3, 48000 Hz, 6 channels, s16
DEBUG: Encoder: [libx264 @ 0x948bb30]VBV maxrate unspecified, assuming CBR
DEBUG: Encoder: [libx264 @ 0x948bb30]using SAR=1/1
DEBUG: Encoder: [libx264 @ 0x948bb30]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowCTZ SlowAtom
DEBUG: Encoder: [libx264 @ 0x948bb30]profile Baseline, level 2.1
DEBUG: Encoder: Output #0, mpegts, to 'pipe:':
DEBUG: Encoder: Stream #0.0(eng): Video: libx264, yuv420p, 640x288 [PAR 1:1 DAR 20:9], q=2-48, 1700 kb/s, 90k tbn, 25 tbc
DEBUG: Encoder: Stream #0.1(deu): Audio: libmp3lame, 48000 Hz, 2 channels, s16, 192 kb/s
DEBUG: Encoder: Stream mapping:
DEBUG: Encoder: Stream #0.0 -> #0.0
DEBUG: Encoder: Stream #0.1 -> #0.1
DEBUG: Encoder: Press [q] to stop encoding
DEBUG: Encoder: frame= 20 fps= 0 q=10662501.0 size= 1kB time=0.84 bitrate= 5.4kbits/s dup=5 drop=0
/share/MD0_DATA/.qpkg/Optware/bin/ffmpeg segmenter 10 0
DEBUG: LiveConversion: >>
3468737A697E34565F2B445F5A4F5A34356A6B707C34546B6F6C7A697E34797275347D7D766B7E7C3B687E7C767E756F7E693B2A2B3B2B
<<
DEBUG: Encoder: frame= 148 fps= 26 q=17.0 size= 1050kB time=4.52 bitrate=1902.6kbits/s dup=5 drop=0
DEBUG: Segmenter: [mpegts @ 0x8bee120]max_analyze_duration reached
DEBUG: Segmenter: [mpegts @ 0x8bee120]Estimating duration from bitrate, this may be inaccurate
DEBUG: Segmenter: Output #0, mpegts, to '':
DEBUG: Segmenter: Stream #0.0: Video: libx264, yuv420p, 640x288, q=2-31, 90k tbn, 25 tbc
DEBUG: Segmenter: Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, 192 kb/s
DEBUG: Segmenter: [mpegts @ 0x8bfb3f0]stream 0, bit rate is not set, this will cause problems
DEBUG: Segmenter: Offsetting timestamps by:0.000000
DEBUG: Segmenter: [mpegts @ 0x8bfb3f0]st:1 error, non monotone timestamps 63000 >= 63000
DEBUG: Encoder: frame= 281 fps= 26 q=14.0 size= 2280kB time=9.84 bitrate=1898.3kbits/s dup=5 drop=0
DEBUG: Segmenter: Wrote segment 0
DEBUG: LiveConversion: Getting segment 1
DEBUG: Encoder: frame= 431 fps= 27 q=13.0 size= 3674kB time=15.84 bitrate=1900.1kbits/s dup=5 drop=0
 
Forum Index » Profile for dreamkp » Messages posted by dreamkp
Go to:   
Powered by JForum 2.1.8 © JForum Team