#3660 closed enhancement (fixed)
.trec source file cannot be decoded
Reported by: | Atarikid | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avformat |
Version: | git-master | Keywords: | mov tsc2 |
Cc: | Mind0Master1@gmail.com | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description (last modified by )
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
Attachments (2)
Change History (17)
by , 11 years ago
Attachment: | Rec.trec.7z added |
---|
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Component: | ffmpeg → undetermined |
---|---|
Description: | modified (diff) |
Priority: | normal → wish |
Summary: | .trec source file cannot be encoded → .trec source file cannot be decoded |
Type: | defect → enhancement |
comment:3 by , 11 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | mov tsc2 added |
Reproduced by developer: | set |
Status: | new → open |
Two patches sent.
follow-up: 6 comment:4 by , 11 years ago
by , 11 years ago
comment:5 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in afaa39b4 - thank you for the report!
It would still be great if you could test the remuxed sample I uploaded.
follow-up: 7 comment:6 by , 11 years ago
Replying to cehoyos:
Can you playback the sample you uploaded with QuickTime?
No, sample file format (.trec) is not supported by QuickTime
If yes, could you test a file I will attach: Does it also play fine?
No, remuxed sample (.mp4) doesn't play in QuickTime: "The operation could not be completed"
It doesn't play in VLC either (though original sample file (.trec) plays fine)
follow-up: 8 comment:7 by , 11 years ago
Replying to Mind0Master1:
Replying to cehoyos:
Can you playback the sample you uploaded with QuickTime?
No, sample file format (.trek) is not supported by QuickTime
Which application - that is not FFmpeg-based like vlc - is supposed to play the file you uploaded?
follow-up: 9 comment:8 by , 11 years ago
Replying to cehoyos:
Which application - that is not FFmpeg-based like vlc - is supposed to play the file you uploaded?
.trec is new recording format of techsmith.com/camtasia.html
follow-up: 10 comment:9 by , 11 years ago
Replying to Mind0Master1:
Replying to cehoyos:
Which application - that is not FFmpeg-based like vlc - is supposed to play the file you uploaded?
.trec is new recording format of techsmith.com/camtasia.html
Does it come with a player?
follow-up: 11 comment:10 by , 11 years ago
Replying to cehoyos:
.trec is new recording format of techsmith.com/camtasia.html
Does it come with a player?
It doesn't have a separate player, .trec files are supposed to be played and edited within internal editor. Afterwords Camtasia gives the options to convert .trec into various popular formats (but conversion options might not be as flexible).
follow-up: 12 comment:11 by , 11 years ago
Replying to Mind0Master1:
Replying to cehoyos:
.trec is new recording format of techsmith.com/camtasia.html
Does it come with a player?
It doesn't have a separate player, .trec files are supposed to be played and edited within internal editor.
Does the internal editor read the file I uploaded? (If you rename it to out.trec?)
comment:12 by , 11 years ago
Replying to cehoyos:
Does the internal editor read the file I uploaded? (If you rename it to out.trec?)
Reading the file:
"The document “out.mp4” could not be opened. Camtasia 2 cannot open files in the “MPEG-4 File” format."
Importing the file:
"Error importing files. The following files are unsupported or damaged: out.mp4"
("undamaged" .mp4 files get successfully imported)
Oeps... title is misleading. Should be
[FFmpeg-trac] #3660(ffmpeg:new): .trec source file cannot be decoded