[FFmpeg-user] How can I convert raw H264 file to the MOV or MP4 format

MrAsdomar manuel.concorsi at gmail.com
Fri Apr 6 19:03:09 CEST 2012


Hi Carl, 

thanks for reply. 
I done my homework and I create an FLV container for H264 coming from RTMP.

Now the video open and play some frames (the first frames), but after 2
second the video become 
all yellow, and ffplay give me a lot of error.

Probably there is something wrong in my FLV container implementation (but I
checked it tons of times), but please help me, I'm going out mad...

You can download my video here 

http://www.4shared.com/file/3_YECuhZ/output_2667_6.html?
http://www.4shared.com/file/3_YECuhZ/output_2667_6.html? 

(no audio in this file)

This is FFplay output


C:\ffmpeg\ffmpeg-git-41a097a-win64-static\bin>ffplay.exe -v debug -f flv -i
outp
ut_2667_6.raw
ffplay version N-39494-g41a097a Copyright (c) 2003-2012 the FFmpeg
developers
  built on Apr  3 2012 20:23:48 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm
--en
able-libmp3lame --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc
--enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-
libxvid --enable-zlib
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 66.101 /  2. 66.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100
[flv @ 0000000004B5C540] Could not find codec parameters (Audio: none, 0
channel
s)
rfps: 1.000000 0.014460
rfps: 1.000000 0.016565
rfps: 1.083333 0.017494
rfps: 1.083333 0.018575
rfps: 1.166667 0.017914
rfps: 1.250000 0.018238
rfps: 1.333333 0.019594
rfps: 1.416667 0.018712
Input #0, flv, from 'output_2667_6.raw':
  Duration: 00:00:00.00, start: 0.001000, bitrate: -2147483 kb/s
    Stream #0:0, 519, 1/1000: Video: h264 (Baseline), yuv420p, 264x198 [SAR
1:1
DAR 4:3], 1/16, 8 tbr, 1k tbn, 16 tbc
    Stream #0:1, 0, 1/1000: Audio: none, 0 channels
[h264 @ 00000000002B9930] detected 8 logical cores
[h264 @ 000000000536EA90] Width/height/bit depth/chroma idc changing with
thread
s is not implemented. Update your FFmpeg version to the newest one from Git.
If
the problem still occurs, it means that your file has a feature which has
not be
en implemented.
[h264 @ 000000000536EA90] decode_slice_header error
[h264 @ 000000000536EA90] no frame!
[h264 @ 0000000004C03F00] Width/height/bit depth/chroma idc changing with
thread
s is not implemented. Update your FFmpeg version to the newest one from Git.
If
the problem still occurs, it means that your file has a feature which has
not be
en implemented.
[h264 @ 0000000004C03F00] decode_slice_header error
[h264 @ 0000000004C03F00] no frame!

(last message repeated infinite times)

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-can-I-convert-raw-H264-file-to-the-MOV-or-MP4-format-tp4534327p4537836.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list