New submission from BlueCopter <[EMAIL PROTECTED]>:

I have a FLV file containing avc1 h264 video and aac audio that i am trying to
remux into a mp4 container. i tried initially using the command below without
success. i then tried demuxing the audio and video separately to remux using
another program. The audio will demux correctly but the video will not. There
seems to be some problem when handling the h264 video in a flv container. 

the file plays fine with ffplay and mplayer(if i manually set the framerate to
keep it in sync). I have tried converting to several other
containers with ffplay and nothing has worked.

I have uploaded a sample named h264_acc_in_flv.flv to /MPlayer/incoming/BlueCop/

Thanks for any help in resolving this issue. Sorry i am not very technical
minded and thought it was user error. i don't beleive it is now after seeking
help from doom9 and other people having the same issue with my sample. 

Command used:
ffmpeg -i INPUT.flv -vcodec copy -acodec copy OUTPUT.mp4

Console Output:
FFmpeg version SVN-r14196, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack --enable-postproc --enable-swscale
--enable-gpl --enable-libfaac --enable-libfaad --enable-libgsm 

--enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264
--enable-libxvid --disable-ffserver --disable-vhook --enable-avisynth 

--enable-pthreads
  libavutil version: 49.7.0
  libavcodec version: 51.60.0
  libavformat version: 52.17.0
  libavdevice version: 52.0.0
  built on Jul 13 2008 01:38:20, gcc: 4.2.4 (TDM-1 for MinGW)
[flv @ 00AD0900]Bad picture start code
[flv @ 00AD0900]header damaged
...
[flv @ 00AD0900]Bad picture start code
[flv @ 00AD0900]header damaged
Input #0, flv, from 'INPUT.flv':
  Duration: 00:01:07.51, start: 0.015000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 1000.00 tb(r)
    Stream #0.1: Audio: libfaad, 48000 Hz, stereo
Output #0, mp4, to 'OUTPUT.mp4':
    Stream #0.0: Video: libx264, yuv420p, q=2-31, 1000.00 tb(c)
    Stream #0.1: Audio: libfaac, 48000 Hz, stereo
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mp4 @ 00ABAC4C]dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?)

----------
messages: 2520
nosy: BlueCop
priority: normal
status: new
substatus: new
title: h264/aac in flv container remux to mp4 broken
type: bug

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue546>
______________________________________________________

Reply via email to