Re: [FFmpeg-user] Two-Pass encoding on Android

2018-12-22 Thread Carl Eugen Hoyos
2018-12-22 16:29 GMT+01:00, Majid Shirazi : > this is what happen if I remove "&& \": > > *[libx264 @ 0xf0c07c00] using SAR=3825/3824* > *[libx264 @ 0xf0c07c00] using cpu capabilities: ARMv6 NEON* > *[libx264 @ 0xf0c07c00] ratecontrol_init: can't open stats file* Complete, uncut conso

Re: [FFmpeg-user] Two-Pass encoding on Android

2018-12-22 Thread Majid Shirazi
this is what happen if I remove "&& \": *[libx264 @ 0xf0c07c00] using SAR=3825/3824* *[libx264 @ 0xf0c07c00] using cpu capabilities: ARMv6 NEON* *[libx264 @ 0xf0c07c00] ratecontrol_init: can't open stats file* *Error initializing output stream 0:0 -- Error while opening encoder for

Re: [FFmpeg-user] Two-Pass encoding on Android

2018-12-22 Thread Carl Eugen Hoyos
2018-12-22 8:22 GMT+01:00, Majid Shirazi : > According to the documentation for using Two-Pass method we have to run > ffmpeg twice like this: > > ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \ > ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k > outp

[FFmpeg-user] Two-Pass encoding on Android

2018-12-21 Thread Majid Shirazi
According to the documentation for using Two-Pass method we have to run ffmpeg twice like this: ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \ ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4 But When I use these codes I get this error: