Advertisement
Guest User

Untitled

a guest
Mar 13th, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Command
  2. ffmpeg \
  3.  -i /srv/shared/tmp/upload/9125fdb02e7102ef488091a2ab723fe8.mov \
  4.  -r 25 \
  5.  -map 0 \
  6.  -codec:d copy \
  7.  -acodec libmp3lame \
  8.  -ab 64k \
  9.  -ar 44100 \
  10.  -vcodec flv \
  11.  -b:v 512k \
  12.  -f flv \
  13.  -threads 0 \
  14.  -b 171800 \
  15.  -s 1024x768 \
  16. /srv/shared/tmp/scratch/91f5b901882e11e387034badfbc4db7f
  17.  
  18. # The input file has 3 streams
  19. Stream #0:0(eng): Video: qtrle (rle / 0x20656C72), bgra, 640x480, 171 kb/s, 0.50 fps, 0.50 tbr, 600 tbn, 600 tbc (default)
  20. Metadata:
  21. creation_time : 2014-01-08 01:13:27
  22. handler_name : Apple Alias Data Handler
  23.  
  24. Stream #0:1(eng): Video: none, 600 tbr, 600 tbn, 600 tbc (default)
  25. Metadata:
  26. creation_time : 2014-01-08 01:13:27
  27. handler_name : Apple Alias Data Handler
  28.  
  29. Stream #0:2(eng): Video: none, 600 tbr, 600 tbn, 600 tbc (default)
  30. Metadata:
  31. creation_time : 2014-01-08 01:13:27
  32. handler_name : Apple Alias Data Handler
  33.  
  34. # Two streams cannot be handled
  35. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4045300] Could not find codec parameters for stream 1 (Video: none): unspecified size
  36. Consider increasing the value for the 'analyzeduration' and 'probesize' options
  37.  
  38. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4045300] Could not find codec parameters for stream 2 (Video: none): unspecified size
  39. Consider increasing the value for the 'analyzeduration' and 'probesize' options
  40.  
  41. # FFmpeg crashes on that
  42. [buffer @ 0x40923e0] Unable to parse option value "0x0" as image size
  43. [buffer @ 0x40923e0] Unable to parse option value "-1" as pixel format
  44. [buffer @ 0x40923e0] Unable to parse option value "0x0" as image size
  45. [buffer @ 0x40923e0] Error setting option video_size to value 0x0.
  46. [graph 1 input from stream 0:1 @ 0x4092320] Error applying options to the filter.
  47. Error opening filters!
  48.  
  49. # Can I tell Ffmpeg to ignore streams it can't find codec parameters for, as long as it finds 1 good stream?
  50.  
  51. # I can get this command to work with -map 0:0, but since I won't know what media people will be throwing at me, I would like Ffmpeg to do this 'automagically'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement