Am Montag 24 Mai 2010 11:50:20 schrieb David Haller: Hallo David,
Am Mon, 24 Mai 2010, Al Bogner schrieb:
Ich blicke mit den Containern nicht mehr durch bzw. warum etwas funktioniert. Irgendwo las ich, dass mkvmerge zur Zeit kaputt ist, es hat aber mit 25fps ganz gut funktioniert, mit einer anderen VideoFrameRate aber nicht.
Soweit ich weiß schert sich mkvmerge nicht weiter um sowas. Hat denn das AVI die richtigen FPS gesetzt? Ggfs. per
avifix -f 30,1 -i AVIFILE
oder auch mencoder setzen.
Ich denke, das Problem mit den Digicam-Files liegt schon bei mencoder. Ich nahm an, wenn man nichts angibt, dann bleibt die Video Frame Rate so wie sie ist. Das dürfte aber nicht so sein. ffmpeg -i mencoder_ohne_audio_file Seems stream 0 codec frame rate differs from container frame rate Sieht also so aus, dass es nicht an mkvmerge liegt, sondern MP4Box nur repariert. Quelle: mediainfo digicam_test.avi General Complete name : digicam_test.avi Format : AVI Format/Info : Audio Video Interleave File size : 26.8 MiB Duration : 32s 500ms Overall bit rate : 6 906 Kbps Video ID : 0 Format : M-JPEG Codec ID : MJPG Duration : 32s 500ms Bit rate : 6 829 Kbps Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 30.000 fps Resolution : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.741 Stream size : 26.5 MiB (99%) Audio Format : ADPCM Format profile : U-Law Codec ID : 7 Codec ID/Hint : CCITT Duration : 32s 475ms Bit rate mode : Constant Bit rate : 64.0 Kbps Channel(s) : 1 channel Sampling rate : 8 000 Hz Resolution : 8 bits Stream size : 254 KiB (1%) Interleave, duration : 33 ms (1.00 video frame) Ein -ofps bei mencoder mit dem Wert des Originals hilft auch nicht. Die übeflüssigen Optionen, wie Deinterlace sollten doch nicht schaden? mencoder -ovc x264 -x264encopts qp=28:threads=auto:pass=1 -ofps "$FRAMERATE" \ -vf yadif=0,softskip,harddup \ -vf unsharp=l:5x5:0.9:c:5x5:0.1 \ -sws 9 -nosound -of rawvideo -o /dev/null $AVIFILE mencoder -ovc x264 -x264encopts qp=28:threads=auto:pass=2 -ofps "$FRAMERATE" \ -vf yadif=0,softskip,harddup \ -vf unsharp=l:5x5:0.9:c.5x5:0.1 \ -sws 9 -nosound -of rawvideo -o "$X264FILE" "$AVIFILE" ffmpeg -i digicam_test.x264 FFmpeg version SVN-r22965, Copyright (c) 2000-2010 the FFmpeg developers built on Apr 28 2010 06:39:00 with gcc 4.3.2 [gcc-4_3-branch revision 141291] configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man -- libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis -- enable-libtheora --enable-libspeex --enable-libfaad --enable-libfaac --enable- nonfree --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab -- enable-libschroedinger --enable-libdirac --enable-libgsm --enable-version3 -- enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable- libdc1394 --enable-pthreads libavutil 50.14. 0 / 50.14. 0 libavcodec 52.66. 0 / 52.66. 0 libavformat 52.61. 0 / 52.61. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.10. 0 / 0.10. 0 libpostproc 51. 2. 0 / 51. 2. 0 [h264 @ 0x64b0b0]max_analyze_duration reached [h264 @ 0x64b0b0]Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2) Input #0, h264, from 'digicam_test.x264': Duration: N/A, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 30 fps, 30 tbr, 1200k tbn, 60 tbc At least one output file must be specified Das könnte auch erklären, warum der Popcorn nur vorspulen kann, aber nicht zurück. http://www.rationalplanet.com/2010/03/fixing-wrong-or-different-frame-rate-o... video-file-and-container-the-right-way/ You might want to remux the resulting m4v file to mkv with mkvmerge to support rewinds in WDTV. Al -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org