#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:43 cehoyos]: > Is anything wrong with one of the following two commands? > $ ffmpeg -i "Family Guy-S11E14-Call Girl.mp4" -qscale 2 out.avi > $ ffmpeg -i "Family Guy-S11E14-Call Girl.mp4" -map 0:2 out.jpg > If yes that would (probably) indicate a bug. Taht's fine, it works and will work since there is ONLY 1 audio stream. What if there are 2 audio streams and you want to copy both, how will you do it? you can't use map 0:a since you need to add map 0:v and that will fail. so ALL I'm suggesting is DON'T mark teh mjpeg as video stream, why not use the flag information provided in libavformat and mark it as an attachment (which is what it really is) and EVERYTHING will start working? -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2227#comment:45> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac