#11550: Simple commend -c copy -t ** file.mp4 no longer works
------------------------------------+----------------------------------
             Reporter:  Levan       |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------
Description changed by Levan:

Old description:

> I just simply wanted to shorten a video and downloaded latest build of
> ffmpeg (ffmpeg-N-119323-g9e1162bdf1-win64-gpl) so i tried the shorten the
> file with -t commend and it produced a corrupt mp4 file however it used
> to work on old build (the last build that this worked was on -
> ffmpeg-N-116058-g2902ed25b5-win64-gpl.zip ( Auto-Build 2024-06-30 12:49)
>
> How to reproduce: just try to shorten the video with newer build
> {{{
> % ffmpeg -i input.mp4 -c copy -t 00:20 output.mp4
>
> }}}
>
> ffmpeg version - ffmpeg-N-119323-g9e1162bdf1-win64-gpl
> built on - autobuild-2025-04-21-12-56
> Here is the test file

New description:

 I just simply wanted to shorten a video and downloaded latest build of
 ffmpeg (ffmpeg-N-119323-g9e1162bdf1-win64-gpl) so i tried the shorten the
 file with -t commend and it produced a corrupt mp4 file however it used to
 work on old build (the last build that this worked was on -
 ffmpeg-N-116058-g2902ed25b5-win64-gpl.zip ( Auto-Build 2024-06-30 12:49)

 How to reproduce: just try to shorten the video with newer build
 {{{
 % ffmpeg -i input.mp4 -c copy -t 00:20 output.mp4

 }}}

 ffmpeg version - ffmpeg-N-119323-g9e1162bdf1-win64-gpl
 built on - autobuild-2025-04-21-12-56


 Here is the test file
 
https://drive.google.com/file/d/1UYJ7oj1B045kqWqp0qKah4t3i3qp4PHt/view?usp=sharing

 Here is the result file
 
https://drive.google.com/file/d/13BHp5G3c1fV_opQiEYlI7e_OvcoyAd1s/view?usp=sharing

 media player classic error log

 File Source (Async.)::Output

 Media Type 0:
 --------------------------
 Unknown

 AM_MEDIA_TYPE:
 majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
 subtype: Unknown GUID Name {08E22ADA-B715-45ED-9D20-7B87750301D4}
 formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
 bFixedSizeSamples: 1
 bTemporalCompression: 0
 lSampleSize: 1
 cbFormat: 0


 Media Type 1:
 --------------------------
 Unknown

 AM_MEDIA_TYPE:
 majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
 subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
 formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
 bFixedSizeSamples: 1
 bTemporalCompression: 0
 lSampleSize: 1
 cbFormat: 0


 However this doesn't happens when using old ffmpeg that stated above

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11550#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to