You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to play multicast stream encoded with h264.The player versions are 2.0.1 - 2.0.3. The only message from player is STATE_BUFFERING and nothing else happens. I recorded this stream to file and checked it again streaming with ffmpeg -re -i file2.ts -c copy -f mpegts udp://235.10.20.6:1234, but the result is the same. If I transcode this stream like ffmpeg -re -i file2.ts -c:v h264 -f mpegts udp://235.10.20.6:1234 it plays fine.
I have tried it on 2 android stb Vermax HD100 and MXQ.
The recorded stream appears to have no IDR frames. Try setting FLAG_ALLOW_NON_IDR_KEYFRAMES to treat non-IDR I frames as synchronization samples. This makes the video play on my test device.
I am trying to play multicast stream encoded with h264.The player versions are 2.0.1 - 2.0.3. The only message from player is STATE_BUFFERING and nothing else happens. I recorded this stream to file and checked it again streaming with ffmpeg -re -i file2.ts -c copy -f mpegts udp://235.10.20.6:1234, but the result is the same. If I transcode this stream like ffmpeg -re -i file2.ts -c:v h264 -f mpegts udp://235.10.20.6:1234 it plays fine.
I have tried it on 2 android stb Vermax HD100 and MXQ.
recorded file: https://drive.google.com/file/d/0B94UQVn8v02YcXlnSEZST3ctem8/view?usp=sharing
bugreport https://drive.google.com/file/d/0B94UQVn8v02YbnRQRG9ZSHRQV1k/view?usp=sharing
Handler mainHandler = new Handler();
TrackSelector trackSelector = new DefaultTrackSelector(mainHandler);
LoadControl loadControl = new DefaultLoadControl();
pl = ExoPlayerFactory.newSimpleInstance(ctx, trackSelector, loadControl);
DataSource.Factory udsf = new UdpDataSource.Factory(){
@Override
public DataSource createDataSource() {
return new UdpDataSource(null, 1500);
}}
videoSource = new ExtractorMediaSource(uri, udsf, TsExtractor.FACTORY, null,null)
pl.setPlayWhenReady(false);
pl.prepare(_videoSource);
The text was updated successfully, but these errors were encountered: