Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback doesn't start #4

Open
hadess opened this issue Mar 20, 2015 · 1 comment
Open

Playback doesn't start #4

hadess opened this issue Mar 20, 2015 · 1 comment

Comments

@hadess
Copy link

hadess commented Mar 20, 2015

For testing purposes, I downloaded http://yts.to/torrent/download/726E8B9C912596AD21278BBEF45C3C460900F35D.torrent

And tried with both the command-line mentioned in the README, and through gst-play-1.0 to start the playback, and I got:

0:00:00.045889755 12468      0x1e2d4a0 DEBUG                btdemux src/gst_bt_demux.cpp:782:gst_bt_demux_sink_chain:<btdemux0> Received buffer
0:00:00.045960767 12468      0x1e2d4a0 DEBUG                btdemux src/gst_bt_demux.cpp:782:gst_bt_demux_sink_chain:<btdemux0> Received buffer
0:00:00.045992323 12468      0x1e2d4a0 DEBUG                btdemux src/gst_bt_demux.cpp:782:gst_bt_demux_sink_chain:<btdemux0> Received buffer
0:00:00.046028512 12468      0x1e2d4a0 DEBUG                btdemux src/gst_bt_demux.cpp:782:gst_bt_demux_sink_chain:<btdemux0> Received buffer
0:00:00.046053650 12468      0x1e2d4a0 DEBUG                btdemux src/gst_bt_demux.cpp:810:gst_bt_demux_sink_event:<btdemux0> Received EOS
0:00:00.047534685 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'torrent_added_alert'
0:00:00.047564283 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'add_torrent_alert'
0:00:00.047576307 12468 0x7f355006bd90 INFO                 btdemux src/gst_bt_demux.cpp:1192:gst_bt_demux_handle_alert:<btdemux0> Start downloading
0:00:00.047586259 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:1195:gst_bt_demux_handle_alert:<btdemux0> num files: 2, num pieces: 740, piece length: 2097152
0:00:00.047691068 12468 0x7f355006bd90 INFO                 btdemux src/gst_bt_demux.cpp:1230:gst_bt_demux_handle_alert:<btdemux0> Adding stream src_00 for file 'Muck (2015) [1080p]/Muck.2015.1080p.BluRay.x264.YIFY.mp4',  start_piece: 0, start_offset: 0, end_piece: 738, end_offset: 2016417
0:00:00.047748724 12468 0x7f355006bd90 INFO                 btdemux src/gst_bt_demux.cpp:1230:gst_bt_demux_handle_alert:<btdemux0> Adding stream src_01 for file 'Muck (2015) [1080p]/WWW.YTS.RE.jpg',  start_piece: 738, start_offset: 2016417, end_piece: 739, end_offset: 127312
0:00:00.048017934 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'torrent_resumed_alert'
0:00:00.048044393 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'state_changed_alert'
0:00:00.048060888 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'torrent_checked_alert'
0:00:00.048643308 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:1140:gst_bt_demux_activate_streams:<btdemux0> Requesting stream src_00
0:00:00.048660117 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:397:gst_bt_demux_stream_activate:<'':src_00> Activating stream 'src_00', start: 0, start_offset: 0, end: 738, end_offset: 2016417, current: -1
0:00:00.048689828 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:362:gst_bt_demux_stream_add_piece:<'':src_00> Adding more pieces at 0, current: -1, max: 3
0:00:00.048733825 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:379:gst_bt_demux_stream_add_piece:<'':src_00> Requesting piece 0, prio: 7, current: -1, 
0:00:00.048747964 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:362:gst_bt_demux_stream_add_piece:<'':src_00> Adding more pieces at 1, current: -1, max: 3
0:00:00.048785286 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:379:gst_bt_demux_stream_add_piece:<'':src_00> Requesting piece 1, prio: 7, current: -1, 
0:00:00.048797928 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:362:gst_bt_demux_stream_add_piece:<'':src_00> Adding more pieces at 2, current: -1, max: 3
0:00:00.048829247 12468 0x7f355006bd90 DEBUG                btdemux src/gst_bt_demux.cpp:379:gst_bt_demux_stream_add_piece:<'':src_00> Requesting piece 2, prio: 7, current: -1, 
0:00:00.048893512 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'state_changed_alert'

0:00:00.048905283 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'torrent_finished_alert'
0:00:00.048914343 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'state_changed_alert'
0:00:00.127667707 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'tracker_error_alert'
0:00:00.210610891 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'external_ip_alert'
0:00:17.105567413 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'tracker_error_alert'
0:01:12.123228984 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'tracker_error_alert'
0:03:09.139556910 12468 0x7f355006bd90 LOG                  btdemux src/gst_bt_demux.cpp:1175:gst_bt_demux_handle_alert:<btdemux0> Received alert 'tracker_error_alert'

And it stops there. Maybe there's a genuine error, which would be fine, but it doesn't get back to the caller. Or maybe it's the lack of feedback mentioned in issue #2.

@turran
Copy link
Owner

turran commented Mar 20, 2015

Just tested the same torrent, is working here. The 'tracker_error_alert' is not a critical error, but an informative one, in case the tracker fails too many times, such tracker is dropped. See the libtorrent documentation.

You need to be patient with the torrent :). Even if the buffering says it is 0%, there's no way to increase the buffering level by bytes received from trackers, I had to do it by completed pieces received, the current number of pieces to get a 100% is 3, so you'll see the buffering increasing by 33% each time, but nothing in the middle. Of course depending on the bandwidth you might end having to wait a lot before the three pieces are completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants