[FFmpeg-trac] #248(FFmpeg:open): Transcoding with mediatomb no longer working after "ffmpeg: simplify managing input files and streams"
FFmpeg
trac at avcodec.org
Fri May 27 10:11:34 CEST 2011
#248: Transcoding with mediatomb no longer working after "ffmpeg: simplify
managing input files and streams"
-----------------------+----------------------
Reporter: kyl416 | Owner: michael
Type: defect | Status: open
Priority: normal | Component: FFmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
-----------------------+----------------------
Comment (by kyl416):
If you aren't familiar with MediaTomb, basically this is called by a
subprocess within MediaTomb, %in is replaced with the input, and %out goes
to a temp file that the client accesses.
Output of a working build:
-i %in -b 4096k -maxrate 4096k -minrate 4096k -bufsize 2458k -bt 380k
-threads 2 -ar 48000 -ab 160k -acodec mp2 -f dvd -y %out
ffmpeg version git-N-30210-g034fc7b, Copyright (c) 2000-2011 the FFmpeg
developers
built on May 27 2011 03:12:54 with gcc 4.5.2
configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-
nonfree --enable-shared --enable-postproc --enable-libx264 --enable-frei0r
--enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable-
libopenjpeg --enable-libdirac --enable-libvpx --enable-libgsm --enable-
libschroedinger --enable-libspeex --enable-libvorbis --enable-libxvid
--enable-libfaac --cpu=amdfam10 --arch=x86_64 --enable-x11grab --enable-
libxavs --enable-libnut --enable-libfreetype --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libcelt
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
Metadata:
width 480.00
height 270.00
framerate 30.00
videodatarate 700.00
videocodecid avc1
audiodatarate 128.00
audiocodecid mp3
[flv @ 0x67ed60] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://cp39414.live.edgefcs.net/live/tvahd@9750
live=1':
Duration: N/A, start: 0.000000, bitrate: 128 kb/s
Stream #0.0: Video: h264 (Main), yuv420p, 480x270 [PAR 1:1 DAR 16:9],
29.97 tbr, 1k tbn, 59.94 tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
[buffer @ 0x69fa60] w:480 h:270 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
Output #0, dvd, to '/tmp/mt_transcode_330ZVV':
Metadata:
encoder : Lavf53.2.0
Stream #0.0: Video: mpeg2video, yuv420p, 480x270 [PAR 1:1 DAR 16:9],
q=2-31, 4096 kb/s, 90k tbn, 29.97 tbc
Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 160 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame= 54 fps= 0 q=2.0 size= 0kB time=1.77 bitrate= 0.0kbits/s
dup=0 frame= 100 fps= 92 q=2.0 size= 0kB time=3.30 bitrate=
0.0kbits/s dup=0 frame= 115 fps= 71 q=2.0 size= 0kB time=3.79
bitrate= 0.0kbits/s dup=0 2011-05-27 04:06:58 INFO: Arguments: -i %in
-b 4096k -maxrate 4096k -minrate 4096k -bufsize 2458k -bt 380k -threads 2
-ar 48000 -ab 160k -acodec mp2 -f dvd -y %out
frame= 134 fps= 63 q=2.0 size= 0kB time=4.44 bitrate= 0.0kbits/s
dup=0 ffmpeg version git-N-30210-g034fc7b, Copyright (c) 2000-2011 the
FFmpeg developers
built on May 27 2011 03:12:54 with gcc 4.5.2
configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-
nonfree --enable-shared --enable-postproc --enable-libx264 --enable-frei0r
--enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable-
libopenjpeg --enable-libdirac --enable-libvpx --enable-libgsm --enable-
libschroedinger --enable-libspeex --enable-libvorbis --enable-libxvid
--enable-libfaac --cpu=amdfam10 --arch=x86_64 --enable-x11grab --enable-
libxavs --enable-libnut --enable-libfreetype --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libcelt
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
Metadata:
width 480.00
height 270.00
framerate 30.00
videodatarate 700.00
videocodecid avc1
audiodatarate 128.00
audiocodecid mp3
frame= 146 fps= 57 q=2.0 Lsize= 0kB time=4.84 bitrate= 0.0kbits/s
dup=0 drop=65
video:2383kB audio:95kB global headers:0kB muxing overhead -100.000000%
Received signal 15: terminating.
[flv @ 0x1f39d60] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://cp39414.live.edgefcs.net/live/tvahd@9750
live=1':
Duration: N/A, start: 0.000000, bitrate: 128 kb/s
Stream #0.0: Video: h264 (Main), yuv420p, 480x270 [PAR 1:1 DAR 16:9],
29.97 tbr, 1k tbn, 59.94 tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
[buffer @ 0x1f5a9e0] w:480 h:270 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
Output #0, dvd, to '/tmp/mt_transcode_0T3XVV':
Metadata:
encoder : Lavf53.2.0
Stream #0.0: Video: mpeg2video, yuv420p, 480x270 [PAR 1:1 DAR 16:9],
q=2-31, 4096 kb/s, 90k tbn, 29.97 tbc
Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 160 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame= 44 fps= 0 q=2.0 size= 0kB time=1.42 bitrate= 0.0kbits/s
dup=0
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/248#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list