[FFmpeg-user] -vcodec copy problems: Why does FFMPEG hate me?
Phil McCarty
phil at tracktrack.it
Thu Nov 8 22:43:59 CET 2012
Hello. FFMpeg hates me, and I didn't do anything to it.
I have a file that's been H264 encoded (FCP/Compressor). I've got FFmpeg installed on two different linux boxes, one I did a couple of years ago, one I compiled more recently.
For reasons I don't understand, if I try to strip the audio on the OLDER install, it takes 2 seconds.
If I try to strip the audio on the NEW install, it gives an error. My best guess is that when I created/compiled/apt-get-installed or whatever these, I did something wrong. I'm not particularly fluent on that topic, and it's a bit of a miracle that I got it working once, let alone twice. But I guess I didn't get it working all THAT well.
Unfortunately, this process has to happen on the 2nd, newer linux install otherwise I'd just use the old one.
Thanks for any guidance,
Phil
Here are the compiler info screens
OLD - WORKING:
> ffmpeg -i tlcsundance.mov -vcodec copy -an hey.mov
FFmpeg version SVN-r25150, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 21 2010 03:00:18 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libmp3lame
libavutil 50.27. 0 / 50.27. 0
libavcore 0. 9. 0 / 0. 9. 0
libavcodec 52.89. 0 / 52.89. 0
libavformat 52.78. 5 / 52.78. 5
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.39. 0 / 1.39. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9c17470] max_analyze_duration reached
Seems stream 0 codec frame rate differs from container frame rate: 5994.00 (5994/1) -> 23.98 (2997/125)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tlcsundanceraw.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
Duration: 00:17:55.81, start: 0.000000, bitrate: 1281 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 854x364, 1065 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 119 kb/s
Stream #0.2(eng): Data: tmcd / 0x64636D74
Stream #0.3(eng): Data: rtp / 0x20707472, 9 kb/s
Stream #0.4(eng): Data: rtp / 0x20707472, 80 kb/s
Output #0, mov, to 'hey.mov':
Metadata:
encoder : Lavf52.78.5
Stream #0.0(eng): Video: libx264, yuv420p, 854x364, q=2-31, 1065 kb/s, 2997 tbn, 2997 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=25793 fps=23540 q=-1.0 Lsize= 140275kB time=1075.70 bitrate=1068.3kbits/s
video:139871kB audio:0kB global headers:0kB muxing overhead 0.288215%
>
NEW - Not Working:
ffmpeg version git-2012-06-30-3233ad4 Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 30 2012 16:40:42 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
theora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 63.100 / 51. 63.100
libavcodec 54. 31.100 / 54. 31.100
libavformat 54. 14.100 / 54. 14.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 3. 0.100 / 3. 0.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tlcsundanceraw.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-09-18 01:44:57
timecode : 01:01:17:20
Duration: 00:17:55.78, start: 0.000000, bitrate: 1282 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x364, 1065 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc
Metadata:
creation_time : 2012-09-18 01:44:57
handler_name : Apple Video Media Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 119 kb/s
Metadata:
creation_time : 2012-09-18 01:44:57
handler_name : Apple Sound Media Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2012-09-18 01:44:57
handler_name : Time Code Media Handler
timecode : 01:01:17:20
Stream #0:3(eng): Data: none (rtp / 0x20707472)
Metadata:
creation_time : 2012-09-18 01:44:57
handler_name : hint media handler
Stream #0:4(eng): Data: none (rtp / 0x20707472)
Metadata:
creation_time : 2012-09-18 01:44:57
handler_name : hint media handler
[graph 0 input from stream 0:1 @ 0x26ffd40] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[mov @ 0x2700820] Timecode frame rate not supported
Output #0, mov, to 'hey.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
timecode : 01:01:17:20
encoder : Lavf54.14.100
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 854x364, q=2-31, 1065 kb/s, 23.98 fps, 2997 tbn, 2997 tbc
Metadata:
creation_time : 2012-09-18 01:44:57
handler_name : Apple Video Media Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 2012-09-18 01:44:57
handler_name : Apple Sound Media Handler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac -> libfaac)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted
More information about the ffmpeg-user
mailing list