Advertisement
Guest User

Untitled

a guest
Oct 24th, 2012
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. # READ FROM PIPE: FAILS
  2. % ffmpeg -i - -an -r 25 -f rawvideo -vcodec rawvideo -pix_fmt yuv420p - < input.mp4 > output.mp4 ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  3. built on Oct 22 2012 12:39:32 with Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
  4. configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  5. libavutil 51. 73.101 / 51. 73.101
  6. libavcodec 54. 59.100 / 54. 59.100
  7. libavformat 54. 29.104 / 54. 29.104
  8. libavdevice 54. 2.101 / 54. 2.101
  9. libavfilter 3. 17.100 / 3. 17.100
  10. libswscale 2. 1.101 / 2. 1.101
  11. libswresample 0. 15.100 / 0. 15.100
  12. libpostproc 52. 0.100 / 52. 0.100
  13. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fea2301ae00] stream 0, offset 0x2c: partial file
  14. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fea2301ae00] Could not find codec parameters for stream 0 (Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 316 kb/s): unspecified size
  15. Consider increasing the value for the 'analyzeduration' and 'probesize' options
  16. pipe:: could not find codec parameters
  17. %
  18.  
  19. # READ FROM FILE: WORKS
  20. % ffmpeg -i input.mp4 -an -r 25 -f rawvideo -vcodec rawvideo -pix_fmt yuv420p output.rawyuv
  21. ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  22. built on Oct 22 2012 12:39:32 with Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
  23. configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  24. libavutil 51. 73.101 / 51. 73.101
  25. libavcodec 54. 59.100 / 54. 59.100
  26. libavformat 54. 29.104 / 54. 29.104
  27. libavdevice 54. 2.101 / 54. 2.101
  28. libavfilter 3. 17.100 / 3. 17.100
  29. libswscale 2. 1.101 / 2. 1.101
  30. libswresample 0. 15.100 / 0. 15.100
  31. libpostproc 52. 0.100 / 52. 0.100
  32. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  33. Metadata:
  34. major_brand : isom
  35. minor_version : 512
  36. compatible_brands: isomiso2mp41
  37. creation_time : 1970-01-01 00:00:00
  38. encoder : Lavf53.4.0
  39. Duration: 00:00:10.00, start: 0.000000, bitrate: 318 kb/s
  40. Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 512x288 [SAR 1:1 DAR 16:9], 316 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
  41. Metadata:
  42. creation_time : 1970-01-01 00:00:00
  43. handler_name : VideoHandler
  44. Output #0, rawvideo, to 'output.rawyuv':
  45. Metadata:
  46. major_brand : isom
  47. minor_version : 512
  48. compatible_brands: isomiso2mp41
  49. encoder : Lavf54.29.104
  50. Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p, 512x288 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
  51. Metadata:
  52. creation_time : 1970-01-01 00:00:00
  53. handler_name : VideoHandler
  54. Stream mapping:
  55. Stream #0:0 -> #0:0 (mpeg4 -> rawvideo)
  56. Press [q] to stop, [?] for help
  57. frame= 250 fps=0.0 q=0.0 Lsize= 54000kB time=00:00:10.00 bitrate=44236.8kbits/s
  58. video:54000kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000
  59. %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement