[FFmpeg-trac] #2227(undetermined:new): ffmpeg incorrectly identifying mjpeg as video stream instead of attachment

FFmpeg trac at avcodec.org
Fri Mar 15 23:09:31 CET 2013


#2227: ffmpeg incorrectly identifying mjpeg as video stream instead of attachment
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  wtv          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ramitbhalla):

 Replying to [comment:39 cehoyos]:
 > Please allow me to repeat: I don't think there is an issue, -map 0 does
 not work the way you seem to expect (and it generally cannot work the way
 you expect), simply remove it from your command line.

 Let me understand this correctly:

 The only way to copy all audio stream and the (valid) video streams would
 be to use:
 -map 0:a -map 0:v -vcodec copy -vcodec copy

 If I use -map 0:a -vcodec copy -vcodec copy it doesn't copy the video
 stream.

 if I use
 -map 0:a -map 0:v -vcodec copy -vcodec copy

 It ends up copy the mpjpeg stream which breaks down streams programs since
 the mjpeg is not a valid video stream but an ATTACHMENT which Media Center
 adds for the thumbnail or something.

 So what's the solution around this?

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


More information about the FFmpeg-trac mailing list