jphastings/AirVideo — Issue #1: live_url not working
Author: rb2k
Created: 2011-12-25 16:27:21+00:00
State: open

Hey, just wanted to make sure that this should be working.
When trying to stream the live_url in anything (html video tag, mplayer, quicktime, vlc, ...) I can't get it to work.

This is what the airvideo-server does while working on something triggered by the iphone app:

/usr/share/air-video-server/ffmpeg --segment-length 4 --segment-offset 0
--conversion-id 24517349-1e6a-400c-9ca5-d764c7c2fc7abca05a50-243c-4c55-b009-d245ffd6a62f
--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_threshold 40 -i_qfactor 0.71 -qcomp 0.6 -map 0.0:0.0 -map 0.1:0.1
-ss 0.0 -i /mnt/storage/media/documentaries/something.mkv -vf "crop=788:460:0:0, scale=402:232" -aspect 402:232
-y -f mpegts -vcodec libx264 -bufsize 1024k -b 200k -bt 220k -qmax 48 -qmin 2 -r 23.976 -acodec libmp3lame -ab 48k -ar 48000 -ac 2 -
DEBUG: LiveConversion: >>

This is the result of calling one of the generated live-streaming links:

/usr/share/air-video-server/ffmpeg segmenter 10 0
DEBUG: LiveConversion: >>
346E68693468737A697E347A7269366D727F7E7436687E696D7E69347D7D766B7E7C3B687E7C767E756F7E693B2A2B3B2B
<<

DEBUG: LiveConversion: Real amount of segments: 0
DEBUG: LiveConversion: Encoder thread exception: IOException - Broken pipe
DEBUG: Segmenter: Stream closed
DEBUG: LiveConversion: Encoder Process Done, closing segmenter.

We seem to be missing some important params :)