[OpenIndiana-discuss] Fwd: Comments, please! problem with ffmpeg that seems to be a problem with OI at driver or basic library level

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Wed May 22 16:04:20 UTC 2013


On Wed, 22 May 2013, Hans J. Albertsson wrote:

> (The below is a conversation between me and a former colleague from Sun)
> Published here in an anonymous form.
>
> --------
> This is what I got from first (by mistake) truss -T pollsys and then 
> (intended) truss -T poll
>
> ff_network_wait_fd_timeout() + 8c.... What's that??? Must be in ffmpeg 
> somewhere, judging by its name.
>
> hans at klaus%64%11:24> ps -fe | grep ffmpeg
>    hans 29998 26978   1 11:24:56 pts/6       0:14 ffmpeg -i 
> http://svtplay10i-f.akamaihd.net/i/se/open/20130510/1283828-004A/ENDE
>    hans 29961     1   0   maj 15 ?           1:04 /usr/local/bin/ffmpeg -i 
> http://svtplay10i-f.akamaihd.net/i/se/open/20130510/12
>    hans     7 22527   0 11:27:49 pts/4       0:00 grep ffmpeg
> hans at klaus%65%11:27> ptree 29998
> 3153  /usr/sbin/gdm-binary
>  3668  /usr/lib/gdm-simple-slave --display-id 
> /org/gnome/DisplayManager/Displa
>    3794  /usr/lib/gdm-session-worker
>      3801  gnome-session
>        4012  gnome-terminal --sm-client-id 
> 108f7b70c3cc7f14f013637904873352500
>          26978 tcsh
>            29998 ffmpeg -i 
> http://svtplay10i-f.akamaihd.net/i/se/open/20130510
> hans at klaus%66%11:28> truss -T pollsys -p 29998
> pollsys(0x08046798, 1, 0x08046748, 0x00000000)    = 0
> hans at klaus%67%11:28>
> hans at klaus%67%11:28>
> hans at klaus%67%11:28>
> hans at klaus%67%11:28> pstack 29998
> 29998:    ffmpeg -i 
> http://svtplay10i-f.akamaihd.net/i/se/open/20130510/1283828-
> fef141f5 pollsys  (8046798, 1, 8046748, 0)
> feea4fa6 poll     (8046798, 1, 64, fef01058, 5, 0) + 4c
> fd2db96c ff_network_wait_fd_timeout () + 8c
> hans at klaus%68%11:29>
> hans at klaus%68%11:29> truss -T poll -p 29998
> pollsys(0x08046798, 1, 0x08046748, 0x00000000)    = 0
> pollsys(0x08046798, 1, 0x08046748, 0x00000000)    = 0
> hans at klaus%69%11:30> pstack 29998
> 29998:    ffmpeg -i 
> http://svtplay10i-f.akamaihd.net/i/se/open/20130510/1283828-
> fef141f5 pollsys  (8046798, 1, 8046748, 0)
> feea4fa6 poll     (8046798, 1, 64, fef01058, 5, 0) + 4c
> fd2db96c ff_network_wait_fd_timeout () + 8c
> hans at klaus%70%11:30>

Does the ffmpeg code you are using still look like the implementation 
viewable at http://ffmpeg.org/doxygen/trunk/network_8c_source.html?

The code spins with a 100ms poll timeout until data is ready, an error 
occurs, or an overall timeout time has expired.

Bob



More information about the OpenIndiana-discuss mailing list