[FFmpeg-trac] #3660(undetermined:new): .trec source file cannot be decoded (was: .trec source file cannot be encoded)

FFmpeg trac at avcodec.org
Wed May 21 21:46:23 CEST 2014


#3660: .trec source file cannot be decoded
-------------------------------------+-------------------------------------
             Reporter:  Atarikid     |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by llogan):

 * priority:  normal => wish
 * type:  defect => enhancement
 * component:  ffmpeg => undetermined


Old description:

> Camtasia started using a new cross platform recording format called .trec
> FFmpeg doesn't seem to handle this correct now.
>

>

> /Users/Atarikid/Desktop/ffmpeg -i /Users/Atarikid/Desktop/Rec.trec -c:a
> aac -c:v libx264 /Users/Atarikid/Desktop/test.mp4
>
> ffmpeg version N-61864-g50b68e3 Copyright (c) 2000-2014 the FFmpeg
> developers
>   built on Mar 27 2014 23:03:37 with llvm-gcc 4.2.1 (LLVM build
> 2336.11.00)
>   configuration: --prefix=/Volumes/tempdisk/sw --as=yasm --enable-gpl
> --enable-pthreads --disable-ffplay --disable-ffserver --disable-shared
> --enable-static --enable-libvpx --disable-decoder=libvpx --enable-
> libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
> --enable-libx264 --enable-libx265 --enable-libxvid --enable-zlib
> --enable-avfilter --enable-fontconfig --enable-libfreetype --enable-
> libass --enable-libutvideo --enable-filters --enable-postproc --enable-
> runtime-cpudetect
>   libavutil      52. 69.100 / 52. 69.100
>   libavcodec     55. 54.100 / 55. 54.100
>   libavformat    55. 35.101 / 55. 35.101
>   libavdevice    55. 11.100 / 55. 11.100
>   libavfilter     4.  3.100 /  4.  3.100
>   libswscale      2.  5.102 /  2.  5.102
>   libswresample   0. 18.100 /  0. 18.100
>   libpostproc    52.  3.100 / 52.  3.100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc18b81ce00] Could not find codec
> parameters for stream 0 (Video: none (tsc2 / 0x32637374), 892x441, 1685
> kb/s): unknown codec
> Consider increasing the value for the 'analyzeduration' and 'probesize'
> options
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Xtophe/Desktop/Rec.trec':
>   Metadata:
>     major_brand     : mp42
>     minor_version   : 0
>     compatible_brands: mp42isom
>     creation_time   : 2014-05-21 17:49:36
>   Duration: 00:00:12.98, start: 0.000000, bitrate: 1641 kb/s
>     Stream #0:0(und): Video: none (tsc2 / 0x32637374), 892x441, 1685
> kb/s, 5 fps, 5 tbr, 5 tbn, 5 tbc (default)
>     Metadata:
>       creation_time   : 2014-05-21 17:49:36
>     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
> fltp, 2 kb/s (default)
>     Metadata:
>       creation_time   : 2014-05-21 17:49:40
> [buffer @ 0x7fc18b5003e0] Unable to parse option value "-1" as pixel
> format
>     Last message repeated 1 times
> [buffer @ 0x7fc18b5003e0] Error setting option pix_fmt to value -1.
> [graph 0 input from stream 0:0 @ 0x7fc18b5004e0] Error applying options
> to the filter.
> Error opening filters!
>
> Even forcing the pixel format with -pix_fmt yuv420p does not help
>
> Sample included

New description:

 Camtasia started using a new cross platform recording format called .trec
 FFmpeg doesn't seem to handle this correct now.


 {{{
 /Users/Atarikid/Desktop/ffmpeg -i /Users/Atarikid/Desktop/Rec.trec -c:a
 aac -c:v libx264 /Users/Atarikid/Desktop/test.mp4

 ffmpeg version N-61864-g50b68e3 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Mar 27 2014 23:03:37 with llvm-gcc 4.2.1 (LLVM build
 2336.11.00)
   configuration: --prefix=/Volumes/tempdisk/sw --as=yasm --enable-gpl
 --enable-pthreads --disable-ffplay --disable-ffserver --disable-shared
 --enable-static --enable-libvpx --disable-decoder=libvpx --enable-
 libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
 --enable-libx264 --enable-libx265 --enable-libxvid --enable-zlib --enable-
 avfilter --enable-fontconfig --enable-libfreetype --enable-libass
 --enable-libutvideo --enable-filters --enable-postproc --enable-runtime-
 cpudetect
   libavutil      52. 69.100 / 52. 69.100
   libavcodec     55. 54.100 / 55. 54.100
   libavformat    55. 35.101 / 55. 35.101
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  5.102 /  2.  5.102
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc18b81ce00] Could not find codec parameters
 for stream 0 (Video: none (tsc2 / 0x32637374), 892x441, 1685 kb/s):
 unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/Xtophe/Desktop/Rec.trec':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2014-05-21 17:49:36
   Duration: 00:00:12.98, start: 0.000000, bitrate: 1641 kb/s
     Stream #0:0(und): Video: none (tsc2 / 0x32637374), 892x441, 1685 kb/s,
 5 fps, 5 tbr, 5 tbn, 5 tbc (default)
     Metadata:
       creation_time   : 2014-05-21 17:49:36
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 2 kb/s (default)
     Metadata:
       creation_time   : 2014-05-21 17:49:40
 [buffer @ 0x7fc18b5003e0] Unable to parse option value "-1" as pixel
 format
     Last message repeated 1 times
 [buffer @ 0x7fc18b5003e0] Error setting option pix_fmt to value -1.
 [graph 0 input from stream 0:0 @ 0x7fc18b5004e0] Error applying options to
 the filter.
 Error opening filters!
 }}}


 Even forcing the pixel format with `-pix_fmt yuv420p` does not help

 Sample included

--

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3660#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list