I am trying to merge and convert some mov files to an mp4 file. I found a solution at
http://potentialinfo.blogspot.com/20...lips-fast.html but I lost the audio in the intermediate file.
This is what I got.
r@r:/media/r/Iomega HDD/Photos/2016-06-04$ ffmpeg -i DSCF0719.MOV -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 20 2013 08:04:32 with gcc 4.8 (Debian 4.8.2-5)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-libiec61883 --enable-libfdk-aac --enable-vaapi --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DSCF0719.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2016-06-03 12:32:07
comment : FUJIFILM DIGITAL CAMERA FinePix HS25EXR
comment-eng : FUJIFILM DIGITAL CAMERA FinePix HS25EXR
Duration: 00:07:52.47, start: 0.000000, bitrate: 14131 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 12577 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
Metadata:
creation_time : 2016-06-03 12:32:07
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
creation_time : 2016-06-03 12:32:07
Output #0, mpegts, to 'intermediate4.ts':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
comment-eng : FUJIFILM DIGITAL CAMERA FinePix HS25EXR
comment : FUJIFILM DIGITAL CAMERA FinePix HS25EXR
encoder : Lavf55.19.104
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080, q=2-31, 12577 kb/s, 29.97 fps, 90k tbn, 30k tbc (default)
Metadata:
creation_time : 2016-06-03 12:32:07
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, 1536 kb/s (default)
Metadata:
creation_time : 2016-06-03 12:32:07
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 243 fps=0.0 q=-1.0 size= 15276kB time=00:00:09.00 bitrate=13890.9kbitsframe= 503 fps=502 q=-1.0 size= 31410kB time=00:00:17.01 bitrate=15120.7kbits
The video came out good but I lost the audio. Anyone have a suggestion of how to keep the audio?