AirVideo icon indicating copy to clipboard operation
AirVideo copied to clipboard

live_url not working

Open rb2k opened this issue 14 years ago • 1 comments

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 :)

rb2k avatar Dec 25 '11 16:12 rb2k

Hi there,

Seems that the pull request i've proposed here fix this =)

Regards,

Regis A. Despres

kalw avatar Mar 26 '12 13:03 kalw