Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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:
- <olgson> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 4007 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
- <olgson> Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, s16p, 320 kb/s (default)
- <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"
- <olgson> The problem I get :
- <olgson> [flv @ 0x2299e00] Failed to update header with correct duration.ate=1158.8kbits/s speed= 1x
- <olgson> [flv @ 0x2299e00] Failed to update header with correct filesize.
- <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)
- <olgson> it might be correlated with header updating - my guess
- <olgson> [libmp3lame @ 0x3227be0] Trying to remove 1152 samples, but the queue is empty
- <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