#150 Codec names missing, files unplayable


Using ffmpeg cvs 2003-12-09 I gave this command to convert a vob
file from a dvd to a Quicktime file (for a JMF project):

ffmpeg -i SNS-007.vob -aspect 16:9 -s 320x180 -f mov -vcodec
h263p -acodec mp3 test.mov

I get this screen print:

Input #0, mpeg, from 'SNS-007.vob':
Duration: 00:15:16.2, bitrate: 7012 kb/s
Stream #0.0: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Stream #0.2: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Stream #0.3: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Stream #0.4: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Stream #0.5: Audio: ac3, 48000 Hz, 5 channels, 448 kb/s
Stream #0.6: Video: mpeg1video, 720x480, 29.97 fps
Output #0, mov, to 'test.mov':
Stream #0.0: Video: h263p, 320x180, 29.97 fps, q=2-31, 200 kb/s
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.6 -> #0.0
Stream #0.5 -> #0.1
Press [q] to stop encoding
frame=32920 q=2.0 size= 44878kB time=1098.4 bitrate= 334.

This looks great -- however, the codec names are missing:

# tcprobe -i test.mov
[tcprobe] Apple QuickTime movie file
[probe_mov.c] audio codec=
[probe_mov.c] video codec=
[tcprobe] summary for test.mov, (*) = not default, 0 = not detected
import frame size: -g 320x180 [720x576] (*)
frame rate: -f 29.970 [25.000] frc=4 (*)
length: 32920 frames, frame_time=33 msec, duration=0:18:

Since the players don't see a codec name, they can't play the file.


  • Nobody/Anonymous

    Logged In: NO

    I think I see this same issue with the AC3 codec when trying
    to playback (or hint with mp4encoder) an mp4.

    heres output from mp4enc:

    >mp4creator60 -list output.mp4
    Track Type Info
    1 video MPEG-4, 10.010 secs, 1222 kbps, 720x480 @
    29.97 fps
    2 audio Unknown, 10.032 secs, 0 kbps, 32000 Hz
    3 hint Payload MP4V-ES for track 1

    The result is that the file's audio track cant be hinted:

    C:\ffmpeg>mp4creator60 -hint=2 output.mp4
    MP4ERROR: MP4File::FindIntegerProperty: no such property -
    mp4creator60: can't hint non-MPEG4/non-MP3 audio type
    mp4creator60: error hinting track 2

  • David Liontooth

    David Liontooth - 2004-10-29
    • status: open --> open-remind
  • David Liontooth

    David Liontooth - 2004-10-29

    Logged In: YES

    In ffmpeg 4.9-cvs-20041021 and likely earlier, the H263
    video codec shows up correctly and plays fine in xine and

    There are still problems with the audio codec. In
    transcode's tcprobe, the mp3 codec shows up as ".mp3" in
    what looks like a typo (an unneeded dot), and if I use
    -acodec copy on the vob file (which tcprobe shows as having
    an ac3 codec), the codec shows up as "ms". In xine, no sound
    is found in either case; in mplayer, the mp3 is just squeaks.

    In mplayer, the unconverted ac3 codec produces "Cannot find
    codec for audio format 0x20736D".

    Summary: the mp3 codec is called ".mp3" and is not seen by
    xine or mplayer. The video codec is now correctly labeled.
    The bug is half fixed.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks