Discussion:
[FFmpeg-user] H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Gert Ahrens
2011-01-16 10:06:57 UTC
Permalink
Hello List,

I try to edit a H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 steam recorded by mythtv. I can play it
with mythtv and vlc player.
To cut out advertising and filmstart and stop overhang, ( like to use kdenlive, a very good and easy
edit program.
But the project-monitor only present a black output. Are there any probs with H.264 / AVC / MPEG-4
AVC / MPEG-4 part 10 this time in ffmpeg?

My ffmpeg data:

FFmpeg version SVN-r25702, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 13 2010 23:56:02 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --
enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-
libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -
I/usr/include/gsm' --enable-debug --disable-stripping --enable-libschroedinger --enable-libdirac --
enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --
enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads
libavutil 50.32. 6 / 50.32. 6
libavcore 0.12. 0 / 0.12. 0
libavcodec 52.94. 3 / 52.94. 3
libavformat 52.84. 0 / 52.84. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.57. 0 / 1.57. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0

melt -debug /home/mythtv/Aufnahmen/brandner_kaspar.mpg

give much error messages like this:

[h264 @ 0x74da90] non-existing SPS 10 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS referenced
[h264 @ 0x74da90] non-existing SPS 10 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS 0 referenced
[h264 @ 0x74da90] decode_slice_header error
[h264 @ 0x74da90] no frame!
[h264 @ 0x74da90] non-existing SPS 11 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS referenced
[h264 @ 0x74da90] non-existing SPS 11 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS 0 referenced
[h264 @ 0x74da90] decode_slice_header error
[h264 @ 0x74da90] no frame!
[h264 @ 0x74da90] non-existing SPS 12 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS referenced
[h264 @ 0x74da90] non-existing SPS 12 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS 0 referenced
[h264 @ 0x74da90] decode_slice_header error
[h264 @ 0x74da90] no frame!
[h264 @ 0x74da90] non-existing SPS 13 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS referenced
[h264 @ 0x74da90] non-existing SPS 13 referenced in buffering period
[h264 @ 0x74da90] non-existing PPS 0 referenced
[h264 @ 0x74da90] decode_slice_header

I oniy see a white window, tone comes out.

any idea? Thanks
Alexandre Ferrieux
2011-01-17 08:21:30 UTC
Permalink
Post by Gert Ahrens
built on Dec 13 2010 23:56:02 with gcc 4.4.1 [gcc-4_4-branch revision 150839]
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --
enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-
libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -
I/usr/include/gsm' --enable-debug --disable-stripping --enable-libschroedinger --enable-libdirac --
enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --
enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads
Please give the full output of ffmpeg/ffprobe, not just the config line. For example, what is the container (file format) ?

-Alex
Gert Ahrens
2011-01-21 13:50:27 UTC
Permalink
Hello Alex,

sorry because of my late answer but I have a lot other things to do this time.
How do you think about a short stream of me to download from a webserver and have a look at this
stream. I have no frigging idea about streams, oontainers and so on, and what to do with them.

Is it ok?

Best regards
Gert
Post by Alexandre Ferrieux
Post by Gert Ahrens
built on Dec 13 2010 23:56:02 with gcc 4.4.1 [gcc-4_4-branch revision
150839] configuration: --shlibdir=/usr/lib64 --prefix=/usr
--mandir=/usr/share/man --libdir=/usr/lib64 --
enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora
--enable-libspeex --enable- libxvid --enable-postproc --enable-gpl
--enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -fPIC - I/usr/include/gsm' --enable-debug
--disable-stripping --enable-libschroedinger --enable-libdirac --
enable-libgsm --enable-avfilter --enable-libvpx --enable-version3
--enable-libopencore-amrnb -- enable-libopencore-amrwb --enable-libx264
--enable-libdc1394 --enable-pthreads
Please give the full output of ffmpeg/ffprobe, not just the config line.
For example, what is the container (file format) ?
-Alex
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Alexandre Ferrieux
2011-01-21 15:59:36 UTC
Permalink
Post by Gert Ahrens
Hello Alex,
sorry because of my late answer but I have a lot other things to do this time.
How do you think about a short stream of me to download from a webserver and have a look at this
stream. I have no frigging idea about streams, oontainers and so on, and what to do with them.
Is it ok?
(1) Please don't top-post.

(2) No, I'm asking you to paste the whole ffmpeg command line and output, not just the line with the configure flags
"--enable-...".

-Alex
Gert Ahrens
2011-01-21 18:59:39 UTC
Permalink
Post by Alexandre Ferrieux
Post by Gert Ahrens
Hello Alex,
sorry because of my late answer but I have a lot other things to do this
time. How do you think about a short stream of me to download from a
webserver and have a look at this stream. I have no frigging idea about
streams, oontainers and so on, and what to do with them.
Is it ok?
(1) Please don't top-post.
(2) No, I'm asking you to paste the whole ffmpeg command line and output,
not just the line with the configure flags "--enable-...".
-Alex
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Sorry I'm a mailing list greenhorn.

Thats the output of ffmpeg
ffmpeg -i /home/mythtv/Aufnahmen/brandner_kaspar.mpg
FFmpeg version SVN-r25702, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 13 2010 23:56:02 with gcc 4.4.1 [gcc-4_4-branch revision
150839]
configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man
--libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --
enable-libtheora --enable-libspeex --enable-libxvid --enable-postproc --
enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-
tables -fPIC -I/usr/include/gsm' --enable-debug --disable-stripping --enable-
libschroedinger --enable-libdirac --enable-libgsm --enable-avfilter --enable-
libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libx264 --enable-libdc1394 --enable-pthreads
libavutil 50.32. 6 / 50.32. 6
libavcore 0.12. 0 / 0.12. 0
libavcodec 52.94. 3 / 52.94. 3
libavformat 52.84. 0 / 52.84. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.57. 0 / 1.57. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 0x63ec10] non-existing SPS 32 referenced in buffering period
[h264 @ 0x63ec10] non-existing PPS referenced
[h264 @ 0x63ec10] non-existing SPS 32 referenced in buffering period
[h264 @ 0x63ec10] non-existing PPS 0 referenced
[h264 @ 0x63ec10] decode_slice_header error
[h264 @ 0x63ec10] no frame!
...snap

[h264 @ 0x63ec10] non-existing SPS 6 referenced in buffering period
[h264 @ 0x63ec10] non-existing PPS referenced
[h264 @ 0x63ec10] non-existing SPS 6 referenced in buffering period
[h264 @ 0x63ec10] non-existing PPS 0 referenced
[h264 @ 0x63ec10] decode_slice_header error
[h264 @ 0x63ec10] no frame!
[h264 @ 0x63ec10] mmco: unref short failure
[NULL @ 0x63c4a0] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x63e3d0] start time is not set in av_estimate_timings_from_pts
Input #0, mpegts, from '/home/mythtv/Aufnahmen/brandner_kaspar.mpg':
Duration: 03:57:15.05, start: 28164.583489, bitrate: 5482 kb/s
Program 1
Stream #0.0[0x816]: Data: [5][0][0][0] / 0x0005
Stream #0.1[0x87b]: Data: [11][0][0][0] / 0x000B
Stream #0.2[0x177a]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
62.40 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0.3[0x1784](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.4[0x1785](mis): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.5[0x1786](deu): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
Stream #0.6[0x178e](ger): Subtitle: [6][0][0][0] / 0x0006

I also trieed to use ffplay. All the error output come true but it play with
buckings.

Regards Gert

Ronald S. Bultje
2011-01-21 17:09:57 UTC
Permalink
Hi,
Post by Gert Ahrens
melt -debug /home/mythtv/Aufnahmen/brandner_kaspar.mpg
[..]
the PPS/SPS are in the global header, which doesn't exist in mpeg1
system streams. Try using mp4 or so.

Ronald
Continue reading on narkive:
Loading...