Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Command
- ffmpeg \
- -i /srv/shared/tmp/upload/9125fdb02e7102ef488091a2ab723fe8.mov \
- -r 25 \
- -map 0 \
- -codec:d copy \
- -acodec libmp3lame \
- -ab 64k \
- -ar 44100 \
- -vcodec flv \
- -b:v 512k \
- -f flv \
- -threads 0 \
- -b 171800 \
- -s 1024x768 \
- /srv/shared/tmp/scratch/91f5b901882e11e387034badfbc4db7f
- # The input file has 3 streams
- Stream #0:0(eng): Video: qtrle (rle / 0x20656C72), bgra, 640x480, 171 kb/s, 0.50 fps, 0.50 tbr, 600 tbn, 600 tbc (default)
- Metadata:
- creation_time : 2014-01-08 01:13:27
- handler_name : Apple Alias Data Handler
- Stream #0:1(eng): Video: none, 600 tbr, 600 tbn, 600 tbc (default)
- Metadata:
- creation_time : 2014-01-08 01:13:27
- handler_name : Apple Alias Data Handler
- Stream #0:2(eng): Video: none, 600 tbr, 600 tbn, 600 tbc (default)
- Metadata:
- creation_time : 2014-01-08 01:13:27
- handler_name : Apple Alias Data Handler
- # Two streams cannot be handled
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4045300] Could not find codec parameters for stream 1 (Video: none): unspecified size
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4045300] Could not find codec parameters for stream 2 (Video: none): unspecified size
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- # FFmpeg crashes on that
- [buffer @ 0x40923e0] Unable to parse option value "0x0" as image size
- [buffer @ 0x40923e0] Unable to parse option value "-1" as pixel format
- [buffer @ 0x40923e0] Unable to parse option value "0x0" as image size
- [buffer @ 0x40923e0] Error setting option video_size to value 0x0.
- [graph 1 input from stream 0:1 @ 0x4092320] Error applying options to the filter.
- Error opening filters!
- # Can I tell Ffmpeg to ignore streams it can't find codec parameters for, as long as it finds 1 good stream?
- # 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