Forum archive - ffmpegx occasionally creates 0kb files instead of encoding properly

http://www.supermediastore.com/



Forum Archive Home -> ffmpegX bugs and suggestions -> ffmpegx occasionally creates 0kb files instead of encoding properly



ffmpegx occasionally creates 0kb files instead of encoding properly

digitalgeist posted 2007 Mar 16 05:31
(I noticed I originally posted this in the wrong forum, so after deleting the original post, I'm reposting my query here)

I've run into this problem with a few versions of ffmpegx and given up on them before, but I just thought I'd ask here for the record:

Occasionally (and less often with 0.0.9x) when I'm converting .AVI or .VOB files to something else (it doesn't seem to matter which format), ffmpegx cops out and creates a file that is 0kb immediately at the start of encoding. Is there a fix for this? Am I just missing something that would fix this problem?

I don't think it would be my setup, as this has happened with different versions of the app on different computers (both intel and ppc).

Thanks for any help problem-solving!



Case posted 2007 Mar 18 06:53
The Log may hold clues to why a conversion failed. You may access the Log by clicking the blue "i" in the ffmpegX Progress window.
Based on any error found in there, fellow users may be able to suggest a fix.



digitalgeist posted 2007 Mar 19 07:43
Ah, ok - I was unaware of this function. I'll try it again and post what I come up with. Thanks a lot for your help!


fernblatt posted 2007 Sep 17 21:00
I have a similar problem, but the progress window indicates it's been converted. Now I know where to look. With me it happens nearly *every* time I convert to a .mov file.


Thanks



Case posted 2007 Sep 18 07:23
fernblatt :
the progress window indicates it's been converted.
But what does the Log ("Process Information" window) say?


evl posted 2007 Oct 23 09:25
Case :
fernblatt :
the progress window indicates it's been converted.
But what does the Log ("Process Information" window) say?


I have the same problem, and what it says is the following:

"Encoding started on Tue Oct 23 16:20:43 CEST 2007
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/danieldaboczy/Desktop/Fargfabriken.tv/Playing the Building.mov':
Duration: 00:09:47.3, start: 0.000000, bitrate: 24422 kb/s
Stream #0.0(eng): Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
Stream #0.1(eng), 25.00 fps(r): Video: h264, yuv420p, 720x576
Codec type mismatch for mapping #0.0 -> #0.0"

The thing is that I could encode without probelm before....And now it just doesn't work.
please help me



Case posted 2007 Oct 24 19:02
Your source file has the audio stream (#0.0) mapped before the video stream (#0.1). This is reverse from what the ffmpeg engine expects. You may fix this "Codec type mismatch for mapping"-error by indicating that the streams are reversed. To do so, check the "Invert mapping" checkbox in the audio tab.


dpayette posted 2008 Jun 19 13:55
Thanks for the answer - totally fixed my problem.


kyokoy posted 2009 Jul 28 17:21
I also have creating zeroK file problem when trying to convert mov file to flv.

Here is the log. Any suggestion will be appreceiated.

FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
Tue Jul 28 18:20:12 EDT 2009
that stream 1 comes from film source: 2997.00 (2997/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie160-2/STABIAE/DemoOUTPUT/Stabiae_Demo99.mov':
Duration: 00:10:58.3, start: 0.000000, bitrate: 1261 kb/s
Stream #0.0(eng): Audio: aac, 48000 Hz, stereo
Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 640x480
Codec type mismatch for mapping #0.0 -> #0.0



Ai Haibara posted 2009 Jul 28 18:03
Have you tried the solution Case mentioned, above?

:
Your source file has the audio stream (#0.0) mapped before the video stream (#0.1). This is reverse from what the ffmpeg engine expects. You may fix this "Codec type mismatch for mapping"-error by indicating that the streams are reversed. To do so, check the "Invert mapping" checkbox in the audio tab.




Login/Register to our forum to be able to post here.








DVDFab DVD to DVD and Blu-ray to Blu-ray offers a 20% discount until Nov 22, 2009. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics