Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Carl Zwanzig

(Please don't top-post on this list)

On 11/23/2020 12:42 PM, Karl Messner wrote:

I'm hosting on HostUpon, that's what they have. Is there a more
up-to-date cheap hosting platform with ffmpeg?

They ought to update themselves

Do you need to run on a hosting platform at all? ffmpeg runs on a lot of 
systems; most people run it on their own local boxes.


If you can copy files to/from HostUpon, you should be able to copy over a 
static build and use that- it doesn't require any special permissions to run.


I don't know of -any- hosting platforms that explicitly provide ffmpeg, but 
I expect any that sell linux would have it.


Later,

z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Karl Messner
I'm hosting on HostUpon, that's what they have. Is there a more up-to-date 
cheap hosting platform with ffmpeg?

Karl


> On Nov 23, 2020, at 12:06 PM, Carl Zwanzig  wrote:
> 
> On 11/23/2020 7:14 AM, Karl Messner wrote:
>> ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
> 
> Do you -need- to use version 3*? Those options/filters may not exist or have 
> the same semantics. In pretty much all cases, you're on your own for old 
> versions (although Michael has given some good suggestions). The general 
> recommendation would be to use a current build.
> 
> Unless there's a difficult reason, I'd put the effort into using v4 instead 
> of trying to make v3 work.
> 
> *Pre-build versions are available from https://johnvansickle.com/ffmpeg/. If 
> you _need_ version 3, try a somewhat later static build from there, it has 
> 3.3 and 3.4.
> 
> Later,
> 
> z!
> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Carl Zwanzig

On 11/23/2020 7:14 AM, Karl Messner wrote:

ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers


Do you -need- to use version 3*? Those options/filters may not exist or have 
the same semantics. In pretty much all cases, you're on your own for old 
versions (although Michael has given some good suggestions). The general 
recommendation would be to use a current build.


Unless there's a difficult reason, I'd put the effort into using v4 instead 
of trying to make v3 work.


*Pre-build versions are available from https://johnvansickle.com/ffmpeg/. If 
you _need_ version 3, try a somewhat later static build from there, it has 
3.3 and 3.4.


Later,

z!

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Michael Koch

Am 23.11.2020 um 16:14 schrieb Karl Messner:

Michael,

Thank you so much for your help. I made the changes you suggested and now I'm 
getting this:


ffmpeg -report -i videos/intro720.mp4 -i videos/raw.mp4 -i videos/outro720.mp4 -i 
videos/music.mp3 -filter_complex " \
[0]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];\
[1]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];\
[2]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v2];\
[3:a]volume=.015[a0];\
[1:a][a0]amerge[amix];\
[v0][0:a:0] [v1][amix] [v2][2:a:0]concat=n=3:v=1:a=1[v][a]" -map "[v]" -map "[a]" -f 
mp4 videos/out1606144376.mp4 2>&1





[Parsed_amerge_10 @ 0x21c96c0] No channel layout for input 1
[Parsed_amerge_10 @ 0x21c96c0] No channel layout for input 2
[AVFilterGraph @ 0x1a76460] The following filters could not choose their 
formats: Parsed_amerge_10
Consider inserting the (a)format filter near their input or output.
Error configuring complex filters.
Input/output error


Are you sure that "amerge" is the correct filter for your purpose? Why 
not the "amix" filter?


Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Karl Messner
Michael,

Thank you so much for your help. I made the changes you suggested and now I'm 
getting this:


ffmpeg -report -i videos/intro720.mp4 -i videos/raw.mp4 -i videos/outro720.mp4 
-i videos/music.mp3 -filter_complex " \
[0]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];\
[1]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];\
[2]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v2];\
[3:a]volume=.015[a0];\
[1:a][a0]amerge[amix];\
[v0][0:a:0] [v1][amix] [v2][2:a:0]concat=n=3:v=1:a=1[v][a]" -map "[v]" -map 
"[a]" -f mp4 videos/out1606144376.mp4 2>&1





[Parsed_amerge_10 @ 0x21c96c0] No channel layout for input 1
[Parsed_amerge_10 @ 0x21c96c0] No channel layout for input 2
[AVFilterGraph @ 0x1a76460] The following filters could not choose their 
formats: Parsed_amerge_10
Consider inserting the (a)format filter near their input or output.
Error configuring complex filters.
Input/output error



Any idea?

Karl

Here's the whole report:





ffmpeg started on 2020-11-23 at 10:12:56
Report written to "ffmpeg-20201123-101256.log"
ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
  configuration: --enable-gpl --enable-nonfree --enable-shared 
--enable-libmp3lame --enable-libx264 --enable-libfdk-aac --enable-libtheora 
--enable-libvorbis --enable-libxvid --enable-libfreetype --enable-libvpx
  libavutil  55. 17.103 / 55. 17.103
  libavcodec 57. 24.102 / 57. 24.102
  libavformat57. 25.100 / 57. 25.100
  libavdevice57.  0.101 / 57.  0.101
  libavfilter 6. 31.100 /  6. 31.100
  libswscale  4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/intro720.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
episode_sort: 0
season_number   : 0
media_type  : 0
hd_video: 0
  Duration: 00:00:08.34, start: 0.023220, bitrate: 331 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 
[SAR 16:15 DAR 256:135], 269 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
  handler_name: VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 53 kb/s (default)
Metadata:
  handler_name: SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/raw.mp4':
  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: isommp42
creation_time   : 2020-11-18 19:47:11
com.android.version: 10
com.android.manufacturer: Google
com.android.model: Pixel XL
  Duration: 00:01:15.98, start: 0.00, bitrate: 17097 kb/s
Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, 
smpte170m), 1920x1080, 16997 kb/s, SAR 1:1 DAR 16:9, 29.91 fps, 29.97 tbr, 90k 
tbn, 180k tbc (default)
Metadata:
  creation_time   : 2020-11-18 19:47:11
  handler_name: VideoHandle
Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, 
fltp, 95 kb/s (default)
Metadata:
  creation_time   : 2020-11-18 19:47:11
  handler_name: SoundHandle
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/outro720.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
episode_sort: 0
season_number   : 0
media_type  : 0
hd_video: 0
  Duration: 00:00:09.15, start: 0.023220, bitrate: 208 kb/s
Stream #2:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 
[SAR 1:1 DAR 16:9], 198 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
  handler_name: VideoHandler
Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 2 kb/s (default)
Metadata:
  handler_name: SoundHandler
[mp3 @ 0x1a75ac0] Skipping 0 bytes of junk at 138.
[mp3 @ 0x1a75ac0] Estimating duration from bitrate, this may be inaccurate
Input #3, mp3, from 'videos/music.mp3':
  Metadata:
major_brand : dash
minor_version   : 0
compatible_brands: iso6mp41
encoder : Lavf57.19.100
  Duration: 00:01:56.69, start: 0.00, bitrate: 192 kb/s
Stream #3:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
[Parsed_amerge_10 @ 0x21c96c0] No channel layout for input 1
[Parsed_amerge_10 @ 0x21c96c0] No channel layout for input 2
[AVFilterGraph @ 0x1a76460] The following filters could not choose their 
formats: Parsed_amerge_10
Consider inserting the (a)format filter near their input or output.
Error configuring complex filters.
Input/output error









> On Nov 23, 2020, at 8:31 AM, Michael Koch  wrote:
> 
> Am 23.11.2020 um 13:50 schrieb KarlMessner:
>> Good 

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Michael Koch

Am 23.11.2020 um 13:50 schrieb KarlMessner:

Good morning folks,

Any idea what I'm doing wrong here:

/usr/local/bin/ffmpeg -report -i videos/intro720.mp4 -i videos/raw.mp4 -i
videos/outro720.mp4 -i videos/music.mp3 -filter_complex " \
[0]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];
\
[1]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];
\
[2]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v2];
\
[3:a]volume=.015[a0]; \
*[1:a][a0]amerge[amix]; \
*[v0][0:a:0] [v1][aMix] [v2][2:a:0] concat=n=3:v=1:a=1[v][a]" -map "[v]"
-map "[a]" -f mp4 videos/out1606134367mp4 2>&1


it's another error: amix != aMix

Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Michael Koch

Am 23.11.2020 um 13:50 schrieb KarlMessner:

Good morning folks,

Any idea what I'm doing wrong here:

/usr/local/bin/ffmpeg -report -i videos/intro720.mp4 -i videos/raw.mp4 -i
videos/outro720.mp4 -i videos/music.mp3 -filter_complex " \
[0]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];
\
[1]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];
\
[2]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v2];
\
[3:a]volume=.015[a0]; \
*[1:a][a0]amerge[amix]; \
*[v0][0:a:0] [v1][aMix] [v2][2:a:0] concat=n=3:v=1:a=1[v][a]" -map "[v]"
-map "[a]" -f mp4 videos/out1606134367mp4 2>&1


Try to remove all space characters from the filter chain. Especially 
those between the inputs of the concat filter. I'm not sure if this 
solves the problem, but it's worth a try.


Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread KarlMessner
Good morning folks,

Any idea what I'm doing wrong here:

/usr/local/bin/ffmpeg -report -i videos/intro720.mp4 -i videos/raw.mp4 -i
videos/outro720.mp4 -i videos/music.mp3 -filter_complex " \
[0]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];
\
[1]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];
\
[2]
scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v2];
\
[3:a]volume=.015[a0]; \
*[1:a][a0]amerge[amix]; \
*[v0][0:a:0] [v1][aMix] [v2][2:a:0] concat=n=3:v=1:a=1[v][a]" -map "[v]"
-map "[a]" -f mp4 videos/out1606134367mp4 2>&1


Here's the report: 

ffmpeg started on 2020-11-23 at 07:26:07
Report written to "ffmpeg-20201123-072607.log"
ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
  configuration: --enable-gpl --enable-nonfree --enable-shared
--enable-libmp3lame --enable-libx264 --enable-libfdk-aac --enable-libtheora
--enable-libvorbis --enable-libxvid --enable-libfreetype --enable-libvpx
  libavutil  55. 17.103 / 55. 17.103
  libavcodec 57. 24.102 / 57. 24.102
  libavformat57. 25.100 / 57. 25.100
  libavdevice57.  0.101 / 57.  0.101
  libavfilter 6. 31.100 /  6. 31.100
  libswscale  4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/intro720.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
episode_sort: 0
season_number   : 0
media_type  : 0
hd_video: 0
  Duration: 00:00:08.34, start: 0.023220, bitrate: 331 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 16:15 DAR 256:135], 269 kb/s, 30 fps, 30 tbr, 15360 tbn, 60
tbc (default)
Metadata:
  handler_name: VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 53 kb/s (default)
Metadata:
  handler_name: SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/raw.mp4':
  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: isommp42
creation_time   : 2020-11-18 19:47:11
com.android.version: 10
com.android.manufacturer: Google
com.android.model: Pixel XL
  Duration: 00:01:15.98, start: 0.00, bitrate: 17097 kb/s
Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc,
smpte170m), 1920x1080, 16997 kb/s, SAR 1:1 DAR 16:9, 29.91 fps, 29.97 tbr,
90k tbn, 180k tbc (default)
Metadata:
  creation_time   : 2020-11-18 19:47:11
  handler_name: VideoHandle
Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono,
fltp, 95 kb/s (default)
Metadata:
  creation_time   : 2020-11-18 19:47:11
  handler_name: SoundHandle
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'videos/outro720.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
episode_sort: 0
season_number   : 0
media_type  : 0
hd_video: 0
  Duration: 00:00:09.15, start: 0.023220, bitrate: 208 kb/s
Stream #2:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 198 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
(default)
Metadata:
  handler_name: VideoHandler
Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 2 kb/s (default)
Metadata:
  handler_name: SoundHandler
[mp3 @ 0x10c5e40] Skipping 0 bytes of junk at 138.
[mp3 @ 0x10c5e40] Estimating duration from bitrate, this may be inaccurate
Input #3, mp3, from 'videos/music.mp3':
  Metadata:
major_brand : dash
minor_version   : 0
compatible_brands: iso6mp41
encoder : Lavf57.19.100
  Duration: 00:01:56.69, start: 0.00, bitrate: 192 kb/s
Stream #3:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
*Filter amerge has a unconnected output*



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".