[FFmpeg-trac] #3111(undetermined:new): mov allows random codecs

FFmpeg trac at avcodec.org
Sun Nov 3 21:52:36 CET 2013


#3111: mov allows random codecs
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  spookybathtub                      |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  mov          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 Replying to [comment:2 spookybathtub]:
 > The problem is that the source file has a valid audio track, and the
 output file does not.

 Please define "valid".

 > ffprobe calls it "unknown" and Quicktime calls it "HDMV".

 QuickTime cannot detect it because Apple did not define pcm_bluray in mov.
 I showed how the file can be decoded with FFmpeg.

 > I just noticed using ffmpeg -codecs that pcm_bluray is listed as a
 decoder only.  Does that mean we're incapable of passing it through using
 -acodec copy?

 No (as you showed, I didn't know).

 > {{{
 > $ ffmpeg -acodec pcm_bluray -i 00008.mov
 > }}}
 > I don't understand this command... it doesn't do anything.

 It shows you that the file contains a pcm_bluray stream, you can do with
 it whatever you want (decode it to wav, play it with ffplay, ...)

 > I could use -acodec pcm_s16be but that would be slower

 Did you benchmark? Is it really measurable?

 > than a passthrough,

 (Please use "remuxing".)

 > and could theoretically degrade the sound a little bit.

 Then use pcm_s24be.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3111#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list