View difference between Paste ID: sRjPUq9h and mm7CKjKG
SHOW: | | - or go back to the newest paste.
1
rudi@rudi-laptop:~$ ffmpeg -i INPUT_VIDEO.ogv -i INPUT_SOUND.mp3 -map 0:1 -map 1:0 -vcodec copy -acodec copy OUTPUT_VIDEO.ogv
2
ffmpeg version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2000-2012 the Libav developers
3
  built on Jan 24 2013 14:52:53 with gcc 4.7.2
4
*** THIS PROGRAM IS DEPRECATED ***
5
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
6
[ogg @ 0x9e178a0] max_analyze_duration reached
7
Input #0, ogg, from 'INPUT_VIDEO.ogv':
8
  Duration: 00:19:41.40, start: 0.000000, bitrate: 765 kb/s
9
    Stream #0.0: Data: skeleton
10
    Stream #0.1: Video: theora, yuv420p, 1200x864 [PAR 1:1 DAR 25:18], 15 fps, 15 tbr, 15 tbn, 15 tbc
11
    Stream #0.2: Audio: vorbis, 22050 Hz, mono, s16, 89 kb/s
12
[mp3 @ 0x9e1f4a0] max_analyze_duration reached
13
Input #1, mp3, from 'INPUT_SOUND.mp3':
14
  Metadata:
15
    Software        : Lavf53.21.0
16
    title           : QGIS Heatmap Tutorial
17
  Duration: 00:19:41.17, start: 0.000000, bitrate: 128 kb/s
18
    Stream #1.0: Audio: mp3, 22050 Hz, mono, s16, 128 kb/s
19
File 'OUTPUT_VIDEO.ogv' already exists. Overwrite ? [y/N] y
20
[ogg @ 0xa064820] Unsupported codec id in stream 1
21
Output #0, ogg, to 'OUTPUT_VIDEO.ogv':
22
  Metadata:
23
    encoder         : Lavf53.21.1
24
    Stream #0.0: Video: libtheora, yuv420p, 1200x864 [PAR 1:1 DAR 25:18], q=2-31, 15 tbn, 15 tbc
25
    Stream #0.1: Audio: libmp3lame, 22050 Hz, mono, 128 kb/s
26
Stream mapping:
27
  Stream #0.1 -> #0.0
28
  Stream #1.0 -> #0.1
29
Could not write header for output file #0 (incorrect codec parameters ?)