[FFmpeg-user] Converting .mov files playable on html5 players..but very slow

Dani A danix4u at yahoo.com
Wed Jul 1 23:58:31 CEST 2015


If I always use the below command to convert .mov files to mp4, will it always work? I am only changing the audio codec and keeping the video codec the same.

ffmpeg -i MVI_0797.MOV  -c:v copy  -c:a mp3 -movflags faststart MVI_0797-fast.MP4

Are always .Mov files has h264 video codec, and the audio only is the changing part between Mov and MP4 files? 


     On Saturday, June 27, 2015 9:21 AM, Robert Krüger <krueger at lesspain.de> wrote:
   

 On Sat, Jun 27, 2015 at 8:30 AM, Dani A <danix4u-at-yahoo.com at ffmpeg.org>
wrote:

> I tried to convert a .mov file to mp4 using the above command and I
> recieved the below errors. what is wrong?
>
> [root at test video]# ffmpeg -i MVI_0797.MOV  -c:v copy  -c:a copy
> -movflags faststart MVI_0797-fast.MP4
> ffmpeg version 2.6.2-  http://johnvansickle.com/ffmpeg/   Copyright (c)
> 2000-2015 the FFmpeg developers
>  built with gcc 4.9.2 (Debian 4.9.2-10)
>  configuration: --enable-gpl --enable-version3 --disable-shared
> --disable-debug --enable-runtime-cpudetect --enable-libmp3lame
> --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex
> --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
> --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass
> --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9
>  libavutil      54. 20.100 / 54. 20.100
>  libavcodec    56. 26.100 / 56. 26.100
>  libavformat    56. 25.101 / 56. 25.101
>  libavdevice    56.  4.100 / 56.  4.100
>  libavfilter    5. 11.102 /  5. 11.102
>  libswscale      3.  1.101 /  3.  1.101
>  libswresample  1.  1.100 /  1.  1.100
>  libpostproc    53.  3.100 / 53.  3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_0797.MOV':
>  Metadata:
>    major_brand    : qt
>    minor_version  : 537331968
>    compatible_brands: qt  CAEP
>    creation_time  : 2014-06-15 02:43:16
>  Duration: 00:00:01.00, start: 0.000000, bitrate: 36419 kb/s
>    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
> 0x31637661), yuvj420p(pc, bt709), 1920x1080, 34098 kb/s, 23.98 fps, 23.98
> tbr, 24k tbn, 48k tbc (default)
>    Metadata:
>      creation_time  : 2014-06-15 02:43:16
>    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
> stereo, s16, 1536 kb/s (default)
>    Metadata:
>      creation_time  : 2014-06-15 02:43:16
> File 'MVI_0797-fast.MP4' already exists. Overwrite ? [y/N] y
>

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

> [mp4 @ 0xbe8a6c0] Could not find tag for codec pcm_s16le in stream #1,
> codec not currently supported in container
>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

pcm audio is not supported by mp4 and not a good idea for web use anyway.
try mp3 or aac.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


  


More information about the ffmpeg-user mailing list