Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. <olgson> Help, Help everybody. Another problem, this time with YT streaming. I've a video clip which I would like to play in a loop for some time. I'm testing right now short clip (10s) which I want to loop. File was already encoded before:
  2. <olgson> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 4007 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
  3. <olgson> Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, s16p, 320 kb/s (default)
  4. <olgson> What I would like to do now is to stream it without recompression: ffmpeg -re -stream_loop 1 -i "$SOURCE" -codec copy -f flv "$YOUTUBE_URL/$KEY"
  5. <olgson> The problem I get :
  6. <olgson> [flv @ 0x2299e00] Failed to update header with correct duration.ate=1158.8kbits/s speed= 1x
  7. <olgson> [flv @ 0x2299e00] Failed to update header with correct filesize.
  8. <olgson> + one more case - streaming of 1st run of clip works fine - I have slight problem after clip finishes and FFMPEG tries to do something between playing it once again (during clip streaming speed= 1x , after clip finishes speed rises to 2x / 3x and it "hangs" for some time before it start to stream it again)
  9. <olgson> it might be correlated with header updating - my guess
  10. <olgson> [libmp3lame @ 0x3227be0] Trying to remove 1152 samples, but the queue is empty
  11. <olgson> [libmp3lame @ 0x3227be0] Trying to remove 1152 more samples than there are in the queue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement