Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2009 03:15:34 GMT
From:      Kevin Oberman <oberman@es.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/138624: ffmpeg 0.5 generates no output for libx264 mp4 files
Message-ID:  <200909080315.n883FYpR059760@www.freebsd.org>
Resent-Message-ID: <200909080320.n883K0f4093277@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138624
>Category:       ports
>Synopsis:       ffmpeg 0.5 generates no output for libx264 mp4 files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 08 03:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        8.0/7.2
>Organization:
ESnet
>Environment:
reeBSD ptavv.es.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Jul 27 09:23:09 PDT 2009     root@ptavv.es.net:/usr/obj/usr/src/sys/PTAVV  i386
FreeBSD slan.es.net 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Fri Aug 28 22:18:02 PDT 2009     root@slan.es.net:/usr/obj/usr/src/sys/IBM-T43  i386

>Description:
I am trying to use ffmpeg to transcode MPEG-2 PS files from my TiVo to
MP4, but I am having no luck since the port was updated to 0.5.

I use the following command:
ffmpeg -v 6 -i INPUT.mpg -acodec libfaac -ab 128k -vcodec libx264 -vpre hq -crf 22 OUTPUT.mp4

I get no errors, but I get no output file at all. And, regardless of the
encoding options (e.g. diamond vs. umh motion estimation), it takes
exactly the same about of time to run. Increased verbosity levels
provide no added information.

FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-swscale --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-memalign-hack --cc=cc --extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include --extra-ldflags=-L/usr/local/lib  --extra-libs=-pthread --disable-debug --disable-sse --disable-mmx --disable-libamr-nb --disable-libamr-wb --disable-libdirac --disable-libfaac --enable-libfaad --enable-libfaadbin --disable-libgsm --disable-vhook --enable-ipv6 --disable-libmp3lame --disable-libopenjpeg --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Aug 15 2009 01:32:48, gcc: 4.2.1 20070719  [FreeBSD]

Running lsof on the running process does not show the output file.

I get the following two messages which may point to the problem:

[mpeg @ 0x35414010]Could not find codec parameters (Video: 0x0000)
[mpeg @ 0x35414010]Could not find codec parameters (Audio: mp2, 0 channels, s16)
INPUT.mpg: could not find codec parameters

I have tried substituting the absolute path to the preset file
(/usr/local/share/ffmpeg/libx264-hq.ffpreset). No change.

I tried re-building the port without optimizations. No difference. I
tried explicitly passing the codec parameters instead of the presets. No
difference.
>How-To-Repeat:
Execute ffmpeg to transcode to x264 codec and MP4 output container.
>Fix:
Unknown

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909080315.n883FYpR059760>