Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. file 'video1.mp4'
  2. file 'video2.mp4'
  3. file 'videoN.mp4'
  4.  
  5. ffmpeg -re -stream_loop -1 -f concat -safe 0 -i ./test.txt -bsf:v h264_mp4toannexb -c copy ./test.m3u8
  6.  
  7. $ ffmpeg -re -stream_loop -1 -f concat -safe 0 -i ./test.txt -bsf:v h264_mp4toannexb -c copy ./test.m3u8
  8. ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  9. built with Apple LLVM version 7.3.0 (clang-703.0.31)
  10. configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
  11. libavutil 55. 28.100 / 55. 28.100
  12. libavcodec 57. 48.101 / 57. 48.101
  13. libavformat 57. 41.100 / 57. 41.100
  14. libavdevice 57. 0.101 / 57. 0.101
  15. libavfilter 6. 47.100 / 6. 47.100
  16. libavresample 3. 0. 0 / 3. 0. 0
  17. libswscale 4. 1.100 / 4. 1.100
  18. libswresample 2. 1.100 / 2. 1.100
  19. libpostproc 54. 0.100 / 54. 0.100
  20. [matroska,webm @ 0x7f9791809c00] Auto-inserting h264_mp4toannexb bitstream filter
  21. Input #0, concat, from './test.txt':
  22. Duration: N/A, start: 0.000000, bitrate: N/A
  23. Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
  24. Metadata:
  25. HANDLER_NAME : VideoHandler
  26. DURATION : 00:00:10.046000000
  27. Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp
  28. Metadata:
  29. DURATION : 00:00:10.001000000
  30. [hls @ 0x7f979105a600] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
  31. Last message repeated 1 times
  32. Output #0, hls, to './test.m3u8':
  33. Metadata:
  34. encoder : Lavf57.41.100
  35. Stream #0:0: Video: h264, yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
  36. Metadata:
  37. HANDLER_NAME : VideoHandler
  38. DURATION : 00:00:10.046000000
  39. Stream #0:1(eng): Audio: opus, 48000 Hz, stereo
  40. Metadata:
  41. DURATION : 00:00:10.001000000
  42. Stream mapping:
  43. Stream #0:0 -> #0:0 (copy)
  44. Stream #0:1 -> #0:1 (copy)
  45. Press [q] to stop, [?] for help
  46. Error while filtering: Illegal seek time=00:00:09.60 bitrate=N/A speed= 1x
  47. frame= 220 fps= 22 q=-1.0 Lsize=N/A time=00:00:09.98 bitrate=N/A speed=0.998x
  48. video:4821kB audio:152kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement